/* Certificat de signature C2PA : trame commune dans compare.css ; ici la scène du hero
   (un manifeste et la question à laquelle répond le certificat), la prose et la liste des usages. */

/* ---------- Scène du hero ---------- */

.sc-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 0 70px;
}

.sc-manifest {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 78%;
  padding: 22px;
  border: 2px solid var(--ps-ink);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 12px 12px 0 var(--ps-orange);
  color: var(--ps-ink);
}

.sc-manifest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ps-ink);
}

.sc-manifest-head b {
  font-size: 20px;
  font-weight: 900;
}

.sc-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ps-orange);
}

.sc-bar {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #e2d0c5;
}

.sc-w45 { width: 45%; }
.sc-w60 { width: 60%; }
.sc-w70 { width: 70%; }
.sc-w80 { width: 80%; }

/* Le certificat se pose en travers du manifeste. */
.sc-cert {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 62%;
  padding: 18px 20px;
  border: 1px solid rgba(255, 138, 76, 0.45);
  border-radius: 14px;
  background: var(--ps-ink);
  color: #fff;
}

.sc-cert-key {
  color: var(--ps-orange-light);
  font-family: var(--ps-font-mono);
  font-size: 12px;
}

.ps-page .sc-cert p {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

/* ---------- Prose ---------- */

.sc-prose {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sc-prose > * {
  max-width: 40em;
}

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

.ps-page .sc-prose .sc-question {
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(244, 81, 30, 0.1);
  color: var(--ps-ink);
  font-size: 22px;
  line-height: 1.35;
}

/* ---------- Cas où un certificat est nécessaire ---------- */

.sc-uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-uses li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 18px;
  border: 1.5px solid var(--ps-ink);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ps-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

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

@media (max-width: 900px) {
  .sc-uses {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .sc-scene {
    padding-bottom: 0;
  }

  .sc-manifest {
    width: auto;
    box-shadow: 6px 6px 0 var(--ps-orange);
  }

  .sc-cert {
    position: static;
    width: auto;
    margin-top: 20px;
  }
}
