/* WiseBled — Styles par section (landing pro) */

/* —— Utilitaires sections —— */
.page-home .section-block {
    position: relative;
    isolation: isolate;
}
.page-home .section-block.is-in-view .section-title-line {
    width: 4rem;
}
.page-home .section-header-pro {
    text-align: center;
    max-width: 42rem;
    margin-inline: auto;
    margin-bottom: 4rem;
}
.page-home .section-header-pro .section-eyebrow {
    justify-content: center;
}

/* —— 1. Hero —— */
.page-home .section-hero .hero-glass-bar {
    animation: glass-bar-in 1s var(--ease-fluid) 0.4s backwards;
}
@keyframes glass-bar-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.page-home .section-hero .trust-chip {
    animation: chip-in 0.7s var(--ease-fluid) backwards;
}
.page-home .section-hero .trust-chip:nth-child(1) { animation-delay: 0.5s; }
.page-home .section-hero .trust-chip:nth-child(2) { animation-delay: 0.6s; }
.page-home .section-hero .trust-chip:nth-child(3) { animation-delay: 0.7s; }
@keyframes chip-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* —— 2. Marquee —— */
.page-home .marquee-section--pro {
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,250,252,0.5));
    border-block: 1px solid rgba(99, 102, 241, 0.06);
}
.page-home .marquee-section--pro .marquee-track {
    animation-duration: 28s;
}
.page-home .marquee-section--pro:hover .marquee-track {
    animation-play-state: paused;
}
.page-home .brand-pill {
    transition: all 0.4s var(--ease-fluid);
}
.page-home .brand-pill:hover {
    transform: scale(1.05) translateY(-2px);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 12px 32px -10px rgba(79, 70, 229, 0.25);
    background: #fff;
}

/* —— 3. Stats —— */
.page-home .section-stats .stat-card {
    transition: transform 0.5s var(--ease-fluid), box-shadow 0.5s ease;
}
.page-home .section-stats.is-in-view .stat-card:nth-child(1) { transition-delay: 0.05s; }
.page-home .section-stats.is-in-view .stat-card:nth-child(2) { transition-delay: 0.1s; }
.page-home .section-stats.is-in-view .stat-card:nth-child(3) { transition-delay: 0.15s; }
.page-home .section-stats.is-in-view .stat-card:nth-child(4) { transition-delay: 0.2s; }
.page-home .section-stats .stat-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* —— 4. Highlights —— */
.page-home .highlights-strip .highlight-pill {
    position: relative;
    overflow: hidden;
}
.page-home .highlights-strip .highlight-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.6) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}
.page-home .highlights-strip .highlight-pill:hover::before {
    transform: translateX(100%);
}

/* —— 5. Processus —— */
.page-home .section-steps {
    background: linear-gradient(180deg, #fff 0%, #fafbff 50%, #fff 100%);
}
.page-home .steps-connector {
    position: absolute;
    top: 5.5rem;
    left: 20%;
    right: 20%;
    height: 3px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 2px;
    overflow: hidden;
    display: none;
}
@media (min-width: 768px) {
    .page-home .steps-connector { display: block; }
    .page-home .steps-grid::before { display: none; }
}
.page-home .steps-connector-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #22d3ee);
    border-radius: inherit;
    transition: width 1.4s var(--ease-fluid);
}
.page-home .section-steps.is-in-view .steps-connector-fill {
    width: 100%;
}
.page-home .step-card {
    transition: transform 0.45s var(--ease-fluid), box-shadow 0.45s ease;
}
.page-home .step-card:hover .step-number {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 12px 32px -6px rgba(79, 70, 229, 0.55);
}
.page-home .step-number {
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}

/* —— 6. Showcase —— */
.page-home .section-showcase {
    background:
        radial-gradient(ellipse 60% 50% at 0% 50%, rgba(99, 102, 241, 0.06), transparent),
        radial-gradient(ellipse 50% 40% at 100% 50%, rgba(34, 211, 238, 0.05), transparent);
}
.page-home .check-list-pro li {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(99, 102, 241, 0.08);
    transition: all 0.35s var(--ease-fluid);
}
.page-home .check-list-pro li:hover {
    transform: translateX(8px);
    border-color: rgba(99, 102, 241, 0.22);
    box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.15);
    background: #fff;
}
.page-home .lottie-ring-inner .lottie-wrap {
    position: relative;
    z-index: 2;
}

