@import url("publiqueV2.css");

#content{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 3rem;
    background-color: rgb(222, 255, 255);
    border-radius: 20px 0;
}

.service-title{
    margin: 4rem;
    border-bottom: 5px solid var(--color-main);
    font-weight: bold;
    width: auto;
}

.service-resume{
    margin: 2rem;
    font-size: 1.3rem;
    text-align: center;
    width: 60%;
    line-height: 2rem;
    color: var(--color-main);
}

.service-liste{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 3em;
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}

.service-item{
    display: flex;
    flex-direction: column;
    width: 40%;
    gap: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 20px 0;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    background-color: white;
}

.service-item i{
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--color-second);

}

.service-item-title{
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-main);
    text-align: center;
}

.service-item ul{
    list-style: inside;
}


.atout{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 3rem;
}


.atout-resume{
    margin: 2rem;
    font-size: 1.3rem;
    text-align: center;
    width: 60%;
    line-height: 2rem;
    background-color: var(--color-main);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.atout-liste{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 3em;
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}

.atout-item{
    display: flex;
    flex-direction: column;
    width: 40%;
    gap: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 20px 0;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.atout-item i{
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--color-second);

}

.atout-item-title{
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-main);
    text-align: center;
}



.nps{
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 3rem;
}

.nps-resume{
    margin: 3rem 0 6rem 0;
    font-size: 1.3rem;
    text-align: center;
    width: 60%;
    line-height: 2rem;
    background-color: var(--color-main);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.nps-explain{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}


.nps-explain-liste{
    font-size: 2rem;
    text-align: center;
}

.nps-explain-liste li{
    list-style-position: outside;
    list-style:inside;
    margin-bottom: 1rem;
}

.nps-explain-liste li::marker{
    color: var(--color-second);
    margin-left: -5em;
}

.nps-icon--list{
    display: flex;
    border: 5px solid var(--color-main);
    border-radius: 20px 0;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    overflow: hidden;
    width: 64%;
    align-self: center;
}

.nps-icon-item{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.3rem;
}

.nps-icon-item:nth-child(1){
    border-top: solid 30px #b6386a;
    width: 46%;
}

.nps-icon-item:nth-child(2){
    border-top: solid 30px #808080;
    width: 20%;
}

.nps-icon-item:nth-child(3){
    width: 20%;
    border-top: solid 30px #89cc5d;
}

.nps-calcul{
    text-align: center;
    font-style: italic;
    font-size: 1.4rem;
    color : #7b7b7b;
}

.nps-icon-item i{
    font-size: 6rem;
    align-self: center;
}

.nps-icon-item:first-child i, .nps-icon-item:first-child h3{
    color: #b6386a;
}

.nps-icon-item:nth-child(2) i, .nps-icon-item:nth-child(2) h3{
    color: #808080;
}

.nps-icon-item:nth-child(3) i, .nps-icon-item:nth-child(3) h3{
    color: #89cc5d;
}

.nps-icon-title{
    align-self: center;
    font-weight: bold;
}

.nps-icon-resume{
    padding: 0.5rem;
    align-self: center;
}

/* ____________Section des NPS par secteur __________________*/

.nps-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 5rem 0;
    gap: 5rem;
}

.nps-moyen{
    display: grid;
    align-self: center;
    gap: 1rem;
    grid-template-columns: repeat(6, 125px);
    grid-template-rows: repeat(3, 125px);
    position: relative;
    margin-bottom: 7rem;
}

.nps-moyen-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--color-second);
    border-radius: 20px;
    text-align: center;
    padding: 1rem;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    visibility: hidden;
}

.nps-moyen-item.active{
    visibility: visible;
    -webkit-animation: bounce-in-fwd 1.1s both;
    animation: bounce-in-fwd 1.1s both;
}



.nps-moyen-libelle{
    color: white;
}

.nps-moyen-score{
    color: white;
    font-weight: bold;
}

.nps-moyen-item:nth-child(1){
    /* background-color: #b6386a; */
    background-color: var(--color-main);
    animation-delay: 0.5s;
}


.nps-moyen-item:nth-child(2){
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: span 2;
    /* background-color: #89cc5d; */
    background-color: #ABEBD2;
    animation-delay: 0.6 s;
}


.nps-moyen-item:nth-child(3){
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-end: span 2;
}


.nps-moyen-item:nth-child(5){
    grid-column-start: 5;
    grid-column-end: 7;
    grid-row-start: 2;
    grid-row-end: span 2;
    /* background-color: #89cc5d; */
    background-color: #ABEBD2;
    animation-delay: 0.5s;
}

.nps-moyen-item:nth-child(4){
    /* background-color: #b6386a; */
    background-color: var(--color-main);
    animation-delay: 0.2s;
}

