/* ======================================================
   ASTTIC - Styles RÃ©alisations (en plus de style.css)
====================================================== */

.real-subtitle{
  text-align:center;
  max-width: 800px;
  margin: -20px auto 30px auto;
  opacity: .85;
  font-size: 15px;
}

.real-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.real-card{
  border-radius: 18px;
  overflow:hidden;
  padding: 16px;
  background: rgba(255,255,255,0.06);
}

.real-images{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.real-images img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  display:block;
}

.real-images figure{ margin:0; }

.real-images figcaption{
  text-align:center;
  font-size: 12px;
  opacity: .8;
  margin-top: 6px;
}

.real-desc{
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  opacity: .92;
}

.real-note{
  text-align:center;
  margin-top: 30px;
}

.real-empty{
  text-align:center;
  opacity: .85;
}

.real-admin-card{
  max-width: 700px;
  margin: 0 auto;
}

.real-admin-card input,
.real-admin-card select{
  width: 100%;
  padding: 10px;
  margin: 8px 0 14px 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.15);
  color: inherit;
}


/* ======================================================
   Ajustements demandÃ©s (override)
====================================================== */

/* Carte "Nos rÃ©alisations" sur l'accueil : forcer l'image entiÃ¨re */
#realSemaineCard{
  min-height: 340px;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* Titre en blanc */
#realSemaineCard .card-title{
  color: #ffffff !important;
}

/* Page rÃ©alisations : images plus grandes (hauteur x2), largeur normale */
.real-images img{
  height: 360px;
  object-fit: contain;
  background: rgba(0,0,0,0.25);
}
/* ======================================================
   Ajustements demandés (scaling)
====================================================== */

/* INDEX – Formule "Nos réalisations"
   hauteur x1.5 | largeur /1.2
*/
#realSemaineCard{
  min-height: 540px;
  max-width: 83%;
  margin-left: auto;
  margin-right: auto;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* PAGE RÉALISATIONS
   hauteur des images divisée par 2
*/
.real-images img{
  height: 180px;
  object-fit: contain;
  background: rgba(0,0,0,0.25);
}
