/*
Theme Name: Christhophe Barré Immobilier
Description: Theme enfant 
Author: Espace Technologie
Author URI: https://www.espace-technologie.com
Template: Divi
Version: 0.1.0
*/

.page-template #main-content {
	background-color: transparent!important;
}

.home #meun_secondaire {
	display:none;
}

body:not(.home) #menu-menu-principal-1 {
  display:none;
}
.filariane {
	text-transform:uppercase;
	color:#FFFFFF;
	margin-bottom: 2.5em;
	font-weight: 300;
}

/************************************************************
*************  ACCUEIL
*************************************************************/

.biens-grid-accueil {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 20px 0;
	gap: 40px;
}

/************************************************************
*************  MENU PRINCIPAL ACCUEIL
*************************************************************/

#menu-menu-principal-1 {
  list-style: none;
  padding: 0;
  margin: 0;
}

#meun_secondaire {
  justify-content: end !important;
  display: flex;
}


#menu-menu-principal-1 .menu-item {
  position: relative;
  margin: 0;
  padding: 10px;
}

#menu-menu-principal-1 .menu-item a {
  text-decoration: none;
  color: black;
  display: block;
  position: relative;
}

.dynamic-hover-content span {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom:40px;
  margin-top:40px;
}

.dynamic-hover-content {
  position: absolute;
  top: -100%; 
  left: 0;
  width: 100%;
  height: 250%; 
  background: white;
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  text-align: center; 
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1;
  cursor:pointer;
}

.dynamic-hover-content img {
  max-width: 80%; 
  height: auto; 
  margin-bottom: 10px; 
}

.dynamic-hover-content span {
  font-size: 1rem;
  color: black;
}


/************************************************************
*************  MOTEUR DE RECHERCHE
*************************************************************/

.moteur-container {
    position: fixed;
    top: 100px;
    left: 50%; 
	width:92%;
	height:45vh;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8); 
    padding: 25px 20px;
    z-index: 1000;
}

.moteur_recherche {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.column-moteur {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.column-moteur label {
    font-size: 16px;
    margin-bottom: 10px;
	padding: 10px 0;
}

.column-moteur.left div label {
    display: inline-block;
    margin-bottom: 5px;
	margin-right: 20px;
}

.column-moteur.right div {
    display: flex;
    gap: 50px; 
}

.column-moteur.right select {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 20px;
	width: 80%;
}

.search-button {
    background-color: #6c3b94;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
	margin:auto;
}

.search-button:hover {
    background-color: #532c73;
}

/************************************************************
*************  PAGE TOUS NOS BIENS
*************************************************************/

html, body {
    height: 100%; /* Fait en sorte que le body et l'html prennent toute la hauteur de la fenêtre */
    margin: 0; /* Élimine la marge par défaut du body */
    padding: 0; /* Élimine le padding par défaut */
}

/*.biens-template-default, .page-template-modele-biens {
	background-image: url('../../../wp-content/uploads/2024/12/fond-liste-biens.webp'); 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center center!important; 
	background-attachment:unset!important;
}*/

.image-top{
	background-position: top !important;
	background-repeat: no-repeat !important;
	background-size: 100% !important;
	height: 80vh;
	width: 100%;
	position: absolute;
	z-index: 0;
}
#et-boc{
	z-index: 2;
	position: relative;
}

.custom-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto; 
    padding: 0 80px; 
    box-sizing: border-box; 
	font-family : "Montserrat";
}

.biens-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 20px 0;
	gap: 40px;
}

.biens-item {
    text-align: center;
	background-color: #fff;
}

.biens-link {
    display: block; 
	position:relative;
    width: 100%; 
    background-size: cover; 
    background-position: center;
    text-decoration: none;
    color: inherit;
	min-height:400px;
	overflow: hidden;
}

.biens-link .filigrane {
	display:none;
	position:absolute;
	top:20px;
	left:20px;
	width: 30%;
}

.biens-link .etat_du_bien {
	position: absolute;
	background: #FFFFFF;
	font-size: 18px;
	right: -60px;
	top: 70px;
	font-weight: bold;
	color: #682783;
	text-transform: uppercase;
	padding: 5px 20px;
	transform: rotate(40deg);
	width: 320px;
}

