@import url(https://fonts.googleapis.com/css?family=Montserrat:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic);
@import url(https://fonts.googleapis.com/css?family=Barlow+Condensed:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);
@import url(https://fonts.googleapis.com/css?family=Inter:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic);

:root {
    --primary: #027580;
    --secondary: #F9C66E;
    --tertiary: #EE7563;
    --btn-link: #81BAC0;
}

*,
::before,
::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

textarea::-webkit-scrollbar {
    display: none;
}

li {
    list-style-type: none;
}

button,
input {
    font-family: 'montserrat' !important;
    border: none;
    outline: none;
}
body {
    font-family: 'montserrat';
    background: #fff;
        font-size: 0.92em;

    overflow-x: hidden;
}
#MainBody {
    display: flex;
    flex-direction: column;
}

/* TOP HEADER */
#navDesktop {
    display: block;
}

#navMobile {
    display: none;
}

nav {
    background: #fff;
    padding: 1.2em 3em;
    box-shadow: 0px 2px 4px 0px #00000026;
    z-index: 9999;
}

nav section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4em;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding-inline: 0.3em;

}

#navTransformationMobile section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2em;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding-inline: 0.3em;

}

nav section article:nth-child(1) img {
    width: 96.71px;
    height: 61.47px;
    object-fit: cover;
    cursor: pointer;
}

nav section article:nth-child(2) {
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
    /* margin-left: 10em; */
}

.btn-ctp {
    background: var(--primary);
    color: #fff;
    border-radius: 1em;
    padding: 1.35em 2.5em;
    font-weight: 700;
    cursor: pointer;
    text-wrap: nowrap;
}
.btn-ctp:hover{
    opacity: 0.9;
}
.bg2 {
    background: none;
    border: 1px solid var(--primary);
    padding: 1.35em 2.5em;
    font-weight: 800;
    cursor: pointer;
    color: var(--primary);
    border-radius: 1em;

}

#navTransformationMobile {
    display: none;
}

nav section article:nth-child(2) picture {
    display: flex;
    gap: 1.2em;
    align-items: center;
}

nav section article:nth-child(2) picture input {
    padding: 0.8em;
    /* min-width: 30vw; */
    background: none;
}

nav section article:nth-child(2) picture i {
    /* padding: 0.9em;
    padding-bottom: 0.6em;
    padding-inline: 0.9em;
    background: #f5f5f5; */
    border-radius: 0.8em;
    cursor: pointer;
    transition: 0.1s;
    font-style: normal;
}

nav section article:nth-child(2) picture i span {
    position: absolute;
    /* background: #EE7563; */
    width: 1.5em;
    height: 1.5em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -4.2em;
    margin-left: 2em;
    font-size: 0.6em;
    font-weight: 600;
    font-family: 'montserrat';
    border-radius: 50%;
    color: #fff;
}

/* nav section article:nth-child(2) picture i:hover {
    background: #efefef;
} */

nav section article:nth-child(2) picture i svg {
    text-align: center;
    padding: 0.1em;
}

#Profile img {
    width: 3.5em;
    height: 3.5em;
    /* object-fit: contain; */
    cursor: pointer;
}


#headerMobile {
    display: none;
}

#toggle {
    display: none;
}

#pop-show {
    position: absolute;
    background: #fff;
    border-radius: 1em;
    margin-left: -11em;
    margin-top: 1em;
    overflow: hidden;
    border-top-right-radius: 0.5em;
    outline: 1px solid #d9d9d9;
    z-index: 999999999;
    display: none;
}

#pop-show div {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#pop-show p {
    padding: 1.3em;
    cursor: pointer;
    width: 15em;
    transition: 0.1s;
    display: flex;
    flex-direction: row;
    gap: 0.8em;
    align-items: center;

}

#pop-show p i {
    padding: 0;
    background: none;
}

#pop-show p:hover {
    background: #d9d9d9;

}

/* HEADER */
header {
    /* background: #f5f5f5; */
    background: #fff;
    padding: 0 3em;
}

header section {
    display: flex;
    flex-direction: row;
    justify-content: left !important;
    gap: 2em;
    background: #f5f5f5;
    width: 100%;
    margin: 0 auto;
    padding: 2em 0.5em;
    overflow-x: hidden;
}

header section article {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: 2em;
    text-align: center;
}

header section article p {
    cursor: pointer;
    text-wrap: nowrap;
}

header section article i {
    font-size: 0.5em;
    color: #767575;
}


#i-search {
    display: none;
}

