/**************
* PRESTATIONS *
**************/

.main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding: 4rem 10%;
    padding-bottom: 0;
}
.main .titre span{
    display: block;
    font-size: 1.75rem;
}
.main__ancres{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}
.main__ancres a:not(:last-of-type){
    margin-right: 1rem;
}
.main__ancres a{
    color: var(--primaire);
    position: relative;
    margin-top: .5rem;
    font-family: 'Philosopher', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
}
/* Reponsive desktop */
@media screen and ( min-width:1280px ) {
    .main{
        margin-top: 15vh;
        position: relative;
        margin-bottom: 5rem;
    }
    .main__ancres a::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -.5rem;
        width: 0;
        height: 2px;
        background-color: var(--secondaire); 
        transition: width 0.3s ease-in-out; 
        transform: translateX(-50%);
    }
    .main__ancres a:hover::after {
        width: 40px; 
    }
    .main__ancres a:not(:last-of-type){
        margin-right: 3rem;
    }
    .main::before{
        position: absolute;
        content: url(../images/design/elements-graphiques/plateau-gateaux.png);
        left: 0;
        bottom: -5rem;
    }
    .main::after{
        position: absolute;
        content: url(../images/design/elements-graphiques/assiette-1.png);
        right: 0;
        top: 3rem;
    }
}


