/* MAIN */
#MainHome {}

#MainHome #imgGallery {
    display: flex;
    flex-direction: row;
    justify-content: center;
    row-gap: 2em !important;
    column-gap: 2em !important;
    padding: 1em 0.5em;
    width: max-content;
    margin: 0 auto;
    width: 100%;
    /* height: 50em; */
    /* overflow: hidden; */
    /* background: red; */
    position: relative;
}

.img {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}

.img picture {
    /* background: green; */
    height: 100%;
    width: 100%;
    /* margin-top: -1em; */
}

.img picture img {
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items: center;
    object-position: 50%;
    /* object-fit: cover; */
    /* margin-top: 5em; */
}

#MainHome #imgGallery article {
    display: flex;
    flex-direction: column;
    row-gap: 2em !important;
    column-gap: 2em !important;
    z-index: -999;
    margin-top: -9.5em;
}

.mt-top1 {
    /* margin-top: -15em; */
    margin-top: -0.8em;
}

.mt-top1 picture:nth-child(3) {
    margin-top: -1.3em;
}

.mt-top1 picture:last-child {
    margin-top: -1em;
}

.mt-top2 {
    margin-top: -0.8em;
}

.mt-top2 picture:nth-child(3) {
    margin-top: -1.3em;
}

.mt-top2 picture:last-child {
    margin-top: -1.7em;
}

.mt-top3 {
    margin-top: -2.5em;
}
.mt-top3 picture:nth-child(2){
    margin-top: -2.5em;
}

.mt-top4 {
    margin-top: -0.8em;
}

.mt-top4 picture:nth-child(3) {
    margin-top: -0.9em;
}

.mt-top4 picture:last-child {
    margin-top: -1em;
}

.mt-top5 {
    margin-top: -3.9em;
}

.mt-top6 {
    margin-top: -1em;
}

.mt-top6 picture:nth-child(3) {
    margin-top: -1em;
}

.mt-top6 picture:last-child {
    margin-top: -1em;
}

.mt-top7 {
    margin-top: -8em;
}

#MainHome #imgGallery img {
    /* width: 13em; */
    max-height: max-content;
    /* height: 21vh; */
    object-fit: cover;
    border-radius: 1em !important;
}

#ctp-pop {
    display: none;
}

#pop-up {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    /* inset: 10%; */
    /* margin: auto; */  align-items: center;
    justify-content: center;
    /* left: 27%; */
    /* margin-top: 14.5em; */
    /* width: 42vw; */
    /* height: 15.5vh; */
    background: #FFFFFF;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
    border-radius: 1.5em;
z-index: 999 !important;
margin-top: -11.2em !important;
padding: 3em 0.5em;
width: min-content;
height: 15.5em;
min-width: 38em;
}

@media only screen and (min-width:1600px) {
    #pop-up {
 
margin-top: -13.5em !important;
}
}

#pop-up div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
}

#pop-up div p {
    font-size: 1.5em;
    font-weight: 800;
    width: 80%;
    text-align: center;
    font-family: 'inter';
    text-wrap: wrap;
    display: flex;
    justify-content: center;
}

#pop-up div button {
    margin: 0 auto;
    font-size: 1em;
    /* width: 60%; */ 
    padding: 1.35em 2.4em !important;

}


/* NEW */
.img_BA_absolute {
    position: absolute;
    top: 0;
    width: 7em;
    height: auto;
    max-width: max-content !important;
    max-height: max-content !important;
    object-fit: contain;
    pointer-events: none;
    margin: -1.3em;
    margin-top: -2em;
}

.avant_new_img {
    left: 0;
}

.after_new_img {
    right: 0;
}


#pop-up2 div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2em;
    width: 90%;
    margin: 0 auto;
    padding: 2em 0;
}

#pop-up2 div p {
    font-size: 1.3em;
    font-weight: 700;
    text-align: center;
    text-wrap: wrap;
    width: 70%;
}

#pop-up2 div picture {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 1.5em;
}

#pop-up2 div button {
    width: 23em;
    font-size: 0.9em;
}


