/* QG Business — guided domiciliation experience (BBD-MT) */
html {
    min-height: 100%;
    background: #080808;
}

body.page-template-offres-domiciliation {
    --qg-ink: #080808;
    --qg-muted: #747474;
    --qg-line: #dededb;
    --qg-paper: #f5f5f2;
    --qg-white: #fff;
    overflow-x: hidden;
}

body.page-template-offres-domiciliation .custom-souscription-right {
    position: relative;
    display: flex;
    min-height: 100svh;
    align-items: stretch;
    padding: 0 !important;
    background:
        radial-gradient(circle at 85% 2%, rgba(255,255,255,.98) 0, rgba(255,255,255,0) 35%),
        linear-gradient(135deg, #f7f7f4 0%, #ededeb 100%);
}

body.page-template-offres-domiciliation .qg-flow-logo img,
body.page-template-offres-domiciliation .navbar-brand img {
    padding: 11%;
    background: #000;
    box-sizing: border-box;
    object-fit: contain;
}

body.page-template-offres-domiciliation .custom-souscription-right::before {
    position: fixed;
    z-index: 0;
    top: 0;
    right: 0;
    width: 64%;
    height: 100vh;
    background-image:
        linear-gradient(rgba(0,0,0,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,.025) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

body.page-template-offres-domiciliation .qg-flow-container,
body.page-template-offres-domiciliation .qg-flow-container > .row,
body.page-template-offres-domiciliation .qg-flow-container > .row > [class*="col-"] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none !important;
    min-height: 100%;
    margin: 0 !important;
}

body.page-template-offres-domiciliation .form-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100svh;
    flex-direction: column;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.qg-wizard-head {
    position: sticky;
    z-index: 30;
    top: 0;
    width: 100%;
    color: var(--qg-ink);
    background: rgba(247,247,244,.78);
    backdrop-filter: blur(24px) saturate(130%);
    -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.qg-wizard-progress {
    width: 100%;
    height: 2px;
    overflow: hidden;
    background: rgba(0,0,0,.09);
}

.qg-wizard-progress-bar {
    display: block;
    width: 14.285%;
    height: 100%;
    background: var(--qg-ink);
    transform-origin: left center;
    transition: width .65s cubic-bezier(.2,.8,.2,1);
}

.qg-wizard-meta {
    display: grid;
    min-height: 74px;
    align-items: center;
    padding: 0 clamp(28px, 4.5vw, 72px);
    border-bottom: 1px solid rgba(0,0,0,.08);
    grid-template-columns: 1fr auto 1fr;
}

.qg-wizard-count,
.qg-wizard-current {
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.qg-wizard-count { color: #898989; }
.qg-wizard-current { color: var(--qg-ink); }

.qg-wizard-exit {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
    color: var(--qg-ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.qg-wizard-exit svg {
    width: 28px;
    height: 28px;
    padding: 7px;
    border: 1px solid rgba(0,0,0,.2);
    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-wizard-exit:hover svg {
    color: #fff;
    background: #000;
    transform: rotate(90deg);
}

body.page-template-offres-domiciliation .qg-subscription-account-notice {
    width: min(820px, calc(100% - 80px));
    margin: 28px auto 0 !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(0,0,0,.1) !important;
    border-radius: 10px !important;
    color: #424242 !important;
    background: rgba(255,255,255,.72) !important;
    font-size: 12px;
    backdrop-filter: blur(16px);
}

body.page-template-offres-domiciliation .qg-subscription-account-notice .btn {
    min-height: 38px;
    padding: 9px 16px;
    border-radius: 7px;
    font-size: 11px;
}

body.page-template-offres-domiciliation #offer-subscription-form {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
}

body.page-template-offres-domiciliation .qg-subscription-layout,
body.page-template-offres-domiciliation .form-content {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
}

body.page-template-offres-domiciliation #offer-subscription-form .step {
    width: min(900px, calc(100% - 80px));
    margin: auto;
    padding: clamp(58px, 8vh, 96px) 0 130px !important;
    opacity: 0;
    filter: blur(9px);
    transform: translateY(28px) scale(.985);
    transition: opacity .55s ease, filter .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}

body.page-template-offres-domiciliation #offer-subscription-form .step.qg-step-enter {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

body.page-template-offres-domiciliation #step-3,
body.page-template-offres-domiciliation #step-4,
body.page-template-offres-domiciliation #step-6 {
    margin-top: 0;
}

.qg-step-intro {
    max-width: 760px;
    margin: 0 auto clamp(36px, 5vw, 58px);
    text-align: center;
}

.qg-step-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
    color: #777;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.qg-step-kicker::before {
    width: 34px;
    height: 1px;
    background: #8e8e8e;
    content: "";
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h1,
body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h2 {
    max-width: 760px;
    margin: 0 auto 18px !important;
    color: var(--qg-ink);
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    font-size: clamp(38px, 4.25vw, 68px) !important;
    font-weight: 460;
    letter-spacing: -.055em;
    line-height: 1.02;
    text-align: center;
}

.qg-step-intro > p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--qg-muted);
    font-size: clamp(14px, 1.25vw, 17px);
    line-height: 1.65;
}

body.page-template-offres-domiciliation #step-1 > .row {
    max-width: 760px;
    margin-inline: auto;
}

body.page-template-offres-domiciliation #step-1 .select-card {
    position: relative;
    min-height: 150px;
    padding: 26px 66px 26px 28px;
    border: 1px solid var(--qg-line);
    border-radius: 14px;
    background: rgba(255,255,255,.78);
    cursor: pointer;
    transition: color .28s ease, background .28s ease, border-color .28s ease, transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}

body.page-template-offres-domiciliation #step-1 .select-card::after {
    position: absolute;
    top: 50%;
    right: 28px;
    width: 30px;
    height: 30px;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "\2192";
    font-size: 17px;
    line-height: 27px;
    text-align: center;
    transform: translateY(-50%);
    transition: transform .3s ease, color .3s ease, background .3s ease;
}

body.page-template-offres-domiciliation #step-1 .select-card:hover {
    border-color: #111;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    transform: translateY(-4px);
}

body.page-template-offres-domiciliation #step-1 .select-card:hover::after { transform: translate(4px,-50%); }

body.page-template-offres-domiciliation #step-1 .select-card.selected {
    color: #fff;
    border-color: #080808 !important;
    background: #080808 !important;
    box-shadow: 0 22px 60px rgba(0,0,0,.17) !important;
}

body.page-template-offres-domiciliation #step-1 .select-card h4 {
    margin-bottom: 4px;
    color: inherit;
    font-size: 21px;
    font-weight: 600;
}

body.page-template-offres-domiciliation #step-1 .select-card em {
    display: block;
    margin-bottom: 12px;
    color: #888;
    font-size: 11px;
    font-style: normal;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.page-template-offres-domiciliation #step-1 .select-card.selected em,
body.page-template-offres-domiciliation #step-1 .select-card.selected p { color: rgba(255,255,255,.68); }

body.page-template-offres-domiciliation #offer-subscription-form label:not(.form-check-label) {
    margin: 24px 0 9px;
    color: #3b3b3b;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
}

body.page-template-offres-domiciliation #offer-subscription-form .form-control,
body.page-template-offres-domiciliation #offer-subscription-form .form-select {
    min-height: 58px;
    padding: 15px 17px;
    border: 1px solid #d7d7d4;
    border-radius: 9px;
    color: #111;
    background-color: rgba(255,255,255,.86);
    box-shadow: none;
    font-size: 15px;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.page-template-offres-domiciliation #offer-subscription-form .form-control:focus,
body.page-template-offres-domiciliation #offer-subscription-form .form-select:focus {
    border-color: #111;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0,0,0,.08);
}

body.page-template-offres-domiciliation #offer-subscription-form input[type="file"] {
    padding: 9px;
}

body.page-template-offres-domiciliation #offer-subscription-form .alert-light {
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--qg-line) !important;
    border-radius: 12px;
    background: rgba(255,255,255,.66) !important;
}

body.page-template-offres-domiciliation .offers-picker .offers-row {
    gap: 18px 0;
}

body.page-template-offres-domiciliation .offers-picker .offer-card {
    overflow: hidden;
    border-color: #d8d8d5 !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.82) !important;
}

body.page-template-offres-domiciliation .offers-picker .offer-card:hover {
    border-color: #111 !important;
    transform: translateY(-7px) !important;
}

body.page-template-offres-domiciliation .offers-picker .card-body { padding: 26px 22px; }
body.page-template-offres-domiciliation .offers-picker .offer-card h3 { font-size: 18px !important; font-weight: 650; }
body.page-template-offres-domiciliation .offers-picker .price-monthly { margin-top: 18px; font-size: 34px !important; font-weight: 500 !important; letter-spacing: -.04em; }
body.page-template-offres-domiciliation .offers-picker .badge { max-width: 110px; white-space: normal; font-size: 8px; line-height: 1.25; }

body.page-template-offres-domiciliation #offer-subscription-form .btn-primary,
body.page-template-offres-domiciliation #offer-subscription-form .btn-dark,
body.page-template-offres-domiciliation #offer-subscription-form .btn-gradient-or {
    min-height: 54px;
    padding: 15px 24px;
    border: 1px solid #080808 !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: #080808 !important;
    box-shadow: none !important;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .04em;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

body.page-template-offres-domiciliation #offer-subscription-form .btn-primary:hover,
body.page-template-offres-domiciliation #offer-subscription-form .btn-dark:hover,
body.page-template-offres-domiciliation #offer-subscription-form .btn-gradient-or:hover {
    color: #080808 !important;
    background: #fff !important;
    transform: translateY(-2px);
}

body.page-template-offres-domiciliation #offer-subscription-form .btn-outline-secondary {
    min-height: 54px;
    padding: 14px 22px;
    border-color: #bdbdb9;
    border-radius: 8px;
    color: #111;
    background: rgba(255,255,255,.65);
}