/* Événements privés */
.ev-prives{
    background-color: rgba(206, 180, 129, 0.30);
    margin-top: 4rem;
}
.ev-prives .presentation{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.ev-prives .fireworks{
    max-width: 8rem;
    margin-bottom: 1rem;
}
.ev-prives__titre{
    color: var(--primaire);
    margin-bottom: 1rem;
}
.ev-prives__titre span{
    font-size: 1.5rem;
    display: block;
    color: var(--noir);
}
/* Reponsive desktop */
@media screen and ( min-width:1100px ) {
    .ev-prives{
        background-color: transparent;
        margin-top: 0;
        position: relative;
    }
    .ev-prives::before{
        content: "";
        position: absolute;
        top: 24%;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(206, 180, 129, 0.30); 
        z-index: -1;
    }
    .ev-prives .presentation{
        display: flex;
        flex-direction: row;
        gap: 6rem;
        align-items: center;
    }
    .ev-prives__contenu{
        width: 40%;
    }
    .ev-prives__photo{
        width: 60%;
        height: auto;
    }
    .ev-prives .fireworks{
        max-width: 12.5rem;
    }
}


/* Services */
.services{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
}
.service{
    text-align: center;
    max-width: 300px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 1s ease-in-out, transform 0.5s ease-in-out;
}
.service__titre{
    margin-bottom: .5rem;
    color: var(--primaire);
}
.service__separation{
    align-self: center;
}
.service.appear {
    opacity: 1;
    transform: translateY(0);
}
/* Reponsive tablette */
@media screen and ( min-width:850px ) {
    .services{
        gap: 3rem;
        flex-direction: row;
        align-items: flex-start;
        margin-top: 7rem;
    }
}
/* Reponsive desktop */
@media screen and ( min-width:1200px ) {
    .services{
        gap: 3rem;
        flex-direction: row;
    }
    .service{
        max-width: 25%;
    }
}



/* Accompagnement */
.accompagnement{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.accompganement__contenu > *{
    margin-bottom: 1rem;
}
.accompagnement__titre{
    color: var(--primaire);
    margin-bottom: 1.5rem;
}
.accompagnement__titre span{
    font-size: 1.5rem;
    display: block;
    color: var(--noir);
}
.accompagnement ul li{
    position: relative;
    margin-left: 1.5rem;
    margin-bottom: .25rem;
}
.accompagnement ul li::before{
    content: '';
    position: absolute;
    width: .4rem;
    height: .4rem;
    left: 0;
    border-radius: 50%;
    background-color: var(--primaire);
    color: var(--primaire);
    margin-left: -1rem;
    margin-top: .5rem;
}
/* Reponsive tablettes */
@media screen and ( min-width:750px ) {
    .accompagnement{
        position: relative;
    }
    .accompagnement::after{
        position: absolute;
        content: url(../images/design/elements-graphiques/green-plums-teapot.png);
        right: 0;
        bottom: -7rem;
        transform: scale(.7);
    }
}
@media screen and ( min-width:1100px ) {
    .accompagnement{
        flex-direction: row;
        gap: 6rem;
        align-items: center;
    }
    .accompagnement::after{
        transform: scale(1);
    }
	.accompagnement__photo{
		align-self: stretch;
    	width: 50%;
	}
}




/* Chiffres clés */
.chiffres{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.chiffre{
    text-align: center;
    max-width: 300px;
}
.chiffre__titre{
    color: var(--primaire);
    font-size: 3rem;
    font-family: 'Philosopher', sans-serif;
    white-space: nowrap;
}
.chiffre__separation{
    align-self: center;
}
/* Reponsive tablettes */
@media screen and ( min-width:750px ) {
    .chiffres{
        gap: 4rem;
        flex-direction: row;
        position: relative;
    }
    .chiffre{
        max-width: 25%;
    }
}
/* Reponsive desktop */
@media screen and ( min-width:1000px ) {
    .chiffre__titre{
        font-size: 4rem;
    }
}


/* Témoignages */
.temoignages{
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.temoignages__container{
    position: relative;
    padding: 5rem 15%;
    background-color: var(--primaire);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.temoignage__texte{
    font-style: italic;
    margin-bottom: .5rem;
    text-align: center;
}
.temoignage__nom{
    text-align: center;
    position: relative;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}
.temoignage__nom::before{
    content: '';
    position: absolute;
    width: 80px;
    height: 2px;
    background-color: var(--secondaire);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.temoignages__container .slider-container::before{
    content: url(../images/design/apostrophe.svg);
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) scale(.7);
}

/* Slider témoignages */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 5rem;
}
.slider {
    display: flex;
    width: 400%;
    transition: transform 0.3s ease-in-out;
}
.slide {
    flex: 0 0 25%; /* Chaque slide est 25% de la largeur du conteneur */
    box-sizing: border-box;
    transition: transform 0.3s;
    color: var(--blanc);
}
.slider {
    user-select: none; /* Empêche la sélection de texte sur le slider */
    cursor: grab; /* Curseur de base lorsqu'il est survolé */
}
.slider:active {
    cursor: grabbing; /* Curseur lorsqu'il est en cours de glissement */
}
.arrow {
    font-size: 3rem;
    color: var(--secondaire);
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    user-select: none;
}
.arrow--left {
    left: 1rem;
}
.arrow--right {
    right: 1rem;
}

/* Responsive desktop */
@media screen and ( min-width:1170px ) {
    .temoignages{
        flex-direction: row;
        margin: 4rem 0;
    }
    .temoignages__container{
        width: 40%;
        margin-left: auto; 
        padding: 5rem 8%;
        height: auto;
    }
    .temoignages__photo{
        width: 60%;
        height: auto;
		max-height: initial;
    }
    .arrow--left {
        left: 2rem;
    }
    .arrow--right {
        right: 2rem;
    }
}


/* Événements pro */
.ev-pro{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.ev-pro .fireworks{
    max-width: 8rem;
    margin-bottom: 1rem;
}
.ev-pro__titre{
    margin-bottom: 1rem;
    color: var(--primaire);
}
.ev-pro__titre span{
    color: var(--noir);
    display: block;
    font-size: 1.5rem;
}
/* Reponsive desktop */
@media screen and ( min-width:1000px ) {
    .ev-pro{
        display: flex;
        flex-direction: row;
        gap: 6rem;
        align-items: center;
    }
    .ev-pro__contenu{
        width: 40%;
    }
    .ev-pro__photo{
        width: 60%;
        height: auto;
    }
    .ev-pro .fireworks{
        max-width: 12rem;
    }
}



/* Équipe engagée */
.equipe{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.equipe__titre{
    margin-bottom: 1rem;
    color: var(--tertiaire);
}
.equipe__contenu > :first-child{
    margin-bottom: 2rem;
}
/* Reponsive desktop */
@media screen and ( min-width:1000px ) {
    .equipe{
        display: flex;
        flex-direction: row;
        gap: 6rem;
        align-items: center;
        position: relative;
    }
    .equipe__contenu{
        width: 40%;
    }
    .equipe__photo{
        width: 60%;
        height: auto;
    }
}
@media screen and ( min-width:1400px ) {
    .equipe::after{
        position: absolute;
        content: url(../images/design/elements-graphiques/overhead-view-croissant-coffee-halved-kiwi-pears-dried-flower-raspberries-white-background.png);
        right: 0;
        bottom: -24rem;
    }
}



/* Références */
.references__conteneur {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    position: relative;
    gap: 2rem;
    margin-top: 4rem;
}
.reference {
    position: relative;
    width: 100%;
}
.reference__photo {
    height: 500px;
    transition: opacity 0.3s;
	object-fit: cover;
	width: 100%;
	max-height: initial;
}
.reference__titre{
	color: var(--primaire);
}
.reference__infos {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    width: 100%;
    gap: 1rem;
}
.reference__logo{
    max-height: 4rem;
    max-width: 6rem;
}
.reference:hover .reference__photo {
    opacity: 0.2; 
}
.reference:hover .reference__infos {
    opacity: 1;
}
/* Reponsive tablettes */
@media screen and ( min-width:750px ) {
    .reference{
        width: 45%;
        display: flex;
        justify-content: flex-end;
    }
	.reference__photo {
		width: 400px;
        height: 600px;
	}
	.reference__infos { 
		padding: 2rem;
	}
    .references .reference:nth-child(even){
        justify-content: flex-start;
    }
    .reference:nth-child(odd) .reference__infos{
        max-width: 400px;
        max-height: 600px;
        top: 50%;
        left: initial;
        right: 0;
        transform: translate(0%, -50%);
    }
    .reference:nth-child(even) .reference__infos{
        max-width: 400px;
        max-height: 600px;
        top: 50%;
        right: initial;
        left: 0;
        transform: translate(0%, -60%);
    }
    .reference__photo {
        width: 400px;
        height: 600px;
    }
	.reference__logo{
		max-height: 5rem;
		max-width: 8rem;
	}
}
/* Reponsive desktop */
@media screen and ( min-width:1200px ) {
    .references{
        position: relative;
    }
    .references::before{
        position: absolute;
        content: url(../images/design/elements-graphiques/flat-lay-uncooked-spaghetti-penne-parmesan-with-copy-space.png);
        left: 0;
        top: -4rem;
        transform: scale(.7);
    }
    .references__conteneur {
        gap: 4rem;
    }
    .references__conteneur .reference:first-child {
        margin-top: 4rem;
    }
    .references__conteneur .reference:nth-child(4) {
        margin-top: -4rem;
    }
    .references__conteneur > .btn{
        position: absolute;
        left: calc(50% + 8rem);
        transform: translateX(-50%);
        bottom: 0;
    }
}
@media screen and ( min-width:1400px ) {
    .references::before{
        transform: scale(1);
    }
}




/* Plateaux repas */
.plateaux-repas{
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
}
.plateaux-repas .fireworks{
    max-width: 8rem;
    margin-bottom: 1rem;
}
.plateaux-repas__contenu{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.plateaux-repas__titre{
    color: var(--primaire);
    margin-bottom: .5rem;
}
.plateaux-repas .boutons{
	display: flex;
	gap: 1rem;
}
/* Reponsive desktop */
@media screen and ( min-width:1000px ) {
    .plateaux-repas{
        display: flex;
        flex-direction: row;
        gap: 6rem;
        align-items: center;
        position: relative;
    }
    .plateaux-repas__contenu{
        width: 40%;
    }
    .plateaux-repas__photo{
        width: 60%;
        height: auto;
    }
    .plateaux-repas .fireworks{
        max-width: 12rem;
    }
	.plateaux-repas .boutons{
		display: flex;
		gap: 2rem;
	}
}
@media screen and ( min-width:1500px ) {
    .plateaux-repas::after{
        position: absolute;
        content: url(../images/design/elements-graphiques/assiette-2.png);
        right: 0;
        top: -4rem;
    }
}