/*	Resets
	------	*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

* { 
	box-sizing:border-box; 
}

.clr { 
	clear:both; 
}

html {
  scroll-behavior: smooth;
}


img, p, h1, h2, h3, ul, li, blockquote { 
	border:none; 
	margin:0; 
	padding:0; 
}

h1, h2, h3 { 
	font-weight:normal; margin:0; padding:0;  
}


a { 
	cursor:pointer; color:#000; 
	
}
a:hover { 
	text-decoration:none; 
}
.img_liens { 
	opacity:1; 
}

.img_liens:hover { 
	opacity:0.8; 
}

ul, li { 
	list-style:none; list-style-type:none; 
}

html { 
	height:100%; 
}

body {
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color:#FFF;
	font-family: 'Montserrat', sans-serif;
	font-size:20px; 
	color:#000;
	font-weight:300; 
	line-height:24px; 
	min-height:100%; 
}


textarea, input {
	font-size:20px; 
font-family:'Montserrat', sans-serif;
}



strong { 
}

.no_deco { 
	text-decoration:none; 
	color:#666; 
}


#header {
  padding: 20px 0;
  -webkit-transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  position: fixed;
  width: 100%;
  z-index: 99;
  top: 0;
  height:100px; 
  background-color: rgba(255,255,255,0.9);
}


#header {
  display: flex;
  justify-content: space-between; /* Logo à gauche, nav à droite */
  align-items: center;
  padding: 10px 20px;
  position: relative;

}

/* Bouton retour */
.btn-retour {
  background: #333;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px; text-transform:uppercase; 
  transition: background 0.3s;
}


#header .logo img {
  height: 60px; /* Ajuste selon ton besoin */
}

#header .nav {
  list-style: none;
  display: flex;
  gap: 20px; /* espace entre les éléments */
  margin: 0;
  padding: 0;
}

#header .nav li a {
  text-decoration: none;
  color: #333; font-size:15px; text-transform:uppercase; 
}

 .active {
	color:#0099CC!important; 
}


/* Bouton burger (masqué en desktop) */
.burger {
  font-size: 28px;
  cursor: pointer;
  display: none;
}

/* --- MENU MOBILE OVERLAY --- */
#mobileMenu {
  position: fixed;
  top: 0;
  left: -100%; /* caché par défaut */
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 999;
}

#mobileMenu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0px;
}

#mobileMenu a {
  color: #000;
  font-size: 15px;
  text-decoration: none;
  text-transform:uppercase; 
}

#mobileMenu .close {
	position:absolute; 
	top:15px; right:15px; 
  font-size: 28px;
  margin-bottom: 10px;
}

/* Quand le menu est ouvert */
#mobileMenu.open {
  left: 0;
}

    body, html {
      overflow-x: hidden;
    }

    #slider {
      position: relative;
      width: 100%;
      height: 100vh; /* plein écran hauteur */
      overflow: hidden;
    }

    .slide {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 100%; /* cachée à droite */
      opacity: 0;
      transition: all 1s ease;
      background-size: cover;
      background-position: center;
    }

    .slide.active {
      left: 0;
      opacity: 1;
	  z-index:1; 
    }

.caption {
  position: absolute;
  top: 30px;          /* à 30px du bas */
  left: 50%;             /* point de départ au milieu */
  transform: translateX(-50%); /* centre parfaitement */
  color: #fff;
  padding: 15px 25px;    /* espace intérieur */
  font-size: 24px;
  text-align: center;
  z-index: 2;            /* toujours au-dessus de l'image */
  max-width: 80%;        /* pour éviter que ça déborde */
}


.caption h2 { 
	font-size:36px; 
	font-weight:bold; margin-bottom:25px; text-transform:uppercase;   
}

    /* Chevrons */
    .chevron {
      position: absolute;
      top: 50%;
      font-size: 3rem;
      color: #fff;
      background: rgba(0, 0, 0, 0.4);
      padding: 10px;
      border-radius: 100%;
      cursor: pointer;
      user-select: none;
	  z-index:999; 
    }
    .chevron.left {
      left: 20px;
    }
    .chevron.right {
      right: 20px;
    }

    .chevron:hover {
      background: rgba(0,0,0,0.7);
    }
	
	
	
.boutons { 
	background-color: #0099cc;
	
	color:#FFF; 
	text-align:center; height:45px; line-height:45px; font-size:14px; text-transform:uppercase; padding:15px; 
}

