/* QG Business — formalities wizard, aligned with domiciliation and booking. */
html {
    min-height: 100%;
    background: #080808;
}

body.page-template-offres-formalites {
    --qg-form-ink: #f7f7f5;
    --qg-form-muted: rgba(255,255,255,.5);
    --qg-form-line: rgba(255,255,255,.14);
    --qg-form-panel: rgba(255,255,255,.055);
    min-height: 100%;
    overflow-x: hidden;
    padding: 0 !important;
    color: var(--qg-form-ink);
    background:
        radial-gradient(circle at 78% 4%, rgba(255,255,255,.11), transparent 30%),
        #080808 !important;
}

body.page-template-offres-formalites::before {
    position: fixed;
    z-index: 0;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 76px 76px;
    content: "";
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 84%);
    mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

body.page-template-offres-formalites .qg-flow-mobile-head {
    display: none !important;
}

body.page-template-offres-formalites .custom-souscription-formalities-left {
    position: fixed;
    z-index: 2;
    inset: 0 auto 0 0;
    display: flex;
    width: 28%;
    height: 100svh;
    padding: clamp(28px, 3vw, 52px);
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background-position: center;
    background-size: cover;
}

body.page-template-offres-formalites .custom-souscription-formalities-left::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.82));
    content: "";
}

body.page-template-offres-formalites .custom-souscription-formalities-left .overlay-sl {
    display: none;
}

body.page-template-offres-formalites .qg-flow-aside-top,
body.page-template-offres-formalites .qg-flow-aside-bottom {
    position: relative;
    z-index: 1;
}

body.page-template-offres-formalites .qg-flow-logo {
    display: grid;
    width: 78px;
    height: 78px;
    margin-bottom: clamp(44px, 8vh, 86px);
    place-items: center;
    background: #000;
}

body.page-template-offres-formalites .qg-flow-logo img {
    width: 100%;
    height: 100%;
    padding: 13%;
    object-fit: contain;
}

body.page-template-offres-formalites .qg-flow-kicker {
    margin: 0 0 22px;
    color: rgba(255,255,255,.6);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .18em;
    text-transform: uppercase;
}

body.page-template-offres-formalites .qg-flow-aside h1 {
    max-width: 430px;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 4vw, 72px);
    font-weight: 500;
    line-height: .96;
    letter-spacing: -.06em;
}

body.page-template-offres-formalites .qg-flow-copy {
    max-width: 430px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.62);
    font-size: 15px;
    line-height: 1.7;
}

body.page-template-offres-formalites .qg-flow-aside-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

body.page-template-offres-formalites .qg-flow-proof {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,.55);
    font-size: 11px;
}

body.page-template-offres-formalites .qg-flow-proof span {
    display: grid;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    place-items: center;
}

