﻿body {
    font-family: Arial, sans-serif;
    padding: 20px;
    line-height: 1.5;
    background-color: #0d0d0d;
    color: white;
}

h2 {
    text-align: center;
}

.bloc {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.col_orange {
    color: #ffb400;
}

/* Labels en orange pour les 8 domaines */
.bloc label {
    font-size: 14px;
    width: 220px;
    font-weight: bold;
    color: #ffb400;
    /* orange */
}

/* Champs */
.bloc select,
.bloc input {
    flex: 1;
    padding: 6px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin: 20px auto;
    background: #ffb400;
    color: #fff;
    border: none;
    border-radius: 4px;
}

button:hover {
    background: #ffb400;
}

.intro {
    margin-bottom: 30px;
    font-size: 20px;
}

/* Bloc explication spécifique : fond blanc, texte noir */
.explain {
    background-color: #fff;
    color: #000;
    padding: 15px;
    border-radius: 6px;
}

/* graduation html */
.container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.arrow-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-diag {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    font-size: 24px;
    line-height: 2;
}

.arrow-diag span {
    transform: rotate(-15deg);
    /* angle des flèches ↗ */
    display: inline-block;
}

.arrow-mid {
    text-align: center;
    color: #ffb400;
    font-size: 48px;
}

.left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    width: 18%;
}

.top,
.middle,
.bottom {
    text-align: center;
    margin: 10px 0;
}

.left span {
    font-size: 14px;
    margin: 10px 0;
}

/* Colonne droite (les 8 niveaux) */
.right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.level {
    border: 2px solid #000;
    padding: 8px 12px;
    background: #fff;
    font-size: 14px;
    width: fit-content;
}

@media (max-width: 600px) {
    .bloc {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .bloc label {
        width: 100%;
        margin-bottom: 5px;
    }

    .bloc select,
    .bloc input {
        width: 100%;
    }

    button {
        width: 100%;
    }
}