@charset "utf-8";

html, body, section {
    overflow-x: hidden;
}

body {
    background-color: #d7e5ef;
    font-family: 'Open Sans', sans-serif;
}

#fixed-background {
    background: url('../img/bg.webp') no-repeat center center / cover;
    height: 706px;
    overflow: hidden;
    padding-bottom: 50px;
    position: absolute;
    width: 100%;
    z-index: -1;
}

#fixed-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
    z-index: 1;
}

#fixed-background::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

#legal #fixed-background {
    height: 250px;
}

#legal #fixed-background::before {
    display: none;
}

#legal #fixed-background::after {
    height: 100px;
    z-index: 0;
}

#questionnaire {
    padding-bottom: 50px;
}

header, form {
    position: relative;
    z-index: 2;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    position: relative;
}

h2, .h2 {
    text-shadow: 0 0 6px rgb(105, 157, 181);
}

h2.rounded-pill {
    border-radius: 40px !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.navbar-brand {
    max-width: 250px;
}

a {
    color: rgb(44, 90, 111);
}

.question-step {
    opacity: 0;
    display: none;
    min-height: 406px;
    padding-top: 0;
    border-radius: 3rem;
}

.question-step.active {
    opacity: 1;
    display: block;
}

.circle-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(to bottom, #638ba9, #67ccf3);
    color: #fffaf2;
    border: 0 !important;
    padding: 2rem !important;
    box-shadow: inset 0 10px 0 rgba(255, 255, 255, 0.14), inset 0 -10px 0 rgba(90, 40, 10, 0.15), 0 4px 10px rgb(140, 179, 202);
    transition: all 0.3s ease;
}

.circle-icon:hover {
    box-shadow: 0 6px 14px rgba(131, 202, 238, 0.95),
    0 0 0 3px rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    transition: 0.3s ease;
}


.bottom-curves {
    position: absolute;
    bottom: -250px;
    width: 100%;
    height: 500px;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    transform: scaleY(-1);
}

.bottom-curves svg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
}

.curve1 {
    z-index: 3;
}

.curve2 {
    z-index: 2;
}

.curve3 {
    z-index: 1;
}

.bg-primary {
    background-color: #2C5A6F !important;
}

.text-primary {
    color: #c9efff !important;
}

#oneclick .text-primary, #infoIcon {
    color: #2c5a6f !important;
}

.badge-step {
    position: absolute;
    right: 30px;
    top: 10px;
    font-size: 1rem;
    box-shadow: 0 0 6px rgb(102, 191, 229);
    background: #263b46 !important;
    color: #fff !important;
    border-radius: 50px;
    padding: 6px 14px;
    font-weight: 500;
}

#recent-activity {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgb(44, 90, 111);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    z-index: 9999;
}

#dynamic-time {
    font-size: 1rem;
    background: linear-gradient(170deg, #ff9a5d, #ffebbc, #ff9a5d);
    color: #3e2e1d;
    padding: 12px 24px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-weight: 500;
}

.porteur {
    margin-left: 50px;
    z-index: -1;
    position: relative;
}

.speech-bubble {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: .5rem;
    color: #222;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    left: -21px;
    top: 25px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 20px solid rgba(255, 255, 255, 0.95);
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.1));
    z-index: -1;
}

.card-body {
    padding: 2rem;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgb(116, 159, 182) !important;
}

.step-icon {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c5a6f;
    color: white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    font-weight: bold;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    z-index: 1;
}

@keyframes hourglassFlipContinuous {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    51% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hourglass-animated {
    display: inline-block;
    animation: hourglassFlipContinuous 3s infinite ease-in-out;
}

footer, footer a {
    color: #666;
}

.gift {
    max-width: 400px;
}

.popover {
    z-index: 1050 !important;
    max-width: 250px;
}

.popover-arrow {
    display: block !important;
}

.popover-header {
    color: #000;
}

.form-check-input:checked {
    background-color: #187f52;
    border-color: #187f52;
}

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 900px;
}

.accordion-button {
    font-size: 1.5rem;
}

.border-primary {
    border-color: rgb(211, 222, 227) !important;
}

.text-secondary {
    color: rgb(38, 59, 70) !important;
}

.text-warning.fw-bold {
    background: #263b46;
    max-width: 300px;
    margin: 0 auto;
}