body.page-template-offres-formalites .qg-flow-proof p { margin: 0; }
body.page-template-offres-formalites .qg-flow-proof strong { color: #fff; }

body.page-template-offres-formalites .qg-flow-phone {
    color: #fff;
    text-align: right;
    text-decoration: none;
}

body.page-template-offres-formalites .qg-flow-phone small,
body.page-template-offres-formalites .qg-flow-phone strong { display: block; }
body.page-template-offres-formalites .qg-flow-phone small { color: rgba(255,255,255,.5); font-size: 9px; text-transform: uppercase; }
body.page-template-offres-formalites .qg-flow-phone strong { margin-top: 5px; font-size: 14px; }

body.page-template-offres-formalites .custom-souscription-formalities-right {
    position: relative;
    z-index: 1;
    width: 72%;
    min-height: 100svh;
    margin-left: 28%;
    padding: 0 !important;
    color: #fff;
    background: rgba(5,5,5,.56);
}

body.page-template-offres-formalites .qg-flow-container,
body.page-template-offres-formalites .qg-flow-container > .row,
body.page-template-offres-formalites .qg-flow-container > .row > [class*="col-"] {
    width: 100%;
    max-width: none !important;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

#formality-subscription-root {
    min-height: 100svh;
    padding: 0 !important;
}

.qg-formality-wizard-head {
    position: fixed;
    z-index: 2100;
    top: 0;
    right: 0;
    left: 28%;
    color: #fff;
    background: linear-gradient(180deg, rgba(5,5,5,.94), rgba(5,5,5,.64));
    backdrop-filter: blur(22px) saturate(110%);
    -webkit-backdrop-filter: blur(22px) saturate(110%);
}

.qg-formality-wizard-progress {
    width: 100%;
    height: 2px;
    overflow: hidden;
    background: rgba(255,255,255,.09);
}

.qg-formality-wizard-progress > span {
    display: block;
    width: 4%;
    height: 100%;
    background: #fff;
    transform-origin: left center;
    transition: width .55s cubic-bezier(.2,.8,.2,1);
}

.qg-formality-wizard-meta {
    display: grid;
    min-height: 86px;
    align-items: center;
    padding: 0 clamp(22px, 4vw, 62px);
    border-bottom: 1px solid rgba(255,255,255,.09);
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
}

.qg-formality-wizard-logo {
    display: none;
    width: 58px;
    height: 58px;
    place-items: center;
    background: #000;
}

.qg-formality-wizard-logo img {
    width: 100%;
    height: 100%;
    padding: 13%;
    object-fit: contain;
}

.qg-formality-wizard-count,
.qg-formality-wizard-current {
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.qg-formality-wizard-count { justify-self: center; color: rgba(255,255,255,.48); }
.qg-formality-wizard-current { color: rgba(255,255,255,.88); }

.qg-formality-wizard-exit {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
}

.qg-formality-wizard-exit svg {
    width: 32px;
    height: 32px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.5;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.qg-formality-wizard-exit:hover { color: #fff; }
.qg-formality-wizard-exit:hover svg { color: #080808; background: #fff; transform: rotate(90deg); }

#formality-subscription-form {
    display: flex;
    min-height: 100svh;
    padding: 0 !important;
    flex-direction: column;
    color: #fff;
}

#formality-subscription-form .step {
    width: min(850px, calc(100% - 64px));
    min-height: 100svh;
    margin: 0 auto !important;
    padding: 150px 0 142px !important;
    color: #fff;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(20px);
}

#formality-subscription-form .step.qg-formality-step-enter {
    opacity: 1;
    filter: none;
    transform: translateY(0);
    transition: opacity .45s ease, filter .55s ease, transform .55s cubic-bezier(.2,.8,.2,1);
}

#formality-subscription-form .step > h2,
#formality-subscription-form .step > .qg-step-intro h2 {
    max-width: 780px;
    margin: 0 auto clamp(34px, 5vw, 58px) !important;
    color: #fff !important;
    font-size: clamp(42px, 5.1vw, 72px) !important;
    font-weight: 480 !important;
    line-height: .98;
    letter-spacing: -.06em;
    text-align: center;
}

#formality-subscription-form label:not(.card):not(.form-check-label) {
    display: block;
    margin-bottom: 9px;
    color: rgba(255,255,255,.48);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#formality-subscription-form .form-control,
#formality-subscription-form .form-select {
    min-height: 62px;
    margin-bottom: 18px;
    padding: 14px 4px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.28);
    border-radius: 0;
    color: #fff;
    background: transparent;
    box-shadow: none;
    font-size: clamp(17px, 1.5vw, 22px);
}

#formality-subscription-form textarea.form-control {
    min-height: 150px;
    padding: 18px;
    border: 1px solid var(--qg-form-line);
    border-radius: 18px;
    background: var(--qg-form-panel);
}

#formality-subscription-form .form-control::placeholder { color: rgba(255,255,255,.25); }
#formality-subscription-form .form-control:focus,
#formality-subscription-form .form-select:focus { border-bottom-color: #fff; background: transparent; box-shadow: none; }
#formality-subscription-form .form-select option { color: #111; background: #fff; }

#formality-subscription-form .row.options { gap: 0; }
#formality-subscription-form .card.option,
#formality-subscription-form .card.choice-option {
    min-height: 116px;
    justify-content: center;
    padding: 22px !important;
    overflow: hidden;
    border: 1px solid var(--qg-form-line);
    border-radius: 20px;
    color: rgba(255,255,255,.82);
    background: var(--qg-form-panel);
    box-shadow: none;
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease, color .25s ease, transform .25s ease;
}

