/* ====================================
   📋 BLOC PROGRESSION ITEMS
   Shortcode pour afficher les blocs avec items cliquables
   wp-content/themes/custom-theme/src/assets/css/shortcode/bloc-progression-items-styles.css
   ==================================== */

.bloc-progression-items-section {
    width: 100%;
    padding: 0;
    margin: 0;
}

.bloc-progression-item-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: var(--space-md);
    align-items: flex-start;
}

/* Colonne icône - 5% */
.bloc-progression-icon-col {
    flex: 0 0 25px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.bloc-progression-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 12px;
}

.bloc-progression-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Colonne contenu - 95% */
.bloc-progression-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Titre principal - NON cliquable */
.bloc-progression-title {
    font-family: var(--font-primary);
    font-size: var(--h2-size);
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin: 0;
    padding: 0;
}

/* Liste des items */
.bloc-progression-items-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Item cliquable */
.bloc-progression-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Lien item */
.bloc-progression-item-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: color var(--transition-normal);
    cursor: pointer;
}

.bloc-progression-item-link:hover {
    color: var(--primary);
    text-decoration: none;
}

/* Numéro automatique */
.bloc-progression-item-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-secondary);
    font-size: var(--p-size);
    font-weight: 600;
    color: inherit;
    transition: color var(--transition-normal);
    min-width: 20px;
}

/* Flèche SVG container */
.bloc-progression-item-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    position: relative;
    transition: transform var(--transition-normal);
}

/* État initial : flèche diagonale bas-droite (45deg) */
.bloc-progression-item-arrow svg {
    width: 16px;
    height: 16px;
    transform: rotate(90deg);
    transform-origin: center;
    transition: transform var(--transition-normal);
}

/* Hover : flèche horizontale droite (0deg) + changement couleur */
.bloc-progression-item-link:hover .bloc-progression-item-arrow svg {
    transform: rotate(45deg);
}

/* Changement de couleur du stroke au hover */
.bloc-progression-item-link:hover .bloc-progression-item-arrow svg path,
.bloc-progression-item-link:hover .bloc-progression-item-arrow svg line {
    stroke: var(--primary);
}

/* Texte de l'item */
.bloc-progression-item-text {
    font-family: var(--font-secondary);
    font-size: var(--p-size);
    font-weight: 400;
    line-height: var(--p-line-height);
    color: inherit;
    transition: color var(--transition-normal);
}

/* ====================================
   📱 RESPONSIVE
   ==================================== */

/* Tablette */
@media (max-width: 1024px) {
    .bloc-progression-title {
        font-size: var(--h3-size);
    }

    .bloc-progression-icon-col {
        flex: 0 0 50px;
    }

    .bloc-progression-icon {
        width: 40px;
        height: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .bloc-progression-item-wrapper {
        gap: 16px;
        margin-bottom: var(--space-lg);
    }

    .bloc-progression-title {
        font-size: var(--h4-size);
    }

    .bloc-progression-icon-col {
        flex: 0 0 40px;
    }

    .bloc-progression-icon {
        width: 35px;
        height: 35px;
    }

    .bloc-progression-items-list {
        gap: 3px;
        margin-top: 6px;
    }

    .bloc-progression-item-text {
        font-size: var(--p-size);
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .bloc-progression-item-wrapper {
        gap: 12px;
        margin-bottom: var(--space-md);
    }

    .bloc-progression-icon-col {
        flex: 0 0 35px;
        top: -18px;
        position: relative;
    }

    .bloc-progression-icon {
        width: 25px;
        height: 25px;
    }

    .bloc-progression-title {
        font-size: var(--h3-size);
    }

    .bloc-progression-item-arrow {
        width: 14px;
        height: 14px;
    }

    .bloc-progression-item-arrow svg {
        width: 14px;
        height: 14px;
    }
}
