/* QLII HOME — CSS consolidé (sélecteurs répétés fusionnés) */

.home-content {
    max-width: 760px;
}

.home-brand {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}

.home-content h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: 1;
    margin-bottom: 24px;
}

.home-content p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
}

.home-actions {
    margin-top: 32px;
}

.home-badge {
    display: inline-flex;
    margin-bottom: 24px;
    padding: 7px 12px;
    border-radius: 20px;
    background: #f1f1f1;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.home-primary-button,
.home-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 11px;
    font-weight: 600;
    text-decoration: none;
}

.home-demo-link {
    display: inline-block;
    margin-top: 24px;
    color: #777;
    text-decoration: none;
}

    .home-demo-link:hover {
        color: #111;
    }

.home-feature-polaroid-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.home-feature-polaroid {
    min-width: 0;
    background: #fffdf9;
    padding: 9px 9px 22px;
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .07);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .home-feature-polaroid:nth-child(1) {
        transform: rotate(-1deg);
    }

    .home-feature-polaroid:nth-child(2) {
        transform: rotate(.7deg);
    }

    .home-feature-polaroid:nth-child(3) {
        transform: rotate(-.5deg);
    }

    .home-feature-polaroid:nth-child(4) {
        transform: rotate(1deg);
    }

.home-feature-photo {
    display: block;
    width: 100%;
    height: 105px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 2px;
}

.home-feature-polaroid-content {
    padding: 1.15rem .55rem 0;
}

.home-feature-polaroid h3 {
    margin: 0 0 .65rem;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-feature-polaroid p {
    margin: 0;
    font-size: .92rem;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .home-hero {
        min-height: auto;
        padding-top: 60px;
    }

    .home-hero-actions {
        flex-direction: column;
    }

    .home-primary-button,
    .home-secondary-button {
        width: 100%;
    }

    .home-features {
        grid-template-columns: 1fr;
    }
}

.home-section-heading > span {
    display: inline-block;
    margin-bottom: 10px;
    color: #777;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.home-how-step:nth-child(1) {
    transform: rotate(-1deg);
}

.home-how-step:nth-child(2) {
    transform: rotate(.6deg);
}

.home-how-step:nth-child(3) {
    transform: rotate(-.8deg);
}

.home-how-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 2px;
}

@media (max-width: 780px) {
    .home-how-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        gap: 2rem;
    }

    .home-how-step:nth-child(n) {
        transform: none;
    }
}

.home-business-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f4f4f4;
    font-size: 1.5rem;
}

@media (max-width: 850px) {
    .home-business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .home-feature-polaroid-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 1.5rem;
    }

    .home-feature-polaroid:nth-child(n) {
        transform: none;
    }

    .home-feature-photo {
        height: 160px;
    }

    .home-business-grid {
        grid-template-columns: 1fr;
    }
}

.qlii-home {
    background: var(--qlii-bg);
    color: var(--qlii-text);
}

    .qlii-home .container {
        width: min(1240px, calc(100% - 2rem));
        margin: 0 auto;
    }

.home-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: auto;
    padding: 4.5rem 0 5rem;
}

    .home-hero::before {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        background: var(--qlii-primary-light);
        opacity: .18;
        top: -240px;
        right: -120px;
        pointer-events: none;
    }

.home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: center;
}

.home-hero-content {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    margin: 0 auto;
    text-align: center;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem .85rem;
    border: 1px solid var(--qlii-border);
    border-radius: 999px;
    background: rgba(255,255,255,.7);
    color: var(--qlii-primary-dark);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

    .home-eyebrow::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--qlii-primary);
    }

.home-hero h1 {
    margin: 1.4rem 0 1.2rem;
    max-width: 760px;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 750;
}

    .home-hero h1 span {
        color: var(--qlii-primary);
    }

.home-hero-text {
    margin: 30px auto 0;
    max-width: 650px;
    margin-bottom: 2rem;
    color: var(--qlii-text-muted);
    font-size: 1.18rem;
    line-height: 1.7;
}