.nps-moyen-item:nth-child(6){
    grid-column-start: 3;
    /* background-color: #b6386a; */
    background-color: var(--color-main);
    animation-delay: 0.2s;
}

/* --------- Item default -------- */

.item-default{
    border-radius: 20px;
    border: 2px solid rgba(221, 221, 221, 0.459);
    visibility: hidden;
	-webkit-animation: bounce-in-fwd 1.1s both;
	        animation: bounce-in-fwd 1.1s both;
}

.item-default.active{
    visibility: visible;
    -webkit-animation: bounce-in-fwd 1.1s both;
    animation: bounce-in-fwd 1.1s both;
}

.item-default-1{
    grid-row-start: 1;
    grid-column-start: 2;
    
}


.item-default-3{
    grid-row-start: 1;
    grid-column-start: 5;
   
}

.item-default-1 i{
    color: rgb(192, 192, 192);
    font-size: 2rem;
}




/* ------------ SCORE des services ------------*/

.nps-moyen-item:first-child .nps-moyen-score{
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.nps-moyen-item:nth-child(2) .nps-moyen-score{
    font-size: 3rem;
    margin-bottom: 2rem;
}

.nps-moyen-item:nth-child(3) .nps-moyen-score{
    font-size: 4rem;
    margin-bottom: 2rem;
}

.nps-moyen-item:nth-child(4) .nps-moyen-score{
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.nps-moyen-item:nth-child(5) .nps-moyen-score{
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.nps-moyen-item:nth-child(6) .nps-moyen-score{
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ------------- NOM des services ---------------*/



.nps-moyen-item:nth-child(2) .nps-moyen-libelle{
    font-size: 1.5rem;
}

.nps-moyen-item:nth-child(3) .nps-moyen-libelle{
    font-size: 2rem;
    font-family: "Nunito";

}

.nps-moyen-item:nth-child(5) .nps-moyen-libelle{
    font-size: 1.5rem;
}

.nps-title{
    margin-top: 3rem;
    font-weight: bold;
    padding-bottom: 1rem;
    border-bottom: 5px solid var(--color-main);
    align-self: center;
}

.nps-source{
    color: rgb(150, 150, 150);
    position: absolute;
    bottom: -46px;
    right: 30px
}

.nps-source a {
    color: #808080;
    text-decoration: underline;
}

@media only screen and (max-width: 1024px) {
    .nps-explain {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media only screen and (max-width: 650px){
    .atout-resume{
        margin: 2rem 0;
        width: auto;
    }

    .atout-liste{
        flex-direction: column;
    }

    .atout-item{
        width: auto;
    }
    .service {
        margin: 0;
        border-radius: 0;
        padding: 0 20px;
    }

    .service-resume{
        margin: 2rem 0;
        width: 90%;
    }

    .service-liste{
        flex-direction: column;
    }

    .service-item{
        width: auto;
    }

    .nps-resume{
        margin: 2rem 0;
        width: auto;
        padding: 1.5rem;
    }

    .nps-explain{
        flex-direction: column;
    }

    .nps-icon--list{
        flex-direction: column;
        width: 90%;
    }

    .nps-icon-item i{
        font-size: 4rem;
    }

    .nps-icon--list .nps-icon-item{
        width: auto;
    }

    .nps-explain-liste{
        width: auto;
    }

    .nps-title{
        font-size: 2rem;
        text-align: center;
        line-height: 2.5rem;
    }

    .nps-moyen{
        grid-template-columns: repeat(2, 125px);
        grid-template-rows: repeat(6, 125px);
    }

    .nps-moyen-item:nth-child(1){
        grid-column-start: 1;
        grid-row-start: 1;
    }

    .nps-moyen-item:nth-child(2){
        grid-column-start: 2;
        grid-row-start: 1;
        grid-row-end: 2;
    }


    .nps-moyen-item:nth-child(3){
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 2;
        grid-row-end: 4;
    }
    
    .nps-moyen-item:nth-child(4){
        grid-column-start: 1;
        grid-row-start: 4;
    }

    .nps-moyen-item:nth-child(5){
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 5;
        grid-row-end: 7;
    }

    .nps-moyen-item:nth-child(6){
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 4;
        grid-row-end: 5;
    }

    .item-default{
        display: none;
    }

    .nps-source{
        bottom: -65px;
        right: 0px;
    }

    .nps-moyen-item:nth-child(2) .nps-moyen-score{
        font-size: 1.7rem;
        margin-bottom: 0.5rem;
    }

    .nps-moyen-item:nth-child(2) .nps-moyen-libelle{
        font-size: 1rem;
    }
}