

#x-contact-trigger-box {
    z-index: 22;
    position: absolute;
}

#x-contact {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bleu_4);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 2px 3px var(--box_shadow);
    transition: all .2s ease-out;
    transition-delay: 0.15s;
    cursor: pointer;
    z-index: 4;
}

#x-contact .bar {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 22px;
    height: 4px;
    background: white;
    transition: 0.35s cubic-bezier(0.87, -0.71, 0.19, 1.44);
}

#x-trigger {
    display: none;

}

#x-trigger + #x-contact > .breadBars > .bar + .bar {
    transform: rotate(90deg);
}

#x-trigger:checked + #x-contact > .breadBars > .bar {

    width: 16px;
}

#x-trigger + #x-contact:active > .breadBars > .bar + .bar {
    transform: rotate(100deg);
}

#x-trigger:checked + #x-contact:active > .breadBars > .bar + .bar {
    transform: rotate(-15deg);
}

#x-trigger:checked + #x-contact {
    width: 40px;
    height: 40px;
    right: 27px;
    bottom: 28px;
}

#x-trigger:checked + #x-contact > .breadBars > .bar + .bar {
    transform: none;
}

#x-trigger + #x-contact ~ button {
    display: block;
    position: fixed;
    right: 22px;
    bottom: 22px;
    margin: auto;
    width: 50px;
    height: 50px;
    transition: all .2s ease-out;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    background: var(--bleu_4);
    box-shadow: 0 2px 3px var(--box_shadow);
    z-index: 1;
}

#x-trigger:checked + #x-contact ~ button {
    display: block;
    transform: scale(1);
    opacity: 1;
}

#x-trigger + #x-contact ~ [data-id="x-devis-o"] svg,
#x-trigger + #x-contact ~ [data-id="x-text-o"] svg {
    width: 20px;
    fill: white;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

#x-trigger + #x-contact ~ [data-id="x-text-o"] svg {
    animation: shake .95s ease-in-out infinite;
}


#x-trigger + #x-contact ~ [data-id="x-devis-o"] {
    animation: bumpDown_devis .2s ease-out forwards;

}

#x-trigger + #x-contact ~ [data-id="x-text-o"] {
    animation: bumpDown_text .2s ease-out forwards;

}

#x-trigger + #x-contact ~ [data-id="x-ticket-o"] {
    animation: bumpDown_ticket .2s ease-out forwards;

}

#x-trigger:checked + #x-contact ~ [data-id="x-devis-o"] {
    animation: bumpUp_devis .2s ease-out forwards;

}

#x-trigger:checked + #x-contact ~ [data-id="x-text-o"] {

    animation: bumpUp_text .2s ease-out forwards;
    animation-delay: .1s;
}

#x-trigger:checked + #x-contact ~ [data-id="x-ticket-o"] {

    animation: bumpUp_ticket .2s ease-out forwards;
    animation-delay: .2s;
}

#x-contact-trigger-box.preload #x-trigger:not(:checked) + #x-contact ~ button {
    display: none;
}

#contact_panel {
    display: none;
    position: fixed;
    width: 100%;
    max-width: 960px;
    height: max-content;
    max-height: 80%;
    padding: 35px;
    font-family: 'Roboto', sans-serif;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: white;
}

#contact_panel.open {
    display: block;
}

[data-xfo="titre"] {
    display: block;
    color: var(--bleu_4);
    font-size: clamp(18px, 4vw, 38px);
    text-align: center;
    font-weight: bold;
}

[data-xfo="ss_titre"] {
    display: block;
    text-align: center;
    font-size: clamp(16px, 2vw, 21px);
}


.choice_container {
    margin-top: 25px;
}

#data_collect {
    display: none;
}

.choice_container section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 460px;
    margin: auto;
}

.choice_container section[data-step]:not(.active) {
    display: none
}

.choice_container section[data-step] span[data-pick] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
    box-shadow: 0 2px 3px var(--box_shadow);
    border-radius: 7px;
    height: 200px;
    max-width: 240px;
}