/* FOOTER */
#footerMobile {
    display: none;
}

footer {
    background: #F7F7F7;
    margin-top: 15em;
}

footer section:nth-child(1) svg {
    /* height: 60vh; */
    position: absolute;
    margin-top: -7em;
    z-index: -1;
}

footer img {
    width: 126.71px;
    height: 85.26px;
}

footer section:where(:nth-child(2), :nth-child(3)) {
    display: flex;
    flex-direction: row;
    padding: 1.2em 6em;
    align-items: center;
    justify-content: space-between;
}

footer section:nth-child(2) article:nth-child(2) {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 5em;
}

footer section:nth-child(2) article:nth-child(2) div {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

footer section:nth-child(2) article:nth-child(2) div p {
    cursor: pointer;
}

.bold {
    font-weight: 700;
}

footer section:nth-child(3) {
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
    padding: 1.2em 6em;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;
}

footer section:nth-child(3) article:nth-child(1) {
    font-size: 1.8em;
    color: #D9D9D9;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-left: 0.3em;
}

footer section:nth-child(3) article:nth-child(1) i {
    cursor: pointer;
}

footer section:nth-child(3) article:nth-child(2) {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 2em;
}

footer section:nth-child(3) article:nth-child(2) button {
    background: var(--btn-link);
    border: 1px solid #FFFFFF;
    height: 75px;
    padding: 1.5em 2em;
    border-radius: 1em;
    display: flex;
    align-items: center;
    flex-direction: row;
    color: #fff;
    gap: 1em;
    cursor: pointer;
    text-wrap: nowrap;
}

footer section:nth-child(3) article:nth-child(2) button i {
    font-size: 2.5em;
    color: #fff;
    width: max-content;
}

footer section:nth-child(3) article:nth-child(2) button svg {
    width: 2.8em;
    height: 2.8em;

}

footer section:nth-child(3) article:nth-child(2) button p {
    font-size: 1.1em;
    text-align: left;
}

footer section:nth-child(3) article:nth-child(2) button p span {
    font-weight: 700;
}

footer section:last-child {
    display: flex;
    flex-direction: row;
    padding: 1.5em 6em;
    align-items: center;
    text-align: center;
    /* width: 80%; */
    justify-content: space-between;
    gap: 2em;
}

footer section:last-child p {
    font-weight: 400;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content-wrapper {
    display: flex;
    align-items: stretch;
    max-height: 80vh;
}

.modal-content-img {
    height: 100%;
    width: auto;
    max-width: 45%;
}


.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

.parent_tojo_comment{
    padding: 1em;
    border-top: 1px solid #E8E8E8;
}
.comment {
    /* border-bottom: 1px solid #ddd; */
    /* padding: 10px 0; */
    background: #f4f4f4;
    padding: 1em;
    border-radius: 1em;
    max-width: max-content;
}
.column_commentaire{
    display: flex
;
    flex-direction: column;
    gap: 0.5em;
}
.comment:last-child {
    border-bottom: none;
}

.comment-container{
    display: flex;
    flex-direction: row;
    gap: 1em;
    font-size: 0.9em;
}

.comment-author {
    font-weight: 600;
    color: #1b1b1b;
}

.comment-avatar {
    flex-shrink: 0;
    /* text-align: end; */
    margin-top: 3px;
}

.profile-pic {
    border-radius: 50%;
    object-fit: cover;
}

.comment-text {
    margin-top: 5px;
    color: #555;
    max-width: 100%;
    word-break: break-word;
}

.comment-date {
    font-size: 0.9em;
    color: #999;
    margin-left: 1em;
    /* text-align: right; */
}

.new-comment {
    /* margin-top: 20px; */
    display: flex
;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
    background: #f4f4f4;
    border-radius: 2em;
}

.new-comment textarea {
    /* width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px; */
    background: none;
    border: none;
    outline: none;
    border-radius: 2em;
    padding: 1em 1em;
    padding-left: 1.2em !important;
    resize: none;
    height: 3.8em;
    line-height: 1.8em;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
    display: flex
;
    font-family: 'montserrat' !important;
    align-items: center;
}
.new-comment textarea:focus{
    border: none;
    outline: none;
}

.new-comment button {
    pointer-events: none;
    opacity: 0.5; /* facultatif pour montrer qu'il est désactivé */
    transition: opacity 0.2s ease;
    cursor: pointer !important;
}

.comment_post:not(:placeholder-shown) + button {
    pointer-events: auto;
    opacity: 1;
    /* cursor: not-allowed; */

}
.new-comment button {
    /* margin-top: 10px; */
    /* padding: 10px 20px; */
    background-color: #027580;
    color: white;
    border: none;
    border-radius: 50%;
    /* cursor: pointer; */
    display: flex
    ;
        justify-content: center;
        align-items: center;
        margin-right: 0.5em;
}

.new-comment button:hover {
    background-color: #017e8a;
}

.modal-media {
    display: none;
    position: fixed;
    z-index: 99999999999999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content-media {
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
    background-color: white;
    /* padding: 20px; */
    /* border-radius: 8px; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    width: 100%;
    max-width: 100%;
    height:100%;
    text-align: center;
    /* grid-template-columns: repeat(2, 1fr);
    display: grid;
    align-items: center;
    justify-content: space-between; */
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3em;
}

@media screen and (max-width: 930px) {
    .modal-content-media {

        flex-direction: column;
        display: flex;
        align-items: start;
        gap: 1.5em;
    }
    .modal-grid-col-1{
        width: 100% !important;
    }
    /* #media-container-media {
        align-items: start !important;
    } */

    .modal-grid-col-2{
        justify-content: start !important;
        padding: 0 2em;
        width: 100% !important;
    }
    .modal-content-media .close1 {
  
        margin: 0.1em !important;
    
    }
    .modal-content-media .close1-video {
  
        margin: 0.1em !important;
    
    }

    .emoji_picto_detail{
        width: 2.8em !important;
        height: 2.8em !important;
    }

    #voir-plus-video{
        display:none !important;
    }
}

.modal-content-media .close1 {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0.5em;
    font-size: 3em;
    /* font-weight: bold; */
    color: black;
    width: 1em;
    flex-direction: row;
    display: flex
;
    justify-content: center;
    align-items: center;
    height: 1em;
    cursor: pointer;
    transition: 0.1s;
    border-radius: 0.1em;
    z-index: 9999999999999999999;
}
.modal-content-media .close1:hover{
    background: #ebebeb77;
}

#media-container-media {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1em;
    align-items: center;
    /* flex-wrap: wrap; */
    height: 100%;
    /* background: #f5f5f5; */
    padding: 1em;
    width: 100%;
    border-radius: 0.8em;
    overflow: hidden;
}
#media-container-media-video {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1em;
    align-items: center;
    /* flex-wrap: wrap; */
    height: 100%;
    /* background: #f5f5f5; */
    padding: 1em;
    width: 100%;
    border-radius: 0.8em;
    overflow: hidden;
}

