html, body, input, textarea, button, select {
    font-family: 'Poppins', sans-serif !important;
    background-color: #F3F7F9;
}

.nav-link-underline {
    position: relative;
}
.nav-link-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #299cd1;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
.nav-link-underline:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

header {
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
header.scrolled {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 4px 24px rgba(41, 156, 209, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    #slider-container > div:nth-child(1) {
        background-position: 75% center;
        
    }
    #slider-container > div:nth-child(2) {
        background-position: 80% center;
    }
    #slider-container > div:nth-child(3) {
        background-position: 60% center;
    }
}

/* Éléments à animer */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.4s; }
.reveal:nth-child(4) { transition-delay: 0.6s; }


}


.card-soft {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-soft:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.badge-construction {
    overflow: hidden;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 204, 102, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(255, 204, 102, 0);
    }
}

.badge-construction::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );

}

@keyframes shine {
    0%   { left: -100%; }
    50%  { left: 150%; }
    100% { left: 150%; }
}

.icon-mrciz {
    overflow: hidden;
}

.icon-mrciz::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 100%
    );
    animation: shine 3s ease-in-out infinite;
    animation-delay: 1s;
}