.poi-image-wrapper {
    position: relative;
    display: inline-block;
}

.poi-point {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(128, 128, 128, 0.1); /* gris léger transparent */
    border: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;

    /* Glow clignotant autour */
    animation: pulse 0.1s infinite ease-in-out;
    box-shadow: 0 0 4px 0 rgba(255, 153, 0, 0.2);
}

.poi-point:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.poi-point i {
    color: #ff9900;
    font-size: 22px;
    pointer-events: none;
}

/* Glow orange animé */
@keyframes pulse {
    0% {
        box-shadow: 0 0 4px 2px rgba(255, 153, 0, 0.3);
        background-color: rgba(128, 128, 128, 0.1);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(255, 153, 0, 0.8);
        background-color: rgba(128, 128, 128, 0.15);
    }
    100% {
        box-shadow: 0 0 4px 2px rgba(255, 153, 0, 0.3);
        background-color: rgba(128, 128, 128, 0.1);
    }
}



.debug-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: blue;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.section-poi {
    margin-top: 16px;
}

.image-style-large {
    width: 800px;
}

/* Tooltip reste caché sauf au hover */
.poi-tooltip {
    display: none;
    position: absolute;
    bottom: 120%; 
    left: 50%;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    max-width: 80vw;
    text-align: center;
    font-size: 14px;
    z-index: 12; /* 🔥 passe devant */
    word-wrap: break-word;
    font-size: 12px;
    line-height: 1.6;
    white-space: nowrap; /* garde en une seule ligne */
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateX(-25%);
}

/* Hover => affiche le texte */
.poi-point:hover .poi-tooltip {
    display: block;
}

