.jlcc-card {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    display: flex;
    align-items: stretch; /* la photo peut désormais s'étirer sur toute la hauteur */
    gap: 14px;
    max-width: 340px;
    padding: 16px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .25);
    border: 1px solid rgba(255, 255, 255, .5);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
    transition: background .45s ease, border-color .45s ease, color .45s ease,
                padding .45s ease, max-width .45s ease, gap .45s ease,
                box-shadow .45s ease;
    font-family: inherit;
}

/* Photo : même hauteur que la colonne de droite, largeur recalculée pour rester ronde */
.jlcc-photo {
    flex: 0 0 auto;
    align-self: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    transition: width .45s ease, height .45s ease, opacity .35s ease, margin .45s ease;
}

.jlcc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jlcc-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
}

/* Nom + poste sur la même ligne */
.jlcc-name {
    margin: 0;
	padding:0;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
}

.jlcc-name span {
    display: inline;
    font-weight: 400;
    font-size: .85em;
    opacity: .85;
}

.jlcc-name span::before {
    content: "·";
    margin-right: 6px;
    opacity: .7;
}

.jlcc-message {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.jlcc-cta {
    margin-top: 0px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

/* Flèche après le texte du bouton */
.jlcc-cta::after {
    content: "→";
    display: inline-block;
}

/* Jamais de soulignement, même au survol */
.jlcc-cta,
.jlcc-cta:hover {
    text-decoration: none;
}

/* ====== État compact : après la première section, la carte devient un simple bouton ====== */
.jlcc-card.is-compact {
    background: #ffffff;
    border: 1px solid #939f93;
    color: #0d1c0d;
    padding: 12px 20px;
    max-width: 220px;
    /* Ombre dure (sans flou), sombre, opacité réduite — même logique que sur le header */
    box-shadow: 8px 8px 0 0 rgba(13, 28, 13, 0.35);
	max-height: 3em;
}

.jlcc-card.is-compact .jlcc-photo {
    width: 0;
    opacity: 0;
    margin: 0;
    pointer-events: none;
}

.jlcc-card.is-compact .jlcc-name,
.jlcc-card.is-compact .jlcc-message {
    display: none;
}

.jlcc-card.is-compact .jlcc-cta {
    margin-top: 0;
}

@media (max-width: 480px) {
    .jlcc-card {
        right: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
    }
}