/* Cartes de services avec animation */
.service-card {
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.service-card .btn {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.service-card:hover .btn {
    opacity: 1;
    transform: scale(1.05);
}

.service-card i {
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

/* Optimisations de performance SEO */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Réduction du CLS (Cumulative Layout Shift) */
.hero-section {
    min-height: 400px;
}

/* Bouton chat flottant */
.chat-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button-custom {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: none;
}

.chat-button-custom:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(13,110,253,0.4);
}

.chat-button-custom i {
    font-size: 28px;
    color: white;
}

/* Animation de pulsation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(13,110,253,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(13,110,253,0); }
    100% { box-shadow: 0 0 0 0 rgba(13,110,253,0); }
}

.chat-button-custom {
    animation: pulse 2s infinite;
}

/* Style pour la carte de consultation personnalisée */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.bg-primary .service-card:hover {
    background-color: #0b5ed7 !important;
}