body.page-template-offres-domiciliation .navigation-buttons {
    width: min(760px, calc(100% - 80px));
    margin: -105px auto 36px !important;
}

body.page-template-offres-domiciliation #step-2-offer + * { position: relative; }

body.page-template-offres-domiciliation .payment-frequency-options {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0,1fr));
}

body.page-template-offres-domiciliation .payment-option,
body.page-template-offres-domiciliation .option {
    padding: 8px;
    cursor: pointer;
}

.qg-wizard-toast {
    position: fixed;
    z-index: 1100;
    right: 28px;
    bottom: 28px;
    max-width: min(420px, calc(100vw - 40px));
    padding: 16px 48px 16px 18px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    color: #fff;
    background: rgba(10,10,10,.94);
    box-shadow: 0 18px 55px rgba(0,0,0,.22);
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity .25s ease, transform .25s ease;
    backdrop-filter: blur(18px);
}

.qg-wizard-toast.is-visible { opacity: 1; transform: translateY(0); }

/* The map step keeps its useful split layout, with the same visual language. */
body.page-template-offres-domiciliation #step-center {
    width: 100% !important;
    max-width: none !important;
    padding-top: 0 !important;
}

body.page-template-offres-domiciliation .qg-center-explorer { min-height: calc(100svh - 76px); }
body.page-template-offres-domiciliation .qg-center-choice { background: rgba(247,247,244,.9); }
body.page-template-offres-domiciliation .qg-center-choice-heading h2 { font-size: clamp(32px,3vw,50px) !important; letter-spacing: -.045em; }
body.page-template-offres-domiciliation .qg-center-card { border-radius: 12px; }

@media (max-width: 1023.98px) {
    body.page-template-offres-domiciliation { padding-top: 92px; }

    body.page-template-offres-domiciliation .custom-souscription-right,
    body.qg-center-step-active.page-template-offres-domiciliation .custom-souscription-right {
        width: 100% !important;
        min-height: calc(100svh - 92px);
        margin-left: 0 !important;
    }

    body.page-template-offres-domiciliation .custom-souscription-right::before { width: 100%; }
    body.page-template-offres-domiciliation .form-wrapper { min-height: calc(100svh - 92px); }
}

@media (max-width: 767.98px) {
    body.page-template-offres-domiciliation { padding-top: 84px; }
    body.page-template-offres-domiciliation > .d-block.d-lg-none.g-0.mb-3 { margin-bottom: 0 !important; }

    body.page-template-offres-domiciliation > .d-block.d-lg-none .navbar.fixed-top {
        position: fixed !important;
        top: 0 !important;
        right: 0;
        left: 0;
        width: 100vw;
        min-height: 84px;
        overflow: hidden;
        padding: 7px 14px !important;
        border-color: #dedede !important;
    }

    body.page-template-offres-domiciliation .navbar-brand img { width: 62px; height: 62px; }
    body.page-template-offres-domiciliation .navbar .text-end { width: 150px; max-width: 45vw; }
    body.page-template-offres-domiciliation .navbar .text-end > span { overflow: hidden; font-size: 9px; letter-spacing: .02em; text-overflow: ellipsis; white-space: nowrap; }
    body.page-template-offres-domiciliation .navbar .btn { width: 100%; padding: 8px 10px; font-size: 11px; }

    .qg-wizard-meta {
        min-height: 58px;
        padding: 0 20px;
        grid-template-columns: 1fr 1fr;
    }

    .qg-wizard-current { display: none; }
    .qg-wizard-exit span { display: none; }
    .qg-wizard-exit svg { width: 30px; height: 30px; }

    body.page-template-offres-domiciliation .qg-subscription-account-notice {
        width: calc(100% - 40px);
        margin-top: 20px !important;
        flex-wrap: nowrap !important;
        padding: 11px 12px !important;
    }
    body.page-template-offres-domiciliation .qg-subscription-account-notice br,
    body.page-template-offres-domiciliation .qg-subscription-account-notice span { display: none; }
    body.page-template-offres-domiciliation .qg-subscription-account-notice strong { display: block; font-size: 11px; line-height: 1.3; }
    body.page-template-offres-domiciliation .qg-subscription-account-notice .btn { flex: 0 0 auto; min-height: 36px; padding: 8px 11px; }

    .qg-wizard-head { top: 84px; }

    body.page-template-offres-domiciliation #offer-subscription-form .step {
        width: calc(100% - 40px);
        margin-top: 0;
        padding: 40px 0 118px !important;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h1,
    body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h2 {
        font-size: clamp(34px, 11vw, 49px) !important;
    }

    .qg-step-intro { margin-bottom: 30px; text-align: left; }
    .qg-step-intro > p,
    body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h1,
    body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h2 { margin-left: 0 !important; text-align: left; }

    body.page-template-offres-domiciliation #step-1 .select-card { min-height: 136px; padding: 22px 60px 22px 22px; }
    body.page-template-offres-domiciliation #step-1 .select-card::after { right: 20px; }

    body.page-template-offres-domiciliation .offers-picker .offers-row { flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    body.page-template-offres-domiciliation .offers-picker .offers-row::-webkit-scrollbar { display: none; }
    body.page-template-offres-domiciliation .offers-picker .offers-row > [class*="col-"] { width: 86%; flex: 0 0 86%; scroll-snap-align: center; }

    body.page-template-offres-domiciliation .navigation-buttons { display: none !important; }

    body.page-template-offres-domiciliation .fixed-bottom-buttons {
        position: fixed;
        z-index: 45;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(0,0,0,.1);
        background: rgba(247,247,244,.88);
        backdrop-filter: blur(22px) saturate(140%);
        -webkit-backdrop-filter: blur(22px) saturate(140%);
    }

    body.page-template-offres-domiciliation .fixed-bottom-buttons .btn { min-height: 56px; }
    body.page-template-offres-domiciliation .payment-frequency-options { grid-template-columns: 1fr; }
    .qg-wizard-toast { right: 20px; bottom: 86px; left: 20px; max-width: none; }

    body.page-template-offres-domiciliation #step-center { width: 100% !important; padding-bottom: 96px !important; }
    body.page-template-offres-domiciliation .qg-center-explorer { display: block; min-height: auto; }
    body.page-template-offres-domiciliation .qg-center-choice {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
        padding: 38px 18px 24px !important;
        box-sizing: border-box;
    }
    body.page-template-offres-domiciliation .qg-center-choice-heading,
    body.page-template-offres-domiciliation .qg-center-search,
    body.page-template-offres-domiciliation .qg-center-amenities { width: 100%; max-width: 100%; padding-right: 0; }
    body.page-template-offres-domiciliation .qg-center-choice-heading h2 { overflow-wrap: anywhere; }
    body.page-template-offres-domiciliation .qg-center-search { grid-template-columns: minmax(0,1fr) 112px; }
    body.page-template-offres-domiciliation .qg-center-search input { width: 100%; min-width: 0; }
    body.page-template-offres-domiciliation .qg-center-search button { width: 112px; min-width: 0; padding-inline: 8px; font-size: 11px; }
    body.page-template-offres-domiciliation .qg-center-choice-grid { width: calc(100vw - 18px); max-width: calc(100vw - 18px); }
    body.page-template-offres-domiciliation .qg-center-card { width: 82% !important; max-width: 82% !important; flex-basis: 82% !important; }
    body.page-template-offres-domiciliation .qg-center-amenities { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    body.page-template-offres-domiciliation .qg-center-amenities span { flex: 0 0 auto; }
}

/* Cinematic subscription — one focused decision at a time. */
body.page-template-offres-domiciliation {
    min-height: 100svh;
    padding-top: 0 !important;
    color: #fff;
    background: #080808;
}

body.qg-public-premium.page-template-offres-domiciliation > .d-block.d-lg-none.g-0.mb-3,
body.page-template-offres-domiciliation .qg-flow-aside {
    display: none !important;
}

body.qg-public-premium.page-template-offres-domiciliation > .d-block.d-lg-none,
body.qg-public-premium.page-template-offres-domiciliation .navbar.fixed-top {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    visibility: hidden !important;
}

body.qg-public-premium.page-template-offres-domiciliation .custom-souscription-right,
body.qg-public-premium.qg-center-step-active.page-template-offres-domiciliation .custom-souscription-right {
    position: relative;
    width: 100% !important;
    min-height: 100svh;
    margin-left: 0 !important;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(4,4,4,.94), rgba(9,9,9,.78)),
        url("../../../../../uploads/themes/qg-domiciliation-editorial-v2.webp") center 42% / cover fixed;
}

body.page-template-offres-domiciliation .custom-souscription-right::before {
    position: fixed;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 46%, rgba(255,255,255,.075), transparent 36%),
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: auto, 76px 76px, 76px 76px;
    content: "";
    pointer-events: none;
    -webkit-mask-image: none;
    mask-image: none;
}

body.page-template-offres-domiciliation .form-wrapper {
    min-height: 100svh;
    color: #fff;
    background: rgba(5,5,5,.76) !important;
    backdrop-filter: blur(22px) saturate(90%);
    -webkit-backdrop-filter: blur(22px) saturate(90%);
}

