.papesse::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(rgb(0 0 0 / 80%), rgb(0 0 0 / 80%)),
    url("images/la-papesse.png") center / cover no-repeat;
  pointer-events: none;
}

.papesse .apparition {
  position: relative;
  display: grid;
  place-items: center;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.analyse {
  width: calc(100% - 48px);
  max-width: 400px;
  margin-top: 0;
  text-align: center;
  font-size: clamp(12px, 3.3vw, 15px);
  line-height: 1.8;
  text-transform: uppercase;
}

.analyse > p {
  margin: 0 0 18px;
  animation: apparition 1.6s ease-out 1.2s both;
}

.analyse > p:nth-of-type(2) { animation-delay: 3s; }
.analyse > p:nth-of-type(3) { animation-delay: 4.8s; }
.fonts-pending .analyse > p { opacity: 0; animation: none; }

button { cursor: pointer; }
button:focus-visible { outline: 3px solid #ab8350; outline-offset: 4px; }
[hidden] { display: none !important; }

.lire-suite {
  padding: 12px 16px;
  border: 1px solid #e5c99f66;
  border-radius: 5px;
  background: transparent;
  color: #e5c99f;
  font: 14px/1.4 system-ui, sans-serif;
}

.paywall {
  color-scheme: light;
  width: calc(100% - 32px);
  max-width: 420px;
  max-height: calc(100svh - 40px);
  margin: auto;
  padding: 28px 24px 24px;
  overflow: auto;
  border: 1px solid #dddcd7;
  border-radius: 14px;
  background: #fafaf8;
  color: #202223;
  font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  box-shadow: 0 16px 60px #0005;
}

.paywall[open] { animation: arrivee-paywall .25s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes arrivee-paywall {
  from { transform: translateY(100svh); }
  to { transform: translateY(0); }
}
.paywall::backdrop { background: rgb(0 0 0 / 70%); }
.fermer {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #626663;
  font: 26px/1 system-ui, sans-serif;
}
.fermer:hover { background: #eeefeb; }
.statut {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border: 1px solid #ddc9a6;
  border-radius: 50%;
  background: #f7eddc;
  color: #886225;
  font-weight: 600;
}
.etiquette {
  margin: 0 0 8px;
  color: #747974;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.paywall h1 {
  margin: 0 24px 12px 0;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.025em;
}
#paywall-description { margin: 0 0 24px; color: #626663; }
.offre + .offre { margin-top: 20px; padding-top: 20px; border-top: 1px solid #e1e3df; }
.cta {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #243d32;
  border-radius: 7px;
  font: 600 14px/1.4 system-ui, sans-serif;
}
.abonnement { background: #243d32; color: #fff; }
.abonnement:hover { background: #172a22; }
.retraite { background: #fff; color: #243d32; }
.retraite:hover { background: #edf0eb; }
.conditions { margin: 9px 0 0; color: #747974; font-size: 11px; line-height: 1.5; }
.confirmation { margin: 20px 0 0; padding-top: 20px; border-top: 1px solid #e1e3df; color: #243d32; }

@media (prefers-reduced-motion: reduce) {
  .analyse > p, .paywall[open] { animation: none; }
}
