
* {
  outline: none !important;
}

/* Vos styles existants */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  /*background: #eaeef6;*/
}
#map {
  height: 100%;
  width: 100%;
  margin-top: 0px; /* Décale la carte sous la navbar horizontale */
  margin-left: 0;
}

/* Styles du menu gooey */
:root {
  --borderRadius: 10px;
  --spacer: 1rem;
  --primary: #406ff3;
  --text: #6a778e;
  --linkHeight: calc(1rem * 3.5);
  --timing: 250ms;
  --transition: 250ms ease all;
}

/* Barre de navigation horizontale */
/* Barre de navigation horizontale */
.navbar {
  display: none; /* caché par défaut */
  position: fixed;
  top: 90px; /* juste en dessous du header */
  left: 50%;
  transform: translateX(-50%);
  height: 110px;
  width: auto;
  min-width: 1100px;
  max-width: 80%;
  background: #fff;
  border-radius: 50px;
  padding: 0 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 99, 203, 0.15);
  align-items: center;
  justify-content: center;
  z-index: 1200; /* plus élevé que le header (1100) */
}




.navbar__menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; /* Centre les éléments du menu */
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  gap: 1rem; /* Espacement entre les éléments */
}

.navbar__item {
  text-align: center;
  margin: 0;
}

.navbar__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 90px;
  min-width: 90px;
  color: var(--text);
  transition: var(--transition);
  font-size: 14px;
  background: none;
  border: none;
  padding: 0 0.75rem;
  border-radius: 20px; /* Bords légèrement arrondis pour les liens */
  position: relative;
  white-space: nowrap;
}

.navbar__link i {
  font-size: 50px;
  margin-bottom: 4px;
}

.navbar__link span {
  font-size: 18px;
  color: var(--primary);
  background: none;
  padding: 0;
  transition: var(--transition);
  white-space: nowrap;
}

.navbar__link:hover {
  background: rgba(64, 111, 243, 0.1);
  color: var(--primary);
}

@media (max-width: 700px) {
  .navbar {
    max-width: 90%;
    padding: 0 1rem;
  }
  .navbar__menu {
    gap: 0.5rem;
  }
  .navbar__link span {
    display: none; /* Cache le texte sur mobile */
  }
}


/* Effets gooey (optionnel, peut être retiré si non utilisé) */
@keyframes gooeyEffect-1 { 0% { transform: scale(1, 1); } 50% { transform: scale(0.5, 1.5); } 100% { transform: scale(1, 1); } }
@keyframes gooeyEffect-2 { 0% { transform: scale(1, 1); } 50% { transform: scale(0.5, 1.5); } 100% { transform: scale(1, 1); } }
@keyframes gooeyEffect-3 { 0% { transform: scale(1, 1); } 50% { transform: scale(0.5, 1.5); } 100% { transform: scale(1, 1); } }
@keyframes gooeyEffect-4 { 0% { transform: scale(1, 1); } 50% { transform: scale(0.5, 1.5); } 100% { transform: scale(1, 1); } }
@keyframes gooeyEffect-5 { 0% { transform: scale(1, 1); } 50% { transform: scale(0.5, 1.5); } 100% { transform: scale(1, 1); } }
@keyframes gooeyEffect-6 { 0% { transform: scale(1, 1); } 50% { transform: scale(0.5, 1.5); } 100% { transform: scale(1, 1); } }
@keyframes gooeyEffect-7 { 0% { transform: scale(1, 1); } 50% { transform: scale(0.5, 1.5); } 100% { transform: scale(1, 1); } }

/* Autres styles existants */
.zoom-warning, #top-menu, #filter-btn, #filter-sidebar, #map-style-switcher {
  /* Vos styles existants pour ces éléments */
}


/* Champ de recherche dans le menu */
.navbar__search {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 90px;
  min-width: 400px; /* Zone de recherche plus large */
  position: relative;
}

.navbar__search-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.navbar__search input {
  width: 100%;
  height: 50px; /* Champ plus haut */
  padding: 0 50px 0 16px; /* Espace pour l'icône cliquable */
  border: 1px solid #ddd;
  border-radius: 25px; /* Bordure plus arrondie */
  font-size: 21px; /* Texte plus grand */
  transition: var(--transition);
  outline: none;
}

.navbar__search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(64, 111, 243, 0.2);
}

