/* Fiche « projet financé » (projets/<slug>/) — rendue par project-detail.js
   Icônes : Phosphor Icons duotone (assets/icons/phosphor-sprite.svg, MIT). */

.ph {
  width: 24px;
  height: 24px;
  flex: none;
  fill: currentColor;
  vertical-align: middle;
}

.ph-sm {
  width: 18px;
  height: 18px;
}

/* Héros */
.pf-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 140px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 6%, rgb(216 166 60 / 24%), transparent 30rem),
    radial-gradient(circle at 0% 100%, rgb(103 80 181 / 45%), transparent 34rem),
    linear-gradient(140deg, #22123f 0%, var(--purple-dark) 55%, #3d2468 100%);
}

.pf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 7%) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  pointer-events: none;
}

.pf-hero .shell {
  position: relative;
  z-index: 1;
}

.pf-hero .project-back-link {
  align-items: center;
  margin-bottom: 44px;
}

.pf-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
}

.pf-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.pf-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  color: rgb(255 255 255 / 86%);
  background: rgb(255 255 255 / 7%);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.pf-chip img {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}

.pf-chip-gold {
  border-color: rgb(216 166 60 / 45%);
  color: var(--gold);
}

.pf-hero-org {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pf-title {
  max-width: 1050px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.pf-title.is-long {
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.pf-title.is-xlong {
  font-size: clamp(1.7rem, 2.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.pf-hero-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / 74%);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
}

.pf-hero-lead strong {
  color: #fff;
  font-weight: 750;
}

.pf-identity {
  padding: 16px;
  border-radius: 26px;
  color: var(--purple-dark);
  background: #fff;
  box-shadow: 0 40px 100px rgb(10 3 24 / 42%);
}

.pf-identity-logo {
  display: grid;
  height: 180px;
  padding: 20px 30px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8f6fb, #eeeaf7);
}

.pf-identity-logo img {
  width: 100%;
  height: 136px;
  object-fit: contain;
}

.pf-identity-money {
  padding: 22px 10px 8px;
  text-align: center;
}

.pf-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #7d7290;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pf-identity-money .pf-label {
  justify-content: center;
}

.pf-label .ph {
  color: var(--gold);
  --ph-duo: var(--gold);
  --ph-duo-opacity: 0.3;
}

.pf-label-gold {
  color: #a87a1c;
}

.pf-identity-budget {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pf-identity-budget small {
  color: var(--purple);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Chiffres clés */
.pf-facts-wrap {
  position: relative;
  z-index: 2;
  margin-top: -74px;
}

.pf-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block: 0;
  overflow: hidden;
  border: 1px solid rgb(103 80 181 / 14%);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 26px 70px rgb(40 25 78 / 14%);
}

.pf-facts div {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 16px;
  padding: 26px 26px 28px;
}

.pf-facts div + div {
  border-left: 1px solid rgb(103 80 181 / 12%);
}

.pf-fact-icon {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 13px;
  color: var(--purple);
  background: var(--purple-soft);
  --ph-duo: var(--purple);
  --ph-duo-opacity: 0.25;
}

.pf-facts dt {
  margin-bottom: 6px;
  color: #7d7290;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pf-facts dd {
  margin: 0;
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* Sections */
.pf-section {
  padding-block: clamp(64px, 7vw, 104px);
}

.pf-section h2 {
  margin: 10px 0 0;
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.pf-objective-section {
  background: #fff;
}

.pf-split {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: start;
}

.pf-split-head {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.pf-objective-single {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 24px;
  background: linear-gradient(135deg, #faf8fd, #f1edf9);
}

.pf-objective-icon {
  width: 64px;
  height: 64px;
  color: var(--purple);
  --ph-duo: var(--gold);
  --ph-duo-opacity: 0.55;
}

.pf-objective-single p {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
  line-height: 1.32;
  letter-spacing: -0.022em;
}

.pf-objectives {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pf-objective;
}

.pf-objectives li {
  position: relative;
  padding: 24px 28px 24px 88px;
  border: 1px solid rgb(103 80 181 / 13%);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #faf8fd);
  color: var(--ink);
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.6;
  counter-increment: pf-objective;
}

.pf-objectives li::before {
  content: counter(pf-objective, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 24px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--purple);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
}

/* Cadre d'intervention */
.pf-frame-section {
  background: var(--paper);
}

.pf-section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.pf-frame-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pf-map-card {
  display: flex;
  margin: 0;
  padding: 24px 24px 20px;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgb(103 80 181 / 12%);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgb(103 80 181 / 8%), transparent 60%),
    #fff;
}

.pf-map {
  display: block;
  width: 100%;
  height: auto;
}

.pf-map path {
  stroke: #fff;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.pf-map .is-other {
  fill: #ece8f2;
}

.pf-map .is-network {
  fill: #cdc2ea;
}

.pf-map .is-active {
  fill: var(--purple);
}

.pf-map-pin circle {
  fill: var(--gold);
  stroke: #fff;
  stroke-width: 3;
}

.pf-map-pin .pf-map-pulse {
  fill: rgb(216 166 60 / 30%);
  stroke: none;
  transform-origin: center;
  animation: pf-pulse 2.4s ease-out infinite;
}

.pf-map-label {
  fill: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-anchor: middle;
  paint-order: stroke;
  stroke: var(--purple-dark);
  stroke-width: 5px;
  stroke-linejoin: round;
}

@keyframes pf-pulse {
  from { transform: scale(0.5); opacity: 1; }
  to { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-map-pin .pf-map-pulse {
    animation: none;
  }
}

.pf-map-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: #6f6680;
  font-size: 0.8rem;
  font-weight: 650;
}

.pf-legend {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.pf-legend.is-active {
  background: var(--purple);
}

.pf-legend.is-network {
  margin-left: 10px;
  background: #cdc2ea;
}

.pf-frame-side {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
}

.pf-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid rgb(103 80 181 / 12%);
  border-radius: 22px;
  background: #fff;
}

.pf-card p {
  margin: 0;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.6;
}

.pf-card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  color: var(--purple);
  background: var(--purple-soft);
  --ph-duo: var(--purple);
  --ph-duo-opacity: 0.25;
}

.pf-card-icon .ph {
  width: 28px;
  height: 28px;
}

.pf-themes {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  margin-top: 20px;
}

.pf-theme-main {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgb(216 166 60 / 28%), transparent 16rem),
    linear-gradient(150deg, var(--purple-dark), #45297a);
}

.pf-theme-main-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 18px;
  color: var(--gold);
  background: rgb(255 255 255 / 9%);
  --ph-duo: var(--gold);
  --ph-duo-opacity: 0.35;
}

.pf-theme-main-icon .ph {
  width: 32px;
  height: 32px;
}

.pf-theme-main .pf-label-gold {
  color: var(--gold);
}

.pf-theme-main p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.pf-theme-secondary {
  padding: 32px;
  border: 1px solid rgb(103 80 181 / 12%);
  border-radius: 24px;
  background: #fff;
}

.pf-theme-secondary ul {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.pf-theme-secondary li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8f6fb;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.pf-theme-secondary li .ph {
  width: 36px;
  height: 36px;
  padding: 7px;
  border-radius: 11px;
  color: var(--purple);
  background: #fff;
  --ph-duo: var(--gold);
  --ph-duo-opacity: 0.45;
}

/* Calendrier */
.pf-timeline-section {
  padding-block: 0 clamp(64px, 7vw, 104px);
  background: var(--paper);
}

.pf-timeline {
  padding: clamp(26px, 3.4vw, 44px);
  border: 1px solid rgb(103 80 181 / 12%);
  border-radius: 24px;
  background: #fff;
}

.pf-timeline-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 22px;
  margin-bottom: 52px;
}

.pf-timeline-head .pf-label {
  margin-bottom: 4px;
}

.pf-timeline-head strong {
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
}

.pf-timeline-head p {
  margin: 0;
  color: #6f6680;
  font-weight: 650;
}

.pf-timeline-bar {
  display: grid;
  grid-template-columns: repeat(var(--months), minmax(0, 1fr));
  gap: 4px;
}

.pf-timeline-bar span {
  position: relative;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--purple), #8a6fd8);
  font-size: 0;
}

.pf-timeline-bar span.is-year::before {
  content: "";
  position: absolute;
  top: -12px;
  bottom: -8px;
  left: -3px;
  width: 2px;
  background: var(--gold);
}

.pf-timeline-bar span.is-year::after {
  content: attr(data-year);
  position: absolute;
  top: -36px;
  left: -3px;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pf-timeline-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: var(--purple-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.pf-timeline-ends span::first-letter {
  text-transform: uppercase;
}

/* Pratique liée + navigation */
.pf-practice .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pf-practice .button .ph {
  margin-left: 6px;
}

.pf-nav a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
}

.pf-nav a .ph {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  color: var(--purple);
  background: var(--purple-soft);
  transition: background var(--transition), color var(--transition);
}

.pf-nav a + a {
  grid-template-columns: 1fr auto;
}

.pf-nav a + a .ph {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.pf-nav a:hover .ph {
  color: var(--purple-dark);
  background: var(--gold);
}

/* Cartes de la liste /projets/ */
.project-organization-body > p.project-organization-title {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.project-organization-budget {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: 4px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: var(--purple-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.project-organization-budget .ph {
  width: 18px;
  height: 18px;
  color: var(--purple);
  --ph-duo: var(--gold);
  --ph-duo-opacity: 0.6;
}

/* Responsive */
@media (max-width: 1080px) {
  .pf-hero-grid,
  .pf-split,
  .pf-frame-grid,
  .pf-themes {
    grid-template-columns: 1fr;
  }

  .pf-identity {
    display: grid;
    grid-template-columns: minmax(170px, 240px) 1fr;
    align-items: center;
    gap: 24px;
    max-width: 640px;
  }

  .pf-identity-logo {
    height: 140px;
  }

  .pf-identity-logo img {
    height: 104px;
  }

  .pf-identity-money {
    padding: 0;
    text-align: left;
  }

  .pf-identity-money .pf-label,
  .pf-identity-budget {
    justify-content: flex-start;
  }

  .pf-split-head {
    position: static;
  }

  .pf-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-facts div:nth-child(3) {
    border-left: 0;
  }

  .pf-facts div:nth-child(n + 3) {
    border-top: 1px solid rgb(103 80 181 / 12%);
  }

  .pf-frame-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .pf-frame-side .pf-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .pf-hero {
    padding: 44px 0 116px;
  }

  .pf-hero .project-back-link {
    margin-bottom: 30px;
  }

  .pf-title {
    font-size: 2.2rem;
  }

  .pf-title.is-long {
    font-size: 1.8rem;
  }

  .pf-title.is-xlong {
    font-size: 1.5rem;
  }

  .pf-identity {
    display: block;
  }

  .pf-identity-money {
    padding: 20px 6px 6px;
    text-align: center;
  }

  .pf-identity-money .pf-label,
  .pf-identity-budget {
    justify-content: center;
  }

  .pf-facts,
  .pf-frame-side {
    grid-template-columns: 1fr;
  }

  .pf-facts div + div {
    border-top: 1px solid rgb(103 80 181 / 12%);
    border-left: 0;
  }

  .pf-facts div {
    padding: 18px 20px;
  }

  .pf-objective-single {
    grid-template-columns: 1fr;
  }

  .pf-objective-icon {
    width: 48px;
    height: 48px;
  }

  .pf-objectives li {
    padding: 74px 20px 20px;
  }

  .pf-objectives li::before {
    top: 20px;
    left: 20px;
  }

  .pf-card,
  .pf-theme-main,
  .pf-theme-secondary {
    padding: 22px;
  }

  .pf-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pf-timeline-head {
    grid-template-columns: auto 1fr;
  }

  .pf-timeline-head p {
    grid-column: 1 / -1;
  }

  .pf-timeline-bar {
    gap: 2px;
  }

  .pf-nav {
    grid-template-columns: 1fr;
  }

  .pf-nav a + a {
    border-top: 0;
    border-left: 1px solid rgb(103 80 181 / 18%);
  }
}

/* Pratique liée, version compacte sur la fiche projet */
.pf-practice {
  padding: clamp(56px, 6vw, 88px) 0;
}

.pf-practice .project-linked-practice-grid {
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgb(103 80 181 / 12%);
  border-radius: 28px;
  background: rgb(255 255 255 / 70%);
}

.pf-practice .project-linked-cover {
  min-height: 0;
  padding: 18px;
}

.pf-practice .project-linked-cover img {
  height: 340px;
}

.pf-practice .project-linked-copy h2 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.pf-practice .project-linked-copy > p:not(.section-kicker) {
  margin-bottom: 26px;
}

@media (max-width: 760px) {
  .pf-practice .project-linked-practice-grid {
    grid-template-columns: 1fr;
  }

  .pf-practice .project-linked-cover img {
    height: 260px;
  }
}

/* =====================================================================
   Fiche « pratique documentée » (projets/<slug>/?from=practices)
   ===================================================================== */

.pp-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 140px;
  background:
    radial-gradient(circle at 85% 20%, rgb(216 166 60 / 16%), transparent 26rem),
    radial-gradient(circle at 10% 0%, rgb(103 80 181 / 14%), transparent 30rem),
    linear-gradient(180deg, #f3eef9, var(--paper));
}

.pp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  color: var(--purple-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.pp-back:hover {
  color: var(--purple);
}

.pp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
}

.pp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.pp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgb(103 80 181 / 18%);
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgb(255 255 255 / 80%);
  font-size: 0.78rem;
  font-weight: 700;
}

.pp-chip img {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}

.pp-chip-strong {
  border-color: transparent;
  color: #fff;
  background: var(--purple);
  --ph-duo: #f1ce80;
  --ph-duo-opacity: 0.6;
}

.pp-org {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.pp-org-logo {
  display: grid;
  width: 64px;
  height: 64px;
  padding: 8px;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(47 27 91 / 10%);
}

.pp-org-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pp-org small {
  display: block;
  color: #7d7290;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pp-org strong {
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.pp-title {
  max-width: 820px;
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1.04;
  text-wrap: balance;
}

.pp-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #5f566a;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
}

.pp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 32px;
}

.pp-actions .button {
  gap: 10px;
}

.pp-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-dark);
  font-weight: 700;
  text-decoration: none;
}

.pp-download span {
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--purple);
  background: var(--purple-soft);
  font-size: 0.78rem;
}

.pp-download:hover {
  color: var(--purple);
}

/* Couverture du document, présentée comme une publication posée */
.pp-cover {
  position: relative;
  display: block;
  justify-self: center;
  width: min(100%, 360px);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.pp-cover:hover {
  transform: rotate(0deg) translateY(-6px);
}

.pp-cover-back {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--purple), var(--purple-dark));
  transform: rotate(-5deg);
}

.pp-cover img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 34px 80px rgb(47 27 91 / 28%);
}

.pp-cover-badge {
  position: absolute;
  bottom: 18px;
  left: -18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: var(--gold);
  box-shadow: 0 12px 28px rgb(47 27 91 / 22%);
  font-size: 0.82rem;
  font-weight: 800;
}

/* Contexte */
.pp-facts-wrap {
  margin-top: -70px;
}

.pp-context {
  background: #fff;
}

.pp-prose p {
  max-width: 68ch;
  margin: 0 0 1.1em;
  color: #3d3449;
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  line-height: 1.85;
}

.pp-prose p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 3.6em;
  font-weight: 800;
  line-height: 0.82;
}

/* Projet à l'origine de la pratique */
.pp-origin {
  padding: clamp(48px, 5vw, 72px) 0;
  background: var(--paper);
}

.pp-origin-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px 30px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgb(216 166 60 / 24%), transparent 18rem),
    linear-gradient(130deg, var(--purple-dark), #45297a);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pp-origin-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgb(47 27 91 / 25%);
}

