
body {
    font-family: 'PT Sans', sans-serif;
    color: var(--font_2)
}

header {
    display: block;
    position: relative;
    height: 460px;
    width: 100%;
    background: var(--bleu_4);
    overflow: hidden;
}

#caption {
    display: block;
    position: absolute;
    width: 100%;
    height: max-content;
    top: 60px;
    bottom: 0;
    margin: auto;
    color: white;
    text-shadow: 0 1px 3px var(--text_shadow);
    font-family: 'Roboto', sans-serif;
    padding: 20px 10%;
    z-index: 2;

}

#caption h2 {
    display: block;
    font-size: 26px;
    max-width: 380px;
    margin-bottom: 8px;
}

#caption .navbtn {
    display: block;
    position: absolute;
    width: max-content;
    height: max-content;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: var(--bleu_5);
    text-align: center;
    font-size: 34px;
    padding: 7px 18px;
    cursor: pointer;
    transition: all 0.2s;
}

span[data-i="text"] {
    display: block;
    font-size: 18px;
    max-width: 380px;
}

span[data-i="img"] {
    display: block;
    position: absolute;
    width: 100%;
    top: 60px;
    bottom: 0;
    max-width: 560px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    right: 20%;
    opacity: 0;
    padding: 40px 30px;
}

span[data-i="img"] li {
    display: none;
    position: relative;
    color: white;
    text-shadow: 0 1px 2px var(--text_shadow_light);
    text-align: center;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease-in-out;

}

span[data-i="img"][data-slide_img="slide_2"] li {
    display: block;
    opacity: 0;
    animation: swoosh .3s ease-in-out 0.2s forwards;
}

/* Crédos */
span[data-i="img"][data-slide_img="slide_2"] li:first-child {
    font-size: 42px;
    padding-left: 115px;
    animation-delay: .4s;
}

span[data-i="img"][data-slide_img="slide_2"] li:nth-child(2) {
    font-size: 12px;
    padding-right: 37px;
    padding-top: 10px;
    animation-delay: .7s;
}

span[data-i="img"][data-slide_img="slide_2"] li:nth-child(3) {
    font-size: 38px;
    padding-top: 7px;
    animation-delay: .5s;
}

span[data-i="img"][data-slide_img="slide_2"] li:nth-child(4) {
    font-size: 14px;
    padding-right: 60px;
    padding-top: 7px;
    text-align: right;
    animation-delay: .4s;
}

span[data-i="img"][data-slide_img="slide_2"] li:nth-child(5) {
    font-size: 26px;
    padding-left: 50px;
    padding-top: 5px;
    animation-delay: .8s;
}

span[data-i="img"][data-slide_img="slide_2"] li:nth-child(6) {
    font-size: 18px;
    padding-right: 100px;
    padding-top: 13px;
    text-align: center;
    animation-delay: .8s;
}

span[data-i="img"][data-slide_img="slide_2"] li:nth-child(7) {
    font-size: 36px;
    padding-right: 15px;
    padding-top: 5px;
    text-align: center;
    animation-delay: .6s;
}

span[data-i="img"][data-slide_img="slide_2"] li:nth-child(8) {
    font-size: 14px;
    padding-top: 4px;
    padding-right: 5px;
    text-align: center;
    animation-delay: .8s;
}

span[data-i="img"] li a {
    transition: all 0.3s ease-in-out;
}

span[data-i="img"] li:hover a {
    font-size: 115%
}

span[data-i="img"][data-slide_img="slide_1"] {
    animation: pushRight .3s ease-in-out 0.2s forwards;
}

span[data-i="img"][data-slide_img="slide_2"] {

    animation: pushUpRight .3s ease-in-out 0.2s forwards;
}

span[data-i="img"][data-slide_img="slide_3"] {
    right: 2%;
    animation: pushLeft .3s ease-in-out 0.2s forwards;
}


#back {
    left: 0
}

#next {
    right: 0
}


.presta_btn {
    display: block;
    position: absolute;
    bottom: 0;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    padding: 15px 25px;
    left: 15px;
    background-color: var(--vert_3);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}


.presta_btn:hover {
    padding-bottom: 20px;
    background-color: var(--vert_4);
}

.items_container {
    display: block;
    position: relative;
    padding: 15px;
    font-family: 'Roboto', sans-serif;
}

.items {
    display: block;
    position: relative;
    width: 100%;
    max-width: 1028px;
    margin: auto auto 30px auto;
    text-align: center;
    padding: 10px 0
}

.items div {
    display: inline-block;
    position: relative;
    line-height: 35px;
    padding: 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-right: 2px dotted var(--grey_dot);
    border-left: 2px dotted var(--grey_dot);
    cursor: pointer
}

.items div:first-child {
    border-left: none;
}

.items div:last-child {
    border-right: none;
}

.items div:hover {
    color: var(--bleu);
}


.preview {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 95%;
    max-width: 1280px;
    margin: auto;
    gap: 10px;
    justify-content: center;
}