.choice_container section[data-step] span[data-src] {
    display: block;
    position: absolute;
    height: 80%;
    top: 0;
    left: 0;
    right: 0;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;

}

.choice_container section[data-step] span[data-info] {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20%;

}

.choice_container section[data-step] span[data-info]:before {
    content: attr(data-info);
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    text-transform: uppercase;
    height: max-content;
    margin: auto;
}


.choice_container section[data-step] span[data-pick]:hover,
.choice_container section[data-step] span[data-pick]:active,
.choice_container section[data-step] span[data-pick].picked {
    outline: 2px solid var(--bleu_4);
    box-shadow: 0 10px 20px var(--blue_shadow);
}

.choice_container section[data-step] span[data-pick]:hover span[data-info],
.choice_container section[data-step] span[data-pick]:active span[data-info],
.choice_container section[data-step] span[data-pick].picked span[data-info] {
    background: var(--bleu_4);
    color: white
}

#back_step {
    display: block;
    position: absolute;
    top: 15px;
    left: 15px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    padding: 10px;
}

.choice_container section[data-step="1"].active ~ #back_step {
    display: none !important
}


#close_step {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    padding: 10px;
}

#back_step svg,
#close_step svg {
    height: 100%;
    width: 100%;
    fill: var(--grey_8)
}

#back_step:hover svg,
#close_step:hover svg {
    fill: var(--bleu)
}

#nav.active + #x-contact-trigger-box *{
    visibility: hidden;
    pointer-events: none;
    transition: none;
    animation: none;
}


.disabled {
    display: none !important;
}

@media screen and (max-width: 1028px) {
    #contact_panel {
        padding: 25px;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: unset;
        max-height: unset;

    }
}

@media screen and (max-width: 480px) {
    .choice_container section[data-step] span[data-pick] {
        height: 150px;
    }
}


@keyframes bumpUp_devis {
    0% {
        bottom: 14px;
        width: 40px;
        height: 40px;
        right: 25px;
        opacity: 1
    }
    40% {
        bottom: 14px;
        width: 40px;
        height: 40px;
        right: 25px;
    }
    100% {
        bottom: 184px;
    }
}

@keyframes bumpUp_text {
    0% {
        bottom: 14px;
        width: 40px;
        height: 40px;
        right: 25px;
        opacity: 1
    }
    40% {
        bottom: 14px;
        width: 40px;
        height: 40px;
        right: 25px;
    }
    100% {
        bottom: 128px;
    }
}

@keyframes bumpUp_ticket {
    0% {
        bottom: 14px;
        width: 40px;
        height: 40px;
        right: 25px;
        opacity: 1
    }
    40% {
        bottom: 14px;
        width: 40px;
        height: 40px;
        right: 25px;
    }
    100% {
        bottom: 72px;
    }
}

@keyframes bumpDown_devis {
    0% {
        bottom: 184px;
        opacity: 1;
    }
    40% {
        bottom: 194px;
    }
    100% {
        bottom: 22px;
    }
}

@keyframes bumpDown_text {
    0% {
        bottom: 128px;
        opacity: 1;
    }
    40% {
        bottom: 138px;
    }
    100% {
        bottom: 22px;
    }
}

@keyframes bumpDown_ticket {
    0% {
        bottom: 72px;
        opacity: 1;
    }
    40% {
        bottom: 82px;
    }
    100% {
        bottom: 22px;
    }
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }
    5% {
        transform: rotate(-15deg);
    }
    10% {
        transform: rotate(15deg);
    }
    15% {
        transform: rotate(-15deg);
    }
    20% {
        transform: rotate(15deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    30% {
        transform: rotate(15deg);
    }
    35% {
        transform: rotate(-15deg);
    }
    40% {
        transform: rotate(15deg);
    }
    45% {
        transform: rotate(0deg);
    }
    45%, 100% {
        transform: rotate(0deg);
    }
}