
    /* 1. Conteneur principal fixe */
.floating-hub-wrapper {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2000;
    height: 300px; /* Zone de détection centrée verticalement */
    display: flex;
    align-items: center;
}

/* 2. Zone de détection (Trigger)
   C'est cette zone qui capte le passage de la souris */
.floating-hub-trigger {
    padding: 40px 10px 40px 60px; /* Large zone pour faciliter l'activation */
    background: transparent;
    cursor: pointer;
}

/* 3. Stack des boutons (Cachés par défaut) */
.floating-hub-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px); /* Part de la droite (hors écran) */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 4. Apparition au survol de la zone de détection */
.floating-hub-trigger:hover .floating-hub-stack {
    opacity: 1;
    visibility: visible;
    transform: translateX(-20px); /* Glisse vers la gauche pour apparaître */
}

/* 5. Style individuel des boutons (Harmonisé Hub) */
.hub-floating-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fourth-color);
    color: var(--sixth-color);
    border: 2px solid var(--tertiary-color);
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
}

/* Effet au survol d'un bouton précis */
.hub-floating-btn:hover {
    background-color: var(--primary-color);
    color: white !important;
    border-color: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(45, 149, 213, 0.4);
}

/* Tooltip qui apparaît à gauche du bouton */
.hub-floating-btn[title]:hover::after {
    content: attr(title);
    position: absolute;
    right: 60px;
    background: var(--fifth-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    border: 1px solid var(--tertiary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
