/* 25.05.26 - Webbax | winbizappstore.ch - Page accueil custom hero + produits phares [WBX-WBHOME] */

/* === RESET CONTAINERS THEME (home only) === */
body#index #wrapper,
body.page-index #wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: transparent !important;
}
body#index #main,
body#index #content-wrapper,
body#index #content,
body.page-index #main,
body.page-index #content-wrapper,
body.page-index #content {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    max-width: none !important;
}
body#index #content.page-home > .container,
body.page-index #content > .container {
    padding: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

/* === HERO === */
.wbhome-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    isolation: isolate;
}
.wbhome-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.wbhome-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%),
        linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
    z-index: 1;
}
.wbhome-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 1100px;
    animation: wbhomeFadeUp 1.2s cubic-bezier(.2,.7,.2,1) both;
}
.wbhome-hero__title {
    font-family: 'Campton', sans-serif;
    font-size: 75px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.01em;
    margin: 0 auto 1.4rem;
    max-width: 1100px;
    color: #fff;
    text-shadow: 0 2px 32px rgba(0,0,0,.45);
    text-wrap: balance;
}
.wbhome-hero__subtitle {
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(255,255,255,.9);
    max-width: 780px;
    margin: 0 auto 2.6rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.45);
    text-wrap: balance;
}
.wbhome-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: .75em;
    padding: calc(1.35rem - 2px) calc(3.2rem - 2px);
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: .01em;
    text-decoration: none;
    transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s ease, color .3s ease;
}
.wbhome-hero__cta:hover,
.wbhome-hero__cta:focus {
    background: #fff;
    color: #0a0a0a;
    transform: translateY(-2px);
    text-decoration: none;
}
.wbhome-hero__cta-arrow {
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.wbhome-hero__cta:hover .wbhome-hero__cta-arrow {
    transform: translateX(5px);
}
.wbhome-hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,.7);
    border-radius: 14px;
    opacity: .85;
}
.wbhome-hero__scroll span {
    display: block;
    width: 3px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    margin: 6px auto 0;
    animation: wbhomeScroll 1.7s ease-in-out infinite;
}

/* === SECTION PRODUITS === */
.wbhome-products {
    padding: 110px 0 120px;
    background: #fafafa;
    color: #0a0a0a;
}
.wbhome-products__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}
.wbhome-products__head {
    text-align: center;
    margin-bottom: 64px;
}
.wbhome-products__eyebrow {
    display: inline-block;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #888;
    margin-bottom: 18px;
    font-weight: 600;
}
.wbhome-products__title {
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 .6rem;
    color: #0a0a0a;
    text-wrap: balance;
}
.wbhome-products__subtitle {
    font-size: 1.08rem;
    color: #666;
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
/* === CAROUSEL === */
.wbhome-products__carousel {
    position: relative;
}
.wbhome-products__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    scroll-behavior: smooth;
    padding: 8px 4px 32px;
    margin: 0 -4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.wbhome-products__track::-webkit-scrollbar { display: none; }
.wbhome-products__track > .wbhome-card {
    flex: 0 0 calc((100% - 24px * 3) / 4);
    scroll-snap-align: start;
    min-width: 0;
}
.wbhome-products__nav {
    position: absolute;
    top: calc(50% - 32px);
    transform: translateY(-50%);
    z-index: 3;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #fff;
    color: #0a0a0a;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, opacity .25s ease;
    padding: 0;
}
.wbhome-products__nav:hover {
    transform: translateY(-50%) scale(1.06);
    background: #0a0a0a;
    color: #fff;
    box-shadow: 0 16px 38px rgba(0,0,0,.22);
}
.wbhome-products__nav:disabled {
    opacity: 0;
    pointer-events: none;
}
.wbhome-products__nav--prev { left: -22px; }
.wbhome-products__nav--next { right: -22px; }

/* === CARD === */
.wbhome-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
    border: 1px solid rgba(0,0,0,.04);
}
.wbhome-card:hover,
.wbhome-card:focus {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0,0,0,.13);
    color: inherit;
    text-decoration: none;
}
.wbhome-card__media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4f4f4;
}
.wbhome-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
    display: block;
}
.wbhome-card:hover .wbhome-card__media img {
    transform: scale(1.06);
}
.wbhome-card__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.wbhome-card__name {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
    margin: 0;
    color: #0a0a0a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.wbhome-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.wbhome-card__price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0a0a0a;
    white-space: nowrap;
}
.wbhome-card__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #0a0a0a;
    flex-shrink: 0;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}
