.header ul, .footer ul{
    list-style: none;
}

.header ul li{
    display: inline-block;
    margin-left:5px;
}
  
.header ul li a, .footer ul li a{
    text-decoration:unset;
}
#back {
    z-index: 9980;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    background: var(--dark-first);
    
  }
  
#dialog{
    position: fixed;
    top :15%;
    background-color: var(--dark-first);
    left:15%;
    overflow:auto;
    z-index: 10000;
    min-width: 60%;
    min-height:25%;
    transition-property: opacity;
    transition-duration: 1s;
    border-radius: 20px;
   box-shadow: 1px 1px 10px 1px grey;
   border:1px solid grey;
  }
  
  #rightDialog{
    position: fixed;
    top:0px; 
    right:0px;
    width:400px !important;
    background-color: white; 
    z-index:9999;
    height:calc(100%);
    overflow :auto;
    border-left:1px solid grey;
  }

  #leftDialog{
    position: fixed;
    top:0px; 
    left:0px;
    width:400px !important;
    background-color: white; 
    z-index:9999;   
    height:calc(100%);
    border-right:1px solid grey;
    overflow :auto;
  }
  
   #fullDialog{
    position: fixed;
    top:0px; 
    left:0px;
    width:100% ;
    background-color: white; 
    z-index:9999;   
    height:calc(100%);
    border-right:1px solid grey;
    overflow : auto;
  }
  
#DialogTitle{
    color: white;
    padding :10px;
    top:0px;
    font-size: 15px;
    text-align: center;
    cursor: move;
  }
  
  #dialog #DialogContent{
    padding :15px;
    max-height: 800px;
    overflow:auto;
    filter: alpha(opacity='70');
  }

  #DialogRighContent .container{
      width:100% !important;
  }
  
  .dialogContent, #DialogTitle{
   font-family: "Montserrat",sans-serif;    
  }
  
  .dialogContent .link{
      font-size:14px;
  }
  #divResult {
    z-index: 10040;
    position: absolute;
    height: 200px;
    padding: 5px;
    border: 1px solid grey;
    border-radius: 6px 6px 6px 6px;
    overflow: auto;
    background: none repeat scroll 0 0 white;
}

#divResult ul {
    text-align: left;
}

.txtEditor{
    border:1px solid grey;
    width:100%;
    min-height: 150px;
}

.txtEditor .toolBar{
    border-bottom:1px solid grey;
    width:100%;
    min-height : 35px;
    padding:1px;
}

.txtEditor .toolBar div {
    display: inline-block;
    border : 1px solid #bebebe;
    border-radius: 5px;
    cursor: pointer;
    width :auto;
    padding:5px;
    text-align: center;
}

.txtEditor .inputArea{
    min-height:100px;
}

.txtEditor ul {
    padding:revert;
}

.txtEditor ul li{
    list-style: unset;
}

.txtEditor table tr td{
  border :1px solid grey;
  height:30px;
  width: 30px;
}

.mainContent {
    min-height: 69vh;
}

.width100{
    width:100%;
}

.center{
   text-align: center;
}

.marginTop{
   margin-top:10px;    
}

.marginRight{
   margin-right:10px;    
}

.info label{
    margin-right:10px;
    margin-left:10px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}


.positionBottom{
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    text-align: center;
}

date-box {
    display: inline-block;
    position: relative;
    color:black;
}
date-box input, time-box input{
    height: 34px;
    padding: 6px 12px;
    border: 1px solid #CFD8DC;
    border-radius: 4px;

}

date-box input {
    padding: 8px;
    font-size: 14px;
    width: 140px;
}

date-box .calendar {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 100;
}

date-box table {
    border-collapse: collapse;
    width: 100%;
    text-align: center;
}

date-box th {
    color: #555;
    font-size: 12px;
}

date-box td {
    cursor: pointer;
    padding: 4px;
}

date-box td:hover {
    background: #eee;
    border-radius: 4px;
}

date-box .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

date-box button {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}


time-box {
    display: inline-block;
    position: relative;
    font-family: sans-serif;
    color:black;
}

time-box input {
    padding: 8px;
    font-size: 14px;
    width: 100px;
    cursor: pointer;
}

time-box input {
    padding: 8px;
    font-size: 14px;
    width: 140px;
}