.preview .article {
    height: 20vw;
    max-height: 420px;
    position: relative;
    flex-basis: calc(33.33% - 7px);
    overflow: hidden;
    cursor: pointer
}

.preview .article:last-child {
    flex-basis: calc(66.67% - 5px); /* Le dernier fait 2/3 (colspan=2) */
}

.preview .article span[data-src] {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.35s ease-out;
}

.preview .article:hover span[data-src] {
    transform: scale(1.1);
}

.preview .article span[data-src]:after{
    display:block;
    content:'';
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    background:black;
    transition: 0.35s ease-out;
    opacity:0;
}

.preview .article:hover span[data-src]:after{
    opacity:.6;
}



.desc {
    display: block;
    position: absolute;
    height: max-content;
    left: 25px;
    bottom: 25px;
    text-shadow: 0 1px 2px var(--text_shadow);
}

[data-hint="titre"] {
    display: block;
    position: relative;
    color: white;
    font-weight: bold;

}

[data-hint="ss_titre"] {
    display: block;
    position: relative;
    color: white;
    font-size: 24px;
    font-style: italic;

}

.compare {
    display: block;
    position: relative;
    background-color: var(--bleu_3);
    padding: 80px 15px 100px;
    background-attachment: fixed;
    background-position: 50% 50%;
    background-size: cover;
    font-family: 'Roboto', sans-serif;
}

.prices {
    display: block;
    position: relative;
    width: 95%;
    color: white;
    text-shadow: 0 1px 2px var(--text_shadow);
    margin: auto;
    max-width: 1028px;
}

.prices h1 {
    font-size: 42px;
}

.prices h2 {
    font-size: 24px;
}

.prices h5 {
    font-size: 18px;
    font-weight: normal;
    padding-right: 37.5%;
}

.price_tag {
    display: flex;
    justify-content: center;
    align-items: center;
    top: -30px;
    position: relative;
    gap: 0;
}

.price_tag div[data-tag] {
    position: relative;
    padding: 25px;
    background: white;
    text-align: center;
    color: var(--font_2);
    text-shadow: none;
    flex: 1;
    box-shadow: 0 10px 20px var(--active_shadow);
}

.price_tag div[data-tag] i {
    display: block;
    margin-bottom: 10px
}