.wbhome-card__more i {
    font-size: 1rem;
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.wbhome-card:hover .wbhome-card__more {
    background: #0a0a0a;
    color: #fff;
}
.wbhome-card:hover .wbhome-card__more i {
    transform: translateX(3px);
}

/* === SECTION HOW-TO === */
.wbhome-howto {
    padding: 110px 0 120px;
    background: #000;
    color: #fff;
}
.wbhome-howto__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}
.wbhome-howto__head {
    text-align: center;
    margin-bottom: 72px;
}
.wbhome-howto__eyebrow {
    display: inline-block;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: rgba(255,255,255,.55);
    margin-bottom: 18px;
    font-weight: 600;
}
.wbhome-howto__title {
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 .6rem;
    color: #fff;
    text-wrap: balance;
}
.wbhome-howto__subtitle {
    font-size: 1.08rem;
    color: rgba(255,255,255,.65);
    margin: 0 auto;
    max-width: 600px;
}
.wbhome-howto__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: wbhome-step;
}
.wbhome-howto__step {
    position: relative;
    padding: 36px 30px 32px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), background .35s ease, border-color .35s ease;
}
.wbhome-howto__step:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.18);
}
.wbhome-howto__num {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
    letter-spacing: -.02em;
    line-height: 1;
}
.wbhome-howto__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    color: #fff;
    margin-bottom: 22px;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(244,63,94,.25);
}
.wbhome-howto__step:nth-child(2) .wbhome-howto__icon {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    box-shadow: 0 10px 30px rgba(99,102,241,.3);
}
.wbhome-howto__step:nth-child(3) .wbhome-howto__icon {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    box-shadow: 0 10px 30px rgba(16,185,129,.25);
}
.wbhome-howto__step-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
    letter-spacing: -.01em;
}
.wbhome-howto__step-text {
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255,255,255,.7);
    margin: 0;
}
.wbhome-howto__pricing {
    margin-top: 64px;
    padding-top: 56px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
}
.wbhome-howto__pricing-head {
    max-width: 720px;
    margin: 0 auto;
}
.wbhome-howto__pricing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 16px;
}
.wbhome-howto__pricing-title {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.01em;
    margin: 0 0 14px;
    color: #fff;
    text-wrap: balance;
}
.wbhome-howto__pricing-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,.7);
    margin: 0;
}
.wbhome-howto__pricing-points {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.wbhome-howto__pricing-points li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 600;
    color: rgba(255,255,255,.92);
}
.wbhome-howto__pricing-points i {
    color: #10b981;
    font-size: 1rem;
}

/* === SECTION TEMOIGNAGES === */
.wbhome-reviews {
    padding: 110px 0 120px;
    background: #fff;
    color: #0a0a0a;
}
.wbhome-reviews__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}
.wbhome-reviews__head {
    text-align: center;
    margin-bottom: 64px;
}
.wbhome-reviews__eyebrow {
    display: inline-block;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #888;
    margin-bottom: 18px;
    font-weight: 600;
}
.wbhome-reviews__title {
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 .6rem;
    color: #0a0a0a;
    text-wrap: balance;
}
.wbhome-reviews__subtitle {
    font-size: 1.08rem;
    color: #666;
    margin: 0 auto;
    max-width: 560px;
}
.wbhome-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.wbhome-review {
    position: relative;
    background: #fafafa;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 20px;
    padding: 32px 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.wbhome-review:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
    border-color: rgba(0,0,0,.1);
}
.wbhome-review__quote {
    color: #0a0a0a;
    opacity: .08;
    position: absolute;
    top: 22px;
    right: 24px;
}
.wbhome-review__stars {
    display: inline-flex;
    gap: 2px;
    color: #fbbf24;
    font-size: 1.05rem;
    letter-spacing: 1px;
    line-height: 1;
}
.wbhome-review__stars .is-empty {
    color: #e5e7eb;
}
.wbhome-review__text {
    font-size: 1.02rem;
    line-height: 1.6;
    color: #1f2937;
    margin: 0;
    flex: 1;
    quotes: none;
}
.wbhome-review__author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,.06);
    margin-top: 4px;
}
.wbhome-review__avatar {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--wbz-bg, #0a0a0a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .02em;
}
.wbhome-review__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.wbhome-review__name {
    font-weight: 600;
    color: #0a0a0a;
    font-size: .95rem;
    line-height: 1.3;
}
.wbhome-review__role {
    font-size: .82rem;
    color: #6b7280;
    line-height: 1.3;
}