/* —— 7. Bénéfices —— */
.page-home .section-benefits {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(238, 242, 255, 0.9), transparent),
        linear-gradient(180deg, #f8fafc, #eef2ff 45%, #f8fafc) !important;
}
.page-home .section-benefits .bento-card {
    border: 1px solid rgba(99, 102, 241, 0.1);
}
.page-home .section-benefits .bento-card:hover {
    border-color: rgba(99, 102, 241, 0.28);
}

/* —— 8. Mobile —— */
.page-home .section-mobile .feature-list-item {
    transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s ease, border-color 0.3s ease;
}
.page-home .section-mobile .feature-list-item:hover {
    transform: translateX(10px) scale(1.01);
}

/* —— 9. IA —— */
.page-home .section-ai {
    background: linear-gradient(180deg, #fff, #fafbff);
}
.page-home .ai-lottie-wrap {
    position: relative;
    z-index: 2;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-home .ai-tag {
    transition: transform 0.3s var(--ease-fluid), box-shadow 0.3s ease;
}
.page-home .ai-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -6px rgba(139, 92, 246, 0.3);
}
.page-home .section-ai .ai-glow-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08), transparent 50%);
    pointer-events: none;
}

/* —— 10. Témoignages —— */
.page-home .section-testimonials {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99, 102, 241, 0.07), transparent),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(139, 92, 246, 0.05), transparent);
}
.page-home .testimonials-trust-pill {
    transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s ease;
}
.page-home .testimonials-trust-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -16px rgba(79, 70, 229, 0.18);
}
.page-home .testimonial-premium,
.page-home .testimonial-featured-card {
    transition: transform 0.5s var(--ease-fluid), box-shadow 0.5s ease;
}
.page-home .testimonial-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 80px -24px rgba(79, 70, 229, 0.2);
}
.page-home .testimonial-featured-glow {
    position: absolute;
    inset: -20% 10% auto;
    height: 60%;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.12), transparent 70%);
    pointer-events: none;
}
.page-home .testimonial-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: #4f46e5;
    transition: background 0.25s ease, transform 0.25s var(--ease-fluid), box-shadow 0.25s ease;
}
.page-home .testimonial-nav-btn:hover {
    background: #eef2ff;
    transform: scale(1.05);
    box-shadow: 0 8px 24px -8px rgba(79, 70, 229, 0.35);
}
.page-home .testimonial-verified-badge,
.page-home .testimonial-verified-mini {
    letter-spacing: 0.02em;
}
.page-home .testimonial-filter-btn {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.7);
    color: #64748b;
    transition: all 0.25s ease;
}
.page-home .testimonial-filter-btn:hover {
    border-color: rgba(99, 102, 241, 0.4);
    color: #4f46e5;
}
.page-home .testimonial-filter-btn.is-active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px -6px rgba(79, 70, 229, 0.45);
}
.page-home .testimonial-card-compact {
    transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s ease, opacity 0.35s ease;
}
.page-home .testimonial-card-compact:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px -20px rgba(79, 70, 229, 0.22);
}
.page-home .testimonial-card-compact.is-hidden-filter {
    display: none;
}
.page-home .testimonial-card-compact.is-featured-pulse {
    outline: 2px solid rgba(99, 102, 241, 0.45);
    outline-offset: 2px;
}
.page-home .testimonial-stars svg {
    animation: star-pop 0.5s var(--ease-spring) backwards;
}
.page-home .testimonial-stars svg:nth-child(1) { animation-delay: 0.1s; }
.page-home .testimonial-stars svg:nth-child(2) { animation-delay: 0.15s; }
.page-home .testimonial-stars svg:nth-child(3) { animation-delay: 0.2s; }
.page-home .testimonial-stars svg:nth-child(4) { animation-delay: 0.25s; }
.page-home .testimonial-stars svg:nth-child(5) { animation-delay: 0.3s; }
@keyframes star-pop {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}
.page-home .section-testimonials.is-in-view .testimonial-stars svg {
    animation-name: star-pop;
}
.page-home .line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Carrousel horizontal témoignages */
.page-home .testimonials-carousel-wrap {
    position: relative;
}
.page-home .testimonials-carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
@media (min-width: 640px) {
    .page-home .testimonials-carousel-nav {
        position: absolute;
        top: -3.25rem;
        right: 0;
        margin-bottom: 0;
        z-index: 2;
    }
}
.page-home .testimonials-carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: #4f46e5;
    transition: background 0.25s ease, transform 0.25s var(--ease-fluid);
}
.page-home .testimonials-carousel-btn:hover {
    background: #eef2ff;
    transform: scale(1.05);
}
.page-home .testimonials-carousel-track {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    margin: 0 -1rem;
    padding: 0.25rem 1rem 1rem;
}
.page-home .testimonials-carousel-track::-webkit-scrollbar {
    display: none;
}
.page-home .testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    width: max-content;
    min-width: 100%;
}
.page-home .testimonial-card-compact {
    flex: 0 0 min(85vw, 320px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
@media (min-width: 640px) {
    .page-home .testimonial-card-compact {
        flex-basis: min(42vw, 340px);
    }
}
@media (min-width: 1024px) {
    .page-home .testimonial-card-compact {
        flex-basis: 320px;
    }
}
.page-home .testimonials-carousel-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}
.page-home .testimonials-carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    border: none;
    padding: 0;
    background: rgba(148, 163, 184, 0.45);
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: pointer;
}
.page-home .testimonials-carousel-dot.is-active {
    background: #6366f1;
    transform: scale(1.25);
}

