/* 
 * Styles unifiés pour le bouton téléphone dans la navbar
 * Style identique sur toutes les pages pour une cohérence parfaite
 */

/* Conteneur du bouton téléphone */
.phone-button {
    display: inline-flex;
    align-items: center;
    margin-left: 15px; /* Espacement après les icônes */
}

/* Style unifié pour le bouton téléphone - IDENTIQUE SUR TOUTES LES PAGES */
.phone-link,
.nav-icons .phone-link,
.kd-social .phone-link {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: #D32F2F; /* Couleur rouge vive uniforme */
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
    border: 2px solid transparent;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
}

/* Hover unifié - IDENTIQUE SUR TOUTES LES PAGES */
.phone-link:hover,
.nav-icons .phone-link:hover,
.kd-social .phone-link:hover {
    background: #B71C1C; /* Version plus foncée au hover */
    color: white !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

/* Focus unifié - IDENTIQUE SUR TOUTES LES PAGES */
.phone-link:focus,
.nav-icons .phone-link:focus,
.kd-social .phone-link:focus {
    outline: none;
    border-color: #F6BA1A;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
}

/* Icône téléphone - Style unifié */
.phone-link i {
    margin-right: 8px;
    font-size: 16px;
    animation: pulse 2s infinite;
}

/* Numéro de téléphone - Style unifié */
.phone-number {
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Courier New', monospace;
    min-width: 120px;
    text-align: center;
}

/* Animation pour l'icône téléphone */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Assurer l'alignement uniforme avec les autres éléments */
.nav-icons .login,
.nav-icons .phone-button,
.kd-social .login,
.kd-social .phone-button {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* Espacement uniforme entre les éléments */
.nav-icons > *:not(:last-child),
.kd-social > *:not(:last-child) {
    margin-right: 10px;
}

.nav-icons .phone-button,
.kd-social .phone-button {
    margin-left: 15px;
    margin-right: 15px;
}

/* Responsive - Tablette */
@media (max-width: 992px) {
    .phone-button {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .phone-link,
    .nav-icons .phone-link,
    .kd-social .phone-link {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .phone-button {
        margin-left: 8px;
        margin-right: 8px;
    }
    
    .phone-link,
    .nav-icons .phone-link,
    .kd-social .phone-link {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .phone-number {
        display: none; /* Masquer le numéro sur mobile */
    }
    
    .phone-link i {
        margin-right: 0;
        font-size: 18px;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .phone-link,
    .nav-icons .phone-link,
    .kd-social .phone-link {
        padding: 8px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    
    .phone-button {
        margin-left: 5px;
        margin-right: 5px;
    }
}

/* Animation d'entrée uniforme */
.phone-button {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Assurer que le bouton téléphone ne déborde pas */
.nav-icons,
.kd-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

/* SUPPRESSION DE TOUS LES STYLES ALTERNATIFS POUR ASSURER LA COHÉRENCE */
/* Plus de styles différents entre nav-icons et kd-social */