.fiche-bien-galerie {
  margin: 24px 0 40px;
}

.fiche-bien-galerie .gallery {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 220px);
  gap: 14px;
  margin: 0;
  padding: 0;
}

.fiche-bien-galerie .gallery .gallery-item {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  list-style: none;
}

.fiche-bien-galerie .gallery .gallery-item:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.fiche-bien-galerie .gallery .gallery-icon {
  width: 100%;
  height: 100%;
}

.fiche-bien-galerie .gallery .gallery-icon a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #f4f4f4;
}

.fiche-bien-galerie .gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.fiche-bien-galerie .gallery .gallery-icon a:hover img {
  transform: scale(1.03);
  filter: brightness(0.98);
}

@media (max-width: 1024px) {
  .fiche-bien-galerie .gallery {
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-template-rows: repeat(2, 180px);
  }
}

@media (max-width: 767px) {
  .fiche-bien-galerie .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 140px 140px;
    gap: 10px;
  }

  .fiche-bien-galerie .gallery .gallery-item:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .fiche-bien-galerie .gallery .gallery-icon a,
  .fiche-bien-galerie .gallery img {
    border-radius: 12px;
  }
}
.fiche-bien-galerie .gallery .gallery-icon a {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.single-property h1,
.single-property .elementor-heading-title {
  margin-bottom: 22px;
  line-height: 1.15;
}

.bloc-energie {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.energie-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.energie-item .valeur {
  font-size: 18px;
}

/* DPE couleurs */
.dpe-A { background: #00b050; }
.dpe-B { background: #66cc00; }
.dpe-C { background: #cccc00; }
.dpe-D { background: #ffcc00; }
.dpe-E { background: #ff9900; }
.dpe-F { background: #ff3300; }
.dpe-G { background: #cc0000; }

/* GES couleurs (plus neutres) */
.ges-A { background: #3cb371; }
.ges-B { background: #66cdaa; }
.ges-C { background: #ffd700; }
.ges-D { background: #ffa500; }
.ges-E { background: #ff8c00; }
.ges-F { background: #ff4500; }
.ges-G { background: #b22222; }