/* Captures écran application */
.page-home .app-phone-frame {
    position: relative;
    border-radius: 2rem;
    padding: 0.65rem;
    background: linear-gradient(145deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    box-shadow: 0 32px 64px -24px rgba(49, 46, 129, 0.55);
}
.page-home .app-phone-notch {
    position: absolute;
    top: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    width: 28%;
    height: 1.25rem;
    background: #0f172a;
    border-radius: 9999px;
    z-index: 3;
}
.page-home .app-phone-screen {
    border-radius: 1.5rem;
    overflow: hidden;
    background: #0f172a;
    aspect-ratio: 390 / 844;
}
.page-home .app-screenshots-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.page-home .app-screenshot-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.45s ease, transform 0.45s var(--ease-fluid);
    pointer-events: none;
}
.page-home .app-screenshot-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 1;
}
.page-home .app-screenshot-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.page-home .app-screenshots-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.35rem;
    margin-top: 1rem;
    padding: 0 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.page-home .app-screenshots-tabs::-webkit-scrollbar { display: none; }
.page-home .app-screenshots-tab {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.85);
    color: #64748b;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.page-home .app-screenshots-tab.is-active,
.page-home .app-screenshots-tab:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-color: transparent;
    color: #fff;
}
.page-home .product-screenshot-card {
    background: #fff;
    border: 1px solid rgba(99, 102, 241, 0.08);
    transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s ease, border-color 0.4s ease;
}
.page-home .product-screenshot-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 24px 48px -20px rgba(79, 70, 229, 0.25);
}
.page-home .product-screenshot-frame {
    position: relative;
    aspect-ratio: 9 / 16;
    width: 100%;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(99, 102, 241, 0.14), transparent 60%),
        linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
    padding: 22px 18px 14px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}
.page-home .product-screenshot-img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 22px;
    box-shadow:
        0 1px 0 rgba(15, 23, 42, 0.08),
        0 22px 40px -20px rgba(79, 70, 229, 0.4),
        0 0 0 1px rgba(15, 23, 42, 0.06);
    background: #fff;
}
@media (max-width: 640px) {
    .page-home .product-screenshot-frame {
        aspect-ratio: 9 / 17;
        padding: 18px 14px 12px;
    }
}

