/* ---------- BASE ---------- */
body {
    margin: 0;
    background: #f4f4f4;
    font-family: League;
    font-size: 16px;
    color: #000;

    /* on respecte header.css */
    
}
html {
    overflow-y: scroll;
}


/* ---------- BANNIÈRE (INCHANGÉE) ---------- */
.project-banner {
    width: 100%;
    border-bottom: 1px solid #000;
    background: #eaeaea;
    padding: 30px 30px 10px;
}

.project-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: Grave;
}

/* ---------- ZONE PROJET ---------- */
/* 100vh - header (déjà géré par padding-top) - bannière */
.container-projet {
    height: calc(115vh - 90px);
}

.container-projet > .row {
    height: 100%;
}

/* ---------- COLONNES ---------- */
.col-icons,
.col-principal,
.col-scroll-img {
    position: relative;
    height: 100%;
    padding: 25px;
    box-sizing: border-box;
    background: #eaeaea;
}

/* séparations verticales */
.col-principal::before,
.col-scroll-img::before {
    content: "";
    position: absolute;
    left: 0;
    top: 40px;
    height: calc(100% - 80px);
    width: 1px;
    background: #000;
}

/* ---------- ICÔNE PROJET (COLONNE GAUCHE) ---------- */
.project-icon {
    width: 64px;
    height: 64px;
    border: 2px solid #000; /* IMPORTANT : 2px comme tu l’as demandé */
    padding: 6px;
    margin-bottom: 20px;
    background: #f4f4f4;
    object-fit: contain;
}




/* ---------- COLONNE CENTRALE ---------- */
.project-image {
    max-width: 100%;
    max-height: 70vh;
    margin-bottom: 20px;
    border: 1px solid #000;
    cursor: zoom-in;
}

.desc {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ---------- COLONNE DROITE (SCROLL SEUL) ---------- */
.col-scroll-img {
    overflow-y: auto;
    scrollbar-width: thin;
}

.scroll-img {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #000;
    cursor: zoom-in;
}

/* ---------- ZOOM ---------- */
#zoom-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 20000;
}

#zoom-overlay img {
    max-width: 90%;
    max-height: 90%;
    border: 1px solid #000;
}

/* ---------- MOBILE ---------- */
@media (max-width: 992px) {
    body {
        overflow: auto;
    }
    .container-projet {
        height: auto;
    }
    .project-image {
        float: none;
        max-width: 100%;
    }
}