 html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; 
}

:root {
    --bg-color: #f7f5f2;
    --text-color: #2d2d2d;
    --accent-color: #8b0000;
    --secondary-text: #5f5f5f;
    --border-color: #e0dcd5;
    --deco-width: 200px;
}

* { box-sizing: border-box; }


body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; 
}

.side-deco {
    position: fixed;
    top: 0;
    width: 150px; 
    height: 100vh;
    z-index: 1000;
    pointer-events: none;
    background-repeat: repeat-y;
    background-size: 100% auto; 
}

#left-deco {
    left: 0;
    background-image: url("deco_finale_gauche.png");
}

#right-deco {
right: 0 !important;
background-image: url("deco_finale_droite.png");
background-position: right top;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 4rem calc(var(--deco-width) + 20px); 
    position: relative;
}

nav {
    position: sticky;
    top: 0;
    background: rgba(252, 250, 247, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 120px;
    z-index: 1001;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover { color: var(--accent-color); }

header {
    text-align: center;
    padding: 100px 0;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    margin-bottom: 2rem;
}

section { margin-bottom: 6rem; }

.quote-box {
    background: #fff;
    padding: 3rem;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    font-style: italic;
    margin: 3rem 0;
}

.quote-box p { font-size: 1.1rem; color: var(--secondary-text); }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member-card {
    background: white;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.member-card h3 { margin: 0; font-size: 1.1rem; }
.member-card p { margin: 0.5rem 0 0; font-size: 0.8rem; opacity: 0.7; }

footer {
    text-align: center;
    padding: 4rem;
    background: #f0ede9;
    font-family: 'Playfair Display', serif;
}

@media (max-width: 1100px) {
    :root {
        --deco-width: 100px;
    }
}

@media (max-width: 768px) {
    .side-deco { display: none; }
    h1 { font-size: 2.5rem; }
    nav { flex-direction: column; gap: 1rem; }
    .container {
    padding: 2rem 1rem;
    }
    .content-with-image, .content-with-image.reverse {
        flex-direction: column;
        gap: 1.5rem;
    }
    .image-side {
        width: 100%;
        min-width: unset;
    }
    .steps-container {
        flex-direction: column;
    }
}

.content-with-image {
    display: flex;
    align-items: center; 
    gap: 3rem; 
    margin-bottom: 2rem;
}

.content-with-image.reverse {
    flex-direction: row-reverse; 
}

.text-side {
    flex: 2; 
}

.image-side {
    flex: 1; 
    min-width: 300px;
}

.image-side img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.experience-layout {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 2rem;
}

.steps-vertical-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1.2; 
}

.step-card {
    background: white;
    padding: 1.5rem 2rem;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    right: 20px;
}

.experience-image-side {
    flex: 0.8;
    position: sticky; 
    top: 120px;
}

.experience-image-side img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
@media (max-width: 1000px) {
    .experience-layout {
        flex-direction: column-reverse; 
    }
    .experience-image-side {
        position: static;
        width: 100%;
    }
}

.lang-switch {
    border: 1px solid var(--accent-color);
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.8rem !important;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background-color: var(--accent-color);
    color: white !important;
}