#formality-subscription-form .card.option:hover,
#formality-subscription-form .card.choice-option:hover {
    border-color: rgba(255,255,255,.46);
    color: #fff;
    background: rgba(255,255,255,.09);
    box-shadow: none;
    transform: translateY(-2px);
}

#formality-subscription-form .card.option.selected,
#formality-subscription-form .card.choice-option.selected,
#formality-subscription-form .card.option.selected:hover,
#formality-subscription-form .card.choice-option.selected:hover {
    border-color: #fff;
    color: #080808;
    background: #fff;
    box-shadow: 0 20px 65px rgba(0,0,0,.24);
}

#formality-subscription-form .card.option.selected .text-muted,
#formality-subscription-form .card.choice-option.selected .text-muted { color: rgba(0,0,0,.55) !important; }

#formality-subscription-form .card.option strong,
#formality-subscription-form .card.option .fw-bold { color: inherit; }
#formality-subscription-form .text-orange { color: inherit !important; }
#formality-subscription-form .text-muted,
#formality-subscription-form .form-text { color: rgba(255,255,255,.46) !important; }

#formality-subscription-form .alert,
#formality-subscription-form .list-group-item,
#formality-subscription-form .accordion-item {
    border-color: var(--qg-form-line) !important;
    color: rgba(255,255,255,.76) !important;
    background: var(--qg-form-panel) !important;
}

#formality-subscription-form .btn {
    min-height: 54px;
    padding: 13px 24px;
    border-radius: 999px !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
}

#formality-subscription-form .btn-dark,
#formality-subscription-form .btn-primary,
#formality-subscription-form .btn-gradient-or {
    border: 1px solid #fff !important;
    color: #080808 !important;
    background: #fff !important;
}

#formality-subscription-form .btn-dark:hover,
#formality-subscription-form .btn-primary:hover,
#formality-subscription-form .btn-gradient-or:hover {
    color: #fff !important;
    background: transparent !important;
}

#formality-subscription-form .btn-outline-dark,
#formality-subscription-form .btn-outline-primary,
#formality-subscription-form .btn-outline-secondary {
    border: 1px solid rgba(255,255,255,.3) !important;
    color: #fff !important;
    background: transparent !important;
}

#formality-subscription-form .navigation-buttons,
#formality-subscription-form .fixed-bottom-buttons {
    position: fixed;
    z-index: 2050;
    right: 0;
    bottom: 22px;
    left: 28%;
    width: auto;
    margin: 0 !important;
    padding: 0 28px;
    align-items: center;
    justify-content: center !important;
    gap: 12px;
    pointer-events: none;
}

#formality-subscription-form .navigation-buttons .btn,
#formality-subscription-form .fixed-bottom-buttons .btn {
    min-width: 170px;
    pointer-events: auto;
}

#formality-subscription-form .navigation-buttons .prev-step,
#formality-subscription-form .fixed-bottom-buttons .prev-step {
    min-width: 54px;
    width: 54px;
    padding-inline: 0;
}

#formality-subscription-form .navigation-buttons::before,
#formality-subscription-form .fixed-bottom-buttons::before {
    position: fixed;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 28%;
    height: 106px;
    border-top: 1px solid rgba(255,255,255,.1);
    background: rgba(6,6,6,.88);
    box-shadow: 0 -20px 55px rgba(0,0,0,.28);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    content: "";
}

#formality-subscription-form .form-check-input {
    width: 22px;
    height: 22px;
    border-color: rgba(255,255,255,.45);
    background-color: transparent;
}

#formality-subscription-form .form-check-input:checked { border-color: #fff; background-color: #fff; }
#formality-subscription-form .form-check-label { color: rgba(255,255,255,.72); }
#formality-subscription-form .form-check-label a { color: #fff; }

#formality-subscription-form #formality-card-number-element,
#formality-subscription-form #formality-card-expiry-element,
#formality-subscription-form #formality-card-cvc-element {
    padding: 20px 18px;
    border: 1px solid var(--qg-form-line);
    border-radius: 16px;
    background: #fff;
}

