/* ===== LAYOUT GENERAL DE LA PAGE ===== */
body {
    padding-right: 0;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
}

.contenu {
    display: flex;
    flex: 1;
}

/* ===== TEXTE ===== */
.texte {
    width: 50%;
    padding: 70px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.texte h4 {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #555;
    margin-bottom: 15px;
}

.texte h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
}

.texte p {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
}

.contact {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact p {
    margin-top: 100px;
    margin-bottom: 20px;
    font-weight: bold;
}

.socials {
    list-style: none;
    margin-top: 10px;
    display: flex;
    justify-content: flex-start;
    gap: 30px;
}

.socials li { display: flex; align-items: center; }
.socials img { width: 20px; height: 20px; margin-right: 8px; }

.socials a img {
    display: inline-block;
    vertical-align: middle;
}

/* ===== IMAGE ===== */
.image-section {
    width: 50%;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {

    .contenu {
        flex-direction: column;
    }

    .image-section {
        display: block;
        width: 100%;
        height: 250px; 
        order: -1; 
    }

    .texte {
        width: 100%;
        padding: 30px;
    }

    .texte h1 {
        text-align: center;
    }

    .socials {
        flex-direction: column;
        gap: 15px;
    }
}