﻿body, .partners-section, .footer-section, .properties-section, .profile-section, .info-section, .social-section {
    background: var(--primary-bg) !important;
}


.profile-section {
    color: #fff;
    min-height: 100vh;
    position: relative;
}
    /* Dégradé noir en haut de la section */
    .profile-section::before {
        content: "";
        position: absolute;
        top: 11%;
        left: 0;
        width: 100%;
        height: 250px; /* Ajustez selon le rendu souhaité */

        background: linear-gradient( to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100% );
        z-index: 0;
        pointer-events: none;
    }


.profile-image {
    position: relative;
    overflow: hidden;
}

    .profile-image img {
        width: 100%;
        display:block;
        height: 650px;
        object-fit: cover;
    }
    .profile-image::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 315px;
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 1) 100% );
        z-index: 2;
        pointer-events: none; 
    }

.name {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.job-title {
    font-size: 28px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 30px;
}

.profile-text {
    max-height: 470px;
    overflow-y: auto;
    padding-right: 18px;
}
.pos-text-desc {
    position: relative;
    top: 40px;
}

    /* Scrollbar */

    .profile-text::-webkit-scrollbar {
        width: 8px;
    }

    .profile-text::-webkit-scrollbar-track {
        background: rgba(255,255,255,.15);
        border-radius: 10px;
    }

    .profile-text::-webkit-scrollbar-thumb {
        background: #d8d8d8;
        border-radius: 10px;
    }

    .profile-text p {
        color: #e8edf6;
        line-height: 2;
        font-size: 16px;
        margin-bottom: 30px;
    }

.signature {
    font-family: 'Allura', cursive;
    font-size: 72px;
    color: #fff;
    text-align: right;
    line-height: 1;
    margin-top: 40px;
    font-weight: normal;
}
.info-section {
    padding: 70px 0;
}

.info-box {
    text-align: center;
    color: #fff;
    position: relative;
}

    .info-box h4 {
        font-family: Arial, sans-serif;
        font-size: 28px;
        font-weight: 300;
        letter-spacing: 3px;
        margin-bottom: 15px;
    }

.line {
    height: 1px;
    background: #d9d9d9;
    width: 100%;
    margin-bottom: 22px;
}

.rightArrow {
    position: relative;
}

    .rightArrow::before {
        content: "";
        position: absolute;
        left: 0;
        top: 49px;
        width: 1px;
        height: 80%;
        background: #d9d9d9;
    }

.info-box p {
    font-size: 30px;
    line-height: 1.15;
    margin: 0;
}
@media(max-width:991px) {

    .profile-image img {
        height: auto;
    }

    .name {
        font-size: 34px;
    }

    .job-title {
        font-size: 22px;
    }

    .signature {
        font-size: 48px;
        text-align: center !important;
    }

    .profile-text {
        max-height: none;
        overflow: visible;
    }
}

.contact-modal {
    background: rgba(209,207,207,0.92);
    border-radius: 0;
    border: none;
}

.contact-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

    .contact-title span {
        width: 70px;
        height: 1px;
        background: #294d7a;
    }

    .contact-title h2 {
        margin: 0;
        font-size: 32px;
        letter-spacing: 2px;
        color: #18365d;
        font-weight: 400;
    }
.custom-checkbox {
    border: 2px solid #0C2340;
}
.submit-btn {
    background: #0C2340;
    border: 1px solid #0C2340;
    color: #ffffff;
    font-size: 10pt;
    padding: 4px;
    width: 350px;
}
.consent-row {
    gap: 15px;
}
.consent-text {
    font-size: 8pt;
}

.contact-modal .form-control {
    border: none;
    border-radius: 4px;
    background: #f4f4f4;
    min-height: 48px;
}

    textarea.form-control {
        min-height: 180px;
    }



    .contact-footer h5 {
        color: #0C2340;
    }

    .contact-footer p {
        color: #0C2340;
    }

    .contact-links {
        display: flex;
        justify-content: center;
        gap: 35px;
    }

        .contact-links a {
            color: #0C2340;
            text-decoration: none;
            font-size: 20px;
        }

.social-section{
    min-height:230px;
}
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

    .social-links a {

        display: flex;
        align-items: center;
        justify-content: center;
        transition: .3s;
    }

    .social-links img {

        object-fit: contain;
        display: block;
        transition: .3s;
    }

    .social-links a:hover img {
        transform: scale(1.08);
    }