/* PRATINIUM Pipeline 1.28.2 — catalogue public des projets */
#module-pratiniumpipeline-projects {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

#module-pratiniumpipeline-projects #content-wrapper,
#module-pratiniumpipeline-projects #content {
  width: 100%;
}

.pp-public-catalogue {
  max-width: 1480px;
  margin: 0 auto;
  padding: 8px 0 40px;
}

.pp-public-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  padding: 36px 40px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 10%, rgba(56,189,248,.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(244,208,111,.18), transparent 28%),
    linear-gradient(135deg, #0a2540 0%, #0f172a 62%, #172554 100%);
  box-shadow: 0 22px 55px rgba(15,23,42,.14);
  color: #fff;
}

.pp-public-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -130px auto;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(244,208,111,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(244,208,111,.035), 0 0 0 80px rgba(244,208,111,.025);
  pointer-events: none;
}

.pp-public-hero__copy,
.pp-public-hero__actions { position: relative; z-index: 1; }
.pp-public-hero__copy { max-width: 820px; }
.pp-public-eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f4d06f;
}
.pp-public-hero h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -.035em;
}
.pp-public-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.65;
}
.pp-public-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-end;
}
.pp-public-btn {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.pp-public-btn:hover { transform: translateY(-1px); }
.pp-public-btn--gold {
  color: #0a2540 !important;
  background: #f4d06f;
  box-shadow: 0 10px 24px rgba(244,208,111,.22);
}
.pp-public-btn--light {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}

.pp-public-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) repeat(3, minmax(150px, .75fr)) auto;
  gap: 10px;
  align-items: center;
  margin: 22px 0 18px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 30px rgba(15,23,42,.06);
}
.pp-public-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  background: #f8fafc;
}
.pp-public-search input {
  width: 100%;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #0f172a;
  font-size: 14px;
}
.pp-public-toolbar select {
  min-height: 46px;
  width: 100%;
  padding: 0 36px 0 12px;
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  background-color: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 650;
}
.pp-public-result-count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  min-width: 94px;
  padding: 0 10px;
  color: #64748b;
  white-space: nowrap;
}
.pp-public-result-count strong { color: #0a2540; font-size: 20px; }

.pp-public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pp-public-project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15,23,42,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pp-public-project-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 18px 44px rgba(15,23,42,.11);
}
.pp-public-project-card[hidden] { display: none !important; }
.pp-public-project-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  background: linear-gradient(135deg, #5b9bd5, #11806f);
}
.pp-public-project-card__visual--1 { background: linear-gradient(135deg, #4f8fc8, #087f78); }
.pp-public-project-card__visual--2 { background: linear-gradient(135deg, #5b9d83, #9a6507); }
.pp-public-project-card__visual--3 { background: linear-gradient(135deg, #4f76a7, #3f8c68); }
.pp-public-project-card__visual--4 { background: linear-gradient(135deg, #176b87, #8a6b17); }
.pp-public-project-card__visual--0 { background: linear-gradient(135deg, #356aa0, #0f766e); }
.pp-public-project-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 34%);
}
.pp-public-project-card__mark {
  position: relative;
  width: 58px;
  height: 58px;
  color: #0a2540;
  opacity: .92;
}
.pp-public-project-card__mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pp-public-status {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(15,23,42,.08);
}
.pp-public-status--funded { color: #166534; }
.pp-public-project-card__body { padding: 20px 21px 18px; }
.pp-public-project-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  color: #2563a9;
  font-size: 12px;
  font-weight: 800;
}
.pp-public-project-card h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -.015em;
}
.pp-public-project-card__pitch {
  display: -webkit-box;
  min-height: 66px;
  margin: 0 0 16px;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}
.pp-public-project-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 15px;
}
.pp-public-project-card__facts > div {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
}
.pp-public-project-card__facts dt {
  margin: 0 0 2px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pp-public-project-card__facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.pp-public-project-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px;
  margin: 0 0 10px;
}
.pp-public-project-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.pp-public-project-card__action:hover { transform: translateY(-1px); }
.pp-public-project-card__action svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pp-public-project-card__action small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(2,132,199,.10);
  color: inherit;
  font-size: 10px;
  font-weight: 900;
}
.pp-public-project-card__action--approve {
  border: 1.5px solid #0ea5e9;
  background: #fff;
  color: #0284c7 !important;
}
.pp-public-project-card__action--approve.is-active {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #15803d !important;
}
.pp-public-project-card__action--invest {
  border: 1.5px solid #f4d06f;
  background: #f4d06f;
  color: #0a2540 !important;
  box-shadow: 0 7px 18px rgba(244,208,111,.20);
}
.pp-public-project-card__action--invest.is-active {
  border-color: #d9aa2b;
  background: #fff7d6;
}
.pp-public-project-card__action--disabled {
  grid-column: 2;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #94a3b8 !important;
  cursor: not-allowed;
}
.pp-public-project-card__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid #0ea5e9;
  border-radius: 12px;
  background: #fff;
  color: #0284c7;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.pp-public-project-card__toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform .18s ease;
}
.pp-public-project-card__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.pp-public-project-card__details { margin-top: 12px; }
.pp-public-project-card__details-inner {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-left: 3px solid #f4d06f;
  border-radius: 8px;
  background: #fffbeb;
  color: #475569;
  font-size: 12px;
  line-height: 1.55;
}
.pp-public-project-card__details-inner strong { color: #0f172a; }

.pp-public-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 58px 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  background: #f8fafc;
  text-align: center;
  color: #64748b;
}
.pp-public-empty strong { color: #0f172a; font-size: 17px; }
.pp-public-empty__icon { color: #f0b429; font-size: 38px; }
.pp-public-empty--filtered { margin-top: 18px; }

.pp-public-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #f8fbff;
  color: #64748b;
}
.pp-public-note svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 1px;
  fill: none;
  stroke: #2563eb;
  stroke-width: 1.8;
}
.pp-public-note p { margin: 0; font-size: 12px; line-height: 1.55; }
.pp-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1100px) {
  .pp-public-toolbar { grid-template-columns: 1fr 1fr 1fr; }
  .pp-public-search { grid-column: span 2; }
  .pp-public-result-count { justify-content: flex-start; }
  .pp-public-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .pp-public-catalogue { padding-top: 0; }
  .pp-public-hero { padding: 26px 22px; border-radius: 20px; align-items: flex-start; flex-direction: column; }
  .pp-public-hero p { font-size: 14px; }
  .pp-public-hero__actions { justify-content: flex-start; }
  .pp-public-toolbar { grid-template-columns: 1fr; padding: 10px; }
  .pp-public-search { grid-column: auto; }
  .pp-public-grid { grid-template-columns: 1fr; }
  .pp-public-project-card__visual { min-height: 165px; }
}

/* --------------------------------------------------------------------------
 * PRATINIUM Pipeline 1.28.3 — public catalogue hero authoritative alignment
 * The Classic/child theme contains generic header rules.  Keep this block
 * deliberately body-id scoped so the catalogue hero cannot be flattened to a
 * white header or have its copy/actions pushed to opposite vertical edges.
 * -------------------------------------------------------------------------- */
#module-pratiniumpipeline-projects .pp-public-catalogue > .pp-public-hero {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  justify-content: stretch !important;
  column-gap: 36px !important;
  row-gap: 18px !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 32px 40px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 8% 10%, rgba(56,189,248,.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(244,208,111,.18), transparent 28%),
    linear-gradient(135deg, #0a2540 0%, #0f172a 62%, #172554 100%) !important;
  box-shadow: 0 22px 55px rgba(15,23,42,.14) !important;
  color: #fff !important;
}

#module-pratiniumpipeline-projects .pp-public-hero__copy {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  align-self: center !important;
  width: 100% !important;
  max-width: 820px !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#module-pratiniumpipeline-projects .pp-public-hero__copy .pp-public-eyebrow {
  display: inline-flex !important;
  margin: 0 0 10px !important;
  color: #f4d06f !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#module-pratiniumpipeline-projects .pp-public-hero__copy > h1 {
  display: block !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #fff !important;
  background: transparent !important;
  font-size: clamp(30px, 4vw, 48px) !important;
  line-height: 1.05 !important;
  font-weight: 850 !important;
  letter-spacing: -.035em !important;
  text-align: left !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#module-pratiniumpipeline-projects .pp-public-hero__copy > p {
  display: block !important;
  max-width: 760px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255,255,255,.82) !important;
  background: transparent !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  text-align: left !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#module-pratiniumpipeline-projects .pp-public-hero__actions {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  align-self: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  width: auto !important;
  max-width: 420px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#module-pratiniumpipeline-projects .pp-public-hero__actions .pp-public-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#module-pratiniumpipeline-projects .pp-public-hero__actions .pp-public-btn--gold {
  color: #0a2540 !important;
  background: #f4d06f !important;
}

#module-pratiniumpipeline-projects .pp-public-hero__actions .pp-public-btn--light {
  color: #fff !important;
  border-color: rgba(255,255,255,.32) !important;
  background: rgba(255,255,255,.09) !important;
}

