/* ==========================================================================
   VARIABLES GLOBALES
   ========================================================================== */
:root {
    --color-accent: #722934; 
    --color-bg-light: #fbfdfc; 
    --color-bg-textured: #eeeae3; /* Grège beaucoup plus clair et subtil */
    
    --color-text-main: #1a1a1a; 
    --color-text-light: #fbfdfc;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    
    --font-main: 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    line-height: 1.6;
}

h1, h2, h3 { color: var(--color-accent); margin-bottom: var(--spacing-sm); }
h1 { font-size: 3rem; line-height: 1.2; font-weight: 800; text-transform: uppercase; }
h2 { font-size: 2.2rem; text-align: center; font-weight: 800; }
.section-title { margin-bottom: var(--spacing-lg); }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
section { padding: var(--spacing-lg) 0; }
.bg-textured { background-color: var(--color-bg-textured); }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background-color: var(--color-bg-light);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Ombre subtile */
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo a {
    text-decoration: none; font-size: 2rem; color: var(--color-accent); font-weight: 900;
}

.main-nav ul { display: flex; list-style: none; gap: var(--spacing-md); align-items: center; }
.main-nav a { text-decoration: none; color: var(--color-text-main); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; transition: color 0.3s; }
.main-nav a:hover, .main-nav a.active { color: var(--color-accent); }

/* Bouton */
.btn-primary {
    display: inline-block; padding: 0.8rem 1.8rem; font-weight: bold; text-transform: uppercase; text-decoration: none;
    background-color: var(--color-accent); color: var(--color-text-light) !important;
    border-radius: 4px; transition: background 0.3s;
}
.btn-primary:hover { background-color: #5c2029; }

/* ==========================================================================
   HERO SECTION (Image + Overlay)
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 8rem 0;
    /* Remplacer URL par le chemin de la vraie image */
    background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&q=80&w=2000'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Effet parallax subtil */
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(26, 26, 26, 0.65); /* Overlay sombre pour la lisibilité */
    z-index: 1;
}

.hero-content {
    position: relative; z-index: 2; text-align: center; color: var(--color-text-light);
}

.hero-content h1 { color: var(--color-text-light); }
.hero-content p { font-size: 1.2rem; max-width: 700px; margin: 0 auto var(--spacing-md) auto; }

/* ==========================================================================
   FRISE VERTICALE (Timeline)
   ========================================================================== */
.timeline {
    position: relative; max-width: 1000px; margin: 0 auto;
}

/* La ligne centrale */
.timeline::after {
    content: ''; position: absolute; width: 4px; background-color: var(--color-accent);
    top: 0; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 2px;
}

.timeline-item { padding: 10px 40px; position: relative; width: 50%; }
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

/* Les cercles sur la ligne */
.timeline-item::after {
    content: ''; position: absolute; width: 20px; height: 20px;
    background-color: var(--color-bg-light); border: 4px solid var(--color-accent);
    border-radius: 50%; top: 20px; z-index: 1;
}
.timeline-item.left::after { right: -12px; }
.timeline-item.right::after { left: -12px; }

.timeline-content {
    padding: 2rem; background-color: var(--color-bg-light);
    border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Modernité et subtilité */
    position: relative; border-left: 4px solid var(--color-accent);
}

/* ==========================================================================
   RESPONSIVE (Mobile)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .timeline::after { left: 31px; transform: none; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 0; }
    .timeline-item.right { left: 0; }
    .timeline-item.left::after, .timeline-item.right::after { left: 21px; }
    .hero-section { padding: 5rem 0; }
    .hero-content h1 { font-size: 2.2rem; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    text-align: center; padding: var(--spacing-md) 0;
    background-color: var(--color-text-main); color: var(--color-text-light);
}