.expositions {
    margin-top: 8%;
}

.titre-ligne {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 3%;
    margin-bottom: 4%;
}

.titre-ligne h2 {
    margin: 0;
    white-space: nowrap;
    font-size: clamp(32px, 6vw, 56px);
}

.separateur {
    flex-grow: 1;
    height: 0.04rem;
    background-color: #000;
}

.exposition-card {
    display: flex;
    align-items: center;
    gap: 2%;
    margin-bottom: 3%;
    flex-wrap: nowrap;
}

.exposition-text {
    flex: 1 1 50%;
    padding-left: 3%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exposition-text h3 {
    font-size: clamp(24px, 4vw, 40px);
    margin-bottom: 12px;
}

.exposition-text p {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.5;
}

.exposition-image {
    position: relative;
    flex: 1 1 45%;
}

.exposition-image::before {
    content: "";
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    background-color: #2C6E56;
    z-index: 0;
}

.exposition-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
}

.evenement-card {
    display: flex;
    align-items: center;
    gap: 2%;
    margin-bottom: 6rem;
    margin-top: 6rem;
}


.button-exposition {
    background-color: #2C6E56;
    color: white;
    border: solid 2px #D6BA59;
    padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 30px);
    font-size: clamp(14px, 4vw, 18px);
    width: fit-content;
    text-decoration: none;
}

.evenement-image {
    flex: 1 1 45%;
    box-sizing: border-box;
}

.evenement-image img {
    width: 65%;
    height: auto;
    display: block;
}

.evenement-image1 {
    position: relative;
    padding-left: 10%;
}

.evenement-image1::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 85px;
    width: 50%;
    height: 100%;
    background-color: #2C6E56;
    z-index: 0;
}

.evenement-image1 img {
    position: relative;
    z-index: 1;
    width: 65%;
    height: auto;
    display: block;
}

.evenement-image2 {
    position: relative;
    padding-left: 10%;
}

.evenement-image2::before {
    content: "";
    position: absolute;
    bottom: 25px;
    right: 95px;
    width: 50%;
    height: 100%;
    background-color: #2C6E56;
    z-index: 0;
}

.evenement-image2 img {
    position: relative;
    z-index: 1;
    width: 65%;
    height: auto;
    display: block;
}

.evenement-image3 {
    position: relative;
    padding-left: 10%;
}

.evenement-image3::before {
    content: "";
    position: absolute;
    top: 25px;
    right: 145px;
    width: 45%;
    height: 100%;
    background-color: #2C6E56;
    z-index: 0;
}

.evenement-image3 img {
    position: relative;
    z-index: 1;
    width: 65%;
    height: auto;
    display: block;
}

.evenement-text {
    flex: 1 1 50%;
    padding-left: 3%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.button-see-more {
    background-color: #2C6E56;
    color: white;
    border: solid 2px #D6BA59;
    padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 30px);
    font-size: clamp(14px, 4vw, 18px);
    width: fit-content;
    text-decoration: none;
}

.evenements .evenement-card:nth-of-type(2) {
    flex-direction: row-reverse;
}

.exposition-card button {
    background-color: #2C6E56;
    color: white;
    border: solid 2px #D6BA59;
    padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 30px);
    font-size: clamp(14px, 4vw, 18px);
    cursor: pointer;
    margin-top: 15px;
}

.evenement-button {
    background-color: #2C6E56;
    color: white;
    border: solid 2px #D6BA59;
    padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 30px);
    font-size: clamp(14px, 4vw, 18px);
    cursor: pointer;
    text-decoration: none;
    margin-top: 15px;
    width: fit-content;
}

.actualite-card {
    display: flex;
    align-items: center;
    gap: 4%;
    margin: 6rem 0;
}

