/*

modification du marketing 

je voulais une image par type de site pour montrer à quoi ça ressemble, la profondeur

mon texte pour chaque type de site disparaît au profit d'un autre texte non choisi

idem offre unique : "venez avec la base ..."

reformulation bouton CTA

changement texte "engagement 24 mois"

séparation du HT du prix

*/
/***************************

Top of the page, type of website
#categories_offres


***************************/
#categories_offres{
    display: flex;
    justify-content: space-between;
    margin: var(--ecartBloc) 0 var(--ecartRegion);
}
#categories_offres div {
    width: 23%;
}
#categories_offres div img{
    width: 100%;
}
#categories_offres div h2{
    text-align: center;
    color: var(--noir);
    font-size: 1em;
}
#categories_offres div p{
    text-align: center;
}



/******************************

Article teasing for offers

******************************/

#offres main > article{
    text-align: center;
    width: 50%;
    margin: var(--ecartRegion) auto 0;
}


/******************************

Filters
    #vitrine
    #ecommerce
    #association
    #collectivite

******************************/

#filtres{
    display: flex;
    justify-content: space-between;
    margin: var(--ecartV) 0;
}
#filtres h2{
    width: 24%;
    text-transform: uppercase;
    font-size: 1rem;
    text-align: center;
    font-weight: 700;
    padding-bottom: var(--ecartV);
    margin: var(--ecartBloc) 0;
    color: var(--noir);
    border-bottom: 1px solid black;
}
#filtres h2:hover{
    cursor: pointer;
}
#filtres h2.active{
    color: var(--orange);
    border-color: var(--orange);
}


/******************************

Details of a category
    #vitrine
    #ecommerce
    #association
    #collectivite

with articles inside

******************************/

#detail_categorie > div {
    width: 100%;
    display: none;
    align-items: flex-start;
    justify-content: space-between;
}
#detail_categorie > div:first-of-type {
    display: flex;
}    
#detail_categorie > div > article{
    width: 30%;
}
#detail_categorie > div > article > div{
    border-radius: 5px;
    background-color: white;
    padding: 4%;
    border: 1px solid gray;
}
#detail_categorie > div > article h3 {
    display: inline-block;
    width: 40%;
    text-align: center;
    position:relative;
    top: -1.4em;
    left: 28%;
    padding: 0 2%;
    margin: auto;
    background: white;
} 
/******* PRIX ******/
#detail_categorie > div > article p:first-of-type{
    padding: calc(var(--ecartV) - 1.4em) 0 var(--ecartV);
    margin: 0 auto var(--ecartV);
    border-bottom: 2px solid var(--gris);
    width: 80%;
}
#detail_categorie > div > article p:first-of-type b{
    display: block;
    font-size: .8em;
    text-align: center;
    /* padding-left: calc(50% - 1.5em); */
}
#detail_categorie > div > article p:first-of-type i{
    display: block;
    text-align: center;
    font-size: .8em;
}
.prix{
    font-size: 2em;
    color: var(--orange);
}
#detail_categorie > div > article ul{
    list-style-position: inside;
    list-style-image: url('../images/check.svg');
}
#detail_categorie > div > article ul li{
    margin-bottom: .6em;
}

.chapeau{
    text-align: center;
    margin: 1em 0;
}
.separateur{
    font-weight: 700;
    margin: 1em 0;
}
/******** CTA *******/
#detail_categorie > div > article a {
    display: block;
    margin: var(--ecartV) auto;
    text-decoration: none;
    color: var(--noir);
    text-align: center;
    font-weight: bolder;
}
#detail_categorie > div > article a::first-letter {
    font-size: 1.8em;
}
#detail_categorie > div > article [href="#contactOffre"] {
    display: block;
    width: 45%;
    margin: var(--ecartV) auto;
    text-decoration: none;
    color: var(--noir);
    /* background-image: linear-gradient(35% , white var(--orange)) */
}
#detail_categorie > div > article [href="#contactOffre"]::first-letter {
    font-size: 1em;
}



/******************************

Formulaire de contact

******************************/