.biens-title {
    font-size: 20px;
	letter-spacing:2px;
    margin: 10px 0;
	font-weight:bold;
	color:#682783;
	text-transform:uppercase;
	border-bottom: 1px solid #9b9b9b;
	padding-bottom:30px;
	padding-top:10px;
}

.biens-description {
    font-size: 16px;
	color:#682783;
	font-weight:400;
	margin-bottom:10px;
}

.biens-ville {
    font-size: 22px;
	font-weight:bold;
	color:#682783;
}

.biens-reference {
	font-size:16px;
	color:#7A7A7A; 
	font-weight:normal;
}

.biens-prix {
	font-size:30px;
	font-weight:bold;
}

.biens-exclusivite {
	color:#FFFFFF;
	background:#682783;
	width:200px;
	margin:auto;
	text-transform:uppercase;
	padding:10px;
	font-size:16px;
	font-weight:400;
}

.biens-prix span {
	display:block;
	font-size:13px;
	font-weight:bold;
}

.biens-prix, .biens-ville, .biens-reference {
	margin-bottom:15px;
}

.page-title {
    font-size: 54px;
	line-height:0.8em!important;
	font-family: 'Great Vibes'!important;
	color:#FFFFFF;
}

.page-description {
    font-size: 18px;
	font-family: 'Montserrat';
	color:#FFFFFF;
	font-weight:300;
}

.count-biens {
	background:#682783;
	border-radius:50px;
	display: inline-block;
	width: 50px;
	text-align: center;
	padding: 4px;
	margin-top:40px;
	margin-bottom:10px;
}

.biens-excerpt {
    font-size: 14px;
    color: #666;
}

.lien-details-bien span {
	text-transform:uppercase;
	display:block;	
	font-size:16px;
}

.lien-details-bien img {
	margin-top:20px;
	display:block;	
}


.lien-details-bien {
    position: absolute;
    bottom: -100%; 
    left: 0;
    left: 50%; 
    transform: translateX(-50%); 
    width: 50%;
	height:100%;
    background-color: #FFFFFF; 
    padding: 20px;
    text-align: center;
    transition: bottom 0.3s ease-in-out; 
    z-index: 10;
	text-align: center; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
	flex-direction: column;
}

.biens-link:hover .lien-details-bien {
    bottom: 0;
}

.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 7px 15px;
    margin: 0 2px;
    border: 1px solid #c8c8c8;
    text-decoration: none;
    color: #000;
	border-radius:50px;
}

.pagination a:hover {
    background-color: #fff;
    color: #000;
}

.pagination .current {
    background-color: #fff;
    color: #000;
    border-color: #c8c8c8;
    font-weight: bold;
}

/************************************************************
*************  PAGE DETAILS DU BIEN
*************************************************************/

.bien-image {
    display: block; 
	position:relative;
    width: 100%; 
	min-height:400px;
}

.bien-image .filigrane {
	position:absolute;
	bottom:40px;
	right:40px;
}

.bien-image .etat_du_bien {
	position:absolute;
	background:#FFFFFF;
	font-size: 20px;
	left:0;
	top: 40px;
	font-weight:bold;
	color:#682783;
	text-transform:uppercase;
	padding:15px 25px;
}

.column {
    flex: 0 1 calc(50% - 20px); 
}

.column p {
    font-size: 18px;
	line-height:1.6em;
	font-weight:400;
}

.container-description {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.container-description-gen
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;	
	margin: 50px 80px;
}

.column-left p {
	margin-bottom:40px;
}

.column-right {

}

.caracteristiques {
    color: #333; 
    line-height: 1.6;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #682783; 
    /*margin-bottom: 25px;*/
    text-transform: uppercase;
    letter-spacing: 1px;
	margin-bottom:30px;
}

.section-title2 {
    font-size: 20px;
    font-weight: bold;
    color: #682783; 
    /*margin-bottom: 25px;*/
    text-transform: uppercase;
    letter-spacing: 1px;
	margin-bottom:30px;
}


.section-title::after {
	content: "";
	background-image: url('./assets/img/fleche-bas.svg');
	background-repeat: no-repeat;
	background-size: cover;
	display: inline-block;
	width: 24px;
	height: 20px;
	margin-left: 10px;
}


