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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
    background: #000;
    display: flex;
}

/* ============================================================
           LOGO EN HAUT À GAUCHE
           ============================================================ */
.logo-container {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 200;
}

.logo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.15);
    transition: all 0.3s ease;
    background: #fff;
}

.logo:hover {
    box-shadow: 0 0 35px rgba(0, 255, 0, 0.5);
    border-color: rgba(0, 255, 0, 0.6);
    transform: scale(1.08) rotate(3deg);
}

/* ============================================================
           SECTIONS — les 3 panneaux cliquables
           ============================================================ */
.section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.section:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
    z-index: 10;
}

/* Section Projets - Gauche avec Matrix */
.section-projets {
    width: 40%;
    background: #000;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    z-index: 3;
}

#matrix {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.section-projets .content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-right: 50px;
}

/* Section Photos - Centre */
.section-photos {
    width: 40%;
    background: linear-gradient(135deg, #9a9a9a 0%, #b0b0b0 100%);
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
    z-index: 2;
    margin-left: -5%;
}

/* Section Autres - Droite */
.section-autres {
    width: 40%;
    background: linear-gradient(135deg, #6a6a6a 0%, #808080 100%);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
    margin-left: -5%;
}

.section h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.9);
    font-weight: 700;
}

.section p {
    color: #e8e8e8;
    font-size: 1.2rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}

.camera-icon {
    font-size: 6rem;
    margin-bottom: 20px;
    filter: drop-shadow(4px 4px 20px rgba(0, 0, 0, 0.8));
}

/* Copyright en bas */
.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 0;
    text-align: center;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.copyright p {
    color: #e8e8e8;
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/* ============================================================
           RESPONSIVE TV / GRANDS ÉCRANS
           ============================================================ */
@media (min-width: 1920px) {
    .section h2 {
        font-size: 4.5rem;
    }

    .section p {
        font-size: 1.8rem;
    }

    .camera-icon {
        font-size: 9rem;
    }

    .section-projets .content {
        margin-right: 80px;
    }

    .copyright p {
        font-size: 1.2rem;
    }
}

/* ============================================================
           RESPONSIVE TABLETTE
           ============================================================ */
@media (max-width: 1024px) and (min-width: 769px) {
    .section-projets {
        width: 40% !important;
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
        margin-left: 0;
    }

    .section-photos {
        width: 40% !important;
        clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
        margin-left: -5%;
    }

    .section-autres {
        width: 40% !important;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
        margin-left: -5%;
    }

    .section-projets .content {
        margin-right: 0;
    }

    .section h2 {
        font-size: 2.2rem;
    }

    .section p {
        font-size: 1rem;
    }

    .camera-icon {
        font-size: 4rem;
    }
}

/* ============================================================
           RESPONSIVE MOBILE
           ============================================================ */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .logo {
        width: 65px;
        height: 65px;
    }

    .section {
        width: 100% !important;
        min-height: 100vh !important;
        height: auto !important;
        clip-path: none !important;
        margin-left: 0 !important;
        transform: none !important;
    }

    .section:hover {
        transform: none !important;
    }

    .section-projets .content {
        margin-right: 0;
    }

    .section h2 {
        font-size: 2.5rem;
    }

    .section p {
        font-size: 1.1rem;
    }

    .camera-icon {
        font-size: 5rem;
    }

    .copyright {
        position: relative;
        margin-top: auto;
    }
}