/*
 * Le mur d'aperçu. Ajoute des classes préfixées `mur-`, ne touche à aucun
 * sélecteur existant de s.css ni d'affiche.css.
 *
 * Même grammaire que le reste du site : papier #FCFBF7, encre #1D2F4F, aucun
 * angle arrondi, Oswald en capitales espacées pour les étiquettes, Source
 * Sans 3 pour le texte courant. La couleur d'accent est celle de la section,
 * héritée par var(--c).
 */

.mur-fond {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(29, 47, 79, 0.58);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.16s ease-out;
}
.mur-fond[data-ouvert] { opacity: 1; }
.mur-fond[hidden] { display: none; }

.mur-feuille {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #FCFBF7;
  color: #1D2F4F;
  border: 1.5px solid #1D2F4F;
  box-shadow: 0 24px 60px rgba(29, 47, 79, 0.32);
  padding: 46px 34px 30px;
  transform: translateY(10px);
  transition: transform 0.16s ease-out;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}
.mur-fond[data-ouvert] .mur-feuille { transform: none; }

/* L'onglet du site, repris à l'identique. */
.mur-onglet {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  background: var(--c, #E8B21E);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  padding: 8px 22px 7px;
  white-space: nowrap;
}

.mur-fermer {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  color: #1D2F4F;
  opacity: 0.45;
  font-size: 22px;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
}
.mur-fermer:hover { opacity: 1; }

.mur-titre {
  font-family: "Playfair Display", "Oswald", serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.16;
  margin: 4px 0 12px;
}
.mur-chapo {
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0 0 6px;
  opacity: 0.82;
}
.mur-compte {
  font-family: "Oswald", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0 0 20px;
}

.mur-champ { margin-bottom: 6px; }
.mur-champ label {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.68;
  margin-bottom: 7px;
}
.mur-champ input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #1D2F4F;
  background: transparent;
  font-family: "Source Sans 3", sans-serif;
  font-size: 17px;
  padding: 4px 2px 8px;
  outline: none;
  color: #1D2F4F;
}
.mur-champ input:focus { border-bottom-width: 2.5px; }

/* Pot de miel : hors écran, jamais atteignable au clavier. */
.mur-piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mur-erreur {
  min-height: 18px;
  font-size: 13px;
  color: #C8402E;
  margin: 8px 0 0;
}

.mur-bouton {
  border: none;
  /* L'encre, pas la couleur de section : blanc sur #E8B21E tombe à 2,2:1,
     illisible pour l'action décisive de la modale. Sur #1D2F4F, 11:1. */
  background: #1D2F4F;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 17px 22px;
  cursor: pointer;
  width: 100%;
  line-height: 1.2;
  margin-top: 10px;
  transition: transform 0.12s;
}
.mur-bouton:hover { transform: translateY(-1px); }
.mur-bouton[disabled] { opacity: 0.55; cursor: progress; transform: none; }

.mur-socle {
  font-family: "Oswald", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.62;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  padding: 0;
  list-style: none;
}

.mur-avantage {
  margin-top: 20px;
  border-top: 1.5px solid rgba(29, 47, 79, 0.2);
  padding-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.78;
}
.mur-avantage b { font-weight: 600; }

/* La jauge posée sous les vignettes de /creer/ : le visiteur sait où il en
   est avant de buter sur le mur. */
.mur-jauge {
  font-family: "Oswald", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.62;
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.mur-jauge i {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--c, #E8B21E);
  flex: none;
}
.mur-jauge button {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.9;
}

@media (max-width: 520px) {
  .mur-feuille { padding: 42px 22px 26px; }
  .mur-titre { font-size: 23px; }
}