time-box .time-picker {
    display: none; /* caché par défaut */
    position: absolute;
    top: 110%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    padding: 8px;
    z-index: 100;
}

time-box .time-picker div.selects {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-bottom: 4px;
}

time-box .time-picker select {
    font-size: 14px;
    padding: 4px;
}

time-box .time-picker button {
    width: 100%;
    padding: 4px;
    border: none;
    background-color: #0078D4;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

time-box .time-picker button:hover {
    background-color: #005fa3;
}

tel-box .tel-box {
  display: flex;
  gap: 6px;
  color:black;
}

tel-box select,
tel-box input {
  padding: 6px;
  font-size: 14px;
   background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#popupNotify{
    background-color: var(--dark-first);
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0px 0px 10px 15px rgb(0 0 0 / 10%);
    width: 200px;
    color:black;
}

.form-control{
    color:black;
}

/* ===== ICONES ET SELECT ===== */
.lang-select {
  color: #fff;
  padding: 5px 8px;
}

.shopCardIcon, .notifyMenu {
  position: relative;
  display: block;    
  font-size: 14px;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
}

.cart-count, .notify-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #ff2222;
  color: #fff;
  font-size: 12px;
  padding: 1px 5px;
  border-radius: 50%;
}

/* ===== MENU BURGER ===== */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
}


a .block-img{
    color:#333333;
    text-decoration: none;
}

.noHover a:hover{
    text-decoration: none;
}

a .block-img:hover{
    color:#333333;
    text-decoration: none;
}


.block-img{
color:#333333;
    
}
.block-img .date{
    font-size: 8px;
    margin-bottom: 0px;
}

.block-img h3{
   min-height:30px;
   margin-bottom: 5px;
}

.back-img{
    display:block; width:100%; 
    height: 100px; 
    background-size: cover;
}
.block-img .describe{
    max-height:80px;
    overflow:hidden;
}


.positionBottom{
    position :absolute;
    bottom:0px;
    right :10px;
}

.noMarginX{
    margin-right:0px !important;
    margin-left:0px !important;
}
.info label{
    margin-right:10px;
    margin-left:10px;
}

.cursorPointer{
    cursor: pointer;
}/* =========================================================
   THEME IMMOBILIER – DARK LUXE (CROWN INSPIRED)
   ========================================================= */

/* ================= VARIABLES ================= */
:root {

  /* Boutons – très sombres */
  --primary-color: #1e293b;
  --secondary-color: #0f172a;

  /* Fonds */
  --dark-main: #05070c;
  --dark-first: #0a0d16;
  --dark-seco: #0d111c;
  --dark-terc: #070a12;

  /* Blocs */
  --block-first: rgba(255,255,255,0.06);
  --block-seco: rgba(255,255,255,0.04);
  --block-terc: rgba(255,255,255,0.025);

  /* Bordures */
  --dark-border: rgba(255,255,255,0.06);

  /* Textes */
  --text-main: #f1f5f9;
  --text-soft: #b2bbca;
  --text-muted: #7b8496;

  /* Ombres */
  --shadow-soft: 0 10px 35px rgba(0,0,0,0.55);
  --shadow-hover: 0 22px 55px rgba(0,0,0,0.75);

  /* Radius (moins marqué) */
  --radius-lg: 10px;
  --radius-md: 6px;

  --font-main: 'Inter', 'Roboto', sans-serif;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BASE ================= */
body {
  font-family: var(--font-main);
  background: var(--dark-main);
  color: var(--text-main);
  line-height: 1.65;
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
  background: rgba(6,8,13,0.35);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--dark-border);
}

.header .headerContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

/* ================= NAV ================= */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 34px;
}

.nav-menu a, a {
  color: var(--text-soft);
  font-weight: 500;
  text-decoration: none;
}

.nav-menu a:hover, a:hover {
  color: #fff;
}

/* =========================================================
   FULL SECTIONS (HIERARCHIE FORTE)
   ========================================================= */

.full-first {
  background: linear-gradient(
    180deg,
    #0c1020 0%,
    var(--dark-first) 100%
  );
  padding: 20px;
}

.full-seco {
  background: var(--dark-seco);
  padding: 55px 36px;
}

.full-terc {
  background: linear-gradient(
    180deg,
    var(--dark-terc) 0%,
    #04060b 100%
  );
  padding: 45px 32px;
}