body.page-template-offres-domiciliation .qg-wizard-head {
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 0;
    left: 0;
    color: #fff;
    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-domiciliation .qg-wizard-progress { background: rgba(255,255,255,.09); }
body.page-template-offres-domiciliation .qg-wizard-progress-bar { background: #fff; }

body.page-template-offres-domiciliation .qg-wizard-meta {
    min-height: 86px;
    padding: 0 clamp(22px, 4vw, 62px);
    border-bottom-color: rgba(255,255,255,.09);
    grid-template-columns: auto 1fr auto 1fr;
    gap: 24px;
}

.qg-wizard-logo {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    background: #000;
}

.qg-wizard-logo img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 13%;
    background: #000;
    object-fit: contain;
}

body.page-template-offres-domiciliation .qg-wizard-count { color: rgba(255,255,255,.45); }
body.page-template-offres-domiciliation .qg-wizard-current { color: rgba(255,255,255,.9); }
body.page-template-offres-domiciliation .qg-wizard-exit { color: #fff; justify-self: end; }
body.page-template-offres-domiciliation .qg-wizard-exit svg { border-color: rgba(255,255,255,.3); }
body.page-template-offres-domiciliation .qg-wizard-exit:hover svg { color: #080808; background: #fff; }

body.page-template-offres-domiciliation .qg-subscription-account-notice {
    position: fixed;
    z-index: 2100;
    top: 106px;
    right: 28px;
    width: auto;
    max-width: 520px;
    margin: 0 !important;
    padding: 10px 12px 10px 16px !important;
    border-color: rgba(255,255,255,.12) !important;
    border-radius: 999px !important;
    color: rgba(255,255,255,.66) !important;
    background: rgba(255,255,255,.055) !important;
    box-shadow: 0 15px 45px rgba(0,0,0,.2);
    backdrop-filter: blur(18px);
    pointer-events: auto;
}

body.page-template-offres-domiciliation .qg-subscription-account-notice strong { color: #fff; font-size: 11px; }
body.page-template-offres-domiciliation .qg-subscription-account-notice br,
body.page-template-offres-domiciliation .qg-subscription-account-notice span { display: none; }
body.page-template-offres-domiciliation .qg-subscription-account-notice .btn {
    position: relative;
    z-index: 1;
    min-height: 34px;
    padding: 7px 13px;
    border-color: rgba(255,255,255,.3);
    border-radius: 999px;
    color: #fff;
    background: transparent;
    pointer-events: auto;
}

body.page-template-offres-domiciliation #offer-subscription-form .step {
    width: min(880px, calc(100% - 48px));
    min-height: 100svh;
    margin: 0 auto;
    padding: 150px 0 135px !important;
}

body.page-template-offres-domiciliation #offer-subscription-form .step.is-qg-active {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

body.page-template-offres-domiciliation .qg-step-intro {
    max-width: 720px;
    margin-bottom: 40px;
}

body.page-template-offres-domiciliation .qg-step-kicker { color: rgba(255,255,255,.46); }
body.page-template-offres-domiciliation .qg-step-kicker::before { background: rgba(255,255,255,.5); }

body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h1,
body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h2 {
    color: #fff;
    font-size: clamp(40px, 5vw, 76px) !important;
    font-weight: 450;
    letter-spacing: -.06em;
}

body.page-template-offres-domiciliation .qg-step-intro > p { color: rgba(255,255,255,.52); }

body.page-template-offres-domiciliation #step-1 > .row {
    width: min(680px, 100%);
    max-width: none;
    margin: 0 auto;
    gap: 12px;
}

body.page-template-offres-domiciliation #step-1 > .row > [class*="col-"] { width: 100%; padding: 0; }
body.page-template-offres-domiciliation #step-1 > .row > [class*="col-"]:first-child { display: none; }

body.page-template-offres-domiciliation #step-1 .select-card {
    min-height: 104px;
    padding: 22px 68px 22px 26px;
    border-color: rgba(255,255,255,.14);
    border-radius: 16px;
    color: #fff;
    background: rgba(255,255,255,.045);
    backdrop-filter: blur(14px);
}

body.page-template-offres-domiciliation #step-1 .select-card:hover {
    border-color: rgba(255,255,255,.55);
    background: rgba(255,255,255,.09);
    box-shadow: none;
}

body.page-template-offres-domiciliation #step-1 .select-card.selected {
    color: #080808;
    border-color: #fff !important;
    background: #fff !important;
    box-shadow: 0 22px 70px rgba(0,0,0,.35) !important;
}

body.page-template-offres-domiciliation #step-1 .select-card h4 { font-size: 18px; }
body.page-template-offres-domiciliation #step-1 .select-card em,
body.page-template-offres-domiciliation #step-1 .select-card p { color: rgba(255,255,255,.5); }
body.page-template-offres-domiciliation #step-1 .select-card.selected em,
body.page-template-offres-domiciliation #step-1 .select-card.selected p { color: rgba(0,0,0,.55); }

body.page-template-offres-domiciliation #offer-subscription-form label:not(.form-check-label) { color: rgba(255,255,255,.48); }

body.page-template-offres-domiciliation #offer-subscription-form .form-control,
body.page-template-offres-domiciliation #offer-subscription-form .form-select {
    min-height: 54px;
    padding: 13px 4px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
    border-radius: 0;
    color: #fff;
    background-color: transparent;
    font-size: 17px;
}

body.page-template-offres-domiciliation #offer-subscription-form .form-control::placeholder { color: rgba(255,255,255,.25); }
body.page-template-offres-domiciliation #offer-subscription-form .form-control:focus,
body.page-template-offres-domiciliation #offer-subscription-form .form-select:focus {
    border-color: #fff;
    background-color: transparent;
    box-shadow: none;
}

body.page-template-offres-domiciliation #offer-subscription-form .form-select option { color: #111; background: #fff; }

body.page-template-offres-domiciliation #offer-subscription-form .alert-light,
body.page-template-offres-domiciliation #offer-subscription-form .accordion-item {
    border-color: rgba(255,255,255,.12) !important;
    color: #fff;
    background: rgba(255,255,255,.045) !important;
    backdrop-filter: blur(16px);
}

body.page-template-offres-domiciliation #offer-subscription-form .text-muted,
body.page-template-offres-domiciliation #offer-subscription-form .form-text { color: rgba(255,255,255,.46) !important; }

body.page-template-offres-domiciliation .offers-picker .offer-card {
    border-color: rgba(255,255,255,.14) !important;
    color: #fff;
    background: rgba(255,255,255,.045) !important;
    backdrop-filter: blur(18px);
}

body.page-template-offres-domiciliation .offers-picker .offer-card h3,
body.page-template-offres-domiciliation .offers-picker .price-monthly { color: #fff; }
body.page-template-offres-domiciliation .offers-picker .offer-card:hover { border-color: rgba(255,255,255,.52) !important; box-shadow: 0 25px 70px rgba(0,0,0,.28) !important; }

body.page-template-offres-domiciliation #offer-subscription-form .btn-primary,
body.page-template-offres-domiciliation #offer-subscription-form .btn-dark,
body.page-template-offres-domiciliation #offer-subscription-form .btn-gradient-or {
    border-color: #fff !important;
    border-radius: 999px !important;
    color: #080808 !important;
    background: #fff !important;
}

body.page-template-offres-domiciliation #offer-subscription-form .btn-primary:hover,
body.page-template-offres-domiciliation #offer-subscription-form .btn-dark:hover,
body.page-template-offres-domiciliation #offer-subscription-form .btn-gradient-or:hover {
    color: #fff !important;
    background: transparent !important;
}

body.page-template-offres-domiciliation #offer-subscription-form .btn-outline-secondary {
    border-color: rgba(255,255,255,.25);
    border-radius: 999px;
    color: rgba(255,255,255,.7);
    background: transparent;
}

body.page-template-offres-domiciliation .navigation-buttons {
    position: fixed;
    z-index: 55;
    right: 0;
    bottom: 26px;
    left: 0;
    width: auto;
    margin: 0 auto !important;
    padding: 0 28px;
    justify-content: center !important;
    gap: 12px;
    pointer-events: none;
}

body.page-template-offres-domiciliation .navigation-buttons .btn { min-width: 138px; pointer-events: auto; }

body.page-template-offres-domiciliation #step-center {
    width: min(980px, calc(100% - 48px)) !important;
    max-width: 980px !important;
    padding: 145px 0 130px !important;
}

body.page-template-offres-domiciliation .qg-center-explorer {
    display: block;
    width: 100%;
    min-height: 0;
}

body.page-template-offres-domiciliation .qg-center-choice {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    color: #fff;
    background: transparent;
}

body.page-template-offres-domiciliation .qg-center-choice-heading { margin-bottom: 32px; text-align: center; }
body.page-template-offres-domiciliation .qg-center-choice-heading span { color: rgba(255,255,255,.45); }
body.page-template-offres-domiciliation .qg-center-choice-heading h2 {
    max-width: 700px;
    margin: 12px auto 0;
    color: #fff !important;
    font-size: clamp(40px, 5vw, 72px) !important;
    font-weight: 450;
    letter-spacing: -.055em;
    line-height: 1.02;
    text-align: center !important;
}

body.page-template-offres-domiciliation .qg-center-search { max-width: 560px; margin: 0 auto 22px; }
body.page-template-offres-domiciliation .qg-center-search input { border-color: rgba(255,255,255,.18); color: #fff; background: rgba(255,255,255,.055); }
body.page-template-offres-domiciliation .qg-center-search button { color: #080808; background: #fff; }
body.page-template-offres-domiciliation .qg-center-choice-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

body.page-template-offres-domiciliation .qg-center-card {
    min-height: 112px;
    border-color: rgba(255,255,255,.14);
    color: #fff;
    background: rgba(255,255,255,.045);
}

body.page-template-offres-domiciliation .qg-center-card.selected,
body.page-template-offres-domiciliation .qg-center-card:has(input:checked) {
    border-color: #fff;
    color: #080808;
    background: #fff;
    box-shadow: 0 22px 70px rgba(0,0,0,.3);
}

body.page-template-offres-domiciliation .qg-center-card-icon { background: rgba(255,255,255,.08); color: inherit; }
body.page-template-offres-domiciliation .qg-center-card strong { color: inherit; }
body.page-template-offres-domiciliation .qg-center-card small,
body.page-template-offres-domiciliation .qg-center-card-kicker { color: rgba(255,255,255,.48); }
body.page-template-offres-domiciliation .qg-center-card.selected small,
body.page-template-offres-domiciliation .qg-center-card.selected .qg-center-card-kicker { color: rgba(0,0,0,.5); }
body.page-template-offres-domiciliation .qg-center-help { color: rgba(255,255,255,.42); text-align: center; }
body.page-template-offres-domiciliation .qg-center-amenities { justify-content: center; }
body.page-template-offres-domiciliation .qg-center-amenities span { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.62); background: rgba(255,255,255,.04); }
body.page-template-offres-domiciliation .qg-center-map-panel { display: none; }

body.page-template-offres-domiciliation .payment-frequency-options .card,
body.page-template-offres-domiciliation #offer-subscription-form .option {
    border-color: rgba(255,255,255,.14) !important;
    color: #fff;
    background: rgba(255,255,255,.045) !important;
}