@media (max-width: 900px) {
  #module-pratiniumpipeline-projects .pp-public-catalogue > .pp-public-hero {
    grid-template-columns: 1fr !important;
    align-items: start !important;
    padding: 28px 26px !important;
    border-radius: 22px !important;
  }

  #module-pratiniumpipeline-projects .pp-public-hero__actions {
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: none !important;
  }
}

@media (max-width: 560px) {
  #module-pratiniumpipeline-projects .pp-public-catalogue > .pp-public-hero {
    padding: 24px 20px !important;
    border-radius: 18px !important;
  }

  #module-pratiniumpipeline-projects .pp-public-hero__copy > h1 {
    font-size: 30px !important;
  }

  #module-pratiniumpipeline-projects .pp-public-hero__copy > p {
    font-size: 14px !important;
  }

  #module-pratiniumpipeline-projects .pp-public-hero__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  #module-pratiniumpipeline-projects .pp-public-hero__actions .pp-public-btn {
    width: 100% !important;
  }
}

/* --------------------------------------------------------------------------
 * PRATINIUM Pipeline 1.28.4 — public catalogue title + footer navigation
 * -------------------------------------------------------------------------- */
#module-pratiniumpipeline-projects .pp-public-hero__copy .pp-public-eyebrow {
  margin: 0 0 12px !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: .035em !important;
  text-transform: none !important;
  color: #f4d06f !important;
}

