
/* ---------------------- global */

:root {
    --standard-max-width: 900px;
    --orange: #e4632c;
    --rouge: #ea3700;
}

body {
    display: block !important;   
    overflow: hidden; 
}

.layout-page {
    position: relative;
    animation-name: show_home;
    animation-delay: 0.5s;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes show_home {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.layout-logo {
    position: absolute;
    z-index: 2;
    left: 2%;
    top: 2%;
    width: 220px;
    margin: 0;
    padding: 0;
}


/* ---------------------- .layout-titre-links */

.layout-titre-links {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    overflow: initial;
    height: initial;
    min-height: initial;
}

.layout-titre-links>img {
    display: none;
}

.layout-titre-links span {
    display: none;       
}

.layout-titre-links>div {

}

.layout-titre-links>div>div {

}


/* ---------------------- .layout-titre */

.layout-titre {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    align-content: center !important;
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 20vh;
    transform: translateX(-50%);
    width: 100%;
    max-width: 670px;
}

.layout-titre h1 {
    text-transform: uppercase;
    font-family: 'conqueror';
    font-size: 50px;
    font-weight: 100;
    text-align: center;
    color: #000;
    width: 100%;
    margin-bottom: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1;
    letter-spacing: 0.02em;
}

.layout-titre h1 strong:nth-child(1) {
    font-size: inherit;
    color: initial;
    font-weight: 100;
}

.layout-titre h1 strong:nth-child(2) {
    display: inline-block;    
    font-weight: 100;
    font-size: inherit;
}

.layout-titre p {
    font-family: 'roboto-regular';
    font-size: 16px;
    text-align: center;
    color: #000;
    max-width: 700px;
    line-height: 1.5;
}


/* ---------------------- .layout-blog-presse-contact */

.layout-blog-presse-contact {
    display: flex !important;
    position: absolute;
    top: 15px;
    right: 2%;
    width: fit-content;
    height: auto !important;
    z-index: 2;
    flex-direction: row;
    background-color: #000;
    justify-content: center;
    border-radius: 3px;
    padding-left: 10px;
    padding-right: 10px;
}


.layout-blog-presse-contact a {
    display: block;
    padding: 10px 14px;
    text-align: center;
    font-family: 'fira-regular';
    font-size: 13px;
    text-transform: uppercase;
    color: #de8c32;
    text-decoration: none;
    font-weight: 900;
}


/* ----------------------   .layout-columns */

.layout-columns {
    display: block !important;
    position: relative;
    flex-wrap: initial !important;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.layout-columns.right {
    animation-name: to_right_sommaire;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    transform: translateX(-2%) scale(104%, 104%);
}


@keyframes to_right_sommaire {
    from {
        transform: translateX(-2%) scale(104%, 104%);
    }

    to {
        transform: translateX(2%) scale(104%, 104%);
    }
}

.layout-columns.left {
    animation-name: to_left_sommaire;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    transform: translateX(2%) scale(104%, 104%);
}

@keyframes to_left_sommaire {
    from {
        transform: translateX(2%) scale(104%, 104%);
    }

    to {
        transform: translateX(-2%) scale(104%, 104%);
    }
}

.layout-columns>div {
    display: inline-block !important;
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    flex-direction: initial !important;
    align-items: initial !important;
}

.layout-columns>div>figure {
    display: block !important;
    width: 100%;
    height: 100%;
}

.layout-columns>div>figure>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform-origin: center center;
    transform: scale(1.05, 1.05);
}

.layout-columns>div.blur>figure>img {
    animation-name: blur_image;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    filter: blur(0px);
    -webkit-filter: blur(0px);
}

@keyframes blur_image {
    from {
        filter: blur(0px);
        -webkit-filter: blur(0px);
    }

    to {
        filter: blur(8px);
        -webkit-filter: blur(8px);
    }
}

.layout-columns>div.unblur>figure>img {
    animation-name: unblur_image;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

@keyframes unblur_image {
    from {
        filter: blur(8px);
        -webkit-filter: blur(8px);
    }

    to {
        filter: blur(0px);
        -webkit-filter: blur(0px);
    }
}


/* ---------------------- .layout-access */

.layout-access {
    position: absolute;
    z-index: 2;
    top: initial;
    left: 50%;
    bottom: 20vh;
    transform: translateX(-50%);
    text-align: center;
}

.layout-access.particulier {
    animation-delay: 2s;
}

.layout-access.professionnel {
    animation-delay: 3s;
}

@keyframes show_access {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0px);
    }
}

.layout-access p {
    font-family: 'fira-regular';
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1;
    color: #000;
}

.layout-access h2 {
    font-family: 'conqueror';
    font-weight: normal;
    font-size: 38px;
    line-height: 1;
    margin-top: 5px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.layout-access h2 span {
    display: block;
    font-family: 'helvetica';
    font-size: 16px;
    line-height: 1;
    margin-top: 5px;
    color: #fff;
}

.layout-access a {
    display: inline-block;
    position: relative;
    padding: 12px 38px;
    border: 1px solid #fff;
    border-radius: 20px;
    font-family: 'fira-regular';
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.2);
}


.layout-columns>div:nth-child(2) .layout-access p {
}

.layout-columns>div:nth-child(2) .layout-access h2 {
}

.layout-columns>div:nth-child(2) .layout-access h2 span {
    color: #fff;
}

.layout-footer {
    display: none;
}


@media screen and (max-height: 768px) {

    .layout-titre {
        top: 18vh;
    }

    .layout-titre h1 {
        font-size: 40px;
        margin-bottom: 10px;
        max-width: 500px;
    }

    .layout-titre p {
        font-size: 15px;
        line-height:1.4;
    }
    
    .layout-access {
        bottom: 12vh;
        top: initial;
    }

    .layout-access h2 {
        font-size: 35px;
    }
    
}

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

    body {
        overflow: initial;
    }

    .layout-content {
        padding: 0;
    }

    .layout-main {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .layout-logo {
        position: relative;
        top: initial;
        left: initial;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0px;
        /* margin-bottom: 10px; */
        background-color: #000;
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        /* max-width: 580px; */
    }

    .layout-logo a {
        display: block;
    }

    .layout-logo img {
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .layout-container {
    display: flex !important;
    flex-direction: column-reverse !important;
    /* padding-left: 10px; */
    /* padding-right: 10px; */
    }
    
    .layout-titre {
        display: block !important;
        position: relative;
        top: initial;
        left: initial;
        transform: initial;
        padding: 20px;
        max-width: initial;
        margin-bottom: 20px !important;
        margin-top: 8% !important;
        width: calc(100% - 20px);
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 10px;
    }

    .layout-titre h1 {
        color: #000;
        font-size: 30px;
        line-height: 1;
        max-width: 400px;
    }

    .layout-titre h1 strong:nth-child(1) {
        color: inherit;
    }

    .layout-titre h1 strong:nth-child(2) {
        font-size: 50px;       
        transform: none;
        font-size: inherit;
    }

    .layout-titre p {
        max-width: initial;
        color: #000;
        font-size: 16px;
    }

    .layout-columns {
        display: block !important;
        position: relative;
        top: initial;
        left: initial;
        height: auto;
        overflow: initial;
        animation: none !important;
        transform: initial !important;
        z-index: initial;
    }

    .layout-columns>div {
        display: block !important;
        position: relative;
        top: initial;
        left: initial;
        width: 100%;
        height: 350px;
        margin-left: auto;
        margin-right: auto;
        /* border-radius: 5px; */
        overflow: hidden;
        /* margin-bottom: 10px; */
    }

    .layout-columns>div.blur>figure>img {
        filter: none !important;
        -webkit-filter: none !important;
        animation: none;
    }

    .layout-blog-presse-contact {
        position: relative;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 20px !important;
        margin-bottom: 100px !important;
        right: initial;
        padding: 0;
    }

    .layout-access {
        display: flex !important;
        top: 50%;
        transform: translate(-50%,-50%);
        flex-direction: column !important;
        align-content: center;
        align-items: center !important;
        animation: none;
        animation-delay: initial !important;
        width: 100%;
        height: fit-content;
    }

    .layout-access h2 {
        font-size: 30px;
        text-shadow: 0px 0px 1px rgba(0,0,0,0.5);
    }

    .layout-access p {
        color: #000;
    }

    .layout-access a {
            background-color: rgba(0,0,0,0.5);
    }
    
    .layout-titre-links {
        position: relative;
        height: initial;
        overflow: hidden;
        /* border-radius: 5px; */
        width: 100%;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 10px;
    }
    
    .layout-titre-links>img {
        display: block;
    }

    .layout-titre-links span {
        display: block;
        
    }
}