/* === STYLES GLOBAUX === */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    background: #fff;
    color: #000;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 14px;
}

/* === HEADER === */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: #fff;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.5px;
}

h1 a {
    color: #000;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 15px;
}

nav a {
    color: #000;
    text-decoration: none;
    font-size: 0.875rem;
    border: 1px solid #000;
    padding: 6px 12px;
    transition: all 0.2s;
}

nav a:hover {
    background: #000;
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: #000;
}

/* === MAIN === */

main {
    margin-top: 70px;
}

/* === CONTENEURS === */

.container {
    padding: 20px;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === TITRES === */

h2 {
    font-size: clamp(1.125rem, 3vw, 1.75rem);
    margin-bottom: 15px;
    font-weight: 700;
}

h3 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 15px;
    font-weight: 700;
}

h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

/* === TEXTES === */

p {
    font-size: 0.875rem;
    line-height: 1.8;
}

/* === FOOTER === */

footer {
    margin-top: 80px;
    padding: 30px 20px;
    text-align: center;
    font-size: 0.8125rem;
}

/* === NOISE EFFECT === */

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.02;
    z-index: 999;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
}

/* === LIENS === */

.back-link {
    display: inline-block;
    margin: 40px 0;
    padding: 10px 20px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.back-link:hover {
    background: #000;
    color: #fff;
}

/* === RESPONSIVE === */

@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 15px 20px;
    }

    nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}