/* =========================================
   RESERVATIONS.CSS — version organisée par blocs
========================================= */


/*============================
======= FICHIERS COMMUNS ========
=============================
   Styles globaux non conditionnés
=============================*/

/* CONTENEUR DU MESSAGE */
.reservation-message-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  overflow: hidden;
  min-height: 250px;
  width: 100%;
}

/* IMAGE EN SURIMPRESSION */
.overlay-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: auto;
  max-height: 100%;
  opacity: 0.9;
  z-index: 3;
  pointer-events: none;
}

/* BOX GÉNÉRIQUE (textes réservations) */
.reservation-box {
  border: 1px solid #000;
  border-radius: 10px;
  padding: 20px 24px;
  background: #047303;
  color: #000;
  max-width: 900px;
  margin: 20px auto;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.15);
}

.reservation-box p {
  margin-bottom: 1em;
  font-family: 'Arial', sans-serif;
  font-size: 20px;
  line-height: 1.2;
}

/* ANIMATION ALERTE */
@keyframes blink {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}

.alert-resa {
  position: relative;
  z-index: 4;
  animation: blink 4s ease-in-out infinite;
  text-align: center;
  font-family: Verdana, sans-serif;
  color: #FF0000;
  margin-top: 30px;
}

.alert-resa .ligne-haut {
  font-size: 24px;
  font-weight: bold;
}

.alert-resa .ligne-bas {
  font-size: 24px;
  margin-top: 10px;
  font-weight: bold;
}

/* Accessibilité : animation réduite */
@media (prefers-reduced-motion: reduce) {
  .alert-resa { animation: none; }
}


/*============================
====== FICHIERS PETITS FORMATS ======
=============================
   Smartphones portrait ≤480px
=============================*/

@media (max-width: 480px){

  /* Conteneur message */
  .reservation-message-container {
    padding: 16px 0;
    min-height: 200px;
  }

  /* Surimpression */
  .overlay-image {
    width: 95%;
    opacity: 0.85;
  }

  /* Bloc texte */
  .reservation-box {
    max-width: 95%;
    margin: 14px auto;
    padding: 14px 16px;
  }

  .reservation-box p {
    line-height: 1.5;
    margin-bottom: .9em;
  }

  /* Alerte */
  .alert-resa { margin-top: 18px; }
  .alert-resa .ligne-haut { font-size: 20px; }
  .alert-resa .ligne-bas  { font-size: 20px; }
}


/*============================
====== FICHIERS MOYENS FORMATS ======
=============================
   Smartphones paysage / Tablettes portrait
=============================*/

/* (Aucune règle spécifique pour l’instant) */


/*============================
===== FICHIERS GRANDS FORMATS ======
=============================*/

/* (Aucune règle spécifique pour l’instant) */