.modal-grid-col-1{
    position: relative;
    aspect-ratio: 3 / 2;   
    width: 60%;
    scale: 0.95;
}
.modal-grid-col-2{
    /* width: 50%; */
    background: #ffffff;
    /* margin: 0 auto; */
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    height: 100%;
    justify-content: center;
    align-items: baseline;    
    width: 30%;  
    /* flex: 1; */
}

.media-item{
    /* height:50%; */
    display: flex;
    flex-direction: row;
    /* gap: 0.5em; */
    width: 100%;

    transform: translateX(0);
    transition: transform 0.5s ease-in-out;
    /* aspect-ratio: 3 / 2; */

    border-radius: 1em;
    overflow: hidden;
}
/* Style des images */
#media-container-media img {
    max-width: 100%;
    /* max-height: 50%; */
    width: 50%;
    /* height: 100%; */
    /* width: auto; */
    height: auto;
    /* border: 2px solid #ddd; */
    /* border-radius: 8px; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    object-fit: cover;
    /* aspect-ratio: 3 / 4; */
    padding: 0.1em;

    aspect-ratio: 2.99 / 2.99;
}
#media-container-media-video img {
    max-width: 100%;
    /* max-height: 50%; */
    width: 50%;
    /* height: 100%; */
    /* width: auto; */
    height: auto;
    /* border: 2px solid #ddd; */
    /* border-radius: 8px; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    object-fit: cover;
    /* aspect-ratio: 3 / 4; */
    padding: 0.1em;

    aspect-ratio: 2.99 / 2.99;
}



/* MANSORY */

#prev-media,
#next-media {
    background-color: #fff;
    /* background-color: #EE7563; */
    color: black;
    border: none;
    /* padding: 10px 20px; */
    font-size: 1em;
    cursor: pointer;
    border-radius: 0.8em;
    /* margin: 1.1em; */
    transition: background-color 0.3s ease;
    /* outline: 1px solid #fff; */
    height: 3em;
    width:3em;
    display: flex
