/* ============================================================
   global.css — Variables, reset, typographie de base
   NE PAS mettre de styles de composants ici
   ============================================================ */

/* --- Variables couleurs & polices --- */
:root {
    --couleur-fond:       #2a2a2a;
    --couleur-blanc:      #ffffff;
    --couleur-texte:      #cccccc;
    --couleur-accent:     #1a6b3a;   /* vert radio */
    --couleur-accent2:    #a85214;   /* orange indicatif */
    --couleur-bordure:    #cccccc;          /* bordure header / footer */
    --couleur-encadrement: rgba(255,255,255,0.18); /* encadrement contenu des pages */
    --couleur-gris:       #333333;
    --couleur-gris-fonce: #999999;
    --police:             'Segoe UI', Arial, sans-serif;
    --rayon:              6px;
}

/* --- Reset minimal --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- Base --- */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--couleur-fond);
    color: var(--couleur-texte);
    font-family: var(--police);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Le contenu principal prend l'espace disponible entre header et footer */
main {
    flex: 1;
    padding: 2rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

a {
    color: var(--couleur-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