.actualite-text {
    flex: 1 1 50%;
    padding-left: 3%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.actualite-image {
    position: relative;
    flex: 1 1 45%;
}

.actualite-image::before {
    content: "";
    position: absolute;
    bottom: 45px;
    left: 110px;
    width: 55%;
    height: 90%;
    background-color: #2C6E56;
    z-index: 0;
}

.actualite-image img {
    position: relative;
    z-index: 1;
    width: 65%;
    height: auto;
    display: block;
}

.image_apropos {
    width: 100%;
}

.encadre2 {
    position: relative;
    background-color: #2C6E56;
    color: white;
    padding: 50px;
    max-width: 500px;
    margin-top: -20%;
    margin-left: 52%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 5%;
}

/* Titres dans l'encadré */
.encadre2 h1,
.encadre2 h2,
.encadre2 h3 {
    font-family: 'Strawford', sans-serif;
    font-weight: 500;
}

/* Paragraphe */
.encadre2 p {
    font-family: 'Figtree', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
}

/* Bouton */
.encadre2 button {
    background-color: #2C6E56;
    color: #ffffff;
    border: solid 2px #D6BA59;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
}

@media (max-width: 768px) {

    .actualite-card{
        margin: 2rem 0;
    }

    /* ==================== TRAITS ET RECTANGLES ==================== */
    .separateur,
    .exposition-image::before,
    .evenement-image::before,
    .evenement-image1::before,
    .evenement-image2::before,
    .evenement-image3::before,
    .actualite-image::before {
        display: none;
    }

    /* ==================== EXPOSITIONS ==================== */
    .exposition-card {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .exposition-image {
        order: 2;
        padding: 0;
        width: 100%;
    }

    .exposition-image img {
        width: 100%;
        height: auto;
    }

    .exposition-text {
        order: 3;
        padding-left: 4%;
    padding-right: 8%;
    }

    .exposition-text h3 {
        font-size: clamp(20px, 5vw, 28px);
    }

    .exposition-text p {
        font-size: clamp(14px, 4vw, 16px);
    }

    .exposition-card button {
        margin-bottom: 30px;
    }

    /* ==================== ÉVÉNEMENTS ==================== */
    .evenement-card {
        flex-direction: column;
        align-items: stretch;
        margin-top: 2rem;
        margin-bottom: 2rem;
        gap: 16px;
    }

    .evenements .evenement-card:nth-of-type(2) {
        flex-direction: column;
    }

    .evenement-image,
    .evenement-image1,
    .evenement-image2,
    .evenement-image3 {
        order: 2;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .evenement-image img,
    .evenement-image1 img,
    .evenement-image2 img,
    .evenement-image3 img {
        width: 100%;
        height: auto;
    }

    .evenement-text {
        order: 3;
        padding-left: 4%;
        padding-right: 8%;
    }

    .evenement-text h3 {
        font-size: clamp(20px, 5vw, 28px);
    }

    .evenement-text p {
        font-size: clamp(14px, 4vw, 16px);
    }

    .evenement-card button {
        margin-bottom: 30px;
    }

    .titre-ligne h2 {
        font-size: clamp(24px, 7vw, 36px);
    }

    /* ==================== ACTUALITÉS ==================== */
    .actualite-card {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .actualite-image {
        order: 2;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .actualite-image img {
        width: 100%;
        height: auto;
    }

    .actualite-text {
        order: 3;
        padding-left: 4%;
        padding-right: 8%;
    }

    .actualite-text h3 {
        font-size: clamp(20px, 5vw, 28px);
    }

    .actualite-text p {
        font-size: clamp(14px, 4vw, 16px);
    }

    .actualite-card button {
        margin-bottom: 30px;
    }

    /* ==================== A PROPOS ==================== */

    .encadre2 {
        box-sizing: border-box;
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 40px 20px;
    }

    .encadre2 h1,
    .encadre2 h2,
    .encadre2 h3,
    .encadre2 p {
        text-align: left;
    }


    .encadre2 h1 {
        font-size: clamp(24px, 6vw, 32px);
    }

    .encadre2 p {
        font-size: clamp(14px, 4vw, 18px);
    }

    .encadre2 button {
        padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 30px);
        font-size: clamp(14px, 4vw, 18px);
    }
}