/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Header et Navigation */
header {
    background-color: #fff;
    padding: 1.2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
}

.logo {
    width: 160px;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
}

nav {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 3rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #000;
}

/* Sections principales */
main {
    margin-top: 160px;
    padding: 0 2rem;
}

section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

section:last-child {
    border-bottom: none;
}

h2 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.8;
    color: #666;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 4rem 0;
    text-align: center;
}

.stat-item {
    flex: 0 1 auto;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 200;
    color: #000;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.contact-link {
    display: inline-block;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #666;
    border-color: #666;
}

/* Footer */
footer {
    background-color: #fff;
    color: #666;
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Menu Button */
.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Images */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 4rem 0;
}

.image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.full-width-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin: 3rem 0;
    filter: grayscale(100%);
}

/* Responsive Design */
@media (max-width: 992px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    /* Header mobile */
    header {
        padding: 1rem;
    }

    .logo {
        width: 120px;
        margin: 0 auto 0.5rem;
    }

    .menu-button {
        display: block;
    }

    nav {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
    }

    nav.active {
        right: 0;
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    .lang-switch {
        margin: 3rem 0;
    }

    .menu-button.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-button.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-button.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    nav ul li a {
        font-size: 1.1rem;
        padding: 1rem;
        display: block;
    }

    /* Images mobile */
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin: 2rem 0;
    }

    .image-container {
        aspect-ratio: 1/1;
    }

    /* Contenu principal mobile */
    main {
        margin-top: 110px;
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0.5rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        letter-spacing: 2px;
    }

    .description {
        font-size: 0.95rem;
        line-height: 1.7;
        padding: 0 0.5rem;
    }

    /* Stats mobile */
    .stats {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Footer mobile */
    footer {
        padding: 1.5rem 1rem;
        font-size: 0.75rem;
    }

    .lang-switch {
        top: 1.2rem;
        left: 1rem;
    }

    .lang-btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .image-grid {
        gap: 0.5rem;
    }

    .image-container {
        aspect-ratio: 1/1;
    }
}

/* Ajustements pour très petits écrans */
@media (max-width: 360px) {
    .logo {
        width: 100px;
    }

    main {
        margin-top: 100px;
    }

    h2 {
        font-size: 1.3rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .full-width-image {
        height: 200px;
    }
}

/* Language Switcher */
.lang-switch {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.lang-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: #666;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.lang-btn:hover:not(.active) {
    background-color: #f5f5f5;
    border-color: #999;
}