#contactOffre{
    width: 55%;
    margin: var(--ecartBloc) auto 0;
    clear: both;
}
#contactOffre label{
    font-weight: 600;
}
#contactOffre button{
    margin-right: 2%;
}


/******************************

Offres UNIQUES

******************************/


/************** BG HEADER *************/
#offres header{
    background-image: url('../images/header-offres-desk.svg');
}
header#presence{
    background-image: url('../images/offres/presence.svg');
}
header#signature{
    background-image: url('../images/offres/signature.svg');
}
header#premium{
    background-image: url('../images/offres/premium.svg');
}
header#marchand{
    background-image: url('../images/offres/marchand.svg');
}
header#performance{
    background-image: url('../images/offres/performance.svg');
}
header#croissance{
    background-image: url('../images/offres/croissance.svg');
}
header#collectivite{
    background-image: url('../images/offres/collectivite.svg');
}
header#association{
    background-image: url('../images/offres/association.svg');
}
div#prix{
    width: 100%;
    margin: 0;
    text-align: center;
}
div#prix p b,
div#prix p i{
    display: block;
}
div#prix p i{
    font-size:.8em;
}
div#prix p a{
    display: block;
    width: 14%;
    margin: auto;
    margin-top: var(--ecartBloc);
}
div#prix b span{
    color: var(--orange);
    font-size: 3em;
}
article.partie{
    width: 75%;
    margin: var(--ecartRegion) auto var(--ecartBloc);
    text-align: center;
    display: block;
}
article.partie p{
    width: 100%;
}
main > article.partie:first-of-type{
    margin-top: 0;
}
main > *:last-child{
    margin-bottom: 0;
}

#offre-single main{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#offre-single main h2,
#offre-single main h3{
    width: 100%;
}
main > div#text{
    width: 39%;
}
main > div#text article{
    display: block; position: relative;
    border-bottom: 2px solid var(--gris);
    padding: 0;
    margin: 0;
    min-height: 4em;
}
main > div#text h4{
    width: 100%;
    line-height: 4em;
    margin: 0;
    position: relative;
}
main > div#text h4:hover{
    cursor: pointer;
}
main > div#text h4 span{
    position: absolute;
    right: 1em;
    top: -0.5em;
}
main > div#picture{
    width: 59%;
    max-height: 55vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}
main > div#picture img{
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}
main > div#text article > div{
    height: 0;
    padding-top: 1em;
    overflow: hidden;
    animation-timing-function: linear;
    animation-duration: .2s;
    animation-fill-mode: forwards;
}
@keyframes animationToggle{
    0%{
        height: 0;
    }
    90%{
        height: 6em;
    }
    100%{
        height: auto;
        padding-bottom:2em;
        z-index:10;
    }
}
.rotate{
    transform: rotate(180deg);
}
#offre-single article.notreMission{
    columns : 2;
}
#offre-single article.notreMission h4{
    font-weight: 900;
}
#offre-single article section{
    width: 100%;
    break-inside: avoid;
}
#offre-single article section h4{
    display: flex;
    margin: 2em 0 0;
}
#offre-single article section:first-of-type h4{
    margin: 0;
}
#offre-single article section h4::before{
    content: url('../images/check-orange.svg');
    margin-right: 1em;
}
#offre-single article#contact{
    display: flex;
    overflow: hidden;
    margin: var(--ecartRegion) auto 0;
}
article#contact article.partie{
    display: block;
}
#offre-single article#contact form{
    width: 100%;
}
#offre-single  article#contact div,
#offre-single  article#contact img{
    width: 49%;
    height: auto;
}



@media screen and (max-width: 600px){

    #offres main > article{
        width: 80%;
    }
    #categories_offres{
        flex-wrap: wrap;
    }
    #categories_offres div{
        width: 98%;
        margin-bottom: 5em;
    }
    #filtres h2{
        font-size: .7rem;
    }
    #detail_categorie > div{
        flex-wrap: wrap;
    }
    #detail_categorie > div > article{
        width: 98%;
        margin: 0 auto 5em;
    }
    #contactOffre{
        width: 95%;
    }
}