/* OVERLAY PRELOADER */
#preloader{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(255,255,255,0.95); /* overlay */
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:99999;
  transition:opacity .6s ease, visibility .6s ease;
}

/* disparition */
#preloader.hide{
  opacity:0;
  visibility:hidden;
}

/* conteneur */
.house-container{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

/* icone maison - cachée */
.house-icon{
  display: none;
}

/* logo centre */
.house-logo{
  position:relative;
  width:200px;
  height:200px;
  object-fit:contain;
  border-radius:20px;
  box-shadow:0 20px 60px rgba(0,0,0,0.15);
  animation:logoEntrance 1.5s ease-in-out infinite;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  padding: 15px;
}

/* animation pulse (ancienne) */
@keyframes pulse{
  0%{transform:scale(1);opacity:1;}
  50%{transform:scale(1.15);opacity:.75;}
  100%{transform:scale(1);opacity:1;}
}

/* nouvelle animation pour le logo */
@keyframes logoEntrance{
  0%{
    transform:scale(0.95) rotateY(0deg);
    opacity:0.9;
    box-shadow:0 20px 60px rgba(0,0,0,0.15);
  }
  50%{
    transform:scale(1.05) rotateY(5deg);
    opacity:1;
    box-shadow:0 25px 80px rgba(240,90,34,0.25);
  }
  100%{
    transform:scale(0.95) rotateY(0deg);
    opacity:0.9;
    box-shadow:0 20px 60px rgba(0,0,0,0.15);
  }
}