.subtitle {
    font-weight: bold;
    color: #682783; 
	font-size: 18px;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.label {
	font-size: 16px;
}

.value {
    text-align: right;
	font-size: 16px;
}

.divider {
    border-bottom: 1px solid #a5a5a5;
    margin: 20px 0;
}

.bilan_dpe {
  display: inline-block;
  height: auto;
  max-width: 277px;
  min-height: 274px;
  width: 100%;
  background-image: url('./assets/img/fond_dpe.png');
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.bilan_ges {
  display: inline-block;
  height: auto;
  max-width: 277px;
  min-height: 274px;
  width: 100%;
  background-image: url('./assets/img/fond_ges.png');
  background-repeat: no-repeat;
  background-size: 100% auto;
}

#valeur_dpe, #valeur_ges {
  float: right;
  padding-right: 13px;
  text-align: right;
  padding-top: 19px;
  width: 100%;
}

.valeur_energie {
  height: 29px;
  line-height: 28px;
  background-color: #191919;
  color: white;
  font-weight: bold;
  min-width: 32px;
  width: 32px;
  display: inline-block;
  text-align: center;
}

.dpe_A {
    margin-top: 0px;
}
.dpe_B {
    margin-top: 34px;
}
.dpe_C {
    margin-top: 68px;
}
.dpe_D {
    margin-top: 102px;
}
.dpe_E {
    margin-top: 136px;
}
.dpe_F {
    margin-top: 170px;
}
.dpe_G {
    margin-top: 204px;
}

.ges_B {
    margin-top: 34px;
}
.ges_C {
    margin-top: 68px;
}
.ges_D {
    margin-top: 102px;
}
.ges_E {
    margin-top: 136px;
}
.ges_F {
    margin-top: 170px;
}
.ges_G {
    margin-top: 204px;
}

.cta-button {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #682783;
	color: white;
	font-size: 16px;
	font-weight: bold;
	padding: 15px 20px;
	border: none;
	border-radius: 50px;
	text-decoration: none;
	margin-bottom: 20px;
	margin-top: 40px;
	cursor: pointer;
	width: 450px;
}

.phone {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight:bold;
	color: #682783;
	border: 2px solid #682783;
	border-radius: 50px;
	padding: 2px 20px;
	text-decoration: none;
	margin-bottom: 20px;
	width: 450px;
}

.phone-icon {
	margin-right: 10px;
	margin-top:5px;
}

.link-tarif {
	font-size: 16px;
	text-decoration: underline;
	margin-bottom: 40px;
	display: block;
	font-style:italic;
	color:#000000;
}

.diagnostic-icon {
	margin-right: 10px;
}

.diagnostic-icon img {
	width:30px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.gallery a {
    display: block;
    width: 150px;
    height: 150px;
    overflow: hidden;
}
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery img:hover {
    transform: scale(1.1);
}

/************************************************************
*************  FORMULAIRE DE CONTACT
*************************************************************/

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    border: 1px solid #666;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
}

.wpcf7 input[type="submit"] {
    background-color: #682783;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.wpcf7-list-item {
   margin: 0 0 0 0;
}

.grecaptcha-badge{z-index.999;}
 

/************************************************************
*************  RESPONSIVE
*************************************************************/

@media screen and (max-width: 768px) {
    .biens-grid {
        grid-template-columns: 1fr; 
    }
	
	#meun_secondaire {
		justify-content: center !important;
	}
	
	.custom-container {
		padding: 0 20px; 
	}
	
	.lien-details-bien {
		width:100%;
	}
	
	.column {
        flex: 0 1 100%; 
        margin-bottom: 20px;
    }
	
	.biens-grid-accueil {
        grid-template-columns: 1fr; 
    }
	
	.et_pb_menu_inner_container {
		width:100%;
	}
	
	.bien-image .filigrane {
		display:none;
	}
	
	.bien-image {
		min-height:unset;
	}
	
	.gallery a {
	  width: 100px;
	  height: 100px;
	}
	
	.container-description-gen {
		display: block;
		margin: 40px 0;
	}
	
	.cta-button, .phone {
	  width: 100%;
	}
}