/* —— Web interface showcase (desktop screenshots) —— */
.page-home .section-web-showcase {
    position: relative;
}
.page-home .web-showcase-card {
    background: #fff;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: transform 0.45s var(--ease-fluid), box-shadow 0.45s ease, border-color 0.45s ease;
}
.page-home .web-showcase-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 28px 56px -24px rgba(79, 70, 229, 0.3);
}
.page-home .web-showcase-browser {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.page-home .web-showcase-browser span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #cbd5e1;
}
.page-home .web-showcase-browser span:nth-child(1) { background: #f87171; }
.page-home .web-showcase-browser span:nth-child(2) { background: #fbbf24; }
.page-home .web-showcase-browser span:nth-child(3) { background: #34d399; }
.page-home .web-showcase-figure {
    margin: 0;
}
.page-home .web-showcase-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top center;
    display: block;
    background: #0f172a;
}
.page-home .web-showcase-caption h3 {
    letter-spacing: -0.01em;
}

/* —— Galerie mobile complète —— */
.page-home .section-app-gallery {
    position: relative;
}
.page-home .app-gallery-card {
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(99, 102, 241, 0.08);
    overflow: hidden;
    transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s ease, border-color 0.4s ease;
}
.page-home .app-gallery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.22);
    box-shadow: 0 20px 48px -24px rgba(79, 70, 229, 0.28);
}
.page-home .app-gallery-figure { margin: 0; }
.page-home .app-gallery-phone {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
    padding: 14px 10px 10px;
}
.page-home .app-gallery-notch {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 28%;
    height: 5px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.12);
    z-index: 2;
}
.page-home .app-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 18px;
    box-shadow: 0 12px 32px -16px rgba(79, 70, 229, 0.35);
}
.page-home .app-gallery-caption {
    padding: 0.85rem 0.9rem 1rem;
}
.page-home .app-gallery-tag {
    display: inline-block;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4338ca;
    background: rgba(99, 102, 241, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    margin-bottom: 0.45rem;
}
.page-home .app-gallery-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}
.page-home .app-gallery-desc {
    font-size: 0.6875rem;
    line-height: 1.5;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .page-home .testimonial-card-compact:hover,
    .page-home .testimonial-featured-card:hover {
        transform: none;
    }
}

/* —— 11. Solutions / Features —— */
.page-home .section-features {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.95)),
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(99, 102, 241, 0.05), transparent);
}
.page-home .feature-card .lottie-zone {
    background: linear-gradient(180deg, rgba(238,242,255,0.5), transparent);
    border-radius: 1.25rem;
    margin-bottom: 1rem;
    transition: background 0.4s ease;
    position: relative;
    min-height: 6.5rem;
}
.page-home .feature-lottie-fallback,
.page-home .sector-lottie-fallback {
    position: absolute;
    inset: 0;
    margin: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.page-home .feature-lottie-zone:has(.lottie-wrap svg) .feature-lottie-fallback,
.page-home .sector-lottie-wrap:has(.lottie-wrap svg) .sector-lottie-fallback {
    display: none;
}
.page-home .sector-lottie-wrap {
    min-height: 6rem;
}
.page-home .feature-card:hover .lottie-zone {
    background: linear-gradient(180deg, rgba(224,231,255,0.8), rgba(238,242,255,0.3));
}
.page-home .feature-card a {
    transition: gap 0.35s var(--ease-fluid), color 0.25s ease;
}
.page-home .badge-popular {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    box-shadow: 0 4px 16px -4px rgba(79, 70, 229, 0.5);
    animation: badge-pulse 3s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 4px 16px -4px rgba(79, 70, 229, 0.5); }
    50% { box-shadow: 0 6px 24px -2px rgba(79, 70, 229, 0.65); }
}

/* —— 12. Secteurs —— */
.page-home .section-sectors .bento-card {
    transition: transform 0.45s var(--ease-fluid), box-shadow 0.45s ease;
}
.page-home .section-sectors .lottie-wrap {
    position: relative;
    z-index: 2;
    min-height: 8rem;
}
.page-home .section-sectors .bento-card:hover {
    transform: translateY(-10px);
}

/* —— 13. Offline —— */
.page-home .section-offline .offline-list li {
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.35s var(--ease-fluid);
}
.page-home .section-offline .offline-list li:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(8px);
    border-color: rgba(129, 140, 248, 0.35);
}
.page-home .section-offline .offline-panel {
    position: relative;
    overflow: hidden;
}
.page-home .section-offline .offline-panel::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(129,140,248,0.4), rgba(34,211,238,0.2));
    z-index: 0;
    opacity: 0.6;
}
.page-home .section-offline #lottie-offline {
    position: relative;
    z-index: 2;
}
.page-home .section-offline .offline-panel > * {
    position: relative;
    z-index: 2;
}

/* —— 14. CTA —— */
.page-home .section-cta .cta-card {
    transition: transform 0.5s var(--ease-fluid);
}
.page-home .section-cta.is-in-view .cta-card {
    animation: cta-float 6s ease-in-out infinite;
}
@keyframes cta-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.page-home .section-cta .cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.5;
    animation: cta-orb-drift 10s ease-in-out infinite alternate;
}
.page-home .section-cta .cta-orb-1 {
    width: 200px; height: 200px;
    top: 10%; left: 10%;
    background: rgba(34, 211, 238, 0.25);
}
.page-home .section-cta .cta-orb-2 {
    width: 180px; height: 180px;
    bottom: 10%; right: 10%;
    background: rgba(139, 92, 246, 0.3);
    animation-delay: -5s;
}
@keyframes cta-orb-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, -15px); }
}
.page-home .section-cta #lottie-cta {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
}

