/* Ajustements propres à la version WordPress du portfolio */

/* Le texte de présentation vient de l'éditeur : il contient des paragraphes */
.presentation > p {
  margin: 0 0 1em;
  font: inherit;
  color: inherit;
}
.presentation > p:last-child {
  margin-bottom: 0;
}

/* Les sous-titres ajoutés dans l'éditeur d'un projet prennent le style du site */
.textes-page-projet h2,
.textes-page-projet h3 {
  color: #4F3582;
  font-family: 'Milk Choco', 'Sora', sans-serif;
}
.textes-page-projet img {
  max-width: 100%;
  height: auto;
}

/* Champ anti-spam invisible */
.lp-piege {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Fenêtre de confirmation du formulaire : léger voile derrière */
.popup-overlay {
  background-color: rgba(0, 0, 0, 0.25);
}

/* Barre d'administration WordPress (quand vous êtes connectée) */
body.admin-bar header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

/* Pages simples (404, pages créées dans l'admin) */
.lp-page {
  padding: 2rem 5vw 4rem;
  min-height: 50vh;
}
.lp-contenu {
  font-family: 'Sora', sans-serif;
  max-width: 800px;
}
