.etape-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    padding: 1.5rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 32px;
    border: 1px solid rgba(148, 0, 81, 0.15);
    box-shadow: 0 20px 60px rgba(148, 0, 81, 0.08);
}

.etape-container .etape {
    font-size: 14px;
    background: #fef8fb;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(148, 0, 81, 0.2);
    font-weight: 600;
    color: #650035;
}

.etape-container .etape:hover {
    cursor: pointer;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(148, 0, 81, 0.15);
    background: #fff;
}

.etape-container .selected-etape {
    background: #940051;
    color: #fff;
    border-color: #940051;
    box-shadow: 0 18px 35px rgba(148, 0, 81, 0.3);
}

.livrables {
    height: 0;
    overflow: hidden;
    padding: 0;
    transition: 0.4s;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.detail {
    width: 0;
    overflow: hidden;
    max-width: 100%;
    background: #940051;
    color: white;
    margin-top: 2rem;
    border-radius: 24px;
    transition: 0.4s;
    height: 0;
    box-shadow: 0 25px 50px rgba(148, 0, 81, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.detail p {
    text-align: start;
    line-height: 1.6em;
    font-weight: 500;
    font-size: 13px;
    margin-top: 0.5rem;
}

.multiline {
    white-space: pre-line; /* affiche les retours à la ligne (\n) */
    text-align: start;
    line-height: 1.5em;
    font-weight: 500;
    font-size: 13px;
    margin-top: 0.5rem;
}


.current-detail {
    width: 320px;
    height: fit-content;
    padding: 2rem;
}

@media (max-width: 750px) {
    .current-detail {
        position: absolute;
        left: 0;
    }
}

.data-container {
    flex: 1;
}

.show-livrables {
    height: 70vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.data-container .livrable {
    border: 1px solid rgba(148, 0, 81, 0.2);
    padding: 1.5rem 2rem;
    margin: 1rem 0;
    font-size: 14px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.data-container .livrable:hover {
    transform: translateY(-4px);
    border-color: #940051;
    box-shadow: 0 25px 45px rgba(148, 0, 81, 0.15);
}

.livrable {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.livrable .title {
    font-weight: 600;
    color: #1f1f1f;
}

.livrable .subtitle {
    font-size: 1.3em;
    color: #940051;
    padding-top: 0.5rem;
    font-weight: 600;
}

.livrable button {
    border-radius: 999px;
    background: #940051;
    color: white;
    border: none;
    padding: 0.6rem 2rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(148, 0, 81, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.livrable button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(148, 0, 81, 0.4);
    cursor: pointer;
}