body.page-template-offres-domiciliation #offer-subscription-form .selected {
    border-color: rgba(255,255,255,.8) !important;
    background: rgba(255,255,255,.1) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7) !important;
}

@media (max-width: 767.98px) {
    body.page-template-offres-domiciliation .qg-wizard-meta {
        min-height: 72px;
        padding: 0 16px;
        grid-template-columns: auto 1fr auto;
        gap: 14px;
    }

    .qg-wizard-logo { width: 48px; height: 48px; }
    body.page-template-offres-domiciliation .qg-wizard-count { justify-self: center; }
    body.page-template-offres-domiciliation .qg-wizard-current { display: none; }
    body.page-template-offres-domiciliation .qg-wizard-exit { grid-column: 3; }

    body.page-template-offres-domiciliation .qg-subscription-account-notice {
        top: 86px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
        justify-content: space-between;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .step,
    body.page-template-offres-domiciliation #step-center {
        width: calc(100% - 36px) !important;
        min-height: 100svh;
        padding: 154px 0 112px !important;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h1,
    body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h2,
    body.page-template-offres-domiciliation .qg-center-choice-heading h2 {
        font-size: clamp(36px, 11vw, 52px) !important;
        text-align: center;
    }

    body.page-template-offres-domiciliation .qg-step-intro,
    body.page-template-offres-domiciliation .qg-step-intro > p { text-align: center; }
    body.page-template-offres-domiciliation .qg-step-kicker { justify-content: center; }

    body.page-template-offres-domiciliation .qg-center-choice { width: 100%; max-width: none; overflow: visible; padding: 0 !important; }
    body.page-template-offres-domiciliation .qg-center-choice-heading,
    body.page-template-offres-domiciliation .qg-center-search,
    body.page-template-offres-domiciliation .qg-center-amenities { padding: 0; }
    body.page-template-offres-domiciliation .qg-center-choice-grid { width: 100%; max-width: none; grid-template-columns: 1fr; }
    body.page-template-offres-domiciliation .qg-center-card { width: 100% !important; max-width: none !important; flex-basis: auto !important; }
    body.page-template-offres-domiciliation .qg-center-search { grid-template-columns: minmax(0,1fr) 104px; }
    body.page-template-offres-domiciliation .qg-center-search button { width: 104px; }

    body.page-template-offres-domiciliation .offers-picker .offers-row { margin-inline: -18px; padding-inline: 18px; }
    body.page-template-offres-domiciliation .offers-picker .offers-row > [class*="col-"] { width: 88%; flex-basis: 88%; }

    body.page-template-offres-domiciliation .fixed-bottom-buttons {
        gap: 10px;
        border-top-color: rgba(255,255,255,.1);
        background: rgba(6,6,6,.76);
    }

    body.page-template-offres-domiciliation .fixed-bottom-buttons .btn { border-radius: 999px !important; }
    body.page-template-offres-domiciliation .fixed-bottom-buttons .next-step,
    body.page-template-offres-domiciliation .fixed-bottom-buttons #submit-form-mobile { flex: 1 1 auto; width: auto !important; }
    body.page-template-offres-domiciliation .fixed-bottom-buttons .qg-mobile-prev {
        display: grid;
        width: 56px;
        min-width: 56px;
        flex: 0 0 56px;
        place-items: center;
        border: 1px solid rgba(255,255,255,.22);
        color: #fff;
        background: rgba(255,255,255,.06);
    }
    body.page-template-offres-domiciliation .fixed-bottom-buttons .qg-mobile-prev.d-none { display: none !important; }
    body.page-template-offres-domiciliation .qg-mobile-prev svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.6;
    }
}

/* Field-by-field questions, inspired by the MAT360 project flow. */
body.page-template-offres-domiciliation #offer-subscription-form .step.has-field-panels {
    width: min(720px, calc(100% - 48px));
}

body.page-template-offres-domiciliation .has-field-panels > .qg-step-intro {
    display: none;
}

body.page-template-offres-domiciliation .has-field-panels > .row,
body.page-template-offres-domiciliation .has-field-panels > .row > [class*="col-"] {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.qg-field-panel {
    display: none;
    width: min(560px, 100%);
    margin: 0 auto;
    flex-direction: column;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(24px) scale(.98);
}

.qg-field-panel.is-active {
    display: flex;
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
    animation: qgFieldPanelIn .55s cubic-bezier(.16,1,.3,1) both;
}

@keyframes qgFieldPanelIn {
    from { opacity: 0; filter: blur(8px); transform: translateY(24px) scale(.98); }
    to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

.qg-field-question {
    margin-bottom: clamp(34px, 5vw, 54px);
    text-align: center;
}

.qg-field-question > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    gap: 11px;
    color: rgba(255,255,255,.46);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.qg-field-question > span::before {
    width: 30px;
    height: 1px;
    background: rgba(255,255,255,.5);
    content: "";
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-field-question h3 {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    font-size: clamp(38px, 4.2vw, 64px);
    font-weight: 450;
    letter-spacing: -.055em;
    line-height: 1.04;
}

body.page-template-offres-domiciliation .qg-field-panel > label,
body.page-template-offres-domiciliation .qg-field-panel > .form-group > label,
body.page-template-offres-domiciliation .qg-field-panel > .position-relative > label {
    width: 100%;
    text-align: center;
}

body.page-template-offres-domiciliation .qg-field-panel > .form-control,
body.page-template-offres-domiciliation .qg-field-panel > .form-select,
body.page-template-offres-domiciliation .qg-field-panel > .form-group > .form-select,
body.page-template-offres-domiciliation .qg-field-panel > .position-relative > .form-control {
    font-size: clamp(18px, 2vw, 24px) !important;
    font-weight: 550;
    text-align: center;
}

body.page-template-offres-domiciliation .qg-field-panel .row .form-control,
body.page-template-offres-domiciliation .qg-field-panel .row .form-select {
    text-align: center;
}

body.page-template-offres-domiciliation .qg-field-panel .form-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

body.page-template-offres-domiciliation .qg-field-panel .form-check-label {
    color: rgba(255,255,255,.68);
    font-size: 13px;
}

body.page-template-offres-domiciliation .qg-field-panel .invalid-feedback {
    color: #fff;
    text-align: center;
}

body.page-template-offres-domiciliation .qg-field-panel #address-suggestions {
    top: 100%;
    right: 0;
    left: 0;
    overflow: hidden;
    border-radius: 10px;
    color: #111;
    text-align: left;
}

@media (max-width: 767.98px) {
    body.page-template-offres-domiciliation #offer-subscription-form .step.has-field-panels {
        width: calc(100% - 36px);
        padding-top: 142px !important;
    }

    .qg-field-panel { width: 100%; }
    .qg-field-question { margin-bottom: 30px; }

    body.page-template-offres-domiciliation #offer-subscription-form .qg-field-question h3 {
        font-size: clamp(34px, 10.5vw, 46px);
    }

    body.page-template-offres-domiciliation .qg-field-panel .row {
        --bs-gutter-x: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-template-offres-domiciliation *,
    body.page-template-offres-domiciliation *::before,
    body.page-template-offres-domiciliation *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Checkout final — lecture claire du montant et du moyen de paiement. */
body.page-template-offres-domiciliation #offer-subscription-form #step-6 {
    width: min(1160px, calc(100% - 56px));
    max-width: 1160px;
    padding-top: 132px !important;
}

body.page-template-offres-domiciliation #offer-subscription-form #step-6.is-qg-active {
    justify-content: flex-start;
}

body.page-template-offres-domiciliation #step-6 .qg-step-intro-payment {
    max-width: 840px;
    margin-bottom: 54px;
}

body.page-template-offres-domiciliation #step-6 .qg-step-intro-payment > p {
    max-width: 700px;
}

body.page-template-offres-domiciliation #step-6 .top-prev {
    margin-bottom: 28px !important;
}

body.page-template-offres-domiciliation .qg-checkout-grid {
    --bs-gutter-x: clamp(28px, 4vw, 62px);
    align-items: flex-start;
}

body.page-template-offres-domiciliation .qg-checkout-section-label {
    align-items: center;
    margin: 0 0 18px;
    gap: 12px;
    color: rgba(255,255,255,.76);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .15em;
    text-transform: uppercase;
}

body.page-template-offres-domiciliation .qg-checkout-section-label > span {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    color: #fff;
    font-size: 9px;
    letter-spacing: 0;
}

body.page-template-offres-domiciliation #step-6 .payment-frequency-options {
    gap: 12px;
    margin-top: 0 !important;
}

body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option {
    position: relative;
    min-height: 184px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 16px;
    color: #fff;
    background: rgba(255,255,255,.045) !important;
    box-shadow: none !important;
    transition: border-color .25s ease, background .25s ease, transform .3s ease, box-shadow .3s ease;
}

body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option:hover {
    border-color: rgba(255,255,255,.46) !important;
    background: rgba(255,255,255,.075) !important;
    transform: translateY(-3px);
}

body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option.selected,
body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option:has(input:checked) {
    border-color: #fff !important;
    color: #080808;
    background: #fff !important;
    box-shadow: 0 22px 58px rgba(0,0,0,.26) !important;
}

body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option.selected .qg-frequency-card,
body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option:has(input:checked) .qg-frequency-card {
    color: #080808 !important;
}

body.page-template-offres-domiciliation #step-6 .payment-option > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