.full-first , .full-seco, .full-terc{
    padding:20px;
    margin-bottom:20px
}


.width80{
width:80%;
margin:auto;
}

.full-first, .full-seco, .full-terc{
margin-top:20px;
}



/* =========================================================
   BLOCKS – EFFETS DIFFÉRENCIÉS
   ========================================================= */

.block-first,
.block-seco,
.block-terc {
  transition: all 0.4s ease;
  box-shadow: var(--shadow-soft);
  padding:20px;
  margin-top:20px;
}

/* 🔹 BLOCK FIRST – effet prestige (léger lift) */
.block-first {
  background: var(--block-first);
  padding: 32px;
  border-radius: var(--radius-lg);
}

.block-first.block-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* 🔹 BLOCK SECO – effet glissé */
.block-seco.block-hover {
  background: var(--block-seco);
  padding: 26px;
  border-radius: var(--radius-md);
}

.block-seco.block-hover:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-hover);
}

/* 🔹 BLOCK TERC – effet discret (fade) */
.block-terc {
  background: var(--block-terc);
  padding: 22px;
  border-radius: 4px;
}

.block-terc.block-hover:hover {
  background: rgba(255,255,255,0.04);
}


.block-hover{
  cursor:pointer;
}

.block-hover a{
  text-decoration: none;
}

.block-first.block-hover:hover,.block-hover .block-first:hover{
  transform: rotate(-1deg);
  box-shadow: 0 6px 12px var(--immo-dark-soft);
}
.block-seco.block-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px var(--secondary-color);
}
.block-terc.block-hover:hover {
  transform: rotate(-1deg);
  box-shadow: 0 6px 12px var(--tertiary-color);
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1 {
  font-size: 2.6rem;
  margin-bottom: 22px;
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--text-soft);
}

/* =========================================================
   BUTTONS – SOBRES & LUXE
   ========================================================= */

.btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 0.9rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* PRIMARY – noir chic */
.btn-primary {
  background: var(--primary-color);
  color: #e5e7eb;
  border-color:  var(--primary-color);;
}

.btn-primary:hover {
  background: #020617;
   border-color:  var(--primary-color);
}

/* SECONDARY – encore plus sombre */
.btn-secondary {
  background: var(--secondary-color);
  color: var(--text-soft);
}

.btn-secondary:hover {
  background: #020617;
  color: #fff;
}

/* TERTIARY – texte */
.btn-tertiary {
  background: transparent;
  color: var(--text-muted);
  padding: 0;
}

.btn-tertiary:hover {
  color: #fff;
  text-decoration: underline;
}

/* =========================================================
   FOOTER (COMME HEADER)
   ========================================================= */

footer {
  background: rgba(6,8,13,0.35);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--dark-border);
  padding: 45px 20px;
  text-align: center;
  color: var(--text-muted);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

  .full-first { padding: 50px 24px; }
  .full-seco  { padding: 40px 22px; }
  .full-terc  { padding: 32px 20px; }

  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
}

/* Container principal */
.card-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

/* Image */
.card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

/* Overlay sombre */
.card-image .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  transition: background 0.4s ease;
}

/* Contenu centré */
.card-image .card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

/* Titre et texte toujours visibles */
.card-image .card-content h3,
.card-image .card-content p {
  opacity: 1;
  transition: transform 0.4s ease;
}

/* Bouton – caché par défaut */
.card-image .card-content .btn-hover {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  margin-top: 10px;
}

/* Hover effect */
.card-image:hover img {
  transform: scale(1.1);
}

.card-image:hover .card-overlay {
  background: rgba(0,0,0,0.45);
}

/* Bouton apparaît au hover seulement */
.card-image:hover .card-content .btn-hover {
  opacity: 1;
  transform: translateY(0);
}



/* === Table avec class .grid === */
table.grid {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  box-shadow: 0 4px 8px var(--shadow-color);
}
.grid th {
  background: var(--primary-color);
  color: var(--text-color);
  padding: 0.8rem;
  text-align: left;
}
.grid td {
  background: #111;
  padding: 0.8rem;
  border-bottom: 1px solid #222;
}
.grid tr:hover td {
  background: #1f1f1f;
}

form label{
    margin-top:10px;
}