:root {
  --primary: #1e293b;
  --primary-light: #334155;
  --accent: #d4af37;
  --accent-hover: #b8941f;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --background: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* Header */
.header {
  
  background: var(--white);
  /* background-color: red; */
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.logo {
  /* flex-shrink: 1; */
  
  
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary);
}
.footer .logo{
  --primary:var(--background);
}

.logo svg{
  width:40px;
  height:100%;
  color: var(--primary);
  fill:var(--primary);
}

.logo-text {
  font-size: 12px;
  font-weight: 700;
}
.logo-text .immo{
  color: var(--accent-hover);
}

.logo-accent {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}
@media screen and (min-width:750px){
  .header-actions{
    display:flex;
  }
}
@media screen and (max-width:600px){
  .container{
    padding: 0px 4px;
  }
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.phone-number svg {
  color: var(--accent);
}

.contact-btn-header {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 0.75rem 1.5rem;
  border-radius: 0.625rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}

.contact-btn-header:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  border:none;
  background: none;
  cursor: pointer;
  position:relative;
  height: 20px;
  justify-content: space-between;
  width:30px;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  position:absolute;
  transition: all 0.2s;
  left:0;
}

.mobile-menu {
  width:100%;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
  /* pointer-events: none; */
  display: none;
}

.mobile-menu.show {
  display: block;
}

/* Améliore la lisibilité des liens dans le panneau */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

/* Verrouille le scroll du body quand le menu est ouvert */
body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* Assure que le bouton hamburger apparaît sur mobile */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

/* Accessibilité: réduit les animations si demandé */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu {
    transition: none;
  }
}


.phone-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.phone-number svg {
  color: var(--accent);
}

.contact-btn-header {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-btn-header:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}



.phone-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.phone-number svg {
  color: var(--accent);
}

.contact-btn-header {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-btn-header:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}


.mobile-menu-btn span:nth-child(1) {
  top:0px;
}

.mobile-menu-btn span:nth-child(2) {
  top:50%;
  transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
  bottom:0px;
  
}

/* Mobile menu animations */
.mobile-menu-btn.active span:nth-child(1) {
  top:50%;
  transform:translateY(-50%) rotate(45deg);
  
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  bottom:50%;
  transform: translateY(50%) rotate(-45deg);
  
}

/* Cacher la navigation et les vignettes s'il n'y a qu'une image */
.modal-content.single .gallery-nav {
  display: none;
}
.modal-content.single .gallery-thumbs {
  display: none;
}




 






.footer {
    background: var(--primary); /* bg-primary */
    color: var(--white); /* text-white */
    padding-top: 4rem; /* pt-16 */
    padding-bottom: 2rem; /* pb-8 */
}
.footer .logo{
  display: block;
}

.footer-grid {
    display: grid;
    /* Par défaut, une colonne. Sur les écrans md (768px), 2 colonnes. Sur les écrans lg (1024px), 4 colonnes. */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; /* gap-8 */
    margin-bottom: 3rem; /* Pour l'espace avant la ligne de séparation */
}