/* Annonce */
#Annonce {
    margin-top: -7em;
}

#AnnonceMobile {
    display: none;
}

#Annonce img {
    width: 9em;
    height: 15em;
    position: absolute;
    object-fit: contain;
    display: none;
}

#AnnonceMobile img {
    width: 9em;
    height: 15em;
    position: absolute;
    display: none;
    object-fit: contain;
}

#Annonce img:nth-child(2) {
    margin-top: 4.5em;
    margin-left: 5.5em;
    left: 0;
}

#Annonce img:nth-child(4) {
    right: 0;
    margin-top: -5em;
    margin-right: 5.5em;
    width: 6em;
    height: 15em;
}

#Annonce svg {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
    position: absolute;
    margin-top: 0em;
    z-index: -1;
    /* left: -5%; */
    object-fit: cover;
    padding: 0 !important;
}


/* NEW categ modif css tojo */
.categorie_visuel_ui_new_tojo {
           
    max-width: max-content;
   
    text-wrap: wrap;
    text-overflow: ellipsis;
    line-height: 1.3em;
    overflow: hidden;
    font-weight: 600;
    display:flex;
    align-items: center;
    gap: 0.4em;
    /* margin-left: -0.5em !important; */
    /* font-size: 0.9em; */
    text-transform: capitalize;
}

.categorie-container {
display: flex;
align-items: center;
gap: 0.5em;
font-weight: 500;
/* font-size: 0.9em; */
text-transform: capitalize;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-left: -0.1em;
}


/* #AnnonceMobile svg {
    width: 100%;
    height: max-content;
    min-width: 100% !important;
    position: absolute;
    margin-top: -5.5em;
    z-index: -2;
    object-fit: cover;
    padding: 0 !important;
    scale: 1;
    filter: drop-shadow(-2px -2px 0px #00000040);
} */

#Annonce article:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    gap: 5em;
    width: 60%;
    padding-top: 10em;
    text-align: center;
}

#title {
    width: 80%;
    /* font-size: 1.1em; */
    line-height: 1.5em;
}

#Annonce article:nth-child(3) div p {
    text-align: center;
    font-weight: 700;
}

#Annonce article:nth-child(3) div {
    display: flex;
    width: 95%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    align-items: center;
    background: #F0FBF7;
    border-radius: 1.5em;
    padding: 2em;
}

#Annoncepoint {
    display: flex;
    flex-direction: column;
    gap: 10em;
    margin-top: 8em;
    z-index: 99999;
}

#Annoncepoint article:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    gap: 2em;
    width: 60%;
    text-align: center;
}

#Annoncepoint article:nth-child(1) p:nth-child(1) {
    font-weight: 800;
    font-size: 1.7em;
}

#Annoncepoint article:nth-child(1) p:nth-child(2) {
    font-weight: 500;
    font-family: 'Barlow Condensed';
    font-size: 1.3em;
}

#Annoncepoint article:nth-child(1) p:nth-child(3) span {
    z-index: 99999;
    font-weight: 700;
    text-wrap: nowrap;
}

#underline {
    padding: 0.3em;
    width: 18.5vw;
    background: #81BAC0;
    position: absolute;
    z-index: -9999;
    margin-top: -0.6em;
}

#underline2 {
    padding: 0.3em;
    width: 21.5vw;
    background: linear-gradient(156.6deg, #EF7A64 -8.29%, #FAC16F 101.3%);
    position: absolute;
    z-index: -9999;
    margin-top: -0.6em;
}

#Annoncepoint article:nth-child(2) {
    background: #f7f7f7;
    display: flex;
    flex-direction: row;
    gap: 3em;
    border-radius: 1.5em;
    justify-content: space-between;
    margin: 0 auto;
    width: 97%;
    z-index: 999;
    padding: 4em 2em;
}

#Annoncepoint article:nth-child(2) picture:nth-child(1) {
    margin-bottom: -8em;
}

