/* MODAL GLOBAL */
#modalAnnonce{
  position: fixed;
  inset: 0;
  display:none; 
  z-index: 9999;
  /*background-color: red;*/
}

/* fond sombre */
.modal-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

/* contenu */
.modal-content{
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 900px;
  margin: 5% auto;
  border-radius: 16px;
  padding: 20px;
  animation: fadeUp .3s ease;
}

/* animation */
@keyframes fadeUp{
  from{ opacity:0; transform: translateY(20px); }
  to{ opacity:1; transform: translateY(0); }
}

/* bouton fermer */
.modal-close{
  position: absolute;
  top: 12px;
  right: 15px;
  border: none;
  background: none;
  font-size: 30px;
  cursor: pointer;
}

/* corps */
.modal-body{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
}

/* image */
.modal-img img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
}

/* infos */
.modal-info h2{
  margin: 0 0 10px;
}

.modal-prix{
  font-size: 22px;
  font-weight: bold;
  color: green;
  margin-bottom: 15px;
}

.modal-contact{
  margin-top: 20px;
  padding: 12px 20px;
  background: green;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