.navbar__search-button {
  position: absolute;
  right: 4px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.navbar__search-button:hover {
  transform: scale(1.05);
}

.navbar__search-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.navbar__search span {
  font-size: 18px;
  color: var(--primary);
  margin-top: 8px;
}




/* ----------------------------------------------------------------------------------------- */
/* Dropdown style */
.dropdown {
  position: relative;
  margin-right: 10px; /* Espacement entre les dropdowns */
}

.dropdown-toggle {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.dropdown-toggle:hover {
  background: #f0f4ff;
  color: var(--primary);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  flex-direction: column; /* Empiler les éléments verticalement */
}

.dropdown-row {
  margin-bottom: 12px;
  width: 100%;
}

.dropdown-row label {
  font-size: 12px;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.dropdown-row input {
  width: 100%;
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.dropdown-row input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(64, 111, 243, 0.2);
}

.apply-btn {
  width: 100%;
  padding: 8px;
  background: var(--primary);
  border: none;
  color: #fff;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px; /* Espacement en haut du bouton */
}

.apply-btn:hover {
  background: #335dd0;
}


.dropdown-input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 18px;
  outline: none;
  transition: var(--transition);
}

.dropdown-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(64,111,243,0.2);
}





.terrain-price-label {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  color: #d60000;
  text-align: center;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.terrain-price-label div {
  white-space: nowrap;
}



/* Sidebar container */
.sidebar {
  position: absolute;
  top: 0;
  right: -450px; /* Masquée par défaut, légèrement plus large */
  width: 450px;
  height: 100%;
  background: white;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 0;
  box-sizing: border-box;
  overflow-y: auto;
  border-left: 1px solid #e0e0e0;
}

.sidebar.active {
  right: 0; /* Affichée */
}

/* Header de la sidebar */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f8f9fa;
  position: sticky;
  top: 0;
  z-index: 10;
}

.sidebar-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
}

/* Bouton de fermeture */
.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #7f8c8d;
  padding: 5px;
}

.close-btn:hover {
  color: #2c3e50;
}

/* Contenu de la sidebar */
.sidebar-content {
  padding: 25px;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
}

/* Style des sections d'information */
.property-section {
  margin-bottom: 25px;
}

.property-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #2c3e50;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
}

.property-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.property-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.property-detail:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 500;
  color: #555;
  font-size: 15px;
}

.detail-value {
  font-weight: 600;
  color: #2c3e50;
  font-size: 15px;
}

/* Style pour les prix */
.price {
  font-size: 24px;
  font-weight: 700;
  color: #e74c3c; /* Rouge pour le prix */
  margin: 10px 0;
}

/* Style pour les boutons (optionnel) */
.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: #3498db;
  color: white;
}

.btn-primary:hover {
  background-color: #2980b9;
}

.btn-secondary {
  background-color: #ecf0f1;
  color: #2c3e50;
}

.btn-secondary:hover {
  background-color: #dfe6e9;
}


/* Style pour les étiquettes de prix */
.terrain-price-label {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  padding: 2px 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  font-weight: bold;
  text-align: center;
}

.terrain-price-label:hover {
  transform: scale(1.1); /* Légèrement agrandir */
  background-color: rgba(200, 200, 200, 0.9); /* Fond légèrement gris */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Ombre plus marquée */
}


/* Suggestions d'adresse améliorées */
.suggestions-list {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(64,111,243,0.10);
  z-index: 1002;
  padding: 0;
  margin: 0;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.suggestion-item {
  padding: 14px 18px;
  cursor: pointer;
  font-size: 17px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover, .suggestion-item.active {
  background: #f0f4ff;
  color: #406ff3;
}


.dropdown-menu input[type="radio"] {
    margin-right: 8px;
}

.dropdown-menu label {
    cursor: pointer;
    display: inline;
}






/* Zillow-style dropdown */
.zillow-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  border: 2px solid #406ff3;
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 20px;
  color: #406ff3;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(64,111,243,0.08);
  transition: background 0.2s, border-color 0.2s;
}

.zillow-dropdown .dropdown-toggle:hover {
  background: #eaf0ff;
  border-color: #335dd0;
}

.zillow-dropdown .chevron {
  margin-left: auto;
  font-size: 18px;
  color: #406ff3;
}

.zillow-dropdown .dropdown-menu {
  margin-top: 8px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(64,111,243,0.12);
  border: 2px solid #e0e0e0;
  padding: 18px 22px;
  width: 260px;
}

.zillow-dropdown .dropdown-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 18px;
  border-bottom: 1px solid #f3f3f3;
}

