/* --- Variables locales (pour ajuster facilement) --- */
.ogalliance-process-steps {
    --og-circle-size: 135px;
}

/* --- La ligne pointillée arrière-plan --- */
.ogalliance-process-steps__track {
    border-top: 3px dashed #e0e0e0;
    width: 80%;
    margin: 0 auto;
    position: relative;
    top: 50px; /* Ajuster pour couper les cercles au milieu */
    z-index: 0;
}

/* --- Item de liste --- */
.ogalliance-process-steps__item {
    z-index: 1; /* Au-dessus de la ligne */
    width: 100%;
    max-width: 200px; /* Largeur max d'une étape */
    cursor: pointer; /* Indique qu'on peut survoler */
}

/* --- Le Cercle Bleu --- */
.ogalliance-process-steps__circle {
    width: var(--og-circle-size);
    height: var(--og-circle-size);
    background-color: var(--color_2);
    border-radius: 50%;
    border: 8px solid var(--color_11); /* Bordure blanche/grise pour se détacher de la ligne */
    position: relative;
    transition: transform 0.3s ease;
}

/* Effet au survol du cercle */
.ogalliance-process-steps__item:hover .ogalliance-process-steps__circle {
    transform: translateY(-5px);
}

/* --- L'icône SVG --- */
.ogalliance-process-steps__icon svg {
    width: 40px;
    height: auto;
    fill: none;
    stroke: white; /* Icônes en contour blanc */
    stroke-width: 1.5;
}

/* --- La Pastille Verte (Badge) --- */
.ogalliance-process-steps__badge {
    width: 50px;
    height: 50px;
    background-color: var(--color_4);
    bottom: -40px; /* Chevauche le bas du cercle */
    border: 5px solid white; /* Petite marge blanche */
    transition: background-color 0.3s;
    box-shadow: 0 .1rem 1.5rem rgba(0,0,0,.77);
}
.ogalliance-process-steps__badge svg path {
    stroke: var(--color_2);
}
/* Au survol, la pastille devient plus foncée ? Optionnel */
.ogalliance-process-steps__item:hover .ogalliance-process-steps__badge {
    background-color: #7ab58b;
}

/* --- Titre --- */
.ogalliance-process-steps__title {
    color: var(--color_3);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-top: 15px;
}

/* --- L'Infobulle (Popover) --- */
.ogalliance-process-steps__popover {
    top: 100%; /* Juste en dessous du titre */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px; /* Largeur de la bulle */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 100;
    pointer-events: none; /* Empêche de cliquer par erreur quand caché */
    border-top: 4px solid var(--color_4); /* Petite touche déco */
}

/* Affichage au survol de tout l'item */
.ogalliance-process-steps__item:hover .ogalliance-process-steps__popover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* La flèche triangle CSS qui pointe vers le haut */
.ogalliance-process-steps__popover-arrow {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; 
    height: 0; 
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid var(--color_4);
}

/* Contenu de la liste dans le popover */
.ogalliance-process-steps__popover-content ul {
    padding-left: 1rem;
    margin-bottom: 0;
}