/* ------------- PRESENTATION ------------- */
.home{
    background-image: url('https://www.aadairc.com/wp-content/uploads/2022/07/aadairc-professionnels-de-sante-a-domicile.jpg');
    background-size: 250%;
	padding: 0;
	height: 90vh;
}
.home__titles{
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    height: 90vh;
    padding: 1vh 40px 20vh;
	margin-top: -150px;
}
.home__title{
    font-size: 2.5rem;
	padding-top: 150px;
	overflow-wrap: inherit;
    background-color: unset;
}

.home__subtitle{
    display: block;
    line-height: 130%;
    color: #80539d;
    width: 250px;
}

/* presentation description */
main.quelques-mots__presentation{
    padding: 40px;
    max-width: 800px;
    background-color: rgba(91, 196, 241, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    margin: -50px auto 0px auto;
}
.quelques-mots__presentation .quelques-mots__text, .quelques-mots__text p{
    color: white;
    margin-top: 0;
}


/* ------------------Préscription médicales et traitements ----------------*/
.traitements{
    display: flex;
    flex-direction: column;
    max-width: 800px;
}

.traitements__prescription .traitements__desc{
    margin-top: 0;
}

.traitements__prescription:first-child .traitements__content-title{
    color: #d3d765;
}

.traitements__prescription:nth-child(2) .traitements__content-title{
    color: #80539d;
}

.traitements__prescription:nth-child(3) .traitements__content-title{
    color: #f9b341;
}

.traitements__prescription:nth-child(4) .traitements__content-title{
    color: #58c5f0;
}

/* paragraphe zone d'intervention*/

.traitements__zones-intervention{
    margin-top: 0px;
    font-weight: bold;
}

/* ----------------Les domaines d'intervention-------------- */
.domaines__img, .domaines-list__img{
    display: none;
}
.domaines-list__title, .domaine__title{
    text-align: center;
    color: #1e5f88;;
}
.domaines-list__title:after{
    display: none;
}
.domaines-list, .domaines-list__figures, .figures-domaine{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.figures-domaine .domaine__img{
    margin: 0 auto;
	width: 90px;
	height: 90px;
}

.chiffres-list__chiffre-clef .domaine__img{
    height: 92px;
    width: auto;
}
/* ------------------Actualite ----------------*/
.actualites{
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.actualites__actu-list{
    display: flex;
    justify-content: center;
    align-items: start;
    margin: 10px auto;
    flex-wrap: wrap;
}

.actu-link__date{
    display: flex;
	color: #80539d;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin: 10px 0px;
}

.actu-link__date::before{
    display: inline-block;
    content: "";
    height: 1px;
    width: 20px;
    background-color: #80539d;
    margin-right: 10px;
}

.actu-list__actu{
    padding: 20px 20px;
    max-width: 260px;
	border-radius: 5px;
}

.actu-link__title{
    color: #f9b341;
}

.actu-link__content{
	opacity: 0.6;
}
.actu-list__actu:nth-child(2), .actu-list__actu:nth-child(3){
    display:none;
}

/* ----------------Chiffres clefs--------------- */
.chiffres-clefs{
    margin-top: 70px;
    padding: 30px;
    background-image: url("https://www.aadairc.com/wp-content/uploads/2022/01/bandeau-chiffres-clef-1.png");
    background-size: cover;
}

.chiffres-list__ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.chiffres-list__chiffre-clef{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-width: 200px;
    margin: 15px 30px;
	transition: all 0.2s;
	transform: scale(1);
}
.chiffres-list__chiffre-clef h3, .chiffres-list__chiffre-clef strong{
	transition: all 0.2s;
}
.chiffres-list__chiffre-clef:hover h3, .chiffres-list__chiffre-clef:hover strong{
	color: #f9b449;
}
.chiffres-list__chiffre-clef:hover{
    transform: scale(1.1);
}

    
.chiffre-clef__title{
    margin-top: 30px;
    color: #80539d;
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    font-size: 1.2rem;
    text-align: center;
}

.chiffre-clef__chiffre{
    font-family: 'Poppins', sans-serif;
	font-weight: 600;
    color: #80539d;
    font-size: 2.7rem;
    margin-bottom: 13px;
}

.chiffres-clefs__img{
    display: none;
}
/* affichage tablette */
@media (min-width: 768px) {
    /* accueil presentation */
    .home{
        background-size: cover;
		background-position: bottom;
    }

    .home__titles{
        width: 39vw;
    }
    .quelques-mots{
        margin: 0px;
    }
    main.quelques-mots__presentation{
        display: flex;
        display: grid;
        grid-template-columns: 49% 49%;
        gap: 2%;
        max-height: 260px;
    }

    .quelques-mots__presentation .quelques-mots__text{
        max-width: 100%;
        margin-bottom: 0px;
    }

    .quelques-mots__btn{
        margin-top: 20px;
        display: block;
        margin-right: 0px;
    }
    /* les differents traitements */
    .traitements{
        flex-direction: row;
        margin: 0 auto;
        margin-top: -187px;
        padding-top: 260px;
        max-width: 1000px;
    }

    .traitements .traitements__title{
        text-align: right;
        margin-top: 10px;
    }

    .traitements__title:after{
        content: "";
        display: block;
        height: 14px;
        background-image: url(https://www.aadairc.com/wp-content/uploads/2022/02/points-couleurs.svg);
        background-repeat: no-repeat;
        background-position: right;
        margin: 10px 0px;
    }
    .traitements__title, .traitements__list{
        margin: 0 20px;
    }
    /* domaines d'intervention */
    .domaines-list{
        margin-top: 50px;
    }
    .domaines-list__figures{
        flex-direction: row;
        flex-wrap: wrap;
		align-items: flex-start;
    }
    /* separateur/soulignement h2 */
    
    .figures__link{
        width: 300px;
        max-height: 300px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
		transform: translateY(0px);
		transition: all 0.2s ease-out;
    }
	.figures__link:hover{
        transform: translateY(-15px);
    }

    /* Les actu */
    .actualites{
        margin-top: 50px;
    }
    .actualites__title{
        align-self: flex-start;
        margin-left: 34px;
        max-width: 300px;
    }
    .actu-list__actu:nth-child(2){
        display:block;
    }

    /* chiffres-clefs */
    .chiffres-clefs{
        margin-top: 70px;
    }
    .chiffres__title{
        max-width: 300px;
    }
    .chiffres-list__ul{
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .chiffres-clefs{
        margin-left: 100px;
        padding-left: 100px;
        margin-bottom: 80px;
    }
    .chiffres-list__chiffre-clef{
        max-width: 140px;
    }
}

@media (min-width: 1000px) {
    .home{
        margin-top: -210px;
		min-height: 750px;
    }
	.chiffres-list__chiffre-clef{
        max-width: 200px;
    }
    .home__titles{
        padding: unset;
        padding-left: 10vw;
		min-height: 750px;
    }
	
    .home__title{
        font-size: 3.5vw;
        padding-top: 350px;
		padding-right: 10vw;
    	overflow-wrap: initial;
    }

    .home__subtitle{
        font-size: 1.1rem;
        width: 200px;
    }
    main.quelques-mots__presentation{
        margin: -100px auto 0px auto;
    }
    .quelques-mots{
        background-image: url("https://www.aadairc.com/wp-content/uploads/2022/01/fond-traitement.png");
        background-position: top;
        background-size: contain;
        background-repeat: no-repeat;
        margin: 0px;
		position: relative;
    	z-index: -1;
    	top: -10px;
    }
    
    /* actualités */
    .actualites{
        margin-top: 190px;
    }
    .actu-list__actu{
        transition: ease 0.3s;
        transform: scale(1);
    }
    .actu-list__actu:hover{
        box-shadow: 1px 1px 10px lightgray;
        transform: scale(1.05);
    }
    .actu-list__actu:nth-child(3){
        display:block;
    }

    .actualites__title{
        margin-left: 24.6vw;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .actualites__title::after{
        display: none;
    }

    .actualites__title::before{
        content: "";
        display: inline-block;
        height: 2px;
        width: 1000px;
        margin-left: -1030px;
        margin-right: 30px;
        background-color: #1e5f88;
        margin-top: 10px;
    }

    .actu-link__title{
        font-size: 1.6rem;
    	font-weight: 600;
		margin-top: 0;
    }
    /* les chiffres clefs */
    .chiffres__title{
        margin-top: -65px;
    }
    .chiffres-clefs{
        margin-top: 150px;
        margin-left: 25vw;
        position: relative;
    }
    .chiffres-clefs__img{
        display: block;
        position: absolute;
        width: 470px;
        height: auto;
        top: 100px;
        left: -350px;
        z-index: 2;
    }
    .chiffres__desc{
        max-width: 60%;
    }

    .chiffres-list__chiffre-clef{
        margin-left: 0;
    }
    
}
@media (min-width: 1200px){
    .home{
        margin-top: 150px;
		min-height: 750px;
    }
    .traitements{
        padding-top: 270px;
    }
    .domaines{
        position: relative;
        margin-bottom: 130px;
    }
    .home__title{
        padding-top: 250px;
    }
    .domaines-list{
        position: absolute;
        bottom: -100px;
        right: 10vw;
        max-height: 500px;
        box-shadow: 1px 1px 10px lightgray;
        background-color: white;
        padding: 30px 30px 0 30px;
    }
    .domaines-list__figures{
        margin-bottom: 40px;
    }
    .domaines-list__title{
        text-align: left;
    }
    .domaines-list__title::after{
        display: block;
    }
    .domaines-list__title{
        align-self: flex-start;
        padding-left: 40px;
    }
    .figures__link{
        height: fit-content;
        width: 170px;
    }

    .domaines .btn-main{
        position: absolute;
        top: 35px;
        right: 53px;
    }
    .domaines__img{
        display: block;
        width: 60%;
        margin-top: 75px;
    }
    .domaines-list__img{
        display: block;
        position: absolute;
        top: -66.6%;
        left: 60%;
        width: 63px;
        height: auto;
    }
    .actu-list__actu{
        margin: 0 40px;
    }
    .chiffres-clefs{
        margin-left: 35vw;
    }
}

@media (min-width: 1500px) {
	
	/* .home__title{
		font-size: 3.5rem;
	} */
	.home__subtitle{
        font-size: 1.4rem;
        width: 200px;
    }
}
@media (min-width: 1800px) {
	.home__title{
        padding-top: 23vh;
		/* font-size: 4.2rem; */
		margin-bottom: 30px;
    }
	
}