#formality-subscription-modal .modal-content {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    color: #fff;
    background: #111;
}

/* The public theme also contains legacy formality rules. Keep this wizard as
   the single source of truth while those pages remain available. */
body.page-template-offres-formalites .custom-souscription-formalities-right {
    width: 72% !important;
    margin-left: 28% !important;
    padding: 0 !important;
    background: rgba(5,5,5,.56) !important;
}

body.page-template-offres-formalites .qg-flow-container {
    max-width: none !important;
}

body.page-template-offres-formalites #formality-subscription-root {
    width: 100% !important;
    min-height: 100svh;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.page-template-offres-formalites #formality-subscription-form {
    min-height: 100svh;
    color: #fff !important;
    background: transparent !important;
}

body.page-template-offres-formalites #formality-subscription-form .step {
    color: #fff !important;
    background: transparent !important;
}

body.page-template-offres-formalites #formality-subscription-form .step h2 {
    margin: 0 auto clamp(34px, 5vw, 58px) !important;
    color: #fff !important;
    font-size: clamp(42px, 5.1vw, 72px) !important;
    line-height: .98 !important;
    text-align: center !important;
}

body.page-template-offres-formalites #formality-subscription-form .card.option,
body.page-template-offres-formalites #formality-subscription-form .card.choice-option,
body.page-template-offres-formalites #formality-subscription-form .step .card {
    border: 1px solid var(--qg-form-line) !important;
    border-radius: 20px !important;
    color: rgba(255,255,255,.82) !important;
    background: var(--qg-form-panel) !important;
    box-shadow: none !important;
}

body.page-template-offres-formalites #formality-subscription-form .card.option:hover,
body.page-template-offres-formalites #formality-subscription-form .card.choice-option:hover,
body.page-template-offres-formalites #formality-subscription-form .step .card:hover {
    border-color: rgba(255,255,255,.46) !important;
    color: #fff !important;
    background: rgba(255,255,255,.09) !important;
}

body.page-template-offres-formalites #formality-subscription-form .card.option.selected,
body.page-template-offres-formalites #formality-subscription-form .card.choice-option.selected {
    border-color: #fff !important;
    color: #080808 !important;
    background: #fff !important;
    box-shadow: 0 20px 65px rgba(0,0,0,.24) !important;
}

body.page-template-offres-formalites #formality-subscription-form .bg-aliceblue {
    color: rgba(255,255,255,.58) !important;
    background: rgba(255,255,255,.08) !important;
}

body.page-template-offres-formalites #formality-subscription-form .card.option.selected .bg-aliceblue {
    color: rgba(0,0,0,.6) !important;
    background: rgba(0,0,0,.08) !important;
}

