.image-container {
	position: relative;
/* Nécessaire pour positionner le texte par rapport à l'image */
	width: 100%;
/* Ajuste à la largeur de la page */
}

.image-container img {
	width: 100%;
/* L'image prend toute la largeur du conteneur */
	height: auto;
/* Maintient les proportions de l'image */
}

.image-text {
	position: absolute;
	top: 50%;
/* Positionne le texte verticalement au centre */
	left: 50%;
/* Positionne le texte horizontalement au centre */
	transform: translate(-50%, -50%);
/* Centrage parfait */
	color: white;
/* Couleur du texte */
	font-size: 24px;
/* Taille du texte */
	font-weight: bold;
/* Gras pour le texte */
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
/* Ombre portée pour améliorer la lisibilité */
	text-align: center;
/* Centre le texte */
}
/* ==========================================
   CALENDRIER DE DISPONIBILITÉS (PMSP) - VERSION COLORÉE
   ========================================== */

.pmsp-cal {
  --pmsp-primary: #1e5631;
  --pmsp-free-bg: #e8f5e9;
  --pmsp-free-color: #2e7d32;
  --pmsp-booked-bg: #ffebee;
  --pmsp-booked-color: #c62828;
  --pmsp-booked-line: rgba(198, 40, 40, 0.25);
  --pmsp-closed-bg: #f5f5f5;
  --pmsp-closed-color: #9e9e9e;
  --pmsp-border: #e0e0e0;
  --pmsp-radius: 8px;
  
  box-sizing: border-box;
  max-width: 720px;
  margin: 1.5em auto;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--pmsp-border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #2c3e50;
  line-height: 1.4;
}

.pmsp-cal *, .pmsp-cal *::before, .pmsp-cal *::after {
  box-sizing: border-box;
}

/* En-tête & Boutons de navigation */
.pmsp-cal .pmsp-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.pmsp-cal .pmsp-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pmsp-cal .pmsp-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  color: var(--pmsp-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pmsp-cal .pmsp-nav:hover {
  border-color: var(--pmsp-primary);
  background: var(--pmsp-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Grilles des mois */
.pmsp-cal .pmsp-months {
  display: grid;
  grid-template-columns: repeat(var(--pmsp-cols, 1), minmax(0, 1fr));
  gap: 24px;
}

.pmsp-cal .pmsp-month-title {
  margin: 0 0 14px;
  padding: 8px 12px;
  background: #f4f8f5;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-transform: capitalize;
  color: var(--pmsp-primary);
  letter-spacing: 0.02em;
}

.pmsp-cal .pmsp-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.pmsp-cal .pmsp-wd {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #78909c;
  padding: 4px 0;
  text-transform: uppercase;
}

.pmsp-cal .pmsp-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pmsp-radius);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  user-select: none;
  transition: transform 0.1s ease;
}

/* États colorés des jours */
.pmsp-cal .pmsp-free {
  background: var(--pmsp-free-bg);
  color: var(--pmsp-free-color);
  border: 1px solid #c8e6c9;
}

.pmsp-cal .pmsp-free:hover {
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

.pmsp-cal .pmsp-booked {
  background: var(--pmsp-booked-bg);
  background-image: repeating-linear-gradient(
    135deg,
    var(--pmsp-booked-line) 0,
    var(--pmsp-booked-line) 2px,
    transparent 0,
    transparent 7px
  );
  color: var(--pmsp-booked-color);
  border: 1px solid #ffcdd2;
  text-decoration: line-through;
}

.pmsp-cal .pmsp-closed {
  background: var(--pmsp-closed-bg);
  color: var(--pmsp-closed-color);
  border: 1px solid #eeeeee;
  opacity: 0.75;
}

.pmsp-cal .pmsp-today {
  box-shadow: inset 0 0 0 2px var(--pmsp-primary);
}

/* Légende & Pied */
.pmsp-cal .pmsp-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--pmsp-border);
}

.pmsp-cal .pmsp-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  font-size: 13px;
  font-weight: 500;
}

.pmsp-cal .pmsp-lg-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pmsp-cal .pmsp-sw {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.pmsp-cal .pmsp-sw.pmsp-free { background: var(--pmsp-free-bg); border: 1px solid #c8e6c9; }
.pmsp-cal .pmsp-sw.pmsp-booked { background: var(--pmsp-booked-bg); border: 1px solid #ffcdd2; }
.pmsp-cal .pmsp-sw.pmsp-closed { background: var(--pmsp-closed-bg); border: 1px solid #e0e0e0; }

.pmsp-cal .pmsp-note {
  margin: 12px 0 0;
  font-size: 12px;
  text-align: center;
  color: #78909c;
}