.boutons:hover { 
	background-color: #0099cc; text-decoration:none; 
	
	color:#FFF; 
	text-align:center; height:45px; line-height:45px; font-size:14px; text-transform:uppercase; padding:15px; 
}


/* Section parallax */
.parallax {
  position: relative;
  width: 100%;
  height: 80vh; /* hauteur de la section */
  background-attachment: fixed; /* effet parallax */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;  /* centre vertical */
  justify-content: center; /* centre horizontal */
  text-align: center;
  color: #fff;
  padding-top:50px; 
}

.parallax-content {
  background: rgba(255, 255, 255, 0.9); /* cartouche noire semi-transparente */
  padding: 30px 30px;
  border-radius: 12px;
  color:#000; 
  width:calc(100% - 600px); 
}

.parallax-content h2 {
  margin-bottom: 15px;
  font-size: 2rem;
}

.parallax-content p {
  font-size:16px; 
  line-height: 1.6;
}


#rechercher { 
		padding:20px; 
		background-color:#EEEEEE; 
		
}

  .titre-container {
    text-align: center; /* centre le contenu */
    margin-top: 20px;
  }

  .titre-principal {
    text-transform: uppercase; /* majuscules */
    font-size: 25px;
    display: inline-block; /* permet de calculer la largeur du texte */
    position: relative;
    padding-bottom: 20px; /* espace pour le filet */
	color:#3c3c3c; 
	letter-spacing:6px; 
  }

  .titre-principal::after {
    content: '';
    display: block;
    width: 60%; /* moins large que le texte */
    height: 2px; /* épaisseur du filet */
    background-color: black; /* couleur du filet */
    margin: 20px auto 0; /* espace de 20px et centré */
  }
  
    .container_biens {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
	  margin-left:40px; margin-right:40px; 
    }

    .bloc {
      background: #fff;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
  position: relative; /* nécessaire pour positionner la pastille */
    }



.image-container {
  position: relative;
}

.image-container img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}


/* Overlay aligné à la photo */
.overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transform: translateX(120%);
  transition: transform 0.4s ease-in-out;
}

.image-container:hover .overlay {
  transform: translateX(0);
}

.overlay div {
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  white-space: nowrap;
}


    .bloc img {
      width: 100%;
      height: 250px;
      object-fit: cover;
    }

    .bloc-content {
      padding: 15px;	  background-color:#FFF; 

    }

    .bloc-content h3 {
      margin: 0 0 10px;
      font-size: 18px;
      color: #333;
    }

    .info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 16px;
      color: #444;
    }

    .prix {
      font-weight: bold;
    }

    .surface {
      color: #1d3557;
    }


.surface-top {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #1d3557;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}



#vendre { 
		padding:20px; 
		background-color:#FFF; 
		
}

#vendre_section {
	background-color:#C6C6C6; width:calc(100% - 600px); margin-left:auto; margin-right:auto; padding:50px;  	
}



#section_form1 {
  display: flex;
  gap: 2rem;           /* espace entre les 2 blocs */
}

/* Formulaire à gauche */
.formulaire {
  flex: 1 1 75%;
  padding: 2rem;
  background: #f5f5f5;
}

   .texte {
      flex: 1 1 25%;
      background: #0099CC;
      color: white;
      padding: 2rem;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      text-align: left;
      height: 200px; /* hauteur fixe */
      border-radius: 8px;
    }









    .formulaire h2 {
      margin-bottom: 1rem;
    }

	
	  form {
    display: grid;
    grid-template-columns: 1fr 1fr; 
      gap: 1rem;
  }

form input,
form textarea,
form select,
form button {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
}

    form textarea {
      grid-column: span 2;
      resize: vertical;
      min-height: 100px;
    }

    form button {
      grid-column: span 2;
      background: #0099CC;
      color: #fff;
      border: none;
      cursor: pointer;
      font-weight: bold;
      transition: background 0.3s ease;
    }

    form button:hover {
      background: #0077aa;
    }

    .texte h2 {
      font-size: 20px; margin-bottom:20px; 
    }


    .texte p {
      font-size: 1.2rem;
      line-height: 1.5;
      max-width: 500px;
    }

.contact-item {
      display: flex;
      align-items: center;
      margin-bottom: 1rem;
      font-size: 17px; 
    }

    .contact-item i {
      margin-right: 0.8rem;
      font-size: 17px;
    }


.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper input {
  width: 100%;
  padding: 0.75rem;
  padding-right: 3rem; /* espace pour le bloc m² */
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
  box-sizing: border-box;
}