@media (max-width: 1023.98px) {
    body.page-template-offres-formalites .custom-souscription-formalities-left { display: none !important; }
    body.page-template-offres-formalites .custom-souscription-formalities-right { width: 100% !important; margin-left: 0 !important; background: #080808 !important; }
    .qg-formality-wizard-head { left: 0; }
    #formality-subscription-form .navigation-buttons,
    #formality-subscription-form .fixed-bottom-buttons { left: 0; }
    #formality-subscription-form .navigation-buttons::before,
    #formality-subscription-form .fixed-bottom-buttons::before { left: 0; }
}

@media (max-width: 767.98px) {
    body.page-template-offres-formalites * { box-sizing: border-box; }

    body.page-template-offres-formalites,
    body.page-template-offres-formalites .custom-souscription-formalities-right,
    #formality-subscription-root,
    #formality-subscription-form { min-height: 100dvh; }

    .qg-formality-wizard-meta {
        min-height: 74px;
        padding: 0 16px;
        grid-template-columns: auto 1fr auto;
        gap: 14px;
    }

    .qg-formality-wizard-logo { display: grid; width: 48px; height: 48px; }
    .qg-formality-wizard-current { display: none; }
    .qg-formality-wizard-count { justify-self: center; }
    .qg-formality-wizard-exit { grid-column: 3; }
    .qg-formality-wizard-exit span { display: none; }

    #formality-subscription-form .step {
        width: calc(100% - 32px);
        max-width: calc(100vw - 32px);
        min-height: 100dvh;
        padding: 112px 0 calc(118px + env(safe-area-inset-bottom)) !important;
        overflow: hidden;
    }

    #formality-subscription-form .step > *,
    #formality-subscription-form .step .d-flex > div,
    #formality-subscription-form .step .options,
    #formality-subscription-form .step .row,
    #formality-subscription-form .step [class*="col-"] {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    #formality-subscription-form .step .row {
        margin-right: 0;
        margin-left: 0;
    }

    #formality-subscription-form .step [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }

    #formality-subscription-form .step > h2,
    #formality-subscription-form .step > .qg-step-intro h2 {
        margin-bottom: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
        font-size: clamp(28px, 8.2vw, 38px) !important;
        overflow-wrap: anywhere;
        white-space: normal !important;
    }

    #formality-subscription-form input:not([type="checkbox"]):not([type="radio"]),
    #formality-subscription-form select,
    #formality-subscription-form textarea,
    #formality-subscription-form .form-control,
    #formality-subscription-form .form-select { font-size: 16px !important; }

    #formality-subscription-form .card.option,
    #formality-subscription-form .card.choice-option,
    #formality-subscription-form .step .card {
        min-height: 92px;
        padding: 17px !important;
        border-radius: 16px;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    #formality-subscription-form .step .card small,
    #formality-subscription-form .step .card span {
        max-width: 100%;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    #formality-subscription-form .navigation-buttons,
    #formality-subscription-form .fixed-bottom-buttons {
        position: fixed !important;
        z-index: 5000;
        inset: auto 0 calc(var(--qg-formality-mobile-bottom, 0px) + 8px) !important;
        display: flex !important;
        width: 100% !important;
        min-height: calc(78px + env(safe-area-inset-bottom));
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) !important;
        background: rgba(6,6,6,.94);
        box-shadow: 0 -18px 50px rgba(0,0,0,.28);
    }

    #formality-subscription-form .navigation-buttons::before,
    #formality-subscription-form .fixed-bottom-buttons::before { display: none; }

    #formality-subscription-form .navigation-buttons .btn,
    #formality-subscription-form .fixed-bottom-buttons .btn { min-width: 0; flex: 1; }
    #formality-subscription-form .navigation-buttons .prev-step,
    #formality-subscription-form .fixed-bottom-buttons .prev-step { flex: 0 0 54px; }
}

/* 2026 — Formalités aligned with the Domiciliation wizard. */
body.page-template-offres-formalites {
    --qg-form-line: rgba(255,255,255,.14);
    --qg-form-panel: rgba(255,255,255,.045);
    background:
        radial-gradient(circle at 50% 46%, rgba(255,255,255,.075), transparent 36%),
        #050505 !important;
}

body.page-template-offres-formalites::before {
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 76px 76px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 86%);
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

body.page-template-offres-formalites .custom-souscription-formalities-left,
body.page-template-offres-formalites .qg-flow-mobile-head {
    display: none !important;
}

body.page-template-offres-formalites .custom-souscription-formalities-right {
    width: 100% !important;
    min-height: 100svh;
    margin-left: 0 !important;
    background: rgba(5,5,5,.76) !important;
    backdrop-filter: blur(22px) saturate(90%);
    -webkit-backdrop-filter: blur(22px) saturate(90%);
}

body.page-template-offres-formalites .qg-formality-wizard-head {
    right: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(5,5,5,.86), rgba(5,5,5,.35));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.page-template-offres-formalites .qg-formality-wizard-meta {
    grid-template-columns: auto 1fr auto 1fr;
}

body.page-template-offres-formalites .qg-formality-wizard-logo {
    display: grid;
}

body.page-template-offres-formalites #formality-subscription-form .step {
    width: min(880px, calc(100% - 48px));
    padding: 150px 0 135px !important;
}

body.page-template-offres-formalites #formality-subscription-form .step.qg-formality-step-enter {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

body.page-template-offres-formalites #formality-subscription-form .step > h2,
body.page-template-offres-formalites #formality-subscription-form .qg-step-intro h2 {
    max-width: 760px;
    margin: 0 auto 18px !important;
    font-size: clamp(40px, 5vw, 76px) !important;
    font-weight: 450 !important;
    line-height: .98;
    letter-spacing: -.06em;
}