.footer-logo-wrapper {
    margin-bottom: 1.5rem; /* mb-6 */
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo-text {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
}

.footer-logo-not {
    color: var(--white); /* text-white */
    font-family: 'Cinzel', serif; /* font-cinzel */
}

.footer-logo-immo {
    color: var(--accent); /* text-accent */
    font-family: 'Cinzel', serif; /* font-cinzel */
}

.footer-social-links {
    display: flex;
    gap: 1rem; /* space-x-4 */
}

.footer-social-icon {
    color: var(--white); /* text-white */
    transition: color 0.2s ease; /* transition-colors */
}

.footer-social-icon:hover {
    color: var(--accent); /* hover:text-accent */
}

.footer-heading {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    margin-bottom: 1.5rem; /* mb-6 */
    border-bottom: 1px solid var(--accent); /* border-b border-accent */
    padding-bottom: 0.5rem; /* pb-2 */
}

.footer-links-list,
.footer-contact-list {
    list-style: none; /* Supprime les puces de liste */
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.75rem; /* space-y-3 */
}

.footer-contact-list li {
    margin-bottom: 1rem; /* space-y-4 */
    display: flex;
    align-items: flex-start; /* Pour aligner l'icône de localisation en haut */
}

.footer-link {
    color: var(--gray-300); /* text-gray-300 */
    text-decoration: none;
    transition: color 0.2s ease; /* transition-colors */
}

.footer-link:hover {
    color: var(--accent); /* hover:text-accent */
}

.footer-contact-icon {
    margin-right: 0.5rem; /* mr-2 */
    margin-top: 0.25rem; /* mt-1 pour l'icône de localisation */
    color: var(--accent); /* text-accent */
    flex-shrink: 0; /* Empêche l'icône de rétrécir */
}

.footer-newsletter-text {
    margin-bottom: 1rem; /* mb-4 */
    font-size: 0.875rem; /* text-sm */
    color: var(--gray-300); /* text-gray-300 */
}

.footer-newsletter-form {
    margin-bottom: 1rem; /* mb-4 */
}

.footer-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* space-y-3 */
}

.footer-input {
    padding: 0.75rem 1rem; /* Augmenté de px-4 py-2 à py-3 px-4 */
    border-radius: 0.375rem; /* Légèrement plus arrondi */
    background: var(--white-10);
    border: 1px solid var(--white-20);
    color: var(--white);
    outline: none;
    transition: all 0.2s ease; /* Transition pour toutes les propriétés */
}

.footer-input::placeholder {
    color: var(--gray-400); /* Rendre le placeholder un peu plus visible */
}

.footer-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2); /* Ajout d'une ombre au focus */
}

.footer-signup-btn {
    background: var(--accent);
    color: var(--white);
    padding: 0.875rem 1.5rem; /* Augmenté de py-2 px-4 à py-3.5 px-6 */
    border-radius: 0.375rem; /* Légèrement plus arrondi */
    border: none;
    font-weight: 600; /* font-semibold */
    font-size: 1rem; /* text-base */
    cursor: pointer;
    transition: all 0.2s ease; /* Transition pour toutes les propriétés */
    box-shadow: var(--shadow-md); /* Ajout d'une ombre */
}

.footer-signup-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px); /* Effet de soulèvement subtil */
    box-shadow: 0 6px 10px -2px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée au survol */
}

.footer-bottom {
    border-top: 1px solid var(--white-10); /* border-t border-white/10 */
    margin-top: 3rem; /* mt-12 */
    padding-top: 2rem; /* pt-8 */
    font-size: 0.875rem; /* text-sm */
    color: var(--gray-400); /* text-gray-400 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* flex-col md:flex-row */
    gap: 1rem; /* space-x-4 pour les liens, gap pour le wrap */
}

.footer-copyright-bottom {
    margin-bottom: 0; /* Réinitialise la marge pour le flexbox */
}

.footer-legal-links {
    display: flex;
    gap: 1rem; /* space-x-4 */
}
.loading{
  display:flex;
  width:150px;
  height:100px;
  --time:0.15;
  margin:16px auto;
  justify-content: space-evenly;

}
.loading div{
  width:15px;
  height: 15px;
  clip-path: circle(50% at 50% 50%);
  background-color: black;
  position:relative;
  bottom:0;
  animation: load calc(var(--time) * 4s) infinite alternate linear;
}
.loading div:nth-child(2){
  animation-delay: calc(var(--time) * 1s);
}
.loading div:nth-child(3){
  animation-delay: calc(var(--time) * 2s);
}
.loading div:nth-child(4){
  animation-delay: calc(var(--time) * 3s);
}


@keyframes load{
  from{
    bottom:0;
  }
  to{
    bottom:60px;
  }
}