.input-wrapper .input-unit {
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
  background: #eee;
  color: #333;
  padding: 0.5rem 0.75rem;
  border-left: 1px solid #ccc;
  border-radius: 0 5px 5px 0;
  font-size: 12px; 
  pointer-events: none; /* évite de bloquer le clic dans l'input */
}



.equipements {
  grid-column: 1 / -1; /* occupe toutes les colonnes de la grille */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1rem;
}



.equipement {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  width: calc(100% / 6 - 10px); /* 6 icônes avec un petit espace */
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.9rem;
}


.equipement input {
  display: none; /* checkbox cachée */
}

.equipement i {
  font-size: 1.8rem;
  color: #555;
  margin-bottom: 0.3rem;
  transition: color 0.3s;
}

/* Quand la checkbox est cochée, changer la couleur de l'icône */
.equipement input:checked + i {
  color: #0099CC;
}






#contact { 
	padding:50px; 
	background-color:#BFBFBF; 
}



/* Section contact */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  background: #f5f5f5;
}

/* Colonne gauche - infos */
.contact-info {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 14px; 
}

.contact-item i {
  font-size: 14px; 
  color: #0099CC;
}

/* Colonne droite - formulaire */
.contact-form {
  flex: 1 1 55%;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-form h2 {
  margin-bottom: 1rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background: #0099CC;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  width:250px; 
}

.contact-form button:hover {
  background: #0077aa;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
  }
  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }
}



#detail_biens { 
	width:calc(100% - 400px); margin-left:auto; margin-right:auto;  
}

:root{
    --border-color: #cfcfcf; /* couleur des bordures actives */
    --inactive-bottom: #9e9e9e; /* gris pour bottom des inactifs */
    --bg: #ffffff;
    --gap: 8px;
  }


/* Conteneur des onglets */
  .tabs {
    display: flex;
    gap: var(--gap);
    align-items: flex-end; /* aligner bottom des boutons */
    margin-bottom: 0; /* le contenu a sa propre bordure */
  }

  /* Style commun des boutons (onglets) */
  .tab {
    background: var(--bg);
    padding: 10px 16px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    border: none;              /* par défaut pas de bordures */
    border-bottom: 0px solid var(--inactive-bottom); /* bord bottom pour inactif */
    border-radius: 6px 6px 0 0;
    outline: none;
    transition: box-shadow .12s ease;
  }

  .tab:focus {
  }

  /* État actif */
  .tab.active_nav {
    /* bordures sur tous les côtés sauf bottom */
    border: 1px solid var(--border-color);
    border-bottom: none;
    /* pour que la bordure supérieure du contenu ne montre pas un trait double,
       on décale légèrement le bouton vers le bas (via margin-bottom négatif) */
    margin-bottom: -1px;
	color:#0099cc; 
  }

  /* Conteneur du panneau de contenu (le cadre qui "colle" à l'onglet actif) */
  .tab-panels {
    border: 1px solid var(--border-color);
    background: #fff;
    padding: 16px;
    border-radius: 0 6px 6px 6px;
    margin-top: 0;
  }

  /* Cacher les panneaux inactifs */
  .tab-panel {
    display: none;
  }

  .tab-panel.active_nav {
    display: block;
  }


#detail_gauche { 
	float:left; margin-right:50px; width:calc(50% - 50px);  font-size:14px; 
}



#detail_gauche h2 { 
	color:#0099cc; font-size:22px; 
}


#detail_droite { 
	float:left;  width:50%; font-size:14px;  
}

#detail_infos_g {
	float:left; margin-right:50px; width:calc(50% - 50px);  font-size:14px; 
}


#detail_infos_d {
	float:left; width:calc(50%);  font-size:14px; 
	
}


#detail_gauche i   {
	color:#0099cc; margin-right:10px;  
}


#map { 
width:100%; height:400px; 
}



#panel-2 { 
	font-size:12px; 
}