#Annoncepoint article:nth-child(2) picture:nth-child(1) i {
    background: #81BAC0;
    height: max-content;
    padding: 1em 1.3em;
    border-radius: 1em;
}

.AnnonceExploreMobile article:nth-child(2) picture i {
    background: #EE7563 !important;
    height: max-content;
    padding: 1em 1.3em;
    border-radius: 1em;
}

#Annoncepoint article:nth-child(2) picture:nth-child(2) {
    margin-top: -8em;
}

#Annoncepoint article:nth-child(2) picture:nth-child(2) i {
    background: linear-gradient(156.6deg, #EF7A64 -8.29%, #FAC16F 101.3%);
    height: max-content;
    padding: 1em 1.3em;
    border-radius: 1em;
}

.AnnonceExploreMobile {
    display: none !important;
}

#Annoncepoint article:nth-child(2) picture {
    background: #fff;
    border-radius: 1.5em;
    width: 70%;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    z-index: -9999;
    gap: 1em;
    cursor: pointer;
    transition: scale 0.1s;
}
#Annoncepoint article:nth-child(2) picture:hover{
    scale: 1.01;
    /* text-decoration: underline; */
    opacity: 0.9;
}
#Annoncepoint article:nth-child(2) picture a{
    padding: 2em 4em;
    /* background: red; */
height: 100%;
}
#Annoncepoint article:nth-child(2) picture figure {
    display: flex;
    flex-direction: row;
    gap: 2em;
}

#Annoncepoint article:nth-child(2) picture figure p {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

#Annoncepoint article:nth-child(2) picture figure p span:nth-child(1) {
    font-size: 1.5em;
    font-weight: 700;
}

#Annoncepoint article:nth-child(2) picture figure p span:nth-child(2) {
    font-weight: 500;
    font-family: 'Barlow Condensed';

}

#desc {
    font-size: 0.9em;
    margin-top: 0.3em;
}

#AnnonceExplore {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    gap: 4em;
    padding: 2em;
    width: 100%;
    margin-top: 12em;
}

#AnnonceExplore article {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

#AnnonceExplore article:nth-child(1) {
    margin-bottom: -5em;
}


#AnnonceExplore article:nth-child(2) {
    width: 100%;
    gap: 5em;
}

#AnnonceExplore article:nth-child(3) {
    justify-content: space-evenly;

}

#AnnonceExplore article:nth-child(4) {
    width: 100%;
    gap: 5em;

}

#AnnonceExplore article:nth-child(5) {
    margin-top: -5em;
}

#info {
    width: 50%;
    margin-top: -2em;
}


#info p:nth-child(1) {
    font-weight: 800;
    font-size: 1.7em;
    font-family: 'inter';

}

#info p:nth-child(2) {
    font-weight: 500;
    font-size: 1.5em;
    font-family: 'Barlow Condensed';
}

#info p:nth-child(3) {
    width: 70%;
    margin-top: 1em;
}

#AnnonceExplore article picture {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

#AnnonceExplore article picture div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

#AnnonceExplore article picture div p:nth-child(1) {
    font-weight: 700;
    margin-top: 0.5em;
}

#AnnonceExplore article img {
    background: var(--primary);
    padding: 1.5em;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6em;
    height: 6em;
    border-radius: 1em;
}

#AnnonceExplore article:is(:nth-child(1), :nth-child(3), :nth-child(5)) img {
    background: #EE7563;
}


#paginnation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    margin-top: 8em;
}

#paginnation article:nth-child(1) p {
    font-weight: 700;
    font-family: 'Barlow Condensed';
    font-size: 1.7em;
    text-align: center;
}

/* new solution listing similar */

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

.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;
}

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



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

.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;
}

#paginnation article:nth-child(2) picture {
    z-index: 999;
}

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

.nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    visibility: hidden;
}

.row-profil-tojo-listed{
      display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#prevBtn {
            margin-right: -2em;
            z-index: 9999999999;
        }

        #nextBtn {
          
            margin-left: -2em;
            z-index: 99999999999;
        } 

/* end */

