.pape::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(rgb(0 0 0 / 80%), rgb(0 0 0 / 80%)),
    url("images/le-pape.png") center / cover no-repeat;
  pointer-events: none;
}
.pape main {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.pape .citation { margin: 0; animation: apparition 1.6s ease-out both; }
.fonts-pending .pape .citation { opacity: 0; animation: none; }
[hidden] { display: none !important; }
.publicite {
  color-scheme: light;
  position: fixed;
  width: calc(100% - 32px);
  max-width: 420px;
  max-height: calc(100svh - 40px);
  margin: auto;
  padding: 0;
  border: 1px solid #dddcd7;
  border-radius: 12px;
  outline: none;
  overflow: hidden;
  background: #fff;
  color: #202223;
  font: 14px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}
.publicite[open] {
  display: flex;
  flex-direction: column;
}
.publicite::backdrop { background: transparent; }
.pub-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.photo-gourou { display: block; width: 100%; height: auto; }
.pub-texte { padding: 20px 22px 6px; }
.pub-texte > p:not(.etiquette-pub) { margin: 0 0 14px; color: #626663; }
.pub-footer { flex-shrink: 0; padding: 16px 22px 20px; border-top: 1px solid #edf0eb; background: #fff; }
.inscription {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #243d32;
  border-radius: 7px;
  background: #243d32;
  color: #fff;
  font: 600 14px/1.5 system-ui, sans-serif;
  cursor: pointer;
}
.inscription:hover { background: #172a22; }
.inscription.reservee { background: #eef5e9; color: #243d32; cursor: default; }
.fermer-pub {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #dddcd7;
  border-radius: 50%;
  background: #fff;
  color: #202223;
  font: 24px/1 system-ui, sans-serif;
  cursor: pointer;
}
button:focus-visible { outline: 3px solid #ab8350; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .pape .citation { animation: none; } }

/* Publicité volontairement tapageuse. */
.publicite { width: calc(100% - 24px); max-height: calc(100svh - 24px); border: 3px solid #000; border-radius: 3px; box-shadow: 5px 5px 0 #ff00a8; }
.promo-lunaire { flex-shrink: 0; display: grid; gap: 3px; padding: 10px 45px 10px 12px; border-bottom: 3px solid #000; background: #ffe600; color: #b30032; text-align: center; font: 900 12px/1.15 Arial, sans-serif; text-transform: uppercase; }
.promo-lunaire strong { font: 900 23px/1 Arial Black, Arial, sans-serif; letter-spacing: -.04em; }
.fermer-pub { top: 9px; right: 8px; border: 2px solid #000; border-radius: 0; background: #fff; }
.photo-promo { position: relative; }
.badge-eveil { position: absolute; top: 8px; left: 8px; display: grid; align-content: center; width: 88px; height: 88px; padding: 10px; clip-path: polygon(50% 0%, 61% 12%, 75% 6%, 79% 22%, 94% 25%, 88% 40%, 100% 50%, 88% 61%, 94% 75%, 79% 79%, 75% 94%, 61% 88%, 50% 100%, 40% 88%, 25% 94%, 22% 79%, 6% 75%, 12% 61%, 0% 50%, 12% 40%, 6% 25%, 22% 22%, 25% 6%, 40% 12%); background: #ffe600; color: #bf006e; transform: rotate(-12deg); font: 900 13px/1.1 Arial, sans-serif; text-align: center; text-transform: uppercase; }
.notification { position: absolute; right: 10px; bottom: 10px; left: 10px; margin: 0; padding: 8px 10px; border: 2px solid #000; background: #fff; box-shadow: 3px 3px 0 #ff00a8; color: #000; font: 700 11px/1.3 Arial, sans-serif; }
.pub-texte { padding: 18px 18px 10px; }
.offre-flash { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }
.offre-flash del { color: #777; font: 700 20px/1.2 Arial, sans-serif; text-decoration-color: #f00; text-decoration-thickness: 3px; transform: rotate(-8deg); }
.offre-flash strong { padding: 3px 8px; background: #ff00a8; color: #fff; font: 900 31px/1.1 Impact, Arial Black, sans-serif; transform: rotate(3deg); }
.pub-texte > p.rarete { margin: 14px 0; padding: 8px; border: 2px dashed #e60032; background: #fff3a3; color: #a00026; font: 800 12px/1.4 Arial, sans-serif; text-align: center; }
.certifications { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 10px; }
.certifications span { padding: 5px 7px; border: 1px solid #8000b3; background: #f7e3ff; color: #650085; font: 700 10px/1.4 Arial, sans-serif; }
.pub-footer { padding: 10px 14px 12px; border-top: 0; background: #fff; text-align: center; }
.fleches { color: #ad0076; font-size: 18px; line-height: 1; letter-spacing: 16px; padding-left: 16px; }
.inscription { margin: 6px 0 8px; border: 2px solid #000; border-radius: 3px; background: #ff00a8; color: #fff; box-shadow: 3px 3px 0 #000; font: 900 14px/1.3 Arial, sans-serif; text-transform: uppercase; animation: bouton-pub 1.3s ease-in-out infinite; }
.inscription:hover { background: #c90084; }
.inscription.reservee { animation: none; background: #e1ffc4; color: #204000; }
.refuser-pub { padding: 4px 0; border: 0; background: transparent; color: #626663; font: 10px/1.3 Arial, sans-serif; text-decoration: underline; cursor: pointer; }
@keyframes bouton-pub { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .inscription { animation: none; } }