body.page-template-offres-domiciliation .qg-frequency-card {
    display: flex;
    height: 100%;
    min-height: 182px;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px !important;
    cursor: pointer;
}

body.page-template-offres-domiciliation .qg-frequency-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

body.page-template-offres-domiciliation .qg-frequency-top strong {
    color: inherit !important;
    font-size: 13px;
    font-weight: 600;
}

body.page-template-offres-domiciliation .qg-frequency-top i {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
}

body.page-template-offres-domiciliation .qg-frequency-top i::after {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    content: "";
    opacity: 0;
    transform: scale(.4);
    transition: opacity .2s ease, transform .2s ease;
}

body.page-template-offres-domiciliation .payment-option.selected .qg-frequency-top i,
body.page-template-offres-domiciliation .payment-option:has(input:checked) .qg-frequency-top i {
    border-color: #111;
}

body.page-template-offres-domiciliation .payment-option.selected .qg-frequency-top i::after,
body.page-template-offres-domiciliation .payment-option:has(input:checked) .qg-frequency-top i::after {
    opacity: 1;
    transform: scale(1);
}

body.page-template-offres-domiciliation .qg-frequency-price {
    display: block;
    margin-top: 22px;
    color: inherit !important;
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: 1;
}

body.page-template-offres-domiciliation .qg-frequency-price small {
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.page-template-offres-domiciliation .qg-frequency-caption {
    display: block;
    margin-top: 18px;
    color: rgba(255,255,255,.44);
    font-size: 10px;
    line-height: 1.5;
}

body.page-template-offres-domiciliation .payment-option.selected .qg-frequency-caption,
body.page-template-offres-domiciliation .payment-option:has(input:checked) .qg-frequency-caption {
    color: rgba(0,0,0,.5);
}

body.page-template-offres-domiciliation #step-6 > .qg-checkout-grid .options {
    margin-top: 12px !important;
}

body.page-template-offres-domiciliation #step-6 #scan-option {
    min-height: 82px;
    padding: 8px 18px;
    border-radius: 12px;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-checkout-payment-card {
    display: flex;
    margin-top: 28px;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 18px !important;
    color: #111 !important;
    background: #f7f7f4 !important;
    box-shadow: 0 28px 80px rgba(0,0,0,.24);
    backdrop-filter: none !important;
}

body.page-template-offres-domiciliation .qg-payment-methods {
    order: 1;
    margin: 0 !important;
    padding: 30px;
}

body.page-template-offres-domiciliation .qg-payment-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

body.page-template-offres-domiciliation .qg-payment-heading .qg-checkout-section-label {
    margin: 0;
    color: #111;
}

body.page-template-offres-domiciliation .qg-payment-heading .qg-checkout-section-label > span {
    border-color: rgba(0,0,0,.2);
    color: #111;
}

body.page-template-offres-domiciliation .qg-payment-secure {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #777;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .04em;
}

body.page-template-offres-domiciliation .qg-payment-secure svg,
body.page-template-offres-domiciliation .qg-summary-reassurance svg,
body.page-template-offres-domiciliation .qg-checkout-submit svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.page-template-offres-domiciliation .qg-payment-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-payment-item {
    overflow: hidden;
    border: 1px solid #d8d8d4 !important;
    border-radius: 12px;
    color: #111;
    background: #fff !important;
    backdrop-filter: none;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-payment-item.qg-payment-selected {
    border-color: #111 !important;
    box-shadow: 0 0 0 1px #111;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-payment-toggle {
    min-height: 82px;
    gap: 13px;
    padding: 18px 20px;
    color: #111;
    background: #fff !important;
    box-shadow: none;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-payment-toggle:not(.collapsed) {
    color: #111;
    background: #f3f3f0 !important;
}

body.page-template-offres-domiciliation .qg-payment-radio .form-check-input {
    width: 19px;
    height: 19px;
    margin: 0;
    border-color: #777;
}

body.page-template-offres-domiciliation .qg-payment-radio .form-check-input:checked {
    border-color: #111;
    background-color: #111;
}

body.page-template-offres-domiciliation .qg-payment-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

body.page-template-offres-domiciliation .qg-payment-title {
    color: #111;
    font-size: 13px;
    font-weight: 650;
}

body.page-template-offres-domiciliation .qg-payment-title small {
    margin-left: 7px;
    padding: 4px 7px;
    border-radius: 999px;
    color: #fff;
    background: #111;
    font-size: 7px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.page-template-offres-domiciliation .qg-payment-subtitle {
    color: #777;
    font-size: 10px;
    line-height: 1.45;
}

body.page-template-offres-domiciliation .qg-payment-icons img {
    height: 20px;
    width: auto;
    object-fit: contain;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-payment-item .accordion-body {
    padding: 8px 20px 24px;
    color: #111;
    background: #f3f3f0;
}

body.page-template-offres-domiciliation .qg-payment-help {
    margin: 0 0 18px;
    color: #686868;
    font-size: 11px;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-payment-item label:not(.form-check-label) {
    margin: 15px 0 7px;
    color: #555;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-payment-item .form-control {
    min-height: 52px;
    padding: 15px 14px;
    border: 1px solid #d3d3ce;
    border-radius: 8px;
    color: #111;
    background: #fff;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-payment-item .form-control:focus {
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,.07);
}

body.page-template-offres-domiciliation .qg-checkout-terms {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    order: 2;
    margin: 0 !important;
    padding: 22px 30px;
    border-top: 1px solid #deded9;
    background: #ecece8;
}

body.page-template-offres-domiciliation .qg-checkout-terms .form-check-input {
    float: none;
    width: 20px;
    height: 20px;
    margin: 1px 0 0 !important;
    border-color: #777;
}

body.page-template-offres-domiciliation .qg-checkout-terms .form-check-input:checked {
    border-color: #111;
    background-color: #111;
}

body.page-template-offres-domiciliation .qg-checkout-terms .terms_conditions {
    min-width: 0;
    padding-left: 0;
    color: #555 !important;
    font-size: 10px;
    line-height: 1.6;
}

body.page-template-offres-domiciliation .qg-checkout-terms .terms_conditions a {
    color: #111 !important;
    text-underline-offset: 2px;
}

body.page-template-offres-domiciliation .qg-checkout-sidebar {
    position: sticky;
    top: 116px;
}

body.page-template-offres-domiciliation .qg-checkout-sidebar > .alert-light {
    padding: 24px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 16px !important;
    color: #fff;
    background: rgba(255,255,255,.055) !important;
}

body.page-template-offres-domiciliation .qg-checkout-sidebar > .alert-light:first-child {
    padding: 18px 20px !important;
}

body.page-template-offres-domiciliation .qg-checkout-sidebar > .alert-light:first-child .my-3 {
    margin: 0 !important;
}

body.page-template-offres-domiciliation .qg-checkout-sidebar .input-group {
    align-items: stretch;
    flex-wrap: nowrap;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-promo-row {
    display: grid !important;
    width: 100%;
    max-width: 100%;
    height: 50px;
    min-width: 0;
    align-items: stretch;
    overflow: hidden;
    border-radius: 999px;
    grid-template-columns: minmax(0, 1fr) auto;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-promo-row .form-control {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100%;
    margin: 0;
    border-radius: 999px 0 0 999px !important;
    box-sizing: border-box;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-promo-row .btn {
    display: inline-flex;
    width: auto !important;
    max-width: 100%;
    min-width: 92px;
    min-height: 0 !important;
    height: 100%;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 14px;
    border-radius: 0 999px 999px 0 !important;
    box-sizing: border-box;
    white-space: nowrap;
}

body.page-template-offres-domiciliation .qg-checkout-sidebar #promo_code {
    width: 1%;
    min-width: 0;
    flex: 1 1 auto;
    padding-inline: 12px;
    font-size: 12px;
}

body.page-template-offres-domiciliation .qg-checkout-sidebar #promo-apply-btn {
    min-height: 50px;
    padding-inline: 14px;
    border-radius: 0 999px 999px 0 !important;
    font-size: 9px;
}

body.page-template-offres-domiciliation .qg-checkout-summary-card .qg-checkout-section-label {
    margin-bottom: 24px;
}

body.page-template-offres-domiciliation .qg-checkout-summary-card .table {
    --bs-table-bg: transparent;
    --bs-table-color: rgba(255,255,255,.7);
    margin-bottom: 22px;
    color: rgba(255,255,255,.7);
    font-size: 10px;
}

body.page-template-offres-domiciliation .qg-checkout-summary-card .table > :not(caption) > * > * {
    padding: 10px 0;
    border-bottom-color: rgba(255,255,255,.1);
    background: transparent;
}

body.page-template-offres-domiciliation .qg-checkout-summary-card .table th:last-child,
body.page-template-offres-domiciliation .qg-checkout-summary-card .table td:last-child {
    text-align: right;
}

body.page-template-offres-domiciliation .qg-pay-now {
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.18);
    border-bottom: 1px solid rgba(255,255,255,.18);
}

body.page-template-offres-domiciliation .qg-pay-now > span {
    display: block;
    color: rgba(255,255,255,.5);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.page-template-offres-domiciliation .qg-pay-now .prixtotal {
    margin: 9px 0 6px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.page-template-offres-domiciliation .qg-pay-now #summary-total-big {
    color: #fff;
    font-size: clamp(34px, 3.5vw, 52px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1;
}

body.page-template-offres-domiciliation .qg-pay-now small {
    color: rgba(255,255,255,.5);
    font-size: 9px;
}

body.page-template-offres-domiciliation .qg-summary-reassurance {
    display: flex;
    align-items: flex-start;
    margin: 20px 0 0;
    gap: 10px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
    line-height: 1.55;
}

body.page-template-offres-domiciliation #step-6 .qg-checkout-sidebar .navigation-buttons {
    position: static;
    width: 100%;
    margin: 14px 0 0 !important;
    padding: 0;
    flex-direction: column;
    gap: 11px;
    pointer-events: auto;
}

body.page-template-offres-domiciliation .qg-checkout-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-inline: 24px !important;
}

body.page-template-offres-domiciliation .qg-checkout-submit svg {
    width: 19px;
    height: 19px;
}

body.page-template-offres-domiciliation .qg-submit-note {
    display: block;
    color: rgba(255,255,255,.38);
    font-size: 8px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 991.98px) {
    body.page-template-offres-domiciliation #offer-subscription-form #step-6 {
        width: min(760px, calc(100% - 42px));
    }

    body.page-template-offres-domiciliation .qg-checkout-sidebar {
        position: static;
        margin-top: 26px;
    }
}

@media (max-width: 767.98px) {
    body.page-template-offres-domiciliation #offer-subscription-form #step-6 {
        width: calc(100% - 32px) !important;
        padding: 132px 0 128px !important;
    }

    body.page-template-offres-domiciliation #step-6 .qg-step-intro-payment {
        margin-bottom: 38px;
    }

    body.page-template-offres-domiciliation #step-6 .qg-step-intro-payment h2 {
        font-size: clamp(34px, 10vw, 46px) !important;
    }

    body.page-template-offres-domiciliation #step-6 .top-prev {
        display: none !important;
    }

    body.page-template-offres-domiciliation #step-6 .payment-frequency-options {
        grid-template-columns: 1fr;
    }

    body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option,
    body.page-template-offres-domiciliation .qg-frequency-card {
        min-height: 154px;
    }

    body.page-template-offres-domiciliation .qg-frequency-card {
        padding: 21px !important;
    }

    body.page-template-offres-domiciliation .qg-payment-methods {
        padding: 24px 18px;
    }

    body.page-template-offres-domiciliation .qg-payment-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .qg-payment-toggle {
        min-height: 88px;
        padding: 16px 14px;
    }

    body.page-template-offres-domiciliation .qg-payment-icons {
        display: none;
    }

    body.page-template-offres-domiciliation .qg-payment-title small {
        display: block;
        width: max-content;
        margin: 5px 0 0;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .qg-payment-item .accordion-body {
        padding: 4px 16px 22px;
    }

    body.page-template-offres-domiciliation #card-payment-section .row > [class*="col-"] + [class*="col-"] {
        margin-top: 6px;
    }

    body.page-template-offres-domiciliation .qg-checkout-terms {
        padding: 20px 18px;
    }

    body.page-template-offres-domiciliation .qg-checkout-sidebar > .alert-light {
        padding: 22px 20px !important;
    }

    body.page-template-offres-domiciliation .fixed-bottom-buttons #submit-form-mobile {
        min-width: 0;
        padding-inline: 14px !important;
        font-size: 10px;
        white-space: nowrap;
    }
}

