/* 1. RESET & CONFIGURATION DE BASE */
*, *::before, *::after {
    box-sizing: border-box; /* Pour que le padding ne fausse pas la largeur */
    margin: 0;
    padding: 0;
}

:root {
    /* Variables de couleurs et polices */
    --primary-color: #3498db;
    --dark-color: #2c3e50;
    --light-color: #f4f4f4;
    --text-color: #333;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 2. TYPOGRAPHIE & CORPS DE PAGE */
body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: white;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

/* 3. LAYOUT (Conteneur centré) */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 4. ÉLÉMENTS COMMUNS */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: 0.3s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%; /* Évite que les images dépassent de l'écran */
    display: block;
}

ul {
    list-style: none;
}

/* 5. BOUTON STANDARD */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    filter: brightness(110%);
}