/* --- RESET & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f2d;
    --secondary-color: #97bc62;
    --accent-color: #93c023;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --text-light: #a6a6a6;
    --white: #e7e7e7;
    
    /* Couleurs Webdoc (ajoutées pour cohérence globale) */
    --doc-primary: #2e5c46;
    --doc-accent: #7ab596;
}

body {
    font-family: "Georgia", "Times New Roman", serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* --- COMMON UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

/* --- ANIMATIONS GLOBALES --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.fade-in { animation: fadeInUp 1s ease-out; }

/* --- CUSTOM SCROLLBAR (Barre de défilement personnalisée) --- */

/* Pour Firefox */
* {
    scrollbar-width: thin; /* Barre fine */
    scrollbar-color: var(--doc-primary) #f0f0f0; /* Pouce vert, Fond gris clair */
}

/* Pour Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 12px; /* Largeur de la barre */
}

::-webkit-scrollbar-track {
    background: #f0f0f0; /* Couleur du fond de la barre */
}

::-webkit-scrollbar-thumb {
    background-color: var(--doc-primary); /* Couleur de la partie mobile (Vert Forêt) */
    border-radius: 10px; /* Arrondi */
    border: 3px solid #f0f0f0; /* Crée une petite marge blanche autour */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #244a38; /* Devient plus foncé au survol */
}