;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.95em;
}

#prev-media:hover,
#next-media:hover {
    /* background-color: #ee7563ef; */
    background-color: #e7e7e7ef;
}

.modal-content-media button:disabled{
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}
.modal-content-media button:disabled:is(:hover){
    background-color: #fff !important;

}

#prev-media {
    position: absolute;
    top: 50%;
    left: 2.2em;
    transform: translateY(-50%);
}

#next-media {
    position: absolute;
    top: 50%;
    right: 2.2em;
    transform: translateY(-50%);
}

.breadcrumb {
    display: flex;
    flex-direction: column-reverse;
    /* Empile les éléments de bas en haut */
    align-items: flex-start;
    /* Aligne les éléments à gauche */
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-item {
    position: relative;

    text-decoration: none;
    padding: 10px 0;
}


.breadcrumb-item:hover {
    text-decoration: underline;
}

/* new solution listing similar */

.galleryListingSolution {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 100%;
    gap: 1em;
    row-gap: 3em;
    width: 100%;
}

.parentListingSolution {
    /* background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    /* border-radius: 8px; */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}


/* .parentListingSolution:hover .row {
            opacity: 0.8;
        } */
.parentListingSolution:hover .rowListingSolution .image-wrapper {
    opacity: 0.95;
}

.rowListingSolution {
    display: flex;
    overflow: hidden;
    /* aspect-ratio: 5 / 3; */
    width: 100%;
    border-radius: 1.8em;
    position: relative;
        max-height: max-content;
}

.image-wrapper {
    flex: 1;
    overflow: hidden;
    transition: 0.1s;
    height: max-content;
}



.image-wrapper img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    display: block;
        aspect-ratio: 2.99 / 2.99;
    max-height: max-content;
}

.parentListingSolution h4,
.parentListingSolution p {
    /* padding: 10px 15px; */
    margin: 0;
}

.parentListingSolution p {
    font-weight: 500;
}





@media (min-width: 480px) {
    .galleryListingSolution {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .galleryListingSolution {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .galleryListingSolution {
        grid-template-columns: repeat(4, 1fr);
    }

    .responsive-div {
        width: 85.5% !important;
        margin: 0 auto;
    }
}

.col-listing-tj {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-top: 1em;
}

.row-prf {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
    margin-bottom: 0.5em;
}

.img-prf {
    width: 3em !important;
    height: 3em !important;
    border-radius: 50%;
    object-fit: cover;
}

#heart {
    margin: 0.8em;
    position: absolute;
    right: 0;
    cursor: pointer;
    transition: 0.1s;
}

#heart:hover {
    scale: 1.05;
}

.spanDelai {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7em;
    /* font-weight: 600; */
}

.responsive-div {
    width: 95.5%;
    margin: 0 auto;
}


.nav-btn {
    color: #fff;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 0.5em;
    background: none;
    position: absolute;
}

.nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    display: none;
}

.row-profil-tojo-listed{
      display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#prevBtn {
           
    margin-left: -1.3em;
    z-index: 99999999999;
    left: 0;
        }

        #nextBtn {
          
            margin-right: -1.3em;
            z-index: 99999999999;
            right: 0;
        } 



        /* VIDEO */
        .modal-content-media .close1-video {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0.5em;
    font-size: 3em;
    /* font-weight: bold; */
    color: black;
    width: 1em;
    flex-direction: row;
    display: flex
;
    justify-content: center;
    align-items: center;
    height: 1em;
    cursor: pointer;
    transition: 0.1s;
    border-radius: 0.1em;
    z-index: 9999999999999999999;
}
.modal-content-media .close1-video:hover{
    background: #ebebeb77;
}



/* VIDEO */
#prev-media-video,
#next-media-video {
    background-color: #fff;
    /* background-color: #EE7563; */
    color: black;
    border: none;
    /* padding: 10px 20px; */
    font-size: 1em;
    cursor: pointer;
    border-radius: 0.8em;
    /* margin: 1.1em; */
    transition: background-color 0.3s ease;
    /* outline: 1px solid #fff; */
    height: 3em;
    width:3em;
    display: flex
;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.95em;
}

#prev-media-video:hover,
#next-media-video:hover {
    /* background-color: #ee7563ef; */
    background-color: #e7e7e7ef;
}

#prev-media-video {
    position: absolute;
    top: 50%;
    left: 2.2em;
    transform: translateY(-50%);
}

#next-media-video {
    position: absolute;
    top: 50%;
    right: 2.2em;
    transform: translateY(-50%);
}