:root {
    --primary-color: #24292e;         /* Couleur de texte principale (sombre) */
    --accent-color: #0366d6;          /* Bleu GitHub pour les liens */
    --background-color: #f6f8fa;      /* Fond léger, type GitHub */
    --text-color: #24292e;
    --shadow-color: rgba(27,31,35,0.12);
    --border-radius: 6px;
    --transition-speed: 0.2s;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    margin: 0;
    padding: 0;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Conteneur principal */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px var(--shadow-color), 0 1px 2px var(--shadow-color);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(27,31,35,0.2);
}

/* Titres */
h1, h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Paragraphes */
p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

/* Listes */
ol, ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    font-size: 1.125rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Images */
img {
    width: 100%;
    display: block;
    border-radius: var(--border-radius);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

img:hover {
    transform: scale(1.05);
    box-shadow: 0 1px 3px var(--shadow-color), 0 1px 2px var(--shadow-color);
}

/* Tableaux */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

table td {
    padding: 1rem;
    border: 1px solid #e1e4e8;
    text-align: center;
    font-size: 1.125rem;
}

/* Audio et Vidéo */
audio, video {
    width: 100%;
    margin: 1rem auto;
    border-radius: var(--border-radius);
}

/* Liens */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-color);
}

/* Mise en page responsive */
@media (min-width: 768px) {
    .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* Centrer un titre sur toute la largeur */
    .container > h1,
    .container > h2 {
        grid-column: 1 / -1;
    }
}