/* Animation des immeubles */
.emoji-wave {
    text-align: center;
    font-size: 24px;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.emoji-wave span {
    opacity: 0;
    animation: wave-animation 5s infinite ease-in-out;
    display: inline-block;
}

@keyframes wave-animation {
    0% { opacity: 0; transform: translateY(10px); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* Barre de chargement animée */
.loading-bar {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-top: 10px;
}

.loading-bar .bar {
    width: 0%;
    height: 100%;
    background: #FFC300;
    animation: progress-bar 7s infinite ease-in-out;
}

@keyframes progress-bar {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

/* Animations CSS complémentaires */

/* Animation de hover sur les cards */
.feature-column:hover,
.square-box:hover,
.landing-card:hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: subtle-pulse 0.6s ease;
}

/* Animation de pulse subtile */
@keyframes subtle-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Animation pour les icônes au hover */
.feature-icon {
    transition: transform 0.3s ease;
}

.feature-column:hover .feature-icon {
    animation: wiggle 0.5s ease;
}

@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-7deg); }
    50% { transform: rotate(7deg); }
    75% { transform: rotate(-7deg); }
    100% { transform: rotate(0deg); }
}

/* Animation pour les boutons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::after {
    left: 100%;
}

/* Animation de survol pour les liens du menu */
nav ul li a {
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFC300;
    transition: width 0.3s ease;
    display: none; /* Masquer la barre de surlignage */
}

nav ul li a:hover::after {
    width: 100%;
}