#panel-2 section { 
	float:left; width:33%; 
}

 /* === FORMULAIRE === */
  #f_moteur {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  width: calc(100% - 600px); 
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #f9f9f9;
}

  #f_moteur label {
    display: block;
    margin-bottom: 5px;
    font-size:12px; 
  }

  #f_moteur input,
  #f_moteur select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #aaa;
  }

  #f_moteur button {
    grid-column: span 2;
    padding: 10px;
    background-color: #0078d4;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14Upx;
    cursor: pointer;
  }

  #f_moteur button:hover {
    background-color: #005fa3;
  }

  /* === SECTION DES PICTOS === */
  .pictos {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 10px;
  }

  .picto-option {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
    position: relative;
  }

  .picto-option i {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .picto-option span {
    display: block;
    font-size: 14px;
    font-weight: 500;
  }

  /* Checkbox cachée */
  .picto-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  /* État sélectionné */
  .picto-option:has(input[type="checkbox"]:checked) {
    background-color: #e6f0ff;
    border-color: #0078d4;
    color: #0078d4;
  }

  .picto-option:hover {
    background-color: #f0f8ff;
  }


/* === État actif du picto (au clic / checkbox cochée) === */
.picto-option-actif { 
  background-color: #0099CC;   /* fond bleu actif */
  color: #fff;                 /* texte et icône blancs */
  transform: scale(1.05);      /* petit effet de zoom */
  transition: all 0.2s ease;
}



/* -------------------- FIN GENERAL -------------------*/









@media only screen and (max-width: 1000px) {
 html {
	   -webkit-text-size-adjust: 100%;
	 }
	 
body { 
	margin:0px; 
}
	 
#header {
  padding: 20px;
  height:70px; 
}

#header .logo img {
  height: 40px; /* Ajuste selon ton besoin */
}


	   #header .nav {
    display: none;
  }


  .burger {
    display: block; /* afficher le bouton burger */
  }

.caption h2 { 
	font-size:20px; 
	font-weight:bold; margin-bottom:25px; text-transform:uppercase;   
}

.caption { 
left: 0;
transform:none; 
max-width:100%; 
font-size:15px; 
margin-left:auto; margin-right:auto; 
}


.parallax-content {
  padding: 20px 20px;
  border-radius: 12px;
  width:calc(100% - 20px); 
}
.parallax-content p {
  font-size:12px; 
  line-height: 1.6;
}

  .titre-principal {
    font-size: 18px;
	letter-spacing:6px; 
  }


.parallax-content img  {
	max-width:100%; 
}

     .container_biens {
        grid-template-columns: 1fr;
      }



 .container_biens {
	  margin-left:10px; margin-right:10px; 
    }
	
#vendre_section {
	background-color:#C6C6C6; width:calc(100% - 20px); margin-left:auto; margin-right:auto; padding:20px;  	
}



	 #section_form1 {
        flex-direction: column;
      }
      .formulaire, .texte {
        flex: 1 1 100%;
      }
      form {
        grid-template-columns: 1fr; /* le formulaire passe en une seule colonne */
      }
      form textarea, form button {
        grid-column: span 1;
      }
	  
	  
/* --- HEADER --- */
#header {
  display: flex;
  justify-content: space-between; /* Logo à gauche / bouton à droite */
  align-items: center;
  padding: 10px 20px;
  background: #f5f5f5;
  position: relative;
  z-index: 100;
}

#header .logo img {
  height: 50px;
}

/* Bouton retour */
.btn-retour {
  background: #333;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s;
}

.btn-retour:hover {
  background: #555;
}


  .btn-retour {
    font-size: 11px;
    padding: 6px 6px;
  }

	  
	#detail_biens { 
	width:calc(100% - 20px); 
}  


.tabs { gap: 6px; }
    .tab { padding: 8px 10px; font-size: 12px; }
	
		  
		  
		  
		  
		  #detail_gauche { 
	float:none; margin-right:0px; width:calc(100%);  font-size:14px;  margin-bottom:20px; 
}



#detail_gauche h2 { 
	color:#0099cc; font-size:22px; 
}


#detail_droite { 
	float:none;  width:100%; font-size:12px;  
}

#detail_infos_g {
	float:none; margin-right:0px; width:calc(100%);  font-size:14px; 
}


#detail_infos_d {
	float:none; width:calc(100%);  font-size:14px; 
	
}


#detail_gauche i   {
	color:#0099cc; margin-right:10px;  
}



#contact {
  padding: 20px;
  background-color: #BFBFBF;
}


  #f_moteur {
    grid-template-columns: 1fr !important; /* Forcé pour tous mobiles */
	
	  width: calc(100% - 20px); 


  }
  #f_moteur > div {
    grid-column: 1 / -1; /* chaque div occupe toute la largeur */
  }
  #f_moteur button {
    grid-column: 1 / -1;
  }

  .pictos {
      grid-template-columns: 1fr;
    }
	
	

	
	
}


/* ----------------FIN MOBILE   --------------------------- */