#fixed-el {
    background: url('../img/bg.webp') no-repeat center top / cover;
    position: relative;
    z-index: 1;
}

#fixed-el::after {
    content: "";
    position: absolute;
    top: -40px;
    left: 50px;
    width: 100px;
    height: 100px;
    background: url("../img/deco.webp") no-repeat center;
    background-size: contain;
    z-index: 0;
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(to bottom, #638ba9, #67ccf3);
    color: #fff;
    border: none;
    padding: 1.25rem 2rem !important;
    border-radius: 30px;
    box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.08), inset 0 -5px 0 rgba(90, 40, 10, 0.15), 0 4px 5px rgba(58, 142, 151, 0.33);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(131, 202, 238, 0.95),
    0 0 0 3px rgba(255, 255, 255, 0.1);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(190, 80, 30, 0.3);
}

.bg-black {
    background-color: #263B46 !important;
}

.owl-carousel .card {
    min-height: 370px;
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: calc(100% + 50px);
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    left: -25px;
}

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev {
    background: linear-gradient(to bottom, #66bce1, #6496b6);
    box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.08), inset 0 -5px 0 rgba(90, 40, 10, 0.15), 0 4px 5px rgb(215, 201, 220);
    color: white;
    border: none;
    transition: all 0.3s ease;
    border-radius: 50px;
    top: -20px;
    position: relative;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    pointer-events: auto;
}

.lead {
    font-weight: 500;
}

.bi-arrow-down-short {
    position: relative;
    top: 3px;
}

.form-select, .form-control {
    background-color: #f9f9f9;
}

#infoIcon {
    cursor: pointer;
}

.back-step {
    display: block;
    margin-top: 50px;
}

.question-step[data-step="7"] .back-step {
    margin-top: 0;
}

@media (min-width: 992px) {
    .h1, h1 {
        font-size: 1.75rem;
    }

    .h2, h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    #dynamic-time {
        font-size: .85rem;
        padding: 10px;
    }

    .porteur {
        margin-left: 20px !important;
        max-width: 150px;
        display: block;
    }

    .navbar-brand {
        max-width: 200px;
        position: absolute;
        right: 0;
        top: -85px;
    }

    #legal .navbar-brand {
        position: initial;
        margin-top: 10px;
    }

    .h1, h1 {
        font-size: 1.35rem !important;
    }

    #legal h1 {
        font-size: 1.75rem !important;
    }

    .speech-bubble p {
        font-size: .9rem;
    }

    .order-3 {
        padding: 0;
        font-size: .9rem;
    }

    .speech-bubble::after {
        content: '';
        position: absolute;
        top: -33px;
        left: 84px;
        width: 0;
        height: 0;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-bottom: 20px solid rgba(255, 255, 255, 0.95);
        filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.1));
        z-index: -1;
    }

    .badge-step {
        top: -20px;
        box-shadow: inherit;
        left: 50%;
        margin-left: -50px;
        display: block;
        width: 100px;
        background: #263b46 !important;
    }

    h2 {
        font-size: 1.75rem;
    }

    #fixed-el h2 {
        font-size: 2.25rem;
    }

    .question-step {
        margin-top: 30px;
    }

    .lead {
        font-size: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .circle-icon {
        width: 80px;
        height: 80px;
        margin: 0;
        padding: 1.5rem !important;
    }

    .h3, h3 {
        font-size: 1.5rem;
    }

    .step-icon {
        top: -50px;
    }

    .accordion-button {
        font-size: 1.25rem;
    }

    #fixed-el::after {
        left: 30px;
        width: 80px;
        height: 80px;
    }

    .owl-carousel .card {
        min-height: auto;
    }

    .owl-nav {
        width: calc(100% + 30px);
        left: -15px;
    }

    .owl-item .card-body {
        padding: 2.5rem;
    }

    #recent-activity {
        max-width: 300px;
    }

    .tooltip {
        display: none !important;
    }

    .btn-primary {
        width: 100% !important;
    }

    #legal #fixed-background {
        min-height: 300px;
    }

    .form-select-lg, .form-control-lg {
        padding-right: 0;
        padding-left: .5rem;
        background-position: right .25rem center !important;
    }
}