/* === SECTION FAQ === */
.wbhome-faq {
    padding: 110px 0 120px;
    background: #fafafa;
    color: #0a0a0a;
}
.wbhome-faq__inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 28px;
}
.wbhome-faq__head {
    text-align: center;
    margin-bottom: 56px;
}
.wbhome-faq__eyebrow {
    display: inline-block;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #888;
    margin-bottom: 18px;
    font-weight: 600;
}
.wbhome-faq__title {
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 .6rem;
    color: #0a0a0a;
}
.wbhome-faq__subtitle {
    font-size: 1.08rem;
    color: #666;
    margin: 0 auto;
    max-width: 560px;
}
.wbhome-faq__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.wbhome-faq__item {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.wbhome-faq__item[open] {
    border-color: rgba(0,0,0,.16);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.wbhome-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #0a0a0a;
    cursor: pointer;
    list-style: none;
    transition: color .2s ease;
}
.wbhome-faq__q::-webkit-details-marker { display: none; }
.wbhome-faq__q:hover { color: #000; }
.wbhome-faq__chev {
    flex-shrink: 0;
    font-size: .9rem;
    color: #6b7280;
    transition: transform .3s cubic-bezier(.2,.7,.2,1), color .2s ease;
}
.wbhome-faq__item[open] .wbhome-faq__chev {
    transform: rotate(180deg);
    color: #0a0a0a;
}
.wbhome-faq__a {
    padding: 0 28px 24px;
    font-size: 1rem;
    line-height: 1.65;
    color: #4b5563;
}
.wbhome-faq__a p {
    margin: 0 0 12px;
}
.wbhome-faq__a p:last-child {
    margin-bottom: 0;
}
.wbhome-faq__a strong {
    color: #111827;
    font-weight: 700;
}
.wbhome-faq__a ol {
    margin: 0 0 14px;
    padding-left: 22px;
    list-style: decimal;
}
.wbhome-faq__a ol li {
    margin-bottom: 6px;
}
.wbhome-faq__a a {
    color: rgb(0 0 223);
    text-decoration: underline;
}
.wbhome-faq__hl {
    color: #ee0000;
    font-weight: 600;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
    .wbhome-products__track > .wbhome-card { flex-basis: calc((100% - 24px * 2) / 3); }
    .wbhome-reviews__grid { grid-template-columns: repeat(2, 1fr); }
    .wbhome-howto__steps { grid-template-columns: 1fr; gap: 18px; max-width: 600px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .wbhome-products { padding: 72px 0 80px; }
    .wbhome-products__head { margin-bottom: 44px; }
    .wbhome-products__track { gap: 16px; padding-bottom: 24px; }
    .wbhome-products__track > .wbhome-card { flex-basis: calc((100% - 16px) / 2); }
    .wbhome-products__nav { display: none; }
    .wbhome-hero { height: 88vh; min-height: 520px; }
    .wbhome-hero__cta { padding: calc(1.15rem - 2px) calc(2.4rem - 2px); font-size: 1.1rem; }
    .wbhome-hero__title { font-size: 34px; }
    .wbhome-hero__subtitle { font-size: 1.2rem; margin-bottom: 2rem; }
    .wbhome-card__body { padding: 16px 16px 18px; gap: 12px; }
    .wbhome-card__name { font-size: 1.1rem; min-height: 2.6em; }
    .wbhome-card__price { font-size: 1.05rem; }
    .wbhome-card__more { width: 38px; height: 38px; }
    .wbhome-reviews { padding: 72px 0 80px; }
    .wbhome-reviews__head { margin-bottom: 44px; }
    .wbhome-reviews__grid { grid-template-columns: 1fr; gap: 18px; }
    .wbhome-review { padding: 26px 22px 22px; }
    .wbhome-howto { padding: 72px 0 80px; }
    .wbhome-howto__head { margin-bottom: 48px; }
    .wbhome-howto__step { padding: 28px 22px 26px; }
    .wbhome-howto__num { font-size: 2.6rem; top: 16px; right: 20px; }
    .wbhome-howto__icon { width: 52px; height: 52px; font-size: 1.3rem; }
    .wbhome-howto__step-title { font-size: 1.6rem; }
    .wbhome-howto__pricing { margin-top: 44px; padding-top: 40px; }
    .wbhome-howto__pricing-points { gap: 8px; margin-top: 22px; }
    .wbhome-howto__pricing-points li { padding: 8px 14px; font-size: .85rem; }
    .wbhome-faq { padding: 72px 0 80px; }
    .wbhome-faq__head { margin-bottom: 40px; }
    .wbhome-faq__q { padding: 18px 22px; font-size: 18px; gap: 14px; }
    .wbhome-faq__a { padding: 0 22px 20px; font-size: .95rem; }
}
@media (max-width: 480px) {
    .wbhome-hero__scroll { display: none; }
    .wbhome-products__track > .wbhome-card { flex-basis: 78%; }
}
@media (prefers-reduced-motion: reduce) {
    .wbhome-hero__content,
    .wbhome-hero__scroll span { animation: none; }
    .wbhome-card,
    .wbhome-card__media img,
    .wbhome-hero__cta,
    .wbhome-card__more,
    .wbhome-review { transition: none; }
}

@keyframes wbhomeFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes wbhomeScroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}