.zillow-dropdown .dropdown-row:last-child {
  border-bottom: none;
}

.zillow-dropdown input[type="radio"] {
  accent-color: #406ff3;
  width: 22px;
  height: 22px;
}

.zillow-dropdown label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
  color: #2c3e50;
}

.zillow-btn {
  background: #406ff3;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 0;
  margin-top: 18px;
  box-shadow: 0 2px 8px rgba(64,111,243,0.08);
  transition: background 0.2s;
}

.zillow-btn:hover {
  background: #335dd0;
}


* Zillow-style liens navbar */
.zillow-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  border: 2px solid #406ff3;
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 20px;
  color: #406ff3;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(64,111,243,0.08);
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}

.zillow-link:hover {
  background: #eaf0ff;
  border-color: #335dd0;
  color: #335dd0;
}

.zillow-link i {
  font-size: 22px;
  color: #406ff3;
}








/* Zillow-style sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -480px;
  width: 480px;
  height: 100%;
  background: #f8f9fa;
  box-shadow: -8px 0 32px rgba(64,111,243,0.12);
  transition: right 0.35s cubic-bezier(.4,0,.2,1);
  z-index: 1002;
  padding: 0;
  box-sizing: border-box;
  overflow-y: auto;
  border-left: 2px solid #406ff3;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px 18px 32px;
  border-bottom: 2px solid #e0e0e0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.sidebar-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #406ff3;
  letter-spacing: 1px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #7f8c8d;
  padding: 5px 12px;
  border-radius: 50%;
  transition: background 0.2s;
}

.close-btn:hover {
  background: #eaf0ff;
  color: #406ff3;
}

.sidebar-content {
  padding: 32px;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
  background: #f8f9fa;
}

/* Zillow-style sections */
.property-section {
  margin-bottom: 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(64,111,243,0.07);
  padding: 22px 24px;
}

.property-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #406ff3;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
}

.property-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.property-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f3f3f3;
  font-size: 17px;
}

.property-detail:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 500;
  color: #555;
  font-size: 16px;
}

.detail-value {
  font-weight: 600;
  color: #2c3e50;
  font-size: 16px;
}

/* Zillow-style price */
.price {
  font-size: 28px;
  font-weight: 700;
  color: #e74c3c;
  margin: 16px 0;
  letter-spacing: 1px;
}

/* Zillow-style action buttons */
.action-buttons {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 17px;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: #406ff3;
  color: white;
}

.btn-primary:hover {
  background-color: #335dd0;
}

.btn-secondary {
  background-color: #ecf0f1;
  color: #406ff3;
}

.btn-secondary:hover {
  background-color: #dfe6e9;
}







.sidebar-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #7f8c8d;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  padding: 18px 32px 18px 32px;
  margin-top: 0;
  position: sticky;
  bottom: 0;
  z-index: 5;
}

.sidebar-note i {
  color: #406ff3;
  font-size: 18px;
}





























.site-header {
  position: relative;
  background: linear-gradient(135deg, #010c14 0%, #3caeff 100%);
  color: #ffffff;
  padding: 2rem 3rem;
  border-bottom: 4px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  justify-content: space-between;
  transition: all 0.3s ease-in-out;
  z-index: 1100;
}

.site-header__content {
  max-width: 70%;
}

.site-header__content h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

.site-header__content p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

/* === Fullscreen button === */
.fullscreen-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 50%;
  padding: 0.6rem;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.25s ease;
  backdrop-filter: blur(5px);
}

.fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* === Responsive === */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .site-header__content h1 {
    font-size: 1.8rem;
  }

  .site-header__content p {
    font-size: 1rem;
  }

  .fullscreen-btn {
    align-self: flex-end;
    margin-top: 1rem;
  }
}


/* Header d'arrière-plan (masqué par défaut) */
.site-headerafter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px; /* Réduit de 50px à 20px */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  justify-content: space-between;
  background: #0058a3;
  z-index: 10;
}

#map {
  position: absolute;
  top: 80px; /* En dessous du header */
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}


/* site-headerafter caché par défaut (utilisé en plein écran) */
.site-headerafter {
  display: none;
}

.navbar.visible {
  display: flex !important;
  z-index: 2000; /* Très au-dessus de tout */
}