#module-pratiniumpipeline-projects .pp-public-hero__copy > p {
  margin-top: 0 !important;
}

#module-pratiniumpipeline-projects .pp-public-hero__actions {
  max-width: none !important;
}

#module-pratiniumpipeline-projects .pp-public-footer-nav {
  margin-top: 1.8rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid #e5e7eb !important;
}

#module-pratiniumpipeline-projects .pp-public-footer-nav .pp-footer-nav__btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  border: 1.5px solid #0ea5e9 !important;
  color: #0ea5e9 !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: all .15s !important;
}

#module-pratiniumpipeline-projects .pp-public-footer-nav .pp-footer-nav__btn:hover {
  background: #f0f9ff !important;
  color: #0284c7 !important;
  border-color: #0284c7 !important;
}

#module-pratiniumpipeline-projects .pp-public-footer-nav .pp-footer-nav__btn svg {
  flex: 0 0 auto;
  width: 14px !important;
  height: 14px !important;
}

@media (max-width: 560px) {
  #module-pratiniumpipeline-projects .pp-public-hero__copy .pp-public-eyebrow {
    font-size: 19px !important;
  }
}

@media (max-width: 420px) {
  .pp-public-project-card__actions { grid-template-columns: 1fr; }
  .pp-public-project-card__action--disabled { grid-column: auto; }
}

/* v1.29.0 — public PRATINIUM TRUST process signal */
.pp-public-trust-evidence{margin-top:.55rem;padding:.6rem .7rem;border-radius:9px;background:#f0f9ff;border:1px solid #bae6fd;color:#0c4a6e}.pp-public-trust-evidence small{display:block;margin-top:.3rem;color:#52677a;line-height:1.35}

/* v1.32.06 — image de couverture fournie par le porteur */
.pp-public-project-card__visual.pp-public-project-card__visual--cover {
  background-color: #0b3154;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.pp-public-project-card__visual.pp-public-project-card__visual--cover::before {
  background: linear-gradient(180deg, rgba(7, 31, 55, .28) 0%, rgba(7, 31, 55, 0) 38%, rgba(7, 31, 55, 0) 70%, rgba(7, 31, 55, .30) 100%);
}
