/* ld_contact_bubble - styles de base, à affiner côté client (Julien) */

.ld-contact-bubble {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1030;
    display: none;
    flex-direction: column;
    align-items: flex-end;
}
@media (min-width: 768px) {
    .ld-contact-bubble {
        display: flex;
    }
}

.ld-contact-bubble__toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #95c13d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: relative;
    flex-shrink: 0;
}

.ld-contact-bubble__icon {
    position: absolute;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.ld-contact-bubble__icon--close {
    opacity: 0;
    transform: scale(0.7);
}

.ld-contact-bubble.is-open .ld-contact-bubble__icon--open {
    opacity: 0;
    transform: scale(0.7);
}

.ld-contact-bubble.is-open .ld-contact-bubble__icon--close {
    opacity: 1;
    transform: scale(1);
}

.ld-contact-bubble__panel {
    max-height: 0;
    overflow: hidden;
    width: 260px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: max-height 0.25s ease;
}

.ld-contact-bubble__panel-inner {
    padding: 18px;
}

.ld-contact-bubble__title {
    margin: 0 0 12px;
    font-weight: 700;
}

.ld-contact-bubble__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    text-decoration: none;
    color: inherit;
    border-top: 1px solid #eee;
}

.ld-contact-bubble__link:first-of-type {
    border-top: none;
}

.ld-contact-bubble__link i {
    font-size: 20px;
}

.ld-contact-bubble__svg-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ld-contact-bubble__link--whatsapp .ld-contact-bubble__svg-icon {
    color: #25D366;
}
