/*
Theme Name: thechild
Theme URI: https://www.saytoutcom.com
Description: Thème enfant 
Author: SAY TOUT COM
Author URI: https://www.saytoutcom.com
Template: kadence
Version: 1.0
Text Domain: thechild
*/

/* Tu peux ajouter ton CSS personnalisé ici */



.biens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.bien-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.2s ease;
}

.bien-card:hover {
  transform: translateY(-5px);
}



.bien-card .image img {
  width: 100%;
  height: 300px;
  display: block;
}

.bien-card .infos {
  padding: 15px;
  text-align: center;
}


.bien-card h3 {
  font-size: 16px;
  color: #c48027;
  margin: 10px 0 5px;
  font-weight: bold;
}

.bien-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}



.bien-card .btn-voir {
  display: inline-block;
  padding: 6px 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  
      font-family: "Open Sans", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    border : 1px solid #DEA642;
    border-radius: 0px;
}

.bien-card .btn-voir:hover {
  background-color: #0a403d;
  color: #fff;
}

.bien-card_accueil {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}



.bien-card_accueil .image img {
  width: 100%;
  height: 100%;
  display: block;
}

.bien-card_accueil .infos {
  padding: 15px;
  text-align: center;
    /* background-color: rgba(33, 82, 74, 0.5); */
    background-color:rgba(222, 166, 66, 0.7);
  width:90%;
  color:white;
	margin-top: -45px;
	margin-left: 5%;
	margin-right: 5%;
}

.bien-card_accueil h3 {
  font-size: 16px;
  color: #fff; /* orange comme sur ton image */
  margin-bottom: 8px;
  font-weight: bold;
}

.bien-card_accueil p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.bien-card_accueil .btn-voir {
  display: inline-block;
  padding: 6px 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  
      font-family: "Open Sans", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    border : 1px solid #fff;
    border-radius: 0px;
}

.bien-card_accueil .btn-voir:hover {
  background-color: #DEA642;
  color: #fff;
}

/* moteur de recherche */
.resultats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ✅ 3 par ligne */
  gap: 30px;
  margin-top: 20px;
}


@media screen and (max-width: 1024px) {
  .resultats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .resultats-grid {
    grid-template-columns: 1fr;
  }
}


/* moteur de recherche */






/* shortcode  */

.galerie-grille {
  display: grid;
  grid-template-columns: 1fr; /* 🟢 1 colonne par défaut (mobile) */
  gap: 15px;
  margin-top: 20px;
}

.galerie-grille .photo-item {
  overflow: hidden;
 
}

.galerie-grille .photo-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 🖥️ À partir de 768px, 2 colonnes */
@media screen and (min-width: 768px) {
  .galerie-grille {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dpe-compact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 220px;
}

.dpe-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  padding: 6px 10px;
  font-weight: bold;
  font-size: 14px;
}

.dpe-line .label {
  flex: 1;
}

.dpe-line .value {
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 13px;
}

.dpe-a { background-color: #2dc937; }
.dpe-b { background-color: #99c140; }
.dpe-c { background-color: #e7b416; }
.dpe-d { background-color: #db7b2b; }
.dpe-e { background-color: #cc3232; }
.dpe-f { background-color: #990000; }
.dpe-g { background-color: #660000; }

.ges-a { background-color: #c7b3e5; }
.ges-b { background-color: #b695dc; }
.ges-c { background-color: #a378d3; }
.ges-d { background-color: #905aca; }
.ges-e { background-color: #7e3cc1; }
.ges-f { background-color: #6b1eb8; }
.ges-g { background-color: #5900af; }