/* Lottie global z-index dans cartes */
.page-home .lottie-wrap {
    position: relative;
    z-index: 2;
}

/* —— Vidéo démo (accueil) —— */
.page-home .section-demo-video {
    background:
        radial-gradient(ellipse 60% 45% at 50% 0%, rgba(99, 102, 241, 0.1), transparent 70%),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.page-home .demo-video-shell {
    width: 100%;
    max-width: min(20rem, 92vw);
    margin-inline: auto;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 32px 80px -24px rgba(79, 70, 229, 0.35);
}
.page-home .demo-video-chrome {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-home .demo-video-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.page-home .demo-video-dot--red { background: #f87171; }
.page-home .demo-video-dot--amber { background: #fbbf24; }
.page-home .demo-video-dot--green { background: #34d399; }
.page-home .demo-video-chrome-title {
    margin-left: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.04em;
}
.page-home .demo-video-player-wrap {
    position: relative;
    aspect-ratio: 9 / 16;
    width: 100%;
    max-height: min(78vh, 720px);
    margin: 0 auto;
    background: #000;
}
.page-home .demo-video-player {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center center;
    vertical-align: middle;
    background: #000;
}
.page-home .demo-video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.35);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 2;
}
.page-home .demo-video-play-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}
.page-home .demo-video-play-overlay:hover .demo-video-play-btn {
    transform: scale(1.08);
    box-shadow: 0 16px 48px -8px rgba(79, 70, 229, 0.55);
}
.page-home .demo-video-play-ring {
    position: absolute;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    animation: demo-play-ring 2s ease-out infinite;
}
@keyframes demo-play-ring {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}
.page-home .demo-video-play-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    box-shadow: 0 12px 40px -8px rgba(79, 70, 229, 0.5);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.page-home .demo-video-play-btn svg,
.page-home .demo-video-play-btn i {
    margin-left: 0.15rem;
}

@media (prefers-reduced-motion: reduce) {
    .page-home .hero-video-live-dot,
    .page-home .demo-video-play-ring { animation: none; }
}

/* —— Partenaires — slider horizontal (accueil) —— */
.page-home .section-partners {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(99, 102, 241, 0.08), transparent 65%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 48%, #f8fafc 100%);
}
.page-home .section-partners .section-header-pro {
    margin-bottom: 2rem;
}
.page-home .partners-slider {
    position: relative;
    margin-top: 0;
    padding: 0.5rem 0 0.75rem;
    opacity: 1;
    transform: none;
    filter: none;
}
.page-home .partners-slider-viewport {
    overflow: hidden;
    padding: 0.75rem clamp(0.5rem, 2vw, 1rem) 1rem;
    min-height: 9.5rem;
}
.page-home .partners-slider-edge {
    position: absolute;
    top: 0;
    bottom: 2.5rem;
    width: clamp(2rem, 8vw, 5rem);
    z-index: 3;
    pointer-events: none;
}
.page-home .partners-slider-edge--left {
    left: 0;
    background: linear-gradient(90deg, #eef2ff 15%, transparent);
}
.page-home .partners-slider-edge--right {
    right: 0;
    background: linear-gradient(270deg, #eef2ff 15%, transparent);
}
.page-home .partners-slider-track {
    display: flex;
    align-items: stretch;
    gap: 1.15rem;
    width: max-content;
    list-style: none;
    margin: 0;
    padding: 0.25rem 0.5rem;
    animation: partners-marquee 52s linear infinite;
}
.page-home .partners-slider:hover .partners-slider-track,
.page-home .partners-slider.is-paused .partners-slider-track {
    animation-play-state: paused;
}
@keyframes partners-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.page-home .partners-slide {
    flex: 0 0 auto;
    width: clamp(14.5rem, 72vw, 20.5rem);
}
.page-home .partners-slide-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    height: 100%;
    min-height: 8.5rem;
    padding: 1.1rem 1.15rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.98);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 0 0 1px rgba(99, 102, 241, 0.07),
        0 16px 40px -18px rgba(79, 70, 229, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.35s ease;
}
.page-home .partners-slide-shine {
    position: absolute;
    inset: -1px;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.65) 48%,
        transparent 58%
    );
    transform: translateX(-120%);
    transition: transform 0.7s ease;
    pointer-events: none;
}
.page-home .partners-slide-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 0 0 1px rgba(99, 102, 241, 0.12),
        0 28px 56px -16px rgba(79, 70, 229, 0.28);
}
.page-home .partners-slide-card:hover .partners-slide-shine {
    transform: translateX(120%);
}
.page-home .partners-slide-logo-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(238, 242, 255, 0.95), rgba(248, 250, 252, 0.8));
    border: 1px solid rgba(226, 232, 240, 0.9);
}
.page-home .partners-slide-logo {
    max-width: 3.25rem;
    max-height: 2.5rem;
    width: auto;
    height: auto;
    object-fit: contain;
}
.page-home .partners-slide-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.page-home .partners-slide-name {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}
.page-home .partners-slide-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.12);
    padding: 0.2rem 0.45rem;
    border-radius: 9999px;
    margin-bottom: 0.4rem;
}
.page-home .partners-slide-desc {
    font-size: 0.6875rem;
    line-height: 1.45;
    color: #64748b;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.page-home .partners-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #4f46e5;
    transition: gap 0.25s ease;
}
.page-home .partners-slide-card:hover .partners-slide-cta {
    gap: 0.5rem;
}
.page-home .partners-slider-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #94a3b8;
}

