/********************** FOND DU SITE **********************/
.home .site {
    background-image: url('../images/hero/fond-hero.png') !important;
    background-size: 100vw auto !important;
    background-repeat: no-repeat !important;
}
.home .front-page-main {
     display: block;
 }
@media screen and (min-width: 48em) {
    .home .site {
        background-image: url('../images/hero/hero-vers-desktop.png') !important;
        background-size: 100vw auto !important;
        background-position: top center !important;
        background-repeat: no-repeat !important;
    }
}@media screen and (min-width: 50em) {
    .home .site {
        background-image: url('../images/hero/hero-vers-desktop.png') !important;
        background-size: 100% auto !important;
        background-position: top center !important;
        background-repeat: no-repeat !important;
    }
}

            /******************************
            ***********HERO****************
            *******************************/

.home .hero-header{
    display: grid;
    grid-template-columns: 10% 80% 10%;
    grid-template-areas:
    ". visual ."
    ". names ."
    ". date .";
}
.home .hero-visual{
    grid-area: visual;
    margin-top: calc(30vw - 70px);
    margin-bottom: 25vw;
    margin-inline: 20vw;
    rotate: 6deg;
    width: 45vw;
}
.home .hero-content-media{
    margin: 0 ;
}
.home .hero-content-media img {
    display: block;
    width: 100%;
    height: auto;
}

@media screen and (min-width: 48em) {
    .home .hero-content-media {
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }
    .home .hero-content-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.home .hero-content-text-names{
    grid-area: names;
}
.home .hero-content-text-names p{
    color: black !important;
}
.home .hero-content-text-names p,
.home .hero-content-text-lieu-date p,
.home .hero-content-text-lieu-date a{
    text-align: center;
    color: black;
    text-decoration: none;
}
.home .hero-content-text-lieu-date a{
    cursor: pointer;
}
.home .hero-content-text-lieu-date{
    grid-area: date;
    margin-top: 3vw;
    margin-bottom: 15vw;
    display: flex;
    flex-direction: column;
}
.home .hero-content-text-lieu-date p{
    margin: 0;
}

@media screen and (min-width: 48em) {

    .home .hero-header {
        grid-template-columns: 50% 50%;
        grid-template-areas:
            "names visual"
            "date  visual";
        align-items: center;
        justify-content: center;
        height: clamp(230px, 50.7vw - 80px, 440px);
    }
    .home .hero-visual {
        grid-area: visual;
        width: 45%;
        max-width: none;
        margin: 0;
        rotate: 11deg;
        position: relative;
        top: 3%;
        left: 38%;
    }
    .home .hero-content-text-names {
        grid-area: names;
        align-self: end;
        margin-left: 10vw;
    }
    .home .hero-content-text-lieu-date {
        align-self: flex-start;
        justify-content: center;
        margin-top: 0.5rem;
        margin-bottom: 0;
        margin-left: 10vw;
    }
}
@media screen and (min-width: 59em) {
    .home .hero-visual {
        top: 20px;
        left: 185px;
    }
}
                /**************************
                 ********BIENVENUE ********
                 **************************/

.paper-transition--top, .paper-transition--bottom {
    margin-top: 0px;
    line-height: 0;
}
.paper-transition--top>img, .paper-transition--bottom>img{
    width: 100%;
    display: block;
}
.paper-transition--top>img{
    filter: drop-shadow(0 -25px 14px rgba(46,38,32,.22));
}
.paper-transition--bottom{
    filter: drop-shadow(0 25px 14px rgba(46,38,32,.22));
}
.paper-transition--bottom>img{
    transform: scaleY(-1);
}

.home .hero-welcome{
    display: grid;
    grid-template-columns: 10% 80% 10%;
    grid-template-areas:
    ". welcome .";
    background: #F2E1C8;
}
.welcome-contain{
    grid-area: welcome;
    width: 100%;
    max-width: 1200px;
    padding-top: clamp(3rem, 10vw, 6rem);
    padding-bottom: 0;
}
.home .hero-welcome h2,
.home .hero-welcome h4,
.home .hero-welcome p{
    color: black !important;
    margin:0;
}
.home .hero-welcome h4{
    font-size: medium;
}
.home .hero-welcome .button-resa{
    justify-content: center;
    padding-block: clamp(2rem, 8vw, 4rem);
}

@media screen and (max-width: 48em) and (min-width: 43em) {
    .hero-header{
        margin-bottom: 5em;
    }
}