/* Contrast pass — the dark checkout must remain readable in every state. */
body.page-template-offres-domiciliation #step-center .qg-center-choice-heading span {
    color: rgba(255,255,255,.72);
}

body.page-template-offres-domiciliation #step-center .qg-center-search input {
    border-color: rgba(255,255,255,.38);
    color: #fff;
    background: rgba(255,255,255,.1);
}

body.page-template-offres-domiciliation #step-center .qg-center-search input::placeholder {
    color: rgba(255,255,255,.7);
    opacity: 1;
}

body.page-template-offres-domiciliation #offer-subscription-form #step-center .qg-center-card {
    border-color: rgba(255,255,255,.3) !important;
    color: #fff !important;
    background: rgba(255,255,255,.09) !important;
    box-shadow: none !important;
}

body.page-template-offres-domiciliation #step-center .qg-center-card strong {
    color: #fff !important;
}

body.page-template-offres-domiciliation #step-center .qg-center-card small,
body.page-template-offres-domiciliation #step-center .qg-center-card .qg-center-card-kicker {
    color: rgba(255,255,255,.76) !important;
}

body.page-template-offres-domiciliation #offer-subscription-form #step-center .qg-center-card.selected,
body.page-template-offres-domiciliation #offer-subscription-form #step-center .qg-center-card:has(input:checked) {
    border-color: #fff !important;
    color: #080808 !important;
    background: #fff !important;
    box-shadow: 0 22px 70px rgba(0,0,0,.3) !important;
}

body.page-template-offres-domiciliation #step-center .qg-center-card.selected strong,
body.page-template-offres-domiciliation #step-center .qg-center-card:has(input:checked) strong {
    color: #080808 !important;
}

body.page-template-offres-domiciliation #step-center .qg-center-card.selected small,
body.page-template-offres-domiciliation #step-center .qg-center-card.selected .qg-center-card-kicker,
body.page-template-offres-domiciliation #step-center .qg-center-card:has(input:checked) small,
body.page-template-offres-domiciliation #step-center .qg-center-card:has(input:checked) .qg-center-card-kicker {
    color: #555 !important;
}

body.page-template-offres-domiciliation #step-center .qg-center-card.selected .qg-center-card-icon,
body.page-template-offres-domiciliation #step-center .qg-center-card:has(input:checked) .qg-center-card-icon {
    color: #111 !important;
    background: #efefec !important;
}

body.page-template-offres-domiciliation #step-center .qg-center-help {
    color: rgba(255,255,255,.74);
}

body.page-template-offres-domiciliation #step-center .qg-center-amenities span {
    border-color: rgba(255,255,255,.28);
    color: rgba(255,255,255,.84);
    background: rgba(255,255,255,.08);
}

body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option:not(.selected):not(:has(input:checked)) .qg-frequency-top strong,
body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option:not(.selected):not(:has(input:checked)) .qg-frequency-price {
    color: #fff !important;
}

body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option.selected .qg-frequency-top strong,
body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option.selected .qg-frequency-price,
body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option:has(input:checked) .qg-frequency-top strong,
body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option:has(input:checked) .qg-frequency-price {
    color: #080808 !important;
}

body.page-template-offres-domiciliation #step-6 .qg-frequency-caption {
    color: rgba(255,255,255,.7);
}

body.page-template-offres-domiciliation #step-6 .payment-option.selected .qg-frequency-caption,
body.page-template-offres-domiciliation #step-6 .payment-option:has(input:checked) .qg-frequency-caption {
    color: #575757;
}

body.page-template-offres-domiciliation #sepa-payment-section .form-text,
body.page-template-offres-domiciliation #sepa-payment-section .text-muted {
    color: #575757 !important;
}

body.page-template-offres-domiciliation .qg-checkout-sidebar > .alert-light {
    border-color: rgba(255,255,255,.24) !important;
    background: rgba(255,255,255,.075) !important;
}

body.page-template-offres-domiciliation .qg-checkout-sidebar > .alert-light:first-child label,
body.page-template-offres-domiciliation .qg-checkout-summary-card .qg-checkout-section-label {
    color: rgba(255,255,255,.9) !important;
}

body.page-template-offres-domiciliation .qg-checkout-sidebar #promo_code {
    border-bottom-color: rgba(255,255,255,.5);
    color: #fff;
}

body.page-template-offres-domiciliation .qg-checkout-sidebar #promo_code::placeholder {
    color: rgba(255,255,255,.68);
    opacity: 1;
}

body.page-template-offres-domiciliation .qg-checkout-summary-card .table {
    --bs-table-color: rgba(255,255,255,.86);
    color: rgba(255,255,255,.86);
    font-size: 11px;
}

body.page-template-offres-domiciliation .qg-pay-now > span,
body.page-template-offres-domiciliation .qg-pay-now small {
    color: rgba(255,255,255,.76);
}

body.page-template-offres-domiciliation .qg-summary-reassurance {
    color: rgba(255,255,255,.72);
}

body.page-template-offres-domiciliation .qg-submit-note {
    color: rgba(255,255,255,.66);
}

/* Existing company lookup — public Sirene data, kept inside the guided flow. */
body.page-template-offres-domiciliation .qg-existing-company-toggle {
    display: flex;
    align-items: flex-start;
    margin: 4px 0 22px;
    padding: 18px 20px;
    gap: 12px;
    border: 1px solid #d7d7d3;
    border-radius: 12px;
    background: rgba(255,255,255,.72);
}

body.page-template-offres-domiciliation .qg-existing-company-toggle .form-check-input {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin: 2px 0 0;
    border-color: #777;
}

body.page-template-offres-domiciliation .qg-existing-company-toggle .form-check-input:checked {
    border-color: #111;
    background-color: #111;
}

body.page-template-offres-domiciliation .qg-existing-company-toggle label {
    display: flex;
    flex-direction: column;
    margin: 0;
    gap: 3px;
    color: #111;
    cursor: pointer;
}

body.page-template-offres-domiciliation .qg-existing-company-toggle label strong {
    font-size: 13px;
    font-weight: 650;
}

