html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {

/* Reset de base pour une meilleure compatibilité */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corps de la page */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #ffc0fb;
    background: #000000;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

/* En-tête */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5em;
    color: #c378ff;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

header img {
    max-width: 200px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

/* Barre de navigation */
nav {
    background: #6b2d9d;
    padding: 10px 0;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 15px;
}

nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

nav a:hover {
    background: #9945ff;
    color: #fff;
}

/* Sections */
section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgb(24 24 24 / 90%);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

h2 {
    font-size: 1.8em;
    color: #c378ff;
    margin-bottom: 15px;
    border-bottom: 2px solid #4700ad;
    padding-bottom: 5px;
}

h3 {
    color: #d799ff;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

ul {
    list-style-type: disc;
    margin-left: 20px;
}

li {
    margin-bottom: 10px;
}

/* Liens (si ajoutés plus tard) */
a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Pied de page */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 15px;
    background: rgb(18 0 24 / 80%);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.9em;
    color: #ffffff;
}

/* Responsive pour mobiles */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    header img {
        max-width: 150px;
    }
    section {
        padding: 15px;
    }
}

nav ul {
        flex-direction: column;
    }
    nav li {
        margin: 5px 0;
    }
}

/* Bouton retour accueil */
.home-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #c378ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 24px;
}

.home-button:hover {
    background-color: #ffc0fb;
    border-radius: 10px;
}

/* Styles du formulaire */
form {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

fieldset {
    border: 2px solid #6b2d9d;
    border-radius: 10px;
    background: rgba(30, 30, 30, 0.8);
    padding: 20px;
    margin-bottom: 20px;
}

legend {
    font-weight: bold;
    color: #c378ff;
    padding: 5px 10px;
    border: 1px solid #6b2d9d;
    border-radius: 5px;
    background: rgba(107, 45, 157, 0.3);
}

label {
    display: block;
    color: #ffc0fb;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: #1a1a1a;
    border: 2px solid #6b2d9d;
    border-radius: 5px;
    color: #ffc0fb;
    font-family: inherit;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #c378ff;
    box-shadow: 0 0 8px rgba(195, 120, 255, 0.5);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

select {
    cursor: pointer;
}

input[type="checkbox"] {
    accent-color: #6b2d9d;
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

input[type="checkbox"] + label {
    display: inline;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkbox-group {
    margin-bottom: 10px;
}

input[type="submit"],
input[type="reset"] {
    padding: 12px 30px;
    margin-right: 15px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="submit"] {
    background: #6b2d9d;
    color: #fff;
}

input[type="submit"]:hover {
    background: #9945ff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(153, 69, 255, 0.4);
}

input[type="reset"] {
    background: #2d2d2d;
    color: #ffc0fb;
    border: 2px solid #6b2d9d;
}

input[type="reset"]:hover {
    background: #3d3d3d;
    border-color: #c378ff;
}

#message {
    max-width: 700px;
    margin: 20px auto;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    display: none;
}