body.page-template-offres-formalites .qg-formality-project {
    width: 100%;
}

body.page-template-offres-formalites .qg-step-intro {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

body.page-template-offres-formalites .qg-step-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
    color: rgba(255,255,255,.46);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .2em;
    text-transform: uppercase;
}

body.page-template-offres-formalites .qg-step-kicker::before {
    width: 34px;
    height: 1px;
    background: rgba(255,255,255,.5);
    content: "";
}

body.page-template-offres-formalites .qg-step-intro > p {
    margin: 0;
    color: rgba(255,255,255,.52);
    font-size: 17px;
}

body.page-template-offres-formalites .qg-project-options {
    display: grid;
    width: min(680px, 100%);
    margin: 0 auto;
    gap: 12px;
}

body.page-template-offres-formalites #formality-subscription-form .qg-project-card {
    position: relative;
    display: flex;
    min-height: 104px;
    margin: 0;
    padding: 22px 68px 22px 26px !important;
    align-items: center;
    justify-content: flex-start;
    border-radius: 16px;
    text-align: left;
}

body.page-template-offres-formalites .qg-project-copy {
    display: block;
    min-width: 0;
}

body.page-template-offres-formalites .qg-project-copy strong,
body.page-template-offres-formalites .qg-project-copy small {
    display: block;
}

body.page-template-offres-formalites .qg-project-copy strong {
    color: inherit;
    font-size: 18px;
    font-weight: 650;
}

body.page-template-offres-formalites .qg-project-copy small {
    margin-top: 12px;
    color: rgba(255,255,255,.46);
    font-size: 13px;
    line-height: 1.35;
}

body.page-template-offres-formalites #formality-subscription-form .qg-project-card.selected .qg-project-copy small {
    color: rgba(0,0,0,.55);
}

body.page-template-offres-formalites .qg-card-arrow {
    position: absolute;
    top: 50%;
    right: 28px;
    display: grid;
    width: 30px;
    height: 30px;
    border: 1px solid currentColor;
    border-radius: 50%;
    place-items: center;
    font-size: 17px;
    line-height: 1;
    transform: translateY(-50%);
}

body.page-template-offres-formalites #formality-subscription-form .navigation-buttons {
    right: 0;
    bottom: 26px;
    left: 0;
    padding: 0 28px;
}

body.page-template-offres-formalites #formality-subscription-form .navigation-buttons::before {
    display: none;
}

body.page-template-offres-formalites #formality-subscription-form .navigation-buttons .btn {
    min-width: 138px;
}

@media (max-width: 767.98px) {
    body.page-template-offres-formalites .qg-formality-wizard-meta {
        min-height: 74px;
        padding: 0 16px;
        grid-template-columns: auto 1fr auto;
        gap: 14px;
    }

    body.page-template-offres-formalites .qg-formality-wizard-count {
        justify-self: center;
    }

    body.page-template-offres-formalites #formality-subscription-form .step {
        width: calc(100% - 32px);
        padding: 104px 0 calc(104px + env(safe-area-inset-bottom)) !important;
        overflow: visible;
    }

    body.page-template-offres-formalites #formality-subscription-form .qg-step-intro h2,
    body.page-template-offres-formalites #formality-subscription-form .step > h2 {
        font-size: clamp(34px, 11vw, 48px) !important;
        line-height: 1;
    }

    body.page-template-offres-formalites .qg-step-intro {
        margin-bottom: 26px;
    }

    body.page-template-offres-formalites .qg-step-intro > p {
        font-size: 14px;
    }

    body.page-template-offres-formalites #formality-subscription-form .qg-project-card {
        min-height: 92px;
        padding: 18px 58px 18px 18px !important;
    }

    body.page-template-offres-formalites .qg-project-copy strong { font-size: 16px; }
    body.page-template-offres-formalites .qg-project-copy small { margin-top: 7px; font-size: 12px; }
    body.page-template-offres-formalites .qg-card-arrow { right: 18px; }
}

