/* --- Signature & Reveal --- */
.title-line { width: 60px; height: 4px; background-color: #5DB4E3; margin: 15px auto; }
.title-line-left { width: 45px; height: 4px; background-color: #5DB4E3; margin: 10px 0 15px 0; }

.stat-card { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.stat-card.visible { opacity: 1; transform: translateY(0); }

/* --- HERO : Positionnement Très Haut --- */
.hero-content-wrapper {
    transform: translateY(-35%);
    will-change: transform;
}

.hero-incrustation {
    width: 60px; height: auto; opacity: 0.7;
    filter: brightness(0) invert(1);
    mix-blend-mode: overlay; margin-bottom: 1.5rem;
}

.hero-subtitle-font {
    font-family: ui-sans-serif, system-ui, sans-serif;
    letter-spacing: 0.3em; text-transform: uppercase;
    font-weight: 700; text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.parallax-bg { 
    background-position: 35% center; background-repeat: no-repeat; 
    background-size: cover; position: absolute;
    width: 100%; height: 120%; top: -10%;
    will-change: transform; z-index: 0;
}
@media (min-width: 768px) {
    .parallax-bg { background-attachment: fixed; background-position: center 5%; }
}

@media (max-width: 768px) {
    .hero-content-wrapper { transform: translateY(-40%); }
    .hero-incrustation { width: 45px; }
}

/* --- Bouton d'Appel Pulsant --- */
#hero-phone-cta {
    box-shadow: 0 0 0 0 rgba(93, 180, 227, 0.7);
    animation: bounce 2s infinite, pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(93, 180, 227, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(93, 180, 227, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(93, 180, 227, 0); }
}

/* --- À Propos --- */
#about-parallax { background-size: cover; background-position: center; }

/* --- Formulaire --- */
.contact-input { 
    width: 100%; 
    border-bottom: 2px solid #eee; 
    padding: 12px 0; 
    outline: none; 
    transition: 0.3s; 
    font-size: 14px; 
    background: transparent;
    border-radius: 0;
    appearance: none;
}

.contact-input:focus { 
    border-bottom-color: #5DB4E3; 
}

select.contact-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231B2A39'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 16px;
    padding-right: 30px;
}

select.contact-input option {
    background-color: #fff;
    color: #1B2A39;
}

/* --- Bouton Retour Haut --- */
#back-to-top { 
    background-color: #1B2A39; color: white; 
    border-radius: 4px; transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center; z-index: 999;
}
#back-to-top:hover { background-color: #5DB4E3; color: #1B2A39; }

/* --- Lightbox --- */
.zoomed { transform: scale(1.3); cursor: zoom-out; }
#img-container { cursor: zoom-in; }
.project-item { position: relative; overflow: hidden; cursor: pointer; }
.project-overlay {
    position: absolute; inset: 0;
    background-color: rgba(93, 180, 227, 0.3); 
    opacity: 0; transition: opacity 0.4s ease;
    display: flex; align-items: center; justify-content: center;
}
.project-item:hover .project-overlay { opacity: 1; }
.project-item img { transition: transform 0.6s ease; }
.project-item:hover img { transform: scale(1.1); }

/* --- Notification de succès --- */
#custom-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1B2A39;
    color: white;
    padding: 16px 24px;
    border-left: 5px solid #5DB4E3;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#custom-notification.show {
    transform: translateX(0);
}

#custom-notification i {
    color: #5DB4E3;
    font-size: 1.2rem;
}
/* Alignement harmonieux des marques */
#marques-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem; /* Espace constant entre les logos */
}
/* --- Gestion du Logo Client --- */
#nav-logo-client {
    /* Taille sur Mobile (par défaut) */
    height: 50px !important; 
    max-height: 55px;
    
    /* Optionnel : marge à gauche pour ne pas coller au bloc bleu ciel */
    margin-left: 10px; 
    transition: height 0.3s ease; /* Transition fluide si vous changez de taille */
}

/* Taille sur Ordinateur (écrans larges) */
@media (min-width: 768px) {
    #nav-logo-client {
        height: 65px !important;
        max-height: 70px;
        margin-left: 20px;
    }
}
#about-desc b {
    color: #5DB4E3;
    font-weight: 700;
}
