:root {
    --bg-color: #f4f7f6;
    --card-bg: #ffffff;
    --accent-color: #e67e22; /* Orange comme ton bouton Home */
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    padding-top: 80px; /* Espace pour la navbar fixe */
}

/* Navbar Style Maquette */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%; /* Prend toute la largeur de l'écran */
    display: flex;
    justify-content: center; /* Centre parfaitement le contenu */
    z-index: 1000;
    pointer-events: none; /* Important pour ne pas bloquer les clics dessous */
}

.nav-container {
    background: #000;
    border-radius: 50px;
    padding: 10px 30px;
    display: flex;
    gap: 20px;
    pointer-events: auto; /* Réactive les clics sur les liens */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    /* On s'assure qu'elle ne bouge jamais */
    transform: none !important; 
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 20px;
    transition: 0.3s;
}

.nav-link.active {
    background-color: var(--accent-color);
}

* {
    box-sizing: border-box; /* Crucial pour la gestion des tailles */
}

img {
    max-width: 100%; /* S'assure que l'image ne dépasse jamais son conteneur parent */
    height: auto;    /* Conserve le ratio */
    display: block;
}
html {
    /* Réserve l'espace de la scrollbar pour éviter les sauts de mise en page */
    scrollbar-gutter: stable;
}