body {
    font-family: Arial, sans-serif;
    background: #0f0f0f;
    color: #eee;
    text-align: center;
}

/* TITRE */
h1 {
    margin-top: 30px;
    font-size: 36px;
}

/* FORMULAIRE */
form {
    margin: 30px auto;
    max-width: 900px;
}

/* CHAMPS */
input, select {
    padding: 15px;
    font-size: 16px;
    width: 180px;
    border-radius: 8px;
    border: none;
    margin: 8px;
}

/* BOUTON */
button {
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    background: #FFD60A;
    color: black;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: #ffcc00;
}

/* RESULTAT */
.resultat {
    margin: 40px auto;
    width: 85%;
    max-width: 900px;
    text-align: left;
    background: #1c1c1c;
    padding: 25px;
    border-radius: 12px;
    font-size: 18px;
    line-height: 1.6;
}

/* MOBILE / TABLETTE */
@media (max-width: 768px) {

    input, select {
        width: 90%;
        font-size: 18px;
    }

    button {
        width: 90%;
        font-size: 18px;
    }
}


.zone-boutons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.zone-boutons button {
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

/* couleurs différentes */
.zone-boutons button:nth-child(1) {
    background: #FFD60A;
    color: black;
}

.zone-boutons button:nth-child(2) {
    background: #3a86ff;
    color: white;
}

.zone-boutons button:nth-child(3) {
    background: #06d6a0;
    color: black;
}


.header {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 15px;
    margin-top: 20px;
}

.header h1 {
    margin: 0;
    font-size: 36px;
}

.copyright {
    font-size: 16px;
    font-style: italic;
    color: white;
}



.bloc {
    background: #1f1f1f;
    margin: 15px 0;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #FFD60A;
}

.bloc-titre {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.bloc-contenu {
    font-size: 18px;
    line-height: 1.6;
}

.bloc:nth-child(1) { border-left: 5px solid #4cc9f0; }
.bloc:nth-child(2) { border-left: 5px solid #f72585; }
.bloc:nth-child(3) { border-left: 5px solid #43aa8b; }
.bloc:nth-child(4) { border-left: 5px solid #ffd60a; }



/* CONTENEUR RESULTAT */
.resultat {
    margin: 40px auto;
    width: 90%;
    max-width: 900px;
}

/* BLOCS */
.bloc {
    background: linear-gradient(145deg, #1c1c1c, #222);
    margin: 20px 0;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* HOVER EFFET */
.bloc:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

/* TITRE */
.bloc-titre {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
}

/* CONTENU */
.bloc-contenu {
    font-size: 19px;
    line-height: 1.7;
}

/* COULEURS PAR TYPE */
.bloc:nth-child(1) { border-left: 6px solid #4cc9f0; }
.bloc:nth-child(2) { border-left: 6px solid #f72585; }
.bloc:nth-child(3) { border-left: 6px solid #43aa8b; }
.bloc:nth-child(4) { border-left: 6px solid #ffd60a; }
.bloc:nth-child(5) { border-left: 6px solid #ff8800; }
.bloc:nth-child(6) { border-left: 6px solid #9d4edd; }

/* LOADER */
#loading {
    color: #FFD60A;
    font-size: 20px;
    font-weight: bold;
}

.bloc {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.bloc:nth-child(1) { animation-delay: 0.1s; }
.bloc:nth-child(2) { animation-delay: 0.2s; }
.bloc:nth-child(3) { animation-delay: 0.3s; }
.bloc:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.titre-resultat {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #FFD60A;
}

.presentation {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    background: #151515;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.presentation h2 {
    color: #FFD60A;
    text-align: center;
    margin-bottom: 20px;
    font-size: 30px;
}

.texte-presentation {
    color: #eeeeee;
    font-size: 30px;
    line-height: 1.8;
    max-height: 650px;
    overflow-y: auto;
    padding-right: 10px;
}

.texte-presentation ul {
    margin-left: 30px;
}

.texte-presentation li {
    margin-bottom: 10px;
}

















