/* Programme de conformité C2PA : page purement pédagogique. Hero braise avec une fiche neutre
   (les trois familles évaluées), puis le texte de la page actuelle sur la trame des pages Ressources. */

/* ---------- Hero (fond braise, halo orange à droite) ---------- */

.cf-hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 65% at 75% 45%, rgba(244, 81, 30, 0.28), transparent 66%),
    var(--ps-ember);
}

.cf-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.cf-hero-copy {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
}

.ps-page .cf-h1 {
  max-width: 11em;
  color: #fff;
  font-size: clamp(46px, 5.8vw, 96px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.ps-page .cf-lead {
  max-width: 34em;
  color: var(--ps-muted-dark);
  font-size: 20px;
  line-height: 1.5;
}

.cf-scene-col {
  flex: 1 1 540px;
  min-width: 0;
}

.cf-scene {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Titres de section (titre, puis sous-titre juste en dessous) ---------- */

.cf-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ps-page .cf-h2 {
  max-width: 14em;
  color: var(--ps-ink);
}

.ps-page .f-dark .cf-h2 {
  color: #fff;
}

/* ---------- Scène : la fiche du programme ---------- */

.cf-scene {
  max-width: 520px;
}

.cf-sheet {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: var(--ps-radius-card);
  background: #fffdf8;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7);
  color: var(--ps-ink);
}

.ps-page .cf-sheet .cf-sheet-title {
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--ps-ink);
  color: var(--ps-ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cf-scope {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cf-scope li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(244, 81, 30, 0.08);
  color: var(--ps-ink);
  font-size: 19px;
  font-weight: 700;
}

.cf-scope li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ps-orange);
}

/* ---------- Texte de la page ---------- */

.cf-prose {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 44em;
}

.ps-page .cf-prose p,
.cf-list li {
  color: var(--ps-muted-light);
  font-size: 19px;
  line-height: 1.55;
}

.ps-page .cf-prose h3 {
  margin-top: 28px;
  color: var(--ps-ink);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.cf-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cf-list li {
  position: relative;
  padding-left: 26px;
}

.cf-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ps-orange);
}

/* ---------- Sources externes (fond papier) ---------- */

.cf-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cf-sources-label {
  margin-right: 6px;
  color: var(--ps-muted-light);
  font-size: 15px;
  font-weight: 600;
}

.ps-page main .f-paper .cf-sources a:not(.ps-btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ps-line-light);
  border-radius: var(--ps-radius-pill);
  background: #fff;
  color: var(--ps-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.ps-page main .f-paper .cf-sources a:not(.ps-btn):hover {
  border-color: var(--ps-orange);
  color: var(--ps-orange-dark);
}

@media (prefers-reduced-motion: reduce) {
  .ps-page main .f-paper .cf-sources a:not(.ps-btn) {
    transition: none;
  }
}

/* ---------- Écrans moyens et mobile ---------- */

@media (max-width: 900px) {
  .cf-hero-inner {
    padding-top: 32px;
    padding-bottom: 72px;
  }

  .ps-page .cf-h1 {
    font-size: clamp(42px, 12.5vw, 64px);
  }

  .cf-sheet {
    padding: 22px;
  }
}