.home-hero-actions {
    margin-top: 34px;
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
    justify-content: center;
}

.home-login-link {
    margin-top: 1.2rem;
    color: var(--qlii-text-muted);
    font-size: .92rem;
}

    .home-login-link a {
        color: var(--qlii-primary-dark);
        font-weight: 650;
        text-decoration: none;
    }

        .home-login-link a:hover {
            text-decoration: underline;
        }

.home-primary-button,
.home-secondary-button,
.home-final-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: .8rem 1.4rem;
    border-radius: 12px;
    font-weight: 650;
    text-decoration: none;
    transition: .2s ease;
}

.home-primary-button {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--qlii-primary);
    background: var(--qlii-primary);
    color: white;
}

    .home-primary-button:hover {
        background: var(--qlii-primary-dark);
        border-color: var(--qlii-primary-dark);
        color: white;
        transform: translateY(-1px);
    }

.home-secondary-button {
    border: 1px solid var(--qlii-border);
    background: rgba(255,255,255,.65);
    color: var(--qlii-text);
}

    .home-secondary-button:hover {
        border-color: var(--qlii-primary);
        background: white;
        color: var(--qlii-primary-dark);
        transform: translateY(-1px);
    }

.home-section-heading {
    max-width: 820px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

    .home-section-heading span {
        display: inline-block;
        margin-bottom: .7rem;
        color: var(--qlii-primary);
        font-size: .8rem;
        font-weight: 750;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .home-section-heading h2 {
        margin: 0 0 1rem;
        font-size: clamp(2.3rem, 4vw, 3.6rem);
        line-height: 1.05;
        letter-spacing: -.04em;
    }

    .home-section-heading p {
        max-width: 680px;
        margin: 0 auto;
        color: var(--qlii-text-muted);
        font-size: 1.05rem;
        line-height: 1.7;
    }

.home-features-section {
    padding: 7rem 0;
    background: white;
}

.home-features {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.3rem;
}

.home-feature {
    min-height: 240px;
    padding: 2rem;
    border: 1px solid var(--qlii-border);
    border-radius: 20px;
    background: var(--qlii-bg);
}

.home-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    background: rgba(201, 111, 74, .12);
    overflow: hidden;
}

    .home-feature-icon img {
        width: 25px;
        height: 25px;
        filter: drop-shadow(0 120px 0 var(--qlii-accentstrong));
        transform: translateY(-120px);
    }

.home-feature strong {
    display: block;
    margin-bottom: .75rem;
    font-size: 1.2rem;
}

.home-feature p {
    margin: 0;
    color: var(--qlii-text-muted);
    line-height: 1.65;
}

.home-how {
    width: min(1100px, calc(100% - 40px));
    margin: 20px auto 90px;
    padding: 7rem 0;
}

.home-how-grid {
    max-width: 1120px;
    margin: 0 auto;
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-how-step {
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .07), 0 2px 5px rgba(0, 0, 0, .025);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
    min-height: 250px;
    padding: 2.4rem;
    border: 1px solid var(--qlii-border);
    border-radius: 22px;
    background: white;
}

.home-step-number {
    margin-bottom: 2rem;
    color: var(--qlii-primary);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.home-how-step h3 {
    margin: 1.5rem 0 .65rem;
    margin-bottom: .8rem;
    font-size: 1.3rem;
}

.home-how-step p {
    max-width: 290px;
    margin: 0;
    color: var(--qlii-text-muted);
    line-height: 1.65;
}

.home-how-action {
    margin-top: 2.5rem;
    text-align: center;
}

.home-business-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.home-business-card:hover {
    border-color: #ccc;
    text-decoration: none;
    color: inherit;
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(71, 45, 34, .08);
}

.home-business-mark {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--qlii-primary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.home-final-section {
    padding: 7rem 0;
}

.home-final-cta {
    padding: 5rem 2rem;
    border-radius: 28px;
    background: var(--qlii-primary-dark);
    color: white;
    text-align: center;
}

.home-final-label {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--qlii-primary-light);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.home-final-cta h2 {
    max-width: 760px;
    margin: 0 auto 1rem;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.03;
    letter-spacing: -.04em;
}

.home-final-cta p {
    max-width: 620px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,.72);
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-final-button {
    border: 1px solid white;
    background: white;
    color: var(--qlii-primary-dark);
}

    .home-final-button:hover {
        background: var(--qlii-bg);
        color: var(--qlii-primary-dark);
        transform: translateY(-1px);
    }

@media (max-width: 1100px) {
    .home-business-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home-seo-benefits {
    padding: 7rem 0;
    background: var(--qlii-bg);
}

.home-seo-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
}

.home-seo-benefit {
    position: relative;
    padding-top: 1.5rem;
    border-top: 1px solid var(--qlii-border);
}

.home-seo-benefit-number {
    margin-bottom: 1.4rem;
    color: var(--qlii-accentstrong);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.home-seo-benefit h3 {
    margin: 0 0 1.2rem;
    font-size: 1.45rem;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.home-seo-benefit p {
    margin: 0 0 1rem;
    color: var(--qlii-text-muted);
    font-size: .98rem;
    line-height: 1.75;
}

    .home-seo-benefit p:last-child {
        margin-bottom: 0;
    }

.home-business-types {
    padding: 7rem 0;
    background: white;
    width: auto;
    margin: 0;
}

.home-business-card {
    --home-business-image: none;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 280px;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,.055);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,.035);
    color: var(--qlii-text);
    text-decoration: none;
    cursor: default;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .home-business-card::before {
        content: "";
        position: absolute;
        z-index: -2;
        inset: 0;
        background-image: var(--home-business-image);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        pointer-events: none;
    }

   

    .home-business-card .home-business-mark {
        position: relative;
        z-index: 1;
        margin-bottom: 1.1rem;
        color: var(--qlii-primary);
    }

    .home-business-card h3 {
        margin-bottom: .65rem;
        position: relative;
        z-index: 1;
        margin: 0 0 .5rem;
        max-width: 70%;
        color: var(--qlii-text);
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -.025em;
    }

    .home-business-card p {
        position: relative;
        z-index: 1;
        max-width: 66%;
        margin: 0;
        color: #555;
        font-size: .91rem;
        line-height: 1.5;
    }

a.home-business-card {
    cursor: pointer;
}

    a.home-business-card:focus-visible {
        outline: 3px solid var(--qlii-accentstrong);
        outline-offset: 4px;
    }

.home-business-card-arrow {
    position: absolute;
    z-index: 2;
    top: .9rem;
    right: 1.1rem;
    color: var(--qlii-accentstrong);
    font-size: 1.6rem;
    line-height: 1;
}

.home-business-discover {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    align-self: flex-start;
    margin-top: auto;
    padding: .7rem 1.15rem;
    border-radius: 999px;
    background: var(--qlii-accentstrong);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 5px 16px rgba(0,0,0,.10);
}

    .home-business-discover span {
        transition: transform .2s ease;
    }

@media (hover: hover) {
    .home-feature-polaroid:hover {
        transform: translateY(-5px) rotate(0);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .11);
    }

    .home-how-step:hover {
        transform: translateY(-6px) rotate(0);
        box-shadow: 0 16px 35px rgba(0, 0, 0, .11), 0 3px 8px rgba(0, 0, 0, .04);
    }

    a.home-business-card:hover {
        transform: translateY(-5px);
        border-color: #E0CFC4;
        box-shadow: 0 18px 42px rgba(71,45,34,.11);
        color: var(--qlii-text);
        text-decoration: none;
    }

        a.home-business-card:hover .home-business-discover span {
            transform: translateX(4px);
        }
}

.home-business-card:not(a):hover {
    transform: none;
    box-shadow: none;
    border-color: var(--qlii-border);
}

.home-business-card--restaurant {
    --home-business-image: url("/images/home/business-restaurant.webp");
}

.home-business-card--spa {
    --home-business-image: url("/images/home/business-spa.webp");
}

.home-business-card--hair {
    --home-business-image: url("/images/home/business-hair.webp");
}

.home-business-card--tattoo {
    --home-business-image: url("/images/home/business-tattoo.webp");
}

.home-business-card--stay {
    --home-business-image: url("/images/home/business-stay.webp");
}

.home-business-card--play {
    --home-business-image: url("/images/home/business-play.webp");
}

.home-business-card--me {
    --home-business-image: url("/images/home/business-me.webp");
}

.home-business-card--craft {
    --home-business-image: url("/images/home/business-craft.webp");
}

@media (max-width: 900px) {
    .home-feature-polaroid-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .home-feature-photo {
        height: 130px;
    }

    .home-hero {
        padding: 3.5rem 0 4rem;
    }

    .home-how-grid {
        grid-template-columns: 1fr;
    }

    .home-business-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-seo-benefits-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .home-business-card {
        min-height: 265px;
    }
}

@media (max-width: 640px) {
    .home-features {
        grid-template-columns: 1fr;
    }

    .qlii-home .container {
        width: min(100% - 1.2rem, 1240px);
    }

    .home-hero {
        padding: 2.5rem 0 3rem;
    }

        .home-hero h1 {
            font-size: clamp(2.6rem, 14vw, 4rem);
        }

    .home-hero-text {
        font-size: 1rem;
    }

    .home-hero-actions {
        flex-direction: column;
    }

    .home-primary-button,
    .home-secondary-button {
        width: 100%;
    }

    .home-product-preview {
        min-height: 570px;
    }

    .home-features-section,
    .home-how,
    .home-business-types,
    .home-final-section {
        padding: 4.5rem 0;
    }

    .home-business-grid {
        grid-template-columns: 1fr;
    }

    .home-final-cta {
        padding: 3.5rem 1.4rem;
    }

    .home-seo-benefits {
        padding: 4.5rem 0;
    }

    .home-business-card {
        min-height: 245px;
        padding: 1.25rem;
    }

        .home-business-card .home-business-mark {
            margin-bottom: .95rem;
        }

        .home-business-card h3 {
            max-width: 70%;
        }

        .home-business-card p {
            max-width: 66%;
        }
}

@media (prefers-reduced-motion: reduce) {
    .home-feature-polaroid {
        transition: none;
    }

    .home-how-step {
        transition: none;
    }

    .home-business-card, .home-business-discover span {
        transition: none;
    }
}

.home-awards {
    background: #fcf8f7;
    border-bottom: 1px solid #eee5e3;
}

.home-awards-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.home-awards-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #f5e8ed;
    font-size: 29px;
}

.home-awards-content {
    flex: 1;
    min-width: 0;
}

.home-awards-label {
    display: block;
    margin-bottom: 5px;
    color: #C03A78;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.home-awards-title {
    display: block;
    margin-bottom: 5px;
    color: #302b2a;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.35;
}

.home-awards-description {
    margin: 0;
    color: #706762;
    font-size: 13px;
    line-height: 1.6;
}

.home-awards-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 18px;
    flex-shrink: 0;
    border: 1px solid #C03A78;
    border-radius: 10px;
    color: #C03A78;
    background: white;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

    .home-awards-button:hover {
        color: white;
        background: #C03A78;
    }

@media (max-width: 750px) {
    .home-awards-inner {
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .home-awards-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 23px;
    }

    .home-awards-content {
        flex: 1 1 calc(100% - 60px);
    }

    .home-awards-title {
        font-size: 15px;
    }

    .home-awards-button {
        width: 100%;
        margin-top: 6px;
    }
}

.home-hero-free-notice {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    opacity: 0.75;
}

.home-video {
    width: 100%;
    max-width: 1050px;
    margin: 2rem auto;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #f6f5f1;
    box-shadow: 0 12px 40px rgba(20, 35, 40, 0.10);
}

    .home-video video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@media (max-width: 768px) {
    .home-video {
        border-radius: 16px;
        margin: 1.25rem auto;
    }
}
.home-video-no-shadow {
    box-shadow: none;
}