/* —— Aperçu produit (mockups) —— */
.page-home .product-mockup-chrome {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1rem;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}
.page-home .product-mockup-chrome span:first-child,
.page-home .product-mockup-chrome span:nth-child(2),
.page-home .product-mockup-chrome span:nth-child(3) {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #cbd5e1;
}
.page-home .product-mockup-chrome span:first-child { background: #f87171; }
.page-home .product-mockup-chrome span:nth-child(2) { background: #fbbf24; }
.page-home .product-mockup-chrome span:nth-child(3) { background: #34d399; }
.page-home .product-mockup-chrome-title {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
}
.page-home .product-mockup-body {
    display: flex;
    min-height: 11rem;
    background: #f8fafc;
}
.page-home .product-mockup-sidebar {
    width: 3rem;
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-right: 1px solid #e2e8f0;
}
.page-home .product-mockup-sidebar span {
    height: 0.35rem;
    border-radius: 0.25rem;
    background: #e2e8f0;
}
.page-home .product-mockup-sidebar span.is-active {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    width: 80%;
}
.page-home .product-mockup-main {
    flex: 1;
    padding: 1rem;
}
.page-home .product-mockup-kpi {
    display: inline-flex;
    flex-direction: column;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
}
.page-home .product-mockup-kpi strong {
    font-size: 1.1rem;
    color: #0f172a;
}
.page-home .product-mockup-kpi small {
    font-size: 0.65rem;
    color: #64748b;
}
.page-home .product-mockup-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    height: 4rem;
}
.page-home .product-mockup-bars span {
    flex: 1;
    border-radius: 0.25rem 0.25rem 0 0;
    background: linear-gradient(180deg, #818cf8, #4f46e5);
    opacity: 0.85;
}
.page-home .product-mockup-rows span {
    display: block;
    height: 0.4rem;
    border-radius: 0.25rem;
    background: #e2e8f0;
    margin-top: 0.4rem;
}
.page-home .product-mockup--emerald .product-mockup-bars span {
    background: linear-gradient(180deg, #34d399, #059669);
}
.page-home .product-mockup--violet .product-mockup-bars span {
    background: linear-gradient(180deg, #a78bfa, #7c3aed);
}

/* —— FAQ accueil —— */
.page-home .home-faq-item {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
}
.page-home .home-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #0f172a;
}
.page-home .home-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.page-home .home-faq-item.is-open .home-faq-a {
    max-height: 12rem;
}
.page-home .home-faq-a p {
    padding: 0 1.25rem 1rem;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
}
.page-home .home-faq-item.is-open .home-faq-q [data-lucide] {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .page-home .section-cta.is-in-view .cta-card,
    .page-home .badge-popular,
    .page-home .marquee-section--pro .marquee-track { animation: none; }
    .page-home .steps-connector-fill { width: 100%; transition: none; }
    .page-home .partners-slider-track { animation: none; }
    .page-home .partners-slide-card:hover { transform: none; }
}
