:root {
    --transition-duration: 0.3s;
    --expanded-height: 200px;
    --collapsed-height: 60px;
    --border-radius: 4px;
}

.contSteps {
    width: 80%;
    margin: 0 auto;
}

details {
    border: 1px solid var(--color, #bfd1ec);

    cursor: pointer;

    border-radius: 0.375rem;

    transition: all calc(var(--transition-duration) / 2) linear;

    overflow: auto;
    will-change: height;
    margin-bottom: 0.5rem;
}


.contSteps details summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    cursor: pointer;
    min-height: 78px;

}

.contSteps details summary .step-num {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contSteps details summary h3 {
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.90rem;

}

.contSteps details summary::-webkit-details-marker {
    display: none;
}

.contSteps details summary::before {
    content: "▶";
    font-size: 0.9rem;
    line-height: 1;
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.contSteps details[open] summary::before {
    transform: rotate(90deg);
}



details ul {
    list-style-type: none;
    margin: 0 0 0 1.5rem;
}

details.primary {
    --color: #409eff;
}

details[open],
.contSteps details:hover {
    background-color: #f0f8ff;
    border: 1px solid #2c0b0e;
    background-color: rgba(var(--default-color-rgb), 0.05);
}

details[open] summary {
    font-weight: bold;
    font-size: 18px;
}



details:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    /* background-color: var(--accent-color);*/
    margin-top: 20px;
    margin-bottom: 20px;
}

details.success {
    --color: #67c23a;
}

details.square {
    --border-radius: 0;
}

details[open] {
    transition: all var(--transition-duration) linear;
    /* min-height: 100px;*/
    /*
    will-change: height;*/
}

summary {
    outline: none;
    font-size: 16px;
    padding: 13px;

}

details .info+li {
    text-transform: uppercase;
    color: blue;
    font-weight: bold;
}

.info>li>span {

    font-style: italic;


    color: rgba(var(--default-color-rgb), 0.6);
    margin-bottom: 10px;
}



.titreReal {
    margin: 1rem 0.5rem;
}

.modal-body li {
    list-style: none;
    margin-bottom: 1rem;
}



.pratique ul {
    padding-left: 32px;
    margin-bottom: 16px;
}

@media (max-width: 1200px) {

    .contSteps {
        margin: 0;
        width: 100%;
    }

}

/*********************/

.meta-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0 1.25rem;
    padding: 13px;
}

.meta-item {
    margin: 0;
    padding: 0.9rem 0;
    border-bottom: 1px solid #eef2f6;
    min-width: 0;
}


.item-grid-full {
    grid-column: 1 / -1;
}

.meta-item dt,
.meta-item dd {
    margin: 0;
}

.meta-key {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.meta-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.meta-value {
    font-size: 0.98rem;
    color: #1f2937;
    line-height: 1.45;
}

.tool-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0.15rem 0 0;
    padding: 0;
}

.tool-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.98rem;
}

@media (max-width: 768px) {
    .meta-grid {
        grid-template-columns: 1fr;
    }

    .meta-item--wide,
    .meta-item--full {
        grid-column: auto;
    }
}