/*@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');*/

:root {
    --grisclair: #eeeeee;
    --marronclair: #c5a58e;
    --marronfonce: #6e574d;
    /*--marronfonce: #7e655b;*/
    /*--marronfonce: #4e403a;*/
}

body{
    margin: 0;
    padding: 0;
    font-size: 1vw;
}
ul, li{
    text-decoration:none;
}
a{
    color:#fff;
    text-decoration:none;
}
a, p, li{
    font-family: system-ui;
}
p{
    line-height: 1.6em;
}
h1, h2, h3{
    font-family: 'Roboto Condensed',sans-serif;
}
h1{
    font-family: 'Roboto Condensed',sans-serif;
    font-weight: 700;
    color: #5d4b44;
    font-size: 2.8em;
    text-transform: uppercase;
    margin: 1em 0;
    letter-spacing: 0.05em;
}
h2 {
    font-family: 'Roboto Condensed',sans-serif;
    font-weight: 400;
    color: var(--marronfonce);
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    word-break: break-word;
}
h3{
    font-family: 'Roboto Condensed',sans-serif;
    font-weight: 300;
    color: var(--marronfonce);
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.LasyHide{
    display: none;
}

.L50{
    width: 50%;
}
.FlexH{
    display: flex;
    flex-direction: row;
}
.FlexV{
    display: flex;
    flex-direction: column;
}
.FlexVerticalCentre{
    display: flex;
    align-content: center;
    align-items: center;
}
.Ombre {
    box-shadow: -5px 4px 18px 0px rgb(0 0 0 / 50%);
}

.ContenuSection{
    padding: 2% 10%;
}

/* VIGNETTES */
* {
    box-sizing: border-box;
}
.card {
    width: 40%;
    min-width: 300px;
    height: 340px;
    margin: 1em;
    perspective: 10000px;
    z-index: 1;
}
.card p{
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    font-size: 1.3em;
    color:#fff;
    font-weight: 500;
}
.card .content {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.75, 0, 0.85, 1);
    -webkit-transition: all 0.9s ease-in-out;
    box-shadow: -5px 4px 18px 0px rgba(0,0,0,0.5);
}
.card .more{
    display: none;
}
.nomobile .card:hover .content {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}
.card .front, .card .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    /*border-radius: 6px;*/
}
.card .front .inner, .card .back .inner{
    height: 100%;
    display: table;
    transform: translateZ(80px) scale(0.94);
    -webkit-transform: translateZ(50px) scale(0.94);
    width: 100%;
}
.front {
    background-color: #fff;
    background-size: cover;
    background-position: center center;
    -webkit-background-position: center center;
}
.card .front:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    backface-visibility: hidden;
    /*background: linear-gradient(40deg, rgba(0,0,0,0.4), rgba(0,0,0,0.4) );*/
}
.card .front .inner {
    justify-items: center;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-content: center;
    -webkit-align-items: center;
    flex-direction: column;
    flex-flow: wrap;
}
.card .front h2 {
    letter-spacing: 3px;
    color: #fff;
    font-weight: 500;
    /*font-family: 'Source Sans Pro', sans-serif;*/
    font-size: 1.8em;
    text-transform: uppercase;
    max-width: -moz-fit-content;
    max-width: -webkit-fill-available;
}
.card .front .rating {
    grid-row: 3;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    display: flex;
    flex-flow: row nowrap;
    i {
        margin: 0 1px;
    }
}
.card .back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    background-color: #fff;
    /*background-color: #a40c0c;*/
}
.card .back .inner {
    justify-items: center;
}
.card .back .info {
    position: relative;
    display: flex;
    align-items: center;
    color: #355cc9;
    grid-row: 3;
}
.card .back .info:not(:first-of-type):before {
    content: '';
    position: absolute;
    left: -0.9em;
    height: 18px;
    width: 1px;
    background-color: #ccc;
}
.card .back .info span {
    font-size: 2em;
    font-weight: 700;
}
.card .back .info i {
    font-size: 1.2em;
}
.card .back .info i:before {
    background: linear-gradient(40deg, #355cc9, rgb(67, 138, 243));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
.card .back .info .icon {
    margin-left: 0.3em;

}
.card .back .info .icon span {
    display: block;
    margin-top: -0.25em;
    font-size: 0.8em;
    font-weight: 600;
    white-space: nowrap;
}
.card .back .description {
    font-size: 0.86em;
    font-weight: 600;
    line-height: 1.4em;
    overflow: auto;
    display: table;
    height: 100%;
    width: 100%;
    padding: 1em;
    position: absolute;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.card .back .description p{
    color: #000;
}
.card .back .location, .price {
    font-weight: 600;
    color: #355cc9;
    grid-row: 1;
    font-size: 0.86em;
}
.card .back .location {
    grid-column: 1/3;
    justify-self: left;
}
.card .back .price {
    grid-column: 3/-1;
    justify-self: right;
}
.card .back  .button {
    grid-column: 1/-1;
    justify-self: center;
}
.card .button {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    height: 100%;
    background-color: transparent;
    color: #fff;
    text-align: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    text-shadow: 0 0 6px rgba(0,0,0,0.3);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.mobile .card .more ~ .content {
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
}
.mobile .card .more:checked ~ .content {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}
/* FIN VIGNETTES */

#footer{
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #777;
    letter-spacing: 0.1em;
    font-size: 0.8em;
    font-family: system-ui;
}
#footer p{
    margin: 0 1em;
    font-size: 1em;
    color : #222;
    min-height: 48px;
    line-height: 48px;
}
#footer a {
    margin: 0 1em;
    font-size: 1em;
    color: #222;
    letter-spacing: 0.1em;
    min-height: 48px;
    line-height: 48px;
}
.DivFooter{
    display: flex;
    align-items: center;
    padding: 0.5em;
    text-align: center;
}

@media screen and (max-width: 1920px){
    body{
        margin: 0;
        padding: 0;
        font-size: 1em;
    }
}
@media screen and (max-width: 980px){
    .DivFooter {
        display: flex;
        flex-direction: column;
    }

    #footer a, #footer p{
        min-height: 48px;
        line-height: 48px;
    }
}
