
/* Définition de nos variables de couleur (Dark Mode) */
:root {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --accent-color: #bb86fc; /* Un violet/lavande */
    --secondary-text-color: #888;
    --border-color: #333;
    --card-bg: #222;
}

/* Styles globaux pour le corps de la page */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* La page prend au moins 100% de la hauteur de l'écran */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Conteneur principal pour centrer le contenu */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    flex-grow: 1; /* Permet au contenu de prendre la hauteur disponible */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre verticalement */
    align-items: center; /* Centre horizontalement */
    text-align: center;
}

/* --- Header --- */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    text-align: center;
}

.header-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Met le logo à gauche et la nav à droite */
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

/* --- Main --- */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

main h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-color);
}

main p {
    font-size: 1.2rem;
    color: var(--secondary-text-color);
    max-width: 600px;
}

/* --- Footer --- */
footer {
    padding: 20px 0;
    margin-top: auto; /* Pousse le footer tout en bas */
    border-top: 1px solid var(--border-color);
    color: var(--secondary-text-color);
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
}