/* =================================
   PAGE QUELQUES NUAGES
   ================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 30px 24px;
    background: #fff;
    color: #535353;
    font-family: "Times New Roman", Times, serif;
}

.site-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 120px;
    flex-wrap: wrap;
    padding-bottom: 25px;
    border-bottom: 1px solid #dedede;
}

.brand img {
    display: block;
    width: 268px;
    max-width: 100%;
    height: auto;
}

.icon-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.icon-nav a {
    display: inline-flex;
    padding: 2px;
}

.icon-nav img {
    display: block;
    width: 67px;
    height: auto;
}

.page-title {
    margin: 28px 0;
    font-size: 25px;
    font-weight: normal;
}

.work-title {
    margin: 0 0 35px;
    font-size: 19px;
    font-weight: bold;
}

.work-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 65px;
    align-items: start;
}

.work-text {
    font-size: 15px;
    line-height: 1.5;
    font-style: italic;
}

.work-image img {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
}

.partition-link {
    display: inline-block;
    margin-top: 10px;
    color: #52668f;
    font-size: 14px;
    text-decoration: none;
}

.partition-link:hover {
    text-decoration: underline;
}

/* Adaptation aux écrans plus petits */

@media (max-width: 760px) {
    body {
        padding: 22px 16px;
    }

    .site-header {
        flex-direction: column;
        gap: 20px;
    }

    .work-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .work-image img {
        width: 360px;
    }
}

@media (max-width: 480px) {
    .icon-nav img {
        width: 52px;
    }

    .work-title {
        margin-bottom: 22px;
    }
}
/* Navigation des catégories d'œuvres */

.oeuvres {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 20px;
    margin-top: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dedede;
}

.oeuvres a {
    color: #52668f;
    font-size: 14px;
    text-decoration: none;
}

.oeuvres a:hover {
    text-decoration: underline;
}
/* =================================
   STRUCTURE COMMUNE DU CATALOGUE
   ================================= */

.page-layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 76px;
    margin-top: 46px;
}

.catalogue {
    border-right: 1px solid #e5e2dc;
    padding-right: 28px;
    min-height: 520px;
}

.catalogue-label {
    margin-bottom: 22px;
    color: #858585;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.oeuvres {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.oeuvres a {
    color: #777777;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.oeuvres a.active {
    color: #303030;
    font-weight: bold;
}

.oeuvres a:hover {
    color: #303030;
}

.work-main {
    min-width: 0;
}

.rubrique {
    margin-bottom: 22px;
    font-size: 25px;
}

.work-heading {
    margin: 0;
    color: #303035;
    font-size: 54px;
    font-weight: normal;
    line-height: 1.15;
}

.heading-line {
    width: 52px;
    height: 2px;
    margin: 20px 0 38px;
    background: #687b9a;
}

.work-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 42px;
    align-items: start;
}

.work-text {
    font-size: 19px;
    line-height: 1.75;
    color: #353535;
}

.work-image {
    border-left: 1px solid #e5e2dc;
    padding-left: 18px;
    margin-top: -27px;
}

.work-image img {
    display: block;
    width: 100%;
    height: auto;
}

.partition-link {
    display: block;
    margin-top: 14px;
    color: #687b9a;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}

.partition-link:hover {
    text-decoration: underline;
}

/* Adaptation aux écrans plus petits */

@media (max-width: 760px) {

    .page-layout {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 30px;
    }

    .catalogue {
        border-right: none;
        border-bottom: 1px solid #e5e2dc;
        padding: 0 0 22px;
        min-height: auto;
    }

    .oeuvres {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 20px;
    }

    .work-heading {
        font-size: 40px;
    }

    .work-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .work-image {
        border-left: none;
        padding-left: 0;
    }

    .work-image img {
        width: 360px;
        max-width: 100%;
    }
}
.site-header .icon-nav {
    margin-left: -30px;
}