#Explore {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3em;
    margin-top: 12em;
}

.exploreMobile {
    display: none !important;
}

#Explore article:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
    text-align: center;
}

#Explore article:nth-child(1) p:nth-child(1) {
    font-weight: 700;
    font-family: 'Barlow Condensed';
    font-size: 1.7em;
}

#Explore article:nth-child(1) p:nth-child(2) {
    width: 80%;
}

#Explore article:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    /* row-gap: 1em;
    column-gap: 2em; */
    width: 90%;
    padding: 2em;
    margin: 0 auto;
}

#Explore article:nth-child(2) div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4em;
    row-gap: 1em;
    column-gap: 2em;
    width: 100%;
    padding: 0;
}

#Explore article:nth-child(2) picture {
    display: flex;
    flex-direction: row;
    gap: 1.5em;
    padding: 1.5em 2em;
    width: 25vw;
}

#Explore article:nth-child(2) picture img {
    width: 5.3em;
    height: 5.3em;
    object-fit: contain;
    border-radius: 50%;
    /* border: 6px solid #F9C66E */
}

#Explore article:nth-child(2) picture p:nth-child(1) {
    font-weight: 700;
}

#Explore article:nth-child(2) picture figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

#Explore article:nth-child(2) picture i {
    color: #F9C66E;
}


#communaute {
    background: url('../img/Asset/communaute.png') no-repeat center center / cover;
    margin-top: 8em;
}

#communaute article {
    background: #ffffff92;
    padding: 10em;

}

#communaute article picture {
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center;
    margin: 0 auto;
    text-align: center;
    width: 90%;
}

#communaute article picture p:nth-child(1) {
    font-weight: 700;
    font-family: 'Barlow Condensed';
    font-size: 1.7em;
}

#communaute article picture p:nth-child(2) {
    font-family: 'Barlow Condensed';
    font-weight: 500;
    font-size: 1.5em;
}

#communaute article picture p:nth-child(3) {
    width: 95%;
    line-height: 1.5em;
}

#communaute article picture button {
    border: 2px solid var(--primary);
    border-radius: 1em;
    padding: 1.5em 5em;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.5em;
    color: var(--primary);
    background: #fff;
    font-size: 1em;
}


#temoignage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3em;
    margin-top: 8em;
}

#temoignage article:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    text-align: center;
}

#temoignage article:nth-child(1) p:nth-child(1) {
    font-weight: 700;
    font-family: 'Barlow Condensed';
    font-size: 1.7em;
}

#temoignage article:nth-child(1) p:nth-child(2) {
    font-weight: 500;
    font-family: 'Barlow Condensed';
    font-size: 1.4em;
}

#temoignage article:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 4em;
    justify-content: center;
}

#temoignage article:nth-child(2) figure {
    background: #fff;
    border-radius: 1.5em;
    padding: 2em;
    width: 40%;
    height: max-content;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding-bottom: 3em;
}

#temoignage article:nth-child(2) figure picture {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1.5em;
    padding: 1em;
}

#temoignage article:nth-child(2) figure picture div {
    display: flex;
    flex-direction: row;
    gap: 1.5em;
    padding: 1em;
}

#temoignage article:nth-child(2) figure picture img:first-child {
    width: 5.5em;
    height: 5.5em;
    object-fit: contain;
    border-radius: 50%;
}

#quotes {
    width: 70px;
    height: 48px;
    right: 0;
}

#temoignage article:nth-child(2) figure picture p:nth-child(1) {
    font-weight: 700;
}

#temoignage article:nth-child(2) figure picture figcaption {
    display: flex;
    flex-direction: column;
    width: 80%;
    gap: 0.5em;
}

#desc1 {
    width: 97%;
}

.silver {
    color: #D9D9D9 !important;
}

#temoignage article:nth-child(2) figure picture i {
    color: #F9C66E;
}








        /* NEW CAROUSEL */
#CarrouselProfile{
margin-top: 12em;
}

    
#CarrouselProfile article:nth-child(1) p:nth-child(2) {
    width: 70%;
       font-weight: 500;
    font-family: "Barlow Condensed";
    font-size: 1.4em;
    margin-bottom: 1.5em;

}    
#CarrouselProfile article:nth-child(1) {
    display: flex
;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    text-align: center;
}
#CarrouselProfile article:nth-child(1) p:nth-child(1) {
    font-weight: 700;
    font-family: 'Barlow Condensed';
    font-size: 1.7em;
}

 .carousel-wrapper-tojo-carrousel {
            /* max-width: 1200px; */
            width: 95.5%;
            margin: 0 auto;
        }

        .carousel-container-tojo-carrousel {
             --carousel-gap: 1rem;    /* change this to adjust spacing */
  --card-min: 180px;   
            overflow: hidden;
            width: 100%; 
            position: relative;
        }


        .carousel-track-tojo {
           display: flex;
  gap: var(--carousel-gap);
  padding: 2em 0.5em;
  transition: transform 0.45s cubic-bezier(.2,.9,.2,1);
  will-change: transform;
  /* native snap fallback if user scrolls */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
        }

        .profile-tojo-carousel {
         flex: 0 0 clamp(
    var(--card-min),
    calc((100% - (3 * var(--carousel-gap))) / 4),
    100%
  );
  text-align: center;
  background: white;
  padding: 2.5rem 1rem;
  border-radius: 1em;
  box-shadow: 0 1.5px 4px #00000023;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
  scroll-snap-align: start; /* aligns nicely when user scrolls */
  user-select: none;
        }
    .profile-tojo-carousel:hover{
        transform: translateY(-0.7em) ;
        background: #fafafa75;
    }
        .avatar-tojo-pdp {
            width: 8em;
            height: 8em;
            border-radius: 50%;
            overflow: hidden;
             outline: 2.5px solid #F9C66E;
            border: 2.5px solid #FFFF; 
            margin: 0 auto 10px;
        }

        .avatar-tojo-pdp img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* object-position: -20%; */
        }

        .profile-tojo-carousel h4 {
            margin: 0;
            font-size: 16px;
        }

        .profile-tojo-carousel p {
            margin: 4px 0 0;
            font-size: 13px;
            color: #666;
        }

        .carousel-btn-tojo {
            background: #fff;
            border: none;
            font-size: 1.2em;
            cursor: pointer;
            border-radius: 50%;
            outline: 1px solid #00000070;
            width: 2.5em;
            height: 2.5em;
            margin: 0 0.5em;
        }

        .carousel-btn-tojo:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .carousel-btn-tojo:disabled:hover{
            background: none;
        }
        .carousel-btn-tojo:hover {
            background: #fafafa8a;
        }

        .btn_carusel_profile-tojo-carousel {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1em;
            margin-top: 2em;
        }

        .dots {
            display: flex;
            gap: 0.5em;
        }

        .dots span {
            width: 9px;
            height: 9px;
            background: #ccc;
            border-radius: 50%;
            display: inline-block;
            cursor: pointer;
        }

        .dots span.activeDotsTojo {
            background: #333;
            border-radius: 1em !important;
            cursor: default;

            /* width: 1.5em; */
        }

        /* Responsive width handling */
  /* ---------- Breakpoints forcés ---------- */

/* Desktop large : 4 */
@media (min-width: 1024px) {
  .profile-tojo-carousel {
    flex: 0 0 calc((100% - (3 * var(--carousel-gap))) / 4);
  }
}

/* Tablette : 3 */
@media (min-width: 768px) and (max-width: 1023px) {
  .profile-tojo-carousel {
    flex: 0 0 calc((100% - (2 * var(--carousel-gap))) / 3);
  }
}

/* Mobile : 2 */
@media (min-width: 600px) and (max-width: 767px) {
  .profile-tojo-carousel {
    flex: 0 0 calc((100% - var(--carousel-gap)) / 2);
  }
}

/* Petit mobile : 1 */
@media (max-width: 599px) {
  .profile-tojo-carousel {
    flex: 0 0 100%;
  }
}