.price_tag div[data-tag] .typo {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.price_tag div[data-tag="mini"] i,
.price_tag div[data-tag="mini"] strong,
.price_tag div[data-tag="mini"] b {
    color: var(--bleu_6);
}

.price_tag div[data-tag="mini"] i {
    font-size: 25px;
}

.price_tag div[data-tag="start"] i,
.price_tag div[data-tag="start"] strong,
.price_tag div[data-tag="start"] b {
    color: var(--bleu_4);
}

.price_tag div[data-tag="start"] i {
    font-size: 40px;
    margin-bottom: 14px
}

.price_tag div[data-tag="premium"] i,
.price_tag div[data-tag="premium"] strong,
.price_tag div[data-tag="premium"] b {
    color: var(--bleu_5);
}

.price_tag div[data-tag="premium"] i {
    font-size: 60px;
    margin-bottom: 18px
}

.price_tag div[data-tag] i {
    display: block;
}

.price_tag div[data-tag] strong {
    text-transform: uppercase;
}

.price_tag div[data-tag] li {
    line-height: 1.5;
    font-weight: normal;
    margin-bottom: 4px;
}

.price-info {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.price-info strong {
    display: block;
    font-size: 36px;
    margin: 4px 0 15px 0;
}

.price-info strong b {
    display: inline-block;
    position: relative;
    font-size: 18px;
    vertical-align: top;
    top: 8px;
    text-transform: none;
}

.price-info button {
    display: block;
    text-transform: uppercase;
    background-color: var(--vert_3);
    color: white;
    font-size: 16px;
    margin: 10px auto;
    width: 100%;
    max-width: 300px;
    padding: 20px 5px;
    box-shadow: 0 15px 30px var(--box_shadow);
    transition: all 0.25s ease-out;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
}

.price-info button:hover {
    transform: scale3d(0.95, 0.95, 0.95) translate3d(0, 5px, 0);
    box-shadow: 0 5px 10px var(--box_shadow);
    background: var(--vert_5);
}


.ide {
    display: block;
    position: relative;
    background: var(--grey_light);
    min-height: 200px;
    padding: 30px 0 10px;
    font-family: 'Roboto', sans-serif;
}

.ide h1 {
    display: block;
    text-transform: uppercase;
    font-size: 24px;
    text-align: center;
    margin-bottom: 8px;
}

.ide h3 {
    display: block;
    text-align: center;
    font-weight: normal;
    max-width: 640px;
    padding: 0 25px;
    font-size: 16px;
    margin: auto;
    color: var(--font_3)
}

.ide hr {
    display: block;
    height: 3px;
    width: 100px;
    margin: 30px auto;
    background: var(--bleu)
}

.tools {
    display: flex;
    justify-content: center;
    max-width: 680px;
    margin: auto;
}

.tools span {
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100px;
    flex: 1;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    opacity: .4;
}

.tools span:hover {
    opacity: .6;
}

.agencies {
    position: relative;
    padding: 25px 0 25px 25px;
    font-family: 'Roboto', sans-serif;
    color: var(--font_3);
}

.agencies .titre {
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 21px;
    position: relative;
    height: 40px;
    margin-bottom: 25px;
    white-space: nowrap;
}

.agencies .titre:after {
    content: "";
    display: block;
    position: absolute;
    height: 4px;
    background-color: #458CFF;
    left: 0;
    bottom: -35px;
    width: 75px;
}

.agencies .points {
    display: flex;
    justify-content: center;
}

.agencies .points:after {
    content: "contact";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: max-content;
    text-transform: uppercase;
    color: black;
    opacity: .025;
    font-size: 150px;
    letter-spacing: -.05em;
    font-weight: bold;

}

.cart {
    flex: 1;
    position: relative;
}

.cart.left {
    max-width: 480px;
}

.cart.right:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1;
}

.lieux {
    display: block;
    position: relative;
    margin-bottom: 30px;
    padding-left: 100px;
    line-height: 1.4;
}

.lieux span {
    display: block;
}

.map {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .5;
    box-shadow: 0 12px 20px 5px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.map:after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 25px;
    height: 25px;
    margin: auto;
    border-radius: 25px;
    background-color: var(--bleu);
    animation: pulse 0.8s ease-out infinite;
}


@media screen and (max-width: 1028px) {


    #caption .navbtn {
        font-size: 32px;
        padding: 3px 12px;
    }

    .agencies {
        padding: 18px;
    }

    .agencies .titre:after {
        bottom: 0
    }

    .agencies .points:after {
        font-size: 100px;
        top: 50px
    }

    .lieux {
        padding-left: 0;
    }

    .cart.left {
        max-width: unset
    }

    .cart.right {
        display: none;
    }

    span[data-i="img"][data-slide_img="slide_1"] {
        right: unset
    }

    .preview {
        max-width: unset;
        width: 100%;

    }

    .preview .article {
        flex-basis: calc(50% - 5px);
        height: 40vw;
        max-height: 500px;
    }

    .preview .article span[data-src]{
        opacity: 1;
    }

    .preview .article:last-child {
        flex-basis: 100%;
        height: 80vw;
    }

    .compare {
        padding: 50px 15px;
    }

    .prices {
        width: 100%;
        text-align: center;
    }

    .prices h1 {
        font-size: 30px;
    }

    .prices h2 {
        font-size: 18px;
    }

    .prices h5 {
        padding-right: 0;
        font-size: 16px;
    }

    .price_tag {
        display: block;
        top: 0;
        margin-top: 60px;
    }

    .price_tag div[data-tag] {
        padding-top: 60px;
    }

    .price_tag div[data-tag]:not(:last-child) {
        margin-bottom: 80px;
    }

    .price_tag div[data-tag] i {
        position: absolute;
        font-size: 28px;
        width: 75px;
        height: 75px;
        line-height: 75px;
        border-radius: 50%;
        margin: auto;
        box-shadow: 0 15px 30px var(--box_shadow);
        left: 0;
        right: 0;
        top: -37.5px;
        color: white;
    }

    .price_tag div[data-tag="mini"] i {
        background: var(--bleu_6);
    }

    .price_tag div[data-tag="start"] i {
        background: var(--bleu_4);
    }

    .price_tag div[data-tag="premium"] i {
        background: var(--bleu_5);
    }

    .price_tag div[data-tag] li {
        line-height: 1.5;
    }

}

@media screen and (max-width: 768px) {

    #caption:not([data-slide="slide_2"]) {
        background: var(--active_shadow);
        padding: 20px 50px;
    }

    #caption[data-slide="slide_2"] h2,
    #caption[data-slide="slide_2"] span[data-i="text"] {
        display: none !important;
    }

    span[data-i="img"][data-slide_img="slide_3"] {
        right: -15%;
    }

    span[data-i="text"] {
        font-size: 15px;
    }


    .preview, .preview .article {
        display: block;
        width: 100%
    }

    .preview .article {
        max-height: unset;
        height: 80vw;
        margin-bottom: 15px;
    }

    .items div {
        border: none
    }

}

@media only screen and (max-width: 480px) {

    .agencies .titre {
        font-size: 18px;
    }

    .agencies .points::after {
        font-size: 80px
    }

    .preview .article:hover span[data-src] {
        opacity: .95;
    }


}

@media screen and (min-width: 768px) {
    .presta_btn {
        left: 75px;
    }
}

@media screen and (min-width: 1028px) {
    .presta_btn {
        left: 10%;
    }

    .preview {
        margin-bottom: 30px
    }
}


@keyframes pushRight {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    100% {
        transform: translateX(40%);
        opacity: 1;
    }
}

@keyframes pushUpRight {
    0% {
        transform: translateX(0) translateY(20%);
        opacity: 0;
    }
    100% {
        transform: translateX(20%) translateY(0);
        opacity: 1;
    }
}

@keyframes pushLeft {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes swoosh {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