body.page-template-offres-domiciliation .qg-existing-company-toggle label small {
    color: #6c6c6c;
    font-size: 11px;
    font-weight: 450;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-company-lookup {
    margin: 0 0 24px;
    padding: clamp(20px, 3vw, 28px) !important;
    border-color: #d2d2ce !important;
    background: #f0f0ed !important;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-company-lookup label:not(.form-check-label) {
    color: #595959;
}

body.page-template-offres-domiciliation .qg-company-lookup-intro {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    gap: 5px;
}

body.page-template-offres-domiciliation .qg-company-lookup-intro > span,
body.page-template-offres-domiciliation .qg-company-result-kicker {
    color: #777;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

body.page-template-offres-domiciliation .qg-company-lookup-intro > strong {
    color: #111;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -.025em;
}

body.page-template-offres-domiciliation .qg-company-lookup-intro p {
    margin: 0;
    color: #686868;
    font-size: 11px;
    line-height: 1.55;
}

body.page-template-offres-domiciliation .qg-siren-search-row {
    display: grid !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 58px;
    align-items: stretch;
    overflow: hidden;
    border-radius: 9px;
    grid-template-columns: minmax(0, 1fr) auto;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-siren-search-row .form-control {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100%;
    margin: 0;
    padding-right: 16px;
    padding-left: 16px;
    border: 1px solid #cececa;
    border-right: 0;
    border-radius: 9px 0 0 9px;
    color: #111;
    background: #fff;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: .08em;
    box-sizing: border-box;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-siren-search-row .form-control::placeholder {
    color: #929292;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-siren-search-row .form-control:focus {
    border-color: #111;
    color: #111;
    background: #fff;
    box-shadow: inset 0 0 0 1px #111;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-siren-search-row .btn {
    display: inline-flex;
    width: auto !important;
    max-width: 100%;
    min-width: 132px;
    min-height: 0 !important;
    height: 100%;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 18px;
    border-radius: 0 9px 9px 0 !important;
    box-sizing: border-box;
    white-space: nowrap;
}

body.page-template-offres-domiciliation .qg-siren-search-row .btn svg {
    width: 17px;
    height: 17px;
    margin-right: 7px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

body.page-template-offres-domiciliation .qg-siren-search-row .btn.is-loading svg {
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: qg-company-search-spin .75s linear infinite;
}

body.page-template-offres-domiciliation .qg-siren-search-row .btn.is-loading svg > * {
    display: none;
}

@keyframes qg-company-search-spin {
    to { transform: rotate(360deg); }
}

body.page-template-offres-domiciliation .qg-siren-hint {
    display: block;
    margin-top: 8px;
    color: #737373;
    font-size: 10px;
}

body.page-template-offres-domiciliation .qg-company-search-status {
    min-height: 20px;
    margin-top: 10px;
    color: #555;
    font-size: 11px;
    line-height: 1.5;
}

body.page-template-offres-domiciliation .qg-company-search-status.is-loading::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #111;
    content: "";
    animation: qg-company-search-pulse 1s ease-in-out infinite alternate;
}

@keyframes qg-company-search-pulse {
    to { opacity: .25; transform: scale(.72); }
}

body.page-template-offres-domiciliation .qg-company-search-status.is-success { color: #24643d; }
body.page-template-offres-domiciliation .qg-company-search-status.is-warning { color: #79591c; }
body.page-template-offres-domiciliation .qg-company-search-status.is-error { color: #9b2c2c; }

body.page-template-offres-domiciliation .qg-company-search-result {
    margin-top: 4px;
    padding: 20px;
    border-radius: 12px;
    color: #fff;
    background: #111;
    box-shadow: 0 18px 42px rgba(0,0,0,.14);
}

body.page-template-offres-domiciliation .qg-company-search-result[hidden] { display: none !important; }

body.page-template-offres-domiciliation .qg-company-result-head {
    display: grid;
    align-items: center;
    gap: 12px;
    grid-template-columns: auto minmax(0,1fr) auto;
}

body.page-template-offres-domiciliation .qg-company-result-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: #111;
    background: #fff;
}

body.page-template-offres-domiciliation .qg-company-result-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.page-template-offres-domiciliation .qg-company-result-head > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

body.page-template-offres-domiciliation .qg-company-result-kicker { color: rgba(255,255,255,.62); }

body.page-template-offres-domiciliation .qg-company-result-head strong {
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-template-offres-domiciliation .qg-company-result-state {
    padding: 7px 9px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: rgba(255,255,255,.82);
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .05em;
    white-space: nowrap;
}

body.page-template-offres-domiciliation .qg-company-result-state.is-active {
    border-color: rgba(87,197,126,.3);
    color: #bff1ce;
    background: rgba(63,161,99,.14);
}

body.page-template-offres-domiciliation .qg-company-result-state.is-warning {
    border-color: rgba(226,178,77,.35);
    color: #f3d79b;
    background: rgba(190,137,32,.14);
}

body.page-template-offres-domiciliation .qg-company-result-grid {
    display: grid;
    margin: 18px 0 0;
    padding: 16px 0;
    gap: 14px;
    border-top: 1px solid rgba(255,255,255,.13);
    border-bottom: 1px solid rgba(255,255,255,.13);
    grid-template-columns: repeat(2,minmax(0,1fr));
}

body.page-template-offres-domiciliation .qg-company-result-grid > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

body.page-template-offres-domiciliation .qg-company-result-grid .is-wide { grid-column: 1 / -1; }

body.page-template-offres-domiciliation .qg-company-result-grid dt {
    color: rgba(255,255,255,.52);
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .1em;
    text-transform: uppercase;
}

body.page-template-offres-domiciliation .qg-company-result-grid dd {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 10px;
    line-height: 1.5;
}

body.page-template-offres-domiciliation .qg-company-result-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    gap: 16px;
    color: rgba(255,255,255,.58);
    font-size: 9px;
    line-height: 1.5;
}

body.page-template-offres-domiciliation .qg-company-result-foot a {
    flex: 0 0 auto;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

body.page-template-offres-domiciliation .qg-company-details-fields {
    margin-top: 3px;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-company-details-fields label:not(.form-check-label) {
    color: #5d5d5d;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-company-details-fields .form-control {
    padding-right: 4px;
    padding-left: 4px;
    border-bottom-color: #bdbdb8;
    color: #111;
    background: transparent;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-company-details-fields .form-control::placeholder {
    color: #8a8a8a;
}

body.page-template-offres-domiciliation #offer-subscription-form .qg-company-details-fields .form-control:focus {
    border-bottom-color: #111;
    color: #111;
    background: transparent;
}

@media (max-width: 767.98px) {
    body.page-template-offres-domiciliation .qg-existing-company-toggle { padding: 16px; }

    body.page-template-offres-domiciliation .qg-siren-search-row {
        height: auto;
        overflow: visible;
        border-radius: 0;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .qg-siren-search-row .form-control,
    body.page-template-offres-domiciliation #offer-subscription-form .qg-siren-search-row .btn {
        width: 100%;
        min-height: 54px !important;
        height: 54px;
        border-radius: 9px !important;
    }

    body.page-template-offres-domiciliation .qg-company-result-head {
        align-items: start;
        grid-template-columns: auto minmax(0,1fr);
    }

    body.page-template-offres-domiciliation .qg-company-result-state {
        width: max-content;
        grid-column: 2;
    }

    body.page-template-offres-domiciliation .qg-company-result-head strong {
        white-space: normal;
    }

    body.page-template-offres-domiciliation .qg-company-result-foot {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

/* Mobile subscription pass — every step stays inside the viewport. */
@media (max-width: 767.98px) {
    body.page-template-offres-domiciliation,
    body.page-template-offres-domiciliation .custom-souscription-right,
    body.page-template-offres-domiciliation .qg-flow-container,
    body.page-template-offres-domiciliation .qg-flow-container > .row,
    body.page-template-offres-domiciliation .qg-flow-container > .row > [class*="col-"],
    body.page-template-offres-domiciliation #offer-subscription-form,
    body.page-template-offres-domiciliation .qg-subscription-layout,
    body.page-template-offres-domiciliation .form-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.page-template-offres-domiciliation:not(.qg-first-subscription-step) .qg-subscription-account-notice {
        display: none !important;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .step,
    body.page-template-offres-domiciliation #offer-subscription-form .step.has-field-panels,
    body.page-template-offres-domiciliation #offer-subscription-form #step-6,
    body.page-template-offres-domiciliation #step-2-offer,
    body.page-template-offres-domiciliation #step-center {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        min-width: 0 !important;
        min-height: 100svh;
        padding: 108px 0 116px !important;
        justify-content: flex-start !important;
    }

    body.page-template-offres-domiciliation.qg-first-subscription-step #offer-subscription-form #step-1 {
        padding-top: 158px !important;
    }

    body.page-template-offres-domiciliation .qg-step-intro {
        width: 100%;
        margin-bottom: 26px;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h1,
    body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h2,
    body.page-template-offres-domiciliation .qg-center-choice-heading h2,
    body.page-template-offres-domiciliation #offer-subscription-form .qg-field-question h3 {
        font-size: clamp(34px, 10vw, 44px) !important;
        overflow-wrap: anywhere;
    }

    body.page-template-offres-domiciliation .qg-field-question {
        margin-bottom: 24px;
    }

    body.page-template-offres-domiciliation .offers-picker,
    body.page-template-offres-domiciliation .offers-picker .offers-row,
    body.page-template-offres-domiciliation .offers-picker .offers-row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.page-template-offres-domiciliation .offers-picker {
        overflow: visible;
    }

    body.page-template-offres-domiciliation .offers-picker .offers-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        scroll-snap-type: none;
    }

    body.page-template-offres-domiciliation .offers-picker .offers-row > [class*="col-"] {
        padding: 0 !important;
        flex: none !important;
    }

    body.page-template-offres-domiciliation .offers-picker .offer-card,
    body.page-template-offres-domiciliation .offers-picker .card-body,
    body.page-template-offres-domiciliation .offers-picker li {
        min-width: 0;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    body.page-template-offres-domiciliation .offers-picker .card-body {
        padding: 22px 18px;
    }

    body.page-template-offres-domiciliation .offers-picker .offer-card .d-flex.justify-content-between {
        align-items: flex-start !important;
        gap: 12px;
    }

    body.page-template-offres-domiciliation .offers-picker .badge {
        max-width: 118px;
        flex: 0 0 auto;
    }

    body.page-template-offres-domiciliation #step-6 .payment-frequency-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.page-template-offres-domiciliation #step-6 .payment-frequency-options .payment-option,
    body.page-template-offres-domiciliation .qg-frequency-card {
        min-height: 132px;
    }

    body.page-template-offres-domiciliation .qg-frequency-card {
        padding: 16px !important;
    }

    body.page-template-offres-domiciliation .qg-frequency-top {
        align-items: flex-start;
        gap: 8px;
    }

    body.page-template-offres-domiciliation .qg-frequency-top strong {
        font-size: 11px;
        line-height: 1.35;
    }

    body.page-template-offres-domiciliation .qg-frequency-price {
        margin-top: 16px;
        font-size: clamp(22px, 7vw, 29px);
    }

    body.page-template-offres-domiciliation .qg-frequency-price small {
        display: block;
        margin-top: 5px;
        font-size: 7px;
    }

    body.page-template-offres-domiciliation .qg-frequency-caption {
        margin-top: 12px;
        font-size: 8px;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .qg-checkout-payment-card {
        margin-top: 20px;
        border-radius: 14px !important;
    }

    body.page-template-offres-domiciliation .qg-payment-methods {
        padding: 20px 14px;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .qg-payment-toggle {
        min-height: 76px;
        padding: 14px 12px;
    }

    body.page-template-offres-domiciliation .qg-payment-copy {
        max-width: calc(100% - 32px);
    }

    body.page-template-offres-domiciliation .qg-payment-title {
        font-size: 12px;
    }

    body.page-template-offres-domiciliation .qg-payment-subtitle {
        font-size: 9px;
    }

    body.page-template-offres-domiciliation .qg-checkout-terms {
        padding: 18px 14px;
    }

    body.page-template-offres-domiciliation .qg-checkout-sidebar {
        width: 100%;
        margin-top: 18px;
    }

    body.page-template-offres-domiciliation .qg-checkout-sidebar > .alert-light {
        padding: 18px 16px !important;
    }

    body.page-template-offres-domiciliation .fixed-bottom-buttons {
        padding-right: 14px;
        padding-left: 14px;
    }
}

/* Staff-only manual payment: high contrast inside the light checkout card. */
body.page-template-offres-domiciliation #offer-subscription-form .qg-internal-payment {
    padding: 16px;
    border: 1px solid #111;
    border-radius: 12px;
    color: #fff !important;
    background: #111 !important;
}

body.page-template-offres-domiciliation .qg-internal-payment-choice {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

body.page-template-offres-domiciliation .qg-internal-payment-choice .form-check-input {
    width: 20px;
    height: 20px;
    margin: 0;
    border-color: rgba(255,255,255,.72);
    background-color: transparent;
}

body.page-template-offres-domiciliation .qg-internal-payment-choice .form-check-input:checked {
    border-color: #fff;
    background-color: #fff;
    box-shadow: inset 0 0 0 5px #111;
}

body.page-template-offres-domiciliation .qg-internal-payment-choice .form-check-label {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff !important;
    cursor: pointer;
}

body.page-template-offres-domiciliation .qg-internal-payment-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

body.page-template-offres-domiciliation .qg-internal-payment-copy strong {
    color: #fff !important;
    font-size: 13px;
    font-weight: 650;
}

body.page-template-offres-domiciliation .qg-internal-payment-copy small {
    color: rgba(255,255,255,.64) !important;
    font-size: 9px;
}

body.page-template-offres-domiciliation .qg-internal-payment-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    color: #fff;
    font-size: 7px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.page-template-offres-domiciliation #other-payment-section {
    margin: 16px 0 0 !important;
    padding-top: 4px;
    border-top: 1px solid rgba(255,255,255,.16);
}

body.page-template-offres-domiciliation #offer-subscription-form #other-payment-section label {
    color: rgba(255,255,255,.72) !important;
}

body.page-template-offres-domiciliation #offer-subscription-form #other-payment-section .form-control,
body.page-template-offres-domiciliation #offer-subscription-form #other-payment-section .form-select {
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 8px;
    color: #111;
    background: #fff;
}

@media (max-width: 767.98px) {
    body.page-template-offres-domiciliation .qg-internal-payment {
        padding: 14px !important;
    }

    body.page-template-offres-domiciliation .qg-internal-payment-badge {
        display: none;
    }

    body.page-template-offres-domiciliation #other-payment-section > [class*="col-"] {
        width: 100%;
        margin-top: 10px;
        padding: 0;
    }
}

/* Compact mobile hierarchy: reveal the first actionable field without scrolling. */
@media (max-width: 767.98px) {
    body.page-template-offres-domiciliation #offer-subscription-form .step,
    body.page-template-offres-domiciliation #offer-subscription-form .step.has-field-panels,
    body.page-template-offres-domiciliation #offer-subscription-form #step-6,
    body.page-template-offres-domiciliation #step-2-offer,
    body.page-template-offres-domiciliation #step-center {
        padding-top: 88px !important;
    }

    body.page-template-offres-domiciliation.qg-first-subscription-step #offer-subscription-form #step-1 {
        padding-top: 148px !important;
    }

    body.page-template-offres-domiciliation .qg-step-intro {
        margin-bottom: 18px;
    }

    body.page-template-offres-domiciliation .qg-step-kicker,
    body.page-template-offres-domiciliation .qg-field-question > span {
        margin-bottom: 11px;
        font-size: 8px;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h1,
    body.page-template-offres-domiciliation #offer-subscription-form .qg-step-intro h2,
    body.page-template-offres-domiciliation .qg-center-choice-heading h2 {
        margin-bottom: 10px !important;
        font-size: clamp(28px, 8.4vw, 36px) !important;
        line-height: 1.02;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .qg-field-question h3 {
        font-size: clamp(28px, 8vw, 34px) !important;
        line-height: 1.06;
    }

    body.page-template-offres-domiciliation .qg-field-question {
        margin-bottom: 18px;
    }

    body.page-template-offres-domiciliation .qg-step-intro > p {
        font-size: 12px;
        line-height: 1.5;
    }
}

/* iOS/Chrome mobile viewport: keep the black canvas and action bar on screen. */
@media (max-width: 767.98px) {
    body.page-template-offres-domiciliation,
    body.page-template-offres-domiciliation.qg-subscription-wizard-active {
        min-height: 100vh;
        min-height: 100dvh;
        background-color: #080808 !important;
        overscroll-behavior-y: none;
    }

    body.page-template-offres-domiciliation .custom-souscription-right,
    body.page-template-offres-domiciliation .form-wrapper,
    body.page-template-offres-domiciliation .qg-flow-container,
    body.page-template-offres-domiciliation .qg-flow-container > .row,
    body.page-template-offres-domiciliation .qg-flow-container > .row > [class*="col-"],
    body.page-template-offres-domiciliation .qg-subscription-layout,
    body.page-template-offres-domiciliation .form-content {
        min-height: 100vh;
        min-height: 100dvh;
        background-color: #080808;
    }

    body.page-template-offres-domiciliation .form-wrapper {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.page-template-offres-domiciliation #offer-subscription-form .step,
    body.page-template-offres-domiciliation #offer-subscription-form .step.has-field-panels,
    body.page-template-offres-domiciliation #offer-subscription-form #step-6,
    body.page-template-offres-domiciliation #step-2-offer,
    body.page-template-offres-domiciliation #step-center {
        padding-bottom: calc(116px + env(safe-area-inset-bottom)) !important;
    }

    body.page-template-offres-domiciliation .fixed-bottom-buttons {
        position: fixed !important;
        z-index: 5000 !important;
        inset: auto 0 calc(var(--qg-mobile-viewport-bottom, 0px) + 8px) !important;
        display: flex;
        width: 100% !important;
        max-width: 100vw;
        min-height: calc(80px + env(safe-area-inset-bottom));
        margin: 0 !important;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) !important;
        overflow: visible !important;
        border-radius: 0 !important;
        background: rgba(6,6,6,.94) !important;
        box-shadow: 0 -18px 50px rgba(0,0,0,.28);
        transform: translate3d(0,0,0);
        -webkit-transform: translate3d(0,0,0);
        visibility: visible;
        will-change: bottom, transform;
        isolation: isolate;
    }

    body.page-template-offres-domiciliation .fixed-bottom-buttons .btn:not(.d-none) {
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Mobile form ergonomics: prevent iOS focus zoom and make the final CTA unmistakable. */
body.page-template-offres-domiciliation .qg-checkout-submit {
    position: relative;
    justify-content: center;
    border-color: #06c167 !important;
    color: #06170f !important;
    background: #06c167 !important;
    box-shadow: 0 14px 34px rgba(6,193,103,.3);
    font-weight: 800;
    text-align: center;
}

body.page-template-offres-domiciliation .qg-checkout-submit span {
    display: block;
    width: 100%;
    color: inherit;
    text-align: center;
}

body.page-template-offres-domiciliation .qg-checkout-submit svg {
    position: absolute;
    right: 22px;
}

body.page-template-offres-domiciliation .qg-checkout-submit:hover,
body.page-template-offres-domiciliation .qg-checkout-submit:focus-visible {
    border-color: #08d873 !important;
    color: #020a06 !important;
    background: #08d873 !important;
    box-shadow: 0 16px 38px rgba(6,193,103,.4);
}

body.page-template-offres-domiciliation .qg-checkout-submit:active {
    background: #05a357 !important;
    box-shadow: 0 8px 22px rgba(6,193,103,.24);
}

@media (max-width: 767.98px) {
    body.page-template-offres-domiciliation {
        -webkit-text-size-adjust: 100%;
    }

    body.page-template-offres-domiciliation #offer-subscription-form input:not([type="checkbox"]):not([type="radio"]),
    body.page-template-offres-domiciliation #offer-subscription-form select,
    body.page-template-offres-domiciliation #offer-subscription-form textarea,
    body.page-template-offres-domiciliation #offer-subscription-form .form-control,
    body.page-template-offres-domiciliation #offer-subscription-form .form-select {
        font-size: 16px !important;
    }

    body.page-template-offres-domiciliation .fixed-bottom-buttons #submit-form-mobile {
        min-height: 64px;
        padding: 14px 18px !important;
        border-color: #06c167 !important;
        color: #06170f !important;
        background: #06c167 !important;
        box-shadow: 0 12px 32px rgba(6,193,103,.34);
        font-size: 16px !important;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: -.01em;
        text-align: center;
        white-space: normal;
    }

    body.page-template-offres-domiciliation .fixed-bottom-buttons #submit-form-mobile span {
        width: 100%;
        text-align: center;
    }
}