.pp-origin-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 16px;
  color: var(--gold);
  background: rgb(255 255 255 / 10%);
  --ph-duo: var(--gold);
  --ph-duo-opacity: 0.35;
}

.pp-origin-icon svg.ph {
  width: 30px;
  height: 30px;
}

.pp-origin-copy small {
  display: block;
  margin-bottom: 6px;
  color: #f1ce80;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pp-origin-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pp-origin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 10px;
  color: #ddd3ec;
  font-size: 0.85rem;
}

.pp-origin-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pp-origin-meta svg.ph {
  color: #f1ce80;
}

.pp-origin-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  color: var(--purple-dark);
  background: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}

/* Autres pratiques */
.pp-related {
  padding: clamp(56px, 6vw, 88px) 0 clamp(24px, 3vw, 40px);
  background: #fff;
}

.pp-related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.pp-related-head h2 {
  margin: 8px 0 0;
  color: var(--purple-dark);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.pp-related-head a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-weight: 700;
  text-decoration: none;
}

.pp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pp-related-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgb(103 80 181 / 12%);
  border-radius: 20px;
  background: #faf8fd;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pp-related-card:hover {
  border-color: rgb(103 80 181 / 35%);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgb(47 27 91 / 10%);
}

.pp-related-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgb(47 27 91 / 16%);
}

.pp-related-body {
  display: grid;
  gap: 8px;
}

.pp-related-body small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7d7290;
  font-size: 0.75rem;
  font-weight: 700;
}

.pp-related-body small img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

.pp-related-body strong {
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
}

.pp-related-body > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .pp-hero-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .pp-related-grid {
    grid-template-columns: 1fr;
  }

  .pp-related-card {
    grid-template-columns: 90px 1fr;
  }
}

@media (max-width: 760px) {
  .pp-hero {
    padding: 40px 0 120px;
  }

  .pp-hero-grid {
    grid-template-columns: 1fr;
  }

  .pp-cover {
    width: min(70%, 260px);
    margin-top: 10px;
  }

  .pp-origin-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }

  .pp-origin-go {
    justify-self: start;
  }

  .pp-prose p:first-child::first-letter {
    font-size: 3em;
  }
}
