/* Bandeau sticky pour mobile */
.sticky-call-bar {
    display: none; /* Caché par défaut */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #003087; /* Bleu foncé comme dans la capture */
    padding: 20px 10px; /* Ajusté pour un design compact */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    border-radius: 20px 20px 0 0;
}

.sticky-call-bar-link {
    text-decoration: none; /* Supprime le soulignement par défaut */
    color: inherit; /* Hérite la couleur des éléments enfants */
    display: block; /* Remplit toute la zone */
    width: 100%;
    height: 100%; /* Assure que le lien couvre toute la hauteur */
}

.call-content {
    display: flex;
    flex-direction: column; /* Deux lignes : texte en haut, numéro et mention en bas */
    align-items: center;
    gap: 15px; /* Espacement entre les deux lignes */
}

.call-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px; /* Espacement entre l’icône et le texte */
}

.call-icon {
    color: white;
    font-size: 1.2em;
    transform: rotate(90deg); /* Ajustez l’angle ici */
    animation: pulse 2.5s cubic-bezier(.5, 0, .5, 1) infinite;
    margin-right: 2px;
}

.call-text {
    color: white;
    font-size: 1.35em;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}

.call-details {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.call-number {
    background-color: white;
    color: #003087; /* Bleu foncé pour contraste */
    padding: 3px 8px;
    font-size: 0.75em;
    font-weight: bold;
    white-space: nowrap;
}

/* Nouvelles mentions pour mobile */
.mentions-mobile {
    display: flex;
    align-items: flex-end;
    align-content: space-around;
    flex-direction: row-reverse;
}

.tariff-text {
    background-color: #800080; /* Violet de la capture */
    color: white;
    padding: 3px 8px;
    font-size: 0.75em;
    font-weight: 500;
    white-space: nowrap;
}

/* Animation pulse avec crescendo et décrémento */
@keyframes pulse {
    0% {
        transform: rotate(45deg) scale(0.9); /* Début : petite taille */
        opacity: 1;
    }
    50% {
        transform: rotate(45deg) scale(1.3); /* Pic : taille maximale */
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) scale(0.9); /* Retour : taille initiale */
        opacity: 1;
    }
}

/* Ajustements pour mobile */
@media (max-width: 768px) {
    .sticky-call-bar {
        display: block; /* Visible uniquement sur mobile */
    }

    /* Masquer la sidebar sur mobile */
    .sidebar {
        display: none;
    }

    /* Ajuster le padding du footer pour éviter le chevauchement avec le bandeau sticky */
    footer {
        padding-bottom: 50px; /* Ajusté pour la nouvelle hauteur */
    }
}