/* Landing Xaliss — SaaS moderne */
.landing {
    --lp-ink: #0e0a18;
    --lp-ink-soft: #2a2140;
    --lp-muted: #8b829e;
    --lp-primary: #43277d;
    --lp-primary-mid: #5a3a9e;
    --lp-primary-light: #8b6fc4;
    --lp-glow: #a78bfa;
    --lp-surface: #f7f5fb;
    --lp-white: #ffffff;
    --lp-line: rgba(67, 39, 125, 0.1);
    --lp-line-dark: rgba(255, 255, 255, 0.12);
    --lp-font: 'Outfit', system-ui, sans-serif;
    --lp-display: 'Unbounded', 'Outfit', sans-serif;
    --lp-nav-h: 108px;
    --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);

    position: relative;
    margin: 0;
    min-height: 100vh;
    font-family: var(--lp-font);
    color: var(--lp-ink);
    background: var(--lp-surface);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.lp-page-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(67, 39, 125, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 39, 125, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.7;
}

.landing > main,
.landing > footer {
    position: relative;
    z-index: 1;
}

.landing *,
.landing *::before,
.landing *::after { box-sizing: border-box; }

.landing a { color: inherit; text-decoration: none; }

.lp-wrap {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

/* ——— Nav pill ——— */
.lp-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 200;
    display: flex;
    justify-content: center;
    padding: 1.15rem 1.25rem 0;
    pointer-events: none;
    background: transparent;
    border: 0;
    height: auto;
    transition: none;
}

.lp-nav.is-scrolled {
    background: transparent;
    box-shadow: none;
    border: 0;
    backdrop-filter: none;
}

.lp-nav-pill {
    pointer-events: auto;
    position: relative;
    width: min(900px, calc(100% - 2.5rem));
    max-width: 100%;
    min-height: 84px;
    padding: 0.55rem 0.55rem 0.55rem 1.45rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    border-radius: 999px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, transparent 42%),
        linear-gradient(135deg, #4d2d8f 0%, #43277d 42%, #2f1a5c 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 10px 28px rgba(67, 39, 125, 0.14),
        0 4px 12px rgba(14, 10, 24, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18);
    transition: transform 0.35s var(--lp-ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.lp-nav-pill::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%);
    opacity: 0.9;
}

.lp-nav.is-scrolled .lp-nav-pill {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 12px 32px rgba(67, 39, 125, 0.16),
        0 4px 14px rgba(14, 10, 24, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.lp-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 0;
}

.lp-brand-logo {
    display: block;
    height: 54px;
    width: auto;
    max-width: 248px;
}

.lp-nav-menu {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: auto;
}

.lp-nav-menu > a {
    padding: 0.85rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
    white-space: nowrap;
}

.lp-nav-menu > a:hover {
    color: var(--lp-white);
    background: rgba(255, 255, 255, 0.12);
}

.lp-nav-menu > a:not(.lp-nav-cta):active {
    transform: scale(0.98);
}

.lp-nav-cta {
    margin-left: 0.45rem !important;
    padding: 0.9rem 1.45rem !important;
    background: var(--lp-white) !important;
    color: var(--lp-primary) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.lp-nav-cta:hover {
    background: #f4f0fb !important;
    color: var(--lp-primary-deep, #2a174f) !important;
    transform: translateY(-1px);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.lp-nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.lp-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
}

.lp-nav-toggle span {
    display: block;
    width: 17px;
    height: 1.5px;
    margin: 5px auto;
    background: var(--lp-white);
    border-radius: 2px;
    transition: transform 0.3s var(--lp-ease), opacity 0.2s ease;
}

.lp-nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

.lp-nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}

/* ——— Buttons ——— */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 1.25rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
    transition: transform 0.25s var(--lp-ease), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.lp-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s var(--lp-ease);
}

.lp-btn:hover {
    transform: translateY(-2px);
}

.lp-btn:hover svg {
    transform: translateX(3px);
}

.lp-btn-lg {
    min-height: 54px;
    padding: 0 1.7rem;
    font-size: 1rem;
}

.lp-btn-solid {
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-mid));
    color: var(--lp-white);
    box-shadow: 0 4px 14px rgba(67, 39, 125, 0.14);
}

.lp-btn-solid:hover {
    box-shadow: 0 6px 18px rgba(67, 39, 125, 0.2);
}

.lp-btn-glass {
    background: rgba(255, 255, 255, 0.88);
    color: var(--lp-primary);
    border-color: rgba(67, 39, 125, 0.18);
}

.lp-btn-glass:hover {
    background: var(--lp-white);
    border-color: rgba(67, 39, 125, 0.32);
}

.lp-btn-light {
    background: var(--lp-white);
    color: var(--lp-primary);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2);
}

/* ——— Hero ——— */
.lp-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: calc(var(--lp-nav-h) + 3.25rem) 0 2.25rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(246, 242, 251, 0.35) 55%, rgba(239, 232, 248, 0.25) 100%);
    color: var(--lp-ink);
    overflow: visible;
}

.lp-hero-atmosphere {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.lp-orb {
    position: absolute;
    border-radius: 50%;
    animation: lp-drift 14s ease-in-out infinite alternate;
}

.lp-orb-a {
    width: 55vw;
    height: 55vw;
    max-width: 680px;
    max-height: 680px;
    top: -18%;
    left: -12%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.28), transparent 70%);
}

.lp-orb-b {
    width: 45vw;
    height: 45vw;
    max-width: 520px;
    max-height: 520px;
    bottom: 0;
    right: -8%;
    background: radial-gradient(circle, rgba(196, 181, 232, 0.4), transparent 70%);
    animation-delay: -4s;
}

.lp-orb-c {
    width: 30vw;
    height: 30vw;
    max-width: 360px;
    max-height: 360px;
    top: 35%;
    left: 40%;
    background: radial-gradient(circle, rgba(107, 76, 158, 0.12), transparent 70%);
    animation-delay: -7s;
}

@keyframes lp-drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(4%, -3%) scale(1.08); }
}

.lp-grid {
    display: none;
}

.lp-hero-grid {
    position: relative;
    z-index: 2;
    width: min(1360px, 94%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.17fr);
    align-items: center;
    gap: clamp(2.25rem, 5vw, 4rem);
}

.lp-hero-top {
    position: relative;
    z-index: 2;
    min-width: 0;
    max-width: 100%;
    text-align: left;
    padding: 1rem clamp(0.75rem, 2vw, 1.75rem) 1rem 0;
    margin: 0;
    animation: lp-rise 0.9s var(--lp-ease) both;
}

.lp-hero-eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-primary-mid);
}

.lp-hero-title {
    margin: 0 0 1.1rem;
    max-width: 100%;
    font-family: var(--lp-display);
    font-size: clamp(2.55rem, 5.2vw, 4.3rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
    color: var(--lp-primary);
}

.lp-hero-title-line {
    white-space: nowrap;
}

.lp-hero-lead {
    margin: 0 0 1.5rem;
    max-width: 32rem;
    font-size: clamp(1.08rem, 2vw, 1.22rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--lp-ink-soft);
}

.lp-hero-points {
    list-style: none;
    margin: 0 0 1.85rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.lp-hero-points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--lp-ink);
    letter-spacing: -0.01em;
}

.lp-hero-point-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(67, 39, 125, 0.1);
    color: var(--lp-primary);
}

.lp-hero-point-icon svg {
    width: 16px;
    height: 16px;
}

.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.1rem;
}

.lp-hero-cta .lp-btn-solid {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}

.lp-hero-cta .lp-btn-glass {
    color: var(--lp-primary);
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(67, 39, 125, 0.22);
    box-shadow: 0 6px 20px rgba(67, 39, 125, 0.08);
}

.lp-hero-cta .lp-btn-lg {
    min-height: 58px;
    padding: 0 1.9rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.lp-hero-cta .lp-btn-lg svg {
    width: 20px;
    height: 20px;
}

.lp-hero-trust {
    margin: 1.15rem 0 0;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--lp-muted);
    letter-spacing: -0.01em;
}


.lp-hero-visual {
    position: relative;
    z-index: 2;
    width: min(100%, 730px);
    max-width: 100%;
    min-width: 0;
    margin: 0 0 0 auto;
    justify-self: end;
    overflow: visible;
    animation: lp-rise 1.05s var(--lp-ease) 0.12s both;
}

.lp-app-scale {
    width: 100%;
    transform-origin: top left;
}

/* Fenêtre app Xaliss — compacte, sidebar repliée */
.lp-app-window {
    --sidebar-width: 248px;
    --sidebar-width-collapsed: 52px;
    --app-layout-gutter: 0.7rem;
    --kp-color-primary: #43277d;
    --kp-color-primary-light: #6b4c9e;
    --kp-color-text: #333;
    --kp-color-text-muted: #666;
    --kp-color-surface: rgba(255, 255, 255, 0.95);
    --kp-color-surface-solid: #ffffff;
    --kp-color-hover: rgba(67, 39, 125, 0.08);
    --kp-color-border-strong: rgba(67, 39, 125, 0.2);
    --kp-radius-sm: 8px;
    --kp-radius-panel: 14px;
    --kp-radius-card: 15px;
    --kp-shadow-nav-active: 0 4px 14px rgba(67, 39, 125, 0.32);
    --kp-shadow-card: 0 10px 30px rgba(67, 39, 125, 0.12);
    --kp-shadow-card-hover: 0 15px 40px rgba(67, 39, 125, 0.2);

    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(67, 39, 125, 0.1);
    box-shadow: 0 0 56px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: normal;
    color: #333;
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    transition:
        opacity 0.7s var(--lp-ease),
        transform 0.85s var(--lp-ease);
}

.lp-app-window.is-live {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.lp-app-window .stat-card,
.lp-app-window .benefit-card,
.lp-app-window .chart-card {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.5s var(--lp-ease),
        transform 0.55s var(--lp-ease),
        box-shadow 0.3s ease;
}

.lp-app-window.is-live .stat-card,
.lp-app-window.is-live .benefit-card,
.lp-app-window.is-live .chart-card {
    opacity: 1;
    transform: translateY(0);
}

.lp-app-window.is-live .stat-card:nth-child(1) { transition-delay: 0.08s; }
.lp-app-window.is-live .stat-card:nth-child(2) { transition-delay: 0.14s; }
.lp-app-window.is-live .stat-card:nth-child(3) { transition-delay: 0.2s; }
.lp-app-window.is-live .stat-card:nth-child(4) { transition-delay: 0.26s; }

.lp-app-window.is-live .benefit-card.benefit-period { transition-delay: 0.32s; }
.lp-app-window.is-live .benefit-card.benefit-main { transition-delay: 0.4s; }

.lp-app-window.is-live .chart-card {
    transition-delay: 0.48s;
}

.lp-app-window.is-live .app-notifications-btn .notifications-count {
    animation: lp-app-badge-pop 0.5s ease 0.55s both;
}

@keyframes lp-app-badge-pop {
    0% { transform: scale(0.4); opacity: 0; }
    60% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.lp-app-window.is-live .lp-main-tab.is-active {
    animation: lp-app-tab-glow 2.4s ease-in-out 0.8s infinite alternate;
}

@keyframes lp-app-tab-glow {
    from { box-shadow: 0 3px 10px rgba(67, 39, 125, 0.28); }
    to { box-shadow: 0 4px 16px rgba(67, 39, 125, 0.45); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-app-window,
    .lp-app-window.is-live {
        opacity: 1;
        transform: none;
        animation: none !important;
        transition: none;
    }

    .lp-app-window .stat-card,
    .lp-app-window .benefit-card,
    .lp-app-window .chart-card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .lp-app-window.is-live .app-notifications-btn .notifications-count,
    .lp-app-window.is-live .lp-main-tab.is-active {
        animation: none !important;
    }
}

.lp-app-body {
    background-color: #43277d;
    background-image: url('../images/fond.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 12px;
    max-height: min(540px, 68vh);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.lp-app-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.lp-app-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
}

.lp-app-shell {
    display: flex;
    align-items: flex-start;
    gap: var(--app-layout-gutter);
    width: 100%;
    min-width: 0;
}

.lp-app-sidebar {
    flex-shrink: 0;
    width: var(--sidebar-width-collapsed);
    position: sticky;
    top: 0;
    align-self: flex-start;
    /* Même hauteur que la zone visible du fond (body − padding) */
    height: calc(min(540px, 68vh) - 24px);
    min-height: calc(min(540px, 68vh) - 24px);
}

.lp-app-sidebar-panel {
    --sidebar-gap: 4px;
    --sidebar-item-pad: 8px;
    --sidebar-icon-gap: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sidebar-gap);
    height: 100%;
    background: var(--kp-color-surface);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 15px rgba(67, 39, 125, 0.15);
    border: 2px solid rgba(67, 39, 125, 0.2);
    box-sizing: border-box;
}

.lp-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 8px;
    background: rgba(67, 39, 125, 0.08);
    color: #43277d;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: inherit;
    cursor: default;
    box-sizing: border-box;
}

.lp-sidebar-toggle span {
    display: none;
}

.lp-sidebar-toggle-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.lp-app-sidebar-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
    min-height: 0;
}

.lp-sidebar-profile,
.lp-main-tab,
.lp-sidebar-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #666;
    font-size: 1em;
    font-weight: 600;
    font-family: inherit;
    gap: 0;
    box-sizing: border-box;
    text-align: left;
    cursor: default;
}

.lp-sidebar-profile > span:last-child,
.lp-main-tab > span,
.lp-sidebar-logout > span {
    display: none;
}

.lp-sidebar-profile-icon,
.lp-main-tab svg,
.lp-sidebar-logout svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

.lp-main-tab.is-active {
    background: linear-gradient(135deg, #43277d, #6b4c9e);
    color: #fff;
    box-shadow: 0 3px 10px rgba(67, 39, 125, 0.28);
}

.lp-app-sidebar-footer {
    margin-top: auto;
    padding-top: 4px;
    border-top: 1px solid rgba(67, 39, 125, 0.12);
}

.lp-app-main {
    flex: 1;
    min-width: 0;
}

.lp-app-container {
    width: 100%;
    margin: 0;
}

.lp-app-header {
    position: relative;
    text-align: center;
    margin-bottom: 2px;
    padding: 10px 8px 8px 0;
    width: 100%;
    overflow: visible;
}

.lp-app-logo {
    display: inline-block;
    max-width: 180px;
    width: auto;
    height: auto;
    margin-bottom: 4px;
}

/* Cloche + badge — même rendu que l’app (style.css) */
.lp-app-window .app-notifications-btn.lp-app-notif {
    position: absolute;
    top: 8px;
    right: 4px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    color: #43277d;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    box-shadow: 0 6px 18px rgba(67, 39, 125, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow: visible;
    z-index: 3;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.lp-app-window .app-notifications-btn.lp-app-notif.has-new-notification {
    border: 0;
    box-shadow: 0 6px 18px rgba(67, 39, 125, 0.16);
}

.lp-app-window .app-notifications-btn.lp-app-notif svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

.lp-app-window .app-notifications-btn .notifications-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e72060;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 3px 10px rgba(231, 32, 96, 0.28);
    display: block;
}

/* Stats compactes dans le cadre */
.lp-app-window .dashboard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.lp-app-window .stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px 10px;
    border: 2px solid rgba(67, 39, 125, 0.2);
    box-shadow: 0 8px 20px rgba(67, 39, 125, 0.1);
    text-align: center;
    transition:
        opacity 0.5s var(--lp-ease),
        transform 0.55s var(--lp-ease),
        box-shadow 0.3s ease;
}

.lp-app-window.is-live .stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(67, 39, 125, 0.16);
}

.lp-app-window .stat-info {
    width: 100%;
}

.lp-app-window .stat-info h3 {
    font-size: 0.68em;
    color: #666;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.lp-app-window .stat-value {
    font-size: 1.05em;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.lp-app-window .stat-hint {
    margin: 6px 0 0;
    font-size: 0.72em;
    color: #6b7280;
    line-height: 1.25;
}

.lp-app-window .balance .stat-value { color: #43277d; }
.lp-app-window .income .stat-value { color: #10b981; }
.lp-app-window .expense .stat-value { color: #ef4444; }
.lp-app-window .remaining .stat-value { color: #d97706; }

.lp-app-window .stats-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
}

.lp-app-window .benefit-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    border: 2px solid rgba(67, 39, 125, 0.2);
    box-shadow: 0 8px 20px rgba(67, 39, 125, 0.1);
    transition:
        opacity 0.5s var(--lp-ease),
        transform 0.55s var(--lp-ease),
        box-shadow 0.3s ease;
}

.lp-app-window.is-live .benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(67, 39, 125, 0.16);
}

.lp-app-window .benefit-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    color: #43277d;
    margin: 0 0 10px;
    font-weight: 600;
}

.lp-app-window .icon-inline {
    width: 1.05em;
    height: 1.05em;
    flex-shrink: 0;
}

.lp-app-window .benefit-period-hint {
    font-size: 0.78em;
    color: #6b7280;
    margin: -4px 0 10px;
}

.lp-app-window .stats-filter-heading .benefit-period-hint {
    margin: 2px 0 0;
}

.lp-app-window .stats-filter-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.lp-app-window .benefit-card.benefit-period .stats-filter-heading h3 {
    margin-bottom: 0;
}

.lp-app-window .stats-filter-mode {
    display: inline-flex;
    flex-shrink: 0;
    padding: 3px;
    border-radius: 999px;
    background: #f3effa;
    border: 1.5px solid #ddd3f0;
    gap: 2px;
}

.lp-app-window .stats-filter-mode-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: #6b5b8c;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
}

.lp-app-window .stats-filter-mode-btn.is-active {
    background: #43277d;
    color: #fff;
    box-shadow: 0 4px 10px rgba(67, 39, 125, 0.2);
}

.lp-app-window .stats-filter-panel {
    display: none;
}

.lp-app-window .stats-filter-panel.is-active {
    display: block;
}

.lp-app-window .stats-filter-panel[hidden] {
    display: none !important;
}

.lp-app-window .stats-filter-mode-btn,
.lp-app-window .period-preset-btn,
.lp-app-window .clear-benefit-btn {
    cursor: pointer;
}

.lp-app-window .date-input {
    cursor: text;
}

.lp-app-window .period-preset-btn:hover,
.lp-app-window .stats-filter-mode-btn:hover {
    border-color: #43277d;
}

.lp-app-window .clear-benefit-btn:hover {
    background: #4b5563;
}

.lp-app-window .benefit-controls.benefit-controls-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.lp-app-window .benefit-input-wrap {
    flex: 1.2;
    min-width: 120px;
}

.lp-app-window .benefit-input-wrap label {
    display: block;
    font-size: 0.78em;
    color: #666;
    margin-bottom: 4px;
}

.lp-app-window .date-input {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9em;
    height: 36px;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
    color: #333;
}

.lp-app-window .clear-benefit-btn {
    padding: 8px 12px;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.82em;
    height: 36px;
    box-sizing: border-box;
    white-space: nowrap;
    font-family: inherit;
    cursor: pointer;
}

.lp-app-window .stats-period-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 8px;
}

.lp-app-window .period-preset-btn {
    padding: 5px 9px;
    border: 1.5px solid #d4cce8;
    background: #f7f5fb;
    color: #43277d;
    border-radius: 999px;
    font-size: 0.72em;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.lp-app-window .period-preset-btn.is-active {
    background: #43277d;
    border-color: #43277d;
    color: #fff;
}

.lp-app-window .charts-filter-period-label {
    font-size: 0.78em;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.lp-app-window .benefit-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin: 2px 0 12px;
}

.lp-app-window .benefit-value {
    font-size: 1.2em;
    font-weight: bold;
    color: #10b981;
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.lp-app-window .benefit-margin-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f3effa;
    color: #43277d;
    font-size: 0.72em;
    font-weight: 700;
    white-space: nowrap;
}

.lp-app-window .benefit-insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.lp-app-window .benefit-insight {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8f6fc;
    border: 1px solid rgba(67, 39, 125, 0.08);
}

.lp-app-window .benefit-insight-label {
    font-size: 0.68em;
    color: #6b7280;
    font-weight: 500;
}

.lp-app-window .benefit-insight-value {
    font-size: 0.82em;
    font-weight: 700;
    color: #333;
}

.lp-app-window .benefit-breakdown {
    margin: 10px 0 0;
    font-size: 0.75em;
    color: #6b7280;
}

.lp-app-window .charts-section {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-app-window .charts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.lp-app-window .chart-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    border: 2px solid rgba(67, 39, 125, 0.2);
    box-shadow: 0 8px 20px rgba(67, 39, 125, 0.1);
    min-width: 0;
    transition:
        opacity 0.5s var(--lp-ease),
        transform 0.55s var(--lp-ease),
        box-shadow 0.3s ease;
}

.lp-app-window.is-live .chart-card:hover {
    box-shadow: 0 12px 28px rgba(67, 39, 125, 0.16);
}

.lp-app-window .chart-title {
    font-size: 0.95em;
    color: #43277d;
    margin: 0 0 2px;
    font-weight: 600;
}

.lp-app-window .chart-subtitle {
    font-size: 0.75em;
    color: #6b7280;
    margin: 0 0 8px;
    font-weight: normal;
}

.lp-app-window .chart-container {
    position: relative;
    height: 200px;
    width: 100%;
}

.lp-app-window .chart-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lp-app-window .chart-scroll::-webkit-scrollbar {
    display: none;
}

.lp-app-window .chart-scroll .chart-container {
    max-width: none;
}

@keyframes lp-rise {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ——— Demo video (tablet) ——— */
.lp-demo {
    position: relative;
    padding: 5.5rem 0 6.5rem;
    overflow: hidden;
    background: transparent;
}

.lp-demo-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(1180px, 96%);
    margin-inline: auto;
}

.lp-demo-stage {
    position: relative;
    width: 100%;
    max-width: 1080px;
    perspective: 1600px;
    transform-style: preserve-3d;
}

.lp-demo-tablet {
    position: relative;
    z-index: 2;
    width: 100%;
    transform-origin: 50% 80%;
    transform: translateY(72px) scale(0.88) rotateX(18deg);
    opacity: 0;
    transition:
        transform 1.25s var(--lp-ease),
        opacity 0.9s ease;
    will-change: transform, opacity;
}

.lp-demo-stage.is-in .lp-demo-tablet {
    transform: translateY(0) scale(1.06) rotateX(0deg);
    opacity: 1;
    animation: lp-demo-float 6.5s ease-in-out 1.2s infinite alternate;
}

.lp-demo-bezel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.35rem 1.35rem 1rem;
    border-radius: 40px;
    background:
        linear-gradient(165deg, #5a3a9e 0%, var(--lp-primary) 42%, #2a174f 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.25),
        0 10px 28px rgba(67, 39, 125, 0.12);
}

.lp-demo-cam {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #6a7588, #0c0e14 70%);
    box-shadow:
        0 0 0 3px rgba(20, 12, 40, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.lp-demo-screen {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #120a22;
    aspect-ratio: 16 / 9;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.lp-demo-placeholder {
    margin: 0;
    padding: 1.25rem;
    text-align: center;
    font-family: var(--lp-font);
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.88);
}

.lp-demo-home {
    width: 38px;
    height: 38px;
    margin-top: 0.15rem;
    border-radius: 50%;
    flex-shrink: 0;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.12), transparent 45%),
        linear-gradient(160deg, #3d2680, #241450);
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.2);
}

.lp-demo-home::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    margin: 11px auto 0;
    border-radius: 3px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

@keyframes lp-demo-float {
    from { transform: translateY(0) scale(1.06) rotateX(0deg); }
    to { transform: translateY(-12px) scale(1.08) rotateX(1deg); }
}

@media (max-width: 720px) {
    .lp-demo {
        padding: 2.75rem 0 3.25rem;
    }

    .lp-demo-wrap {
        width: min(100%, 26rem);
        max-width: min(26rem, calc(100% - 2rem));
        padding-inline: 0.75rem;
        box-sizing: border-box;
    }

    .lp-demo-stage {
        max-width: 100%;
    }

    /* Cadres fins — taille tablette un peu plus grande en mobile */
    .lp-demo-bezel {
        gap: 0.22rem;
        padding: 0.32rem 0.32rem 0.28rem;
        border-radius: 14px;
    }

    .lp-demo-cam {
        width: 5px;
        height: 5px;
        box-shadow:
            0 0 0 1.5px rgba(20, 12, 40, 0.55),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .lp-demo-screen {
        border-radius: 8px;
    }

    .lp-demo-placeholder {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .lp-demo-home {
        width: 18px;
        height: 18px;
        margin-top: 0;
        border-width: 1.5px;
    }

    .lp-demo-home::after {
        width: 6px;
        height: 6px;
        margin-top: 4px;
        border-width: 1px;
    }

    .lp-demo-tablet {
        transform: translateY(28px) scale(0.96) rotateX(12deg);
    }

    .lp-demo-stage.is-in .lp-demo-tablet {
        transform: translateY(0) scale(1) rotateX(0deg);
        animation: lp-demo-float-mobile 6.5s ease-in-out 1.2s infinite alternate;
    }
}

@keyframes lp-demo-float-mobile {
    from { transform: translateY(0) scale(1) rotateX(0deg); }
    to { transform: translateY(-8px) scale(1.02) rotateX(1deg); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-demo-tablet {
        transition: none !important;
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

.lp-demo-caption {
    margin-top: 1.75rem;
    text-align: center;
    max-width: 34rem;
    margin-inline: auto;
}

.lp-demo-caption-title {
    margin: 0 0 0.45rem;
    font-family: var(--lp-display);
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--lp-primary);
}

.lp-demo-caption-text {
    margin: 0;
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--lp-ink-soft);
}

/* ——— Sections ——— */
.lp-section {
    padding: 6.5rem 0;
    background: transparent;
}

/*
  Ancres (nav fixe) :
  - scroll-margin : space juste sous la pilote nav
  - padding-top un peu moins fort sur Fonctionnalités :
    le padding 6.5rem + margin faisait atterrir trop bas
*/
#fonctionnalites,
#tarifs,
#contact,
#faq {
    scroll-margin-top: var(--lp-nav-h);
}

#fonctionnalites.lp-section,
#tarifs.lp-section,
#contact.lp-section {
    padding-top: 3.1rem;
}

.lp-section-head {
    max-width: 38rem;
    margin-bottom: 3.5rem;
}

.lp-section-eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-primary);
}

.lp-section-head h2,
.lp-product-copy h2 {
    margin: 0 0 0.85rem;
    font-family: var(--lp-display);
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: var(--lp-ink);
}

.lp-section-head p,
.lp-product-copy p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--lp-muted);
}

.lp-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(67, 39, 125, 0.12);
    border-bottom: 1px solid rgba(67, 39, 125, 0.12);
}

.lp-features li {
    position: relative;
    padding: 2.25rem 2rem 2.35rem 2rem;
    border-right: 1px solid rgba(67, 39, 125, 0.12);
    border-bottom: 1px solid rgba(67, 39, 125, 0.12);
    isolation: isolate;
    transition:
        background 0.35s var(--lp-ease),
        box-shadow 0.35s ease,
        transform 0.35s var(--lp-ease);
}

.lp-features li::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(165deg, rgba(67, 39, 125, 0.11) 0%, rgba(90, 58, 158, 0.05) 48%, rgba(247, 245, 251, 0) 100%);
    opacity: 0;
    transition: opacity 0.35s var(--lp-ease);
    pointer-events: none;
}

.lp-features li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--lp-primary), var(--lp-primary-light));
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: left center;
    transition: opacity 0.3s ease, transform 0.35s var(--lp-ease);
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .lp-features li:hover {
        transform: translateY(-2px);
        box-shadow: inset 0 0 0 1px rgba(67, 39, 125, 0.1);
    }

    .lp-features li:hover::before {
        opacity: 1;
    }

    .lp-features li:hover::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .lp-features li:hover .lp-feature-icon {
        color: var(--lp-primary);
        background: rgba(67, 39, 125, 0.1);
        border-color: rgba(67, 39, 125, 0.16);
        box-shadow: none;
        transform: scale(1.06);
    }

    .lp-features li:hover .lp-feature-index {
        color: var(--lp-primary);
    }

    .lp-features li:hover h3 {
        color: var(--lp-primary);
    }

    .lp-features li:hover p {
        color: var(--lp-ink-soft);
    }
}

.lp-features li:nth-child(3n) {
    border-right: 0;
    padding-right: 0;
}

.lp-features li:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.lp-feature-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.lp-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--lp-white);
    background: linear-gradient(145deg, #7a5bb8 0%, var(--lp-primary-mid) 100%);
    border: 1px solid rgba(67, 39, 125, 0.14);
    box-shadow: 0 4px 12px rgba(67, 39, 125, 0.12);
    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.35s var(--lp-ease);
}

.lp-feature-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.lp-feature-index {
    display: block;
    font-family: var(--lp-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lp-primary-light);
    transition: color 0.3s ease;
}

.lp-features h3 {
    margin: 0 0 0.7rem;
    font-family: var(--lp-display);
    font-size: clamp(1.1rem, 1.7vw, 1.28rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: var(--lp-ink);
    transition: color 0.3s ease;
}

.lp-features p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--lp-muted);
    max-width: 20.5rem;
    transition: color 0.3s ease;
}

/* ——— Product ——— */
.lp-section-product {
    background: transparent;
    padding-bottom: 7rem;
}

.lp-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.lp-product-copy .lp-btn {
    margin-top: 1.75rem;
    background: var(--lp-primary);
    color: var(--lp-white);
    box-shadow: 0 6px 18px rgba(67, 39, 125, 0.12);
}

.lp-product-copy .lp-btn:hover {
    background: var(--lp-primary-mid);
}

.lp-product-panel {
    position: relative;
    min-height: 280px;
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--lp-ink);
    color: var(--lp-white);
    overflow: hidden;
}

.lp-panel-glow {
    position: absolute;
    width: 70%;
    height: 70%;
    top: -20%;
    right: -15%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 111, 196, 0.55), transparent 70%);
    animation: lp-drift 10s ease-in-out infinite alternate;
}

.lp-panel-brand {
    position: relative;
    margin: 0 0 0.5rem;
    font-family: var(--lp-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.lp-panel-line {
    position: relative;
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 16rem;
    line-height: 1.5;
}

/* ——— Tarifs ——— */
.lp-section-head-center {
    margin-inline: auto;
    text-align: center;
}

.lp-section-pricing {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.lp-pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: stretch;
}

.lp-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.85rem 1.65rem 1.55rem;
    border-radius: 24px;
    background: var(--lp-white);
    border: 1px solid rgba(67, 39, 125, 0.12);
    box-shadow: 0 8px 24px rgba(14, 10, 24, 0.04);
    text-align: left;
    transition: transform 0.35s var(--lp-ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.lp-price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(67, 39, 125, 0.22);
    box-shadow: 0 14px 36px rgba(67, 39, 125, 0.1);
}

.lp-price-card.is-featured {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
        linear-gradient(160deg, #4d2d8f 0%, #43277d 48%, #2f1a5c 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 18px 44px rgba(67, 39, 125, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-14px) scale(1.02);
    color: var(--lp-white);
    z-index: 1;
}

.lp-price-card.is-featured:hover {
    transform: translateY(-18px) scale(1.02);
    box-shadow:
        0 22px 52px rgba(67, 39, 125, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.lp-price-badge {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    margin: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lp-primary);
    background: var(--lp-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lp-price-head {
    margin-bottom: 1.35rem;
    padding-right: 5.5rem;
}

.lp-price-card:not(.is-featured) .lp-price-head {
    padding-right: 0;
}

.lp-price-card h3 {
    margin: 0 0 0.3rem;
    font-family: var(--lp-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--lp-primary);
}

.lp-price-card.is-featured h3 {
    color: var(--lp-white);
}

.lp-price-tag {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--lp-muted);
}

.lp-price-card.is-featured .lp-price-tag {
    color: rgba(255, 255, 255, 0.72);
}

.lp-price-body {
    margin-bottom: 1.35rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(67, 39, 125, 0.1);
}

.lp-price-card.is-featured .lp-price-body {
    border-bottom-color: rgba(255, 255, 255, 0.16);
}

.lp-price-amount {
    margin: 0;
    font-family: var(--lp-display);
    font-size: clamp(1.7rem, 2.4vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    color: var(--lp-ink);
    line-height: 1.1;
}

.lp-price-card.is-featured .lp-price-amount {
    color: var(--lp-white);
}

.lp-price-note {
    margin: 0.4rem 0 0;
    font-size: 0.92rem;
    color: var(--lp-muted);
}

.lp-price-card.is-featured .lp-price-note {
    color: rgba(255, 255, 255, 0.7);
}

.lp-price-card ul {
    list-style: none;
    margin: 0 0 1.6rem;
    padding: 0;
    flex: 1;
}

.lp-price-card li {
    position: relative;
    padding: 0.48rem 0 0.48rem 1.7rem;
    font-size: 0.95rem;
    color: var(--lp-ink-soft);
    line-height: 1.45;
}

.lp-price-card.is-featured li {
    color: rgba(255, 255, 255, 0.88);
}

.lp-price-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l3 3 6-6.5' stroke='%2343277d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / 0.7rem no-repeat,
        rgba(67, 39, 125, 0.1);
}

.lp-price-card.is-featured li::before {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l3 3 6-6.5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / 0.7rem no-repeat,
        rgba(255, 255, 255, 0.16);
}

.lp-price-btn {
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    background: rgba(67, 39, 125, 0.08);
    color: var(--lp-primary);
    border: 1px solid rgba(67, 39, 125, 0.16);
    box-shadow: none;
}

.lp-price-btn:hover {
    background: rgba(67, 39, 125, 0.12);
    color: var(--lp-primary-deep, #2a174f);
    border-color: rgba(67, 39, 125, 0.28);
}

.lp-price-card.is-featured .lp-price-btn {
    background: var(--lp-white);
    color: var(--lp-primary);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.lp-price-card.is-featured .lp-price-btn:hover {
    background: #f4f0fb;
    color: var(--lp-primary-deep, #2a174f);
}

.lp-pricing-foot {
    margin: 2rem 0 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--lp-muted);
}

/* ——— Contact ——— */
.lp-section-contact {
    background: transparent;
}

.lp-contact-layout {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(0, 2fr);
    gap: 1.5rem 1.75rem;
    align-items: stretch;
}

.lp-contact-channels {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.55rem;
    border-radius: 22px;
    background: var(--lp-white);
    border: 1px solid rgba(67, 39, 125, 0.1);
    box-shadow: 0 16px 40px rgba(67, 39, 125, 0.08);
}

.lp-channel {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 0.95rem;
    align-items: center;
    flex: 1 1 0;
    min-height: 0;
    padding: 1.15rem 1rem;
    border-radius: 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lp-channel + .lp-channel {
    border-top: 1px solid rgba(67, 39, 125, 0.1);
    border-radius: 0;
}

.lp-channel:last-child {
    border-radius: 0 0 14px 14px;
}

.lp-channel:first-child {
    border-radius: 14px 14px 0 0;
}

.lp-channel:hover {
    background: rgba(67, 39, 125, 0.05);
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.lp-channel-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(67, 39, 125, 0.08);
    color: var(--lp-primary);
}

.lp-channel-icon svg {
    width: 24px;
    height: 24px;
}

.lp-channel-wa .lp-channel-icon {
    background: rgba(37, 211, 102, 0.14);
    color: #128c7e;
}

.lp-channel-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.lp-channel-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lp-muted);
}

.lp-channel-body strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lp-ink);
    letter-spacing: -0.01em;
    word-break: break-word;
}

.lp-channel-hint {
    font-size: 0.88rem;
    color: var(--lp-muted);
}

.lp-channel-ext {
    color: var(--lp-primary-light);
    font-size: 1.1rem;
    opacity: 0.75;
}

.lp-channel-info {
    cursor: default;
}

.lp-channel-info:hover {
    background: transparent;
}

.lp-contact-form-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.65rem 1.6rem 1.5rem;
    border-radius: 20px;
    background: var(--lp-white);
    border: 1px solid rgba(67, 39, 125, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 14px 36px rgba(67, 39, 125, 0.07);
}

.lp-contact-form-card h3 {
    margin: 0 0 0.35rem;
    font-family: var(--lp-display);
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--lp-ink);
}

.lp-contact-form-card > p {
    margin: 0 0 1.15rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--lp-muted);
    max-width: 34rem;
}

.lp-contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    flex: 1;
}

.lp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.lp-contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
}

.lp-contact-form label span {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(42, 33, 64, 0.72);
}

.lp-contact-form label span em {
    font-style: normal;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--lp-muted);
}

.lp-contact-form input,
.lp-contact-form textarea {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.68rem 0.95rem;
    border-radius: 10px;
    border: 1px solid rgba(67, 39, 125, 0.14);
    background: #fff;
    box-shadow: 0 1px 0 rgba(67, 39, 125, 0.03);
    font-family: var(--lp-font), inherit;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.35;
    color: var(--lp-ink);
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.lp-contact-form input::placeholder,
.lp-contact-form textarea::placeholder {
    color: rgba(139, 130, 158, 0.85);
    font-weight: 400;
}

.lp-contact-form input:hover,
.lp-contact-form textarea:hover {
    border-color: rgba(67, 39, 125, 0.28);
}

.lp-contact-form input:focus,
.lp-contact-form textarea:focus {
    border-color: rgba(67, 39, 125, 0.48);
    background: #fff;
    box-shadow:
        0 0 0 3px rgba(67, 39, 125, 0.09),
        0 1px 0 rgba(67, 39, 125, 0.04);
}

.lp-contact-form textarea {
    resize: vertical;
    min-height: 10.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    line-height: 1.45;
}

.lp-contact-form .lp-btn-solid {
    align-self: flex-start;
    margin-top: 0.2rem;
    min-height: 2.75rem;
    height: 2.75rem;
    padding-inline: 1.45rem;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-mid));
    color: var(--lp-white);
    box-shadow: 0 8px 20px rgba(67, 39, 125, 0.22);
    border: 0;
    cursor: pointer;
}

.lp-contact-form .lp-btn-solid:hover {
    background: var(--lp-primary-mid);
}

/* ——— FAQ ——— */
.lp-section-faq {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
}

.lp-faq {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.35rem 0.45rem;
    border-radius: 24px;
    background: var(--lp-white);
    border: 1px solid rgba(67, 39, 125, 0.1);
    box-shadow: 0 16px 40px rgba(67, 39, 125, 0.07);
}

.lp-faq-item {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
}

.lp-faq-item + .lp-faq-item {
    border-top: 1px solid rgba(67, 39, 125, 0.1);
}

.lp-faq-item[open] {
    background: rgba(67, 39, 125, 0.035);
    box-shadow: none;
    border-color: transparent;
}

.lp-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.15rem 1.35rem 1.25rem;
    position: relative;
    font-family: var(--lp-display);
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--lp-ink-soft);
    transition: color 0.2s ease;
}

.lp-faq-item summary::-webkit-details-marker { display: none; }

.lp-faq-item summary:hover .lp-faq-q {
    color: var(--lp-primary);
}

.lp-faq-index {
    font-family: var(--lp-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--lp-primary-light);
}

.lp-faq-q {
    transition: color 0.2s ease;
}

.lp-faq-item summary::after {
    content: '';
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    flex-shrink: 0;
    background:
        linear-gradient(var(--lp-primary), var(--lp-primary)) center / 12px 2px no-repeat,
        linear-gradient(var(--lp-primary), var(--lp-primary)) center / 2px 12px no-repeat,
        rgba(67, 39, 125, 0.08);
    border: 1px solid rgba(67, 39, 125, 0.12);
}

.lp-faq-item[open] summary::after {
    background:
        linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
        var(--lp-primary);
    border-color: transparent;
}

.lp-faq-a {
    padding: 0 1.25rem 1.45rem 3.55rem;
}

.lp-faq-a p {
    margin: 0;
    max-width: 40rem;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--lp-muted);
}

.lp-faq-foot {
    margin: 1.75rem 0 0;
    text-align: center;
    font-size: 1rem;
    color: var(--lp-muted);
}

.lp-faq-foot a {
    color: var(--lp-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 0;
    transition: color 0.2s ease;
}

.lp-faq-foot a:hover {
    color: var(--lp-primary-deep, #2a174f);
}

/* ——— Footer ——— */
.lp-footer {
    position: relative;
    z-index: 1;
    padding: 2.25rem 0 1.75rem;
    background: transparent;
    color: var(--lp-ink-soft);
    border-top: 0;
}

.lp-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(640px, 85%);
    height: 4px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--lp-primary-light) 14%,
        var(--lp-primary) 50%,
        var(--lp-primary-light) 86%,
        transparent 100%
    );
    background-size: 200% 100%;
    box-shadow:
        0 0 16px rgba(67, 39, 125, 0.4),
        0 0 4px rgba(139, 111, 196, 0.55);
    animation: lp-footer-line 7s ease-in-out infinite;
}

@keyframes lp-footer-line {
    0%, 100% { background-position: 100% 0; opacity: 0.9; }
    50% { background-position: 0% 0; opacity: 1; }
}

.lp-footer-wrap {
    position: relative;
}

.lp-footer-brand {
    display: flex;
    justify-content: center;
    margin: 0.1rem 0 0.75rem;
    text-decoration: none;
    line-height: 0;
    perspective: 1200px;
}

.lp-footer-logo {
    display: block;
    height: 150px;
    width: auto;
    max-width: 680px;
    transform-origin: 50% 80%;
    transform: translateY(48px) scale(0.88) rotateX(14deg);
    opacity: 0;
    transition:
        transform 1.25s var(--lp-ease),
        opacity 0.9s ease;
    will-change: transform, opacity;
}

.lp-footer-brand.is-in .lp-footer-logo {
    transform: translateY(0) scale(1) rotateX(0deg);
    opacity: 1;
    animation: lp-footer-logo-float 6.5s ease-in-out 1.2s infinite alternate;
}

@keyframes lp-footer-logo-float {
    from {
        transform: translateY(0) scale(1) rotateX(0deg);
    }
    to {
        transform: translateY(-10px) scale(1.03) rotateX(1deg);
    }
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: stretch;
}

.lp-footer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
    min-height: 100%;
    padding: 1.6rem 1.35rem 1.5rem;
    border-radius: 20px;
    background: var(--lp-white);
    border: 1px solid rgba(67, 39, 125, 0.1);
    box-shadow: 0 10px 28px rgba(67, 39, 125, 0.05);
    text-align: center;
}

.lp-footer-heading {
    margin: 0;
    padding-bottom: 0.5rem;
    font-family: var(--lp-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-primary);
    border-bottom: 1px solid rgba(67, 39, 125, 0.28);
    width: fit-content;
}

.lp-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    flex: 1;
}

.lp-footer-list a {
    color: var(--lp-ink-soft);
    font-size: 0.98rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lp-footer-list a:hover {
    color: var(--lp-primary);
}

.lp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(67, 39, 125, 0.1);
    font-size: 0.88rem;
    color: var(--lp-muted);
}

.lp-footer-bottom p { margin: 0; }

.lp-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.35rem;
}

.lp-footer-legal a {
    color: var(--lp-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.lp-footer-legal a:hover {
    color: var(--lp-primary);
}

/* ——— Reveal ——— */
.lp-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s var(--lp-ease),
        transform 0.65s var(--lp-ease);
    will-change: opacity, transform;
}

.lp-reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
    .landing.lp-menu-open,
    .auth-page.lp-menu-open {
        overflow: hidden;
    }

    .lp-nav {
        padding: 0.85rem 1rem 0;
    }

    .lp-nav-pill {
        width: 100%;
        padding: 0.4rem 0.45rem 0.4rem 1rem;
    }

    .lp-nav-toggle {
        display: block;
    }

    .lp-app-body {
        max-height: 540px;
    }

    .lp-app-sidebar {
        height: 516px;
        min-height: 516px;
    }

    .lp-nav-menu {
        position: absolute;
        top: calc(100% + 0.65rem);
        left: auto;
        right: 0;
        width: min(17.5rem, 100%);
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        margin: 0;
        padding: 0.55rem;
        border-radius: 22px;
        background: linear-gradient(160deg, var(--lp-primary), #351e66);
        box-shadow: 0 10px 24px rgba(67, 39, 125, 0.18);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .lp-nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .lp-nav-menu > a {
        padding: 0.9rem 1rem;
        font-size: 1rem;
        color: var(--lp-white);
        border-radius: 14px;
    }

    .lp-nav-cta {
        margin: 0.35rem 0 0 !important;
        text-align: center;
    }
}

@media (max-width: 980px) {
    .landing,
    .auth-page {
        --lp-mobile-col: min(42rem, calc(100% - 3rem));
    }

    .lp-hero {
        min-height: auto;
        padding: calc(var(--lp-nav-h) + 1.5rem) 0 2.5rem;
        overflow-x: hidden;
    }

    /* Colonne unique centrée (hero = texte + image) */
    .lp-hero-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: var(--lp-mobile-col);
        max-width: var(--lp-mobile-col);
        margin: 0 auto;
        gap: 2rem;
        box-sizing: border-box;
    }

    .lp-hero-top {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        text-align: left;
        display: block;
        box-sizing: border-box;
    }

    .lp-hero-title {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .lp-hero-lead {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .lp-hero-points {
        display: grid;
        justify-items: stretch;
        width: 100%;
        max-width: none;
        margin: 0 0 1.85rem;
    }

    .lp-hero-points li {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .lp-hero-cta {
        display: flex;
        justify-content: stretch;
        width: 100%;
    }

    .lp-hero-trust {
        text-align: left;
        width: 100%;
    }

    .lp-hero-visual {
        width: min(100%, 100%);
        max-width: 100%;
        margin: 0 auto;
        justify-self: auto;
        align-self: center;
    }

    .lp-demo-tablet {
        transform: translateY(28px) scale(0.96) rotateX(12deg);
    }

    .lp-demo-stage.is-in .lp-demo-tablet {
        transform: translateY(0) scale(1) rotateX(0deg);
        animation: lp-demo-float-mobile 6.5s ease-in-out 1.2s infinite alternate;
    }

    /* Sections : contenu dans la même largeur centrée */
    .lp-section > .lp-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: none;
        padding-inline: 1.25rem;
        box-sizing: border-box;
    }

    .lp-section > .lp-wrap > * {
        width: 100%;
        max-width: var(--lp-mobile-col);
        box-sizing: border-box;
    }

    .lp-section-head,
    .lp-section-head:not(.lp-section-head-center) {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2.5rem;
        text-align: left;
    }

    .lp-section-head-center {
        text-align: center;
    }

    .lp-features {
        grid-template-columns: 1fr;
        gap: 0;
        margin-left: auto;
        margin-right: auto;
        border-top: 1px solid rgba(67, 39, 125, 0.12);
        border-bottom: 1px solid rgba(67, 39, 125, 0.12);
    }

    .lp-features li,
    .lp-features li:nth-child(3n),
    .lp-features li:nth-child(3n + 1),
    .lp-features li:nth-last-child(-n + 3) {
        padding: 1.85rem 0;
        border-right: 0;
        border-bottom: 1px solid rgba(67, 39, 125, 0.12);
        text-align: left;
    }

    .lp-features li:last-child {
        border-bottom: 0;
        padding-bottom: 1.85rem;
    }

    .lp-feature-top {
        margin-bottom: 1.1rem;
        justify-content: flex-start;
    }

    .lp-features p {
        max-width: none;
    }

    .lp-product {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        width: 100%;
        max-width: var(--lp-mobile-col);
        margin-inline: auto;
    }

    .lp-product-copy {
        text-align: left;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .lp-pricing {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: var(--lp-mobile-col);
        margin-inline: auto;
        gap: 1.15rem;
    }

    .lp-price-card.is-featured {
        transform: none;
        order: -1;
    }

    .lp-price-card.is-featured:hover {
        transform: translateY(-4px);
    }

    .lp-price-head {
        padding-right: 0;
    }

    .lp-price-card.is-featured .lp-price-head {
        padding-right: 5.5rem;
        padding-top: 0;
    }

    .lp-contact-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.35rem;
        width: 100%;
        max-width: var(--lp-mobile-col);
        margin-inline: auto;
    }

    .lp-contact-channels {
        height: auto;
        width: 100%;
    }

    .lp-channel {
        flex: 0 0 auto;
        width: 100%;
        box-sizing: border-box;
    }

    .lp-contact-form-card {
        height: auto;
        width: 100%;
        box-sizing: border-box;
    }

    .lp-form-row {
        grid-template-columns: 1fr;
    }

    .lp-contact-form .lp-btn-solid {
        width: 100%;
    }

    .lp-faq {
        width: 100%;
        max-width: var(--lp-mobile-col);
        margin-inline: auto;
    }
}

@media (min-width: 721px) and (max-width: 980px) {
    /*
      Colonne unique calée sur le viewport (100vw) : nav, héros, démo,
      sections et pied de page partagent exactement les mêmes gouttières.
      .auth-page réutilise la nav et le footer : même colonne.
    */
    .landing,
    .auth-page {
        --lp-mobile-col: min(42rem, calc(100vw - 6rem));
    }

    .lp-nav {
        padding: 0.85rem 1rem 0;
    }

    .lp-nav-pill {
        width: var(--lp-mobile-col);
    }

    .lp-demo-wrap {
        width: var(--lp-mobile-col);
        max-width: var(--lp-mobile-col);
    }

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

    .lp-features li,
    .lp-features li:nth-child(3n),
    .lp-features li:nth-child(3n + 1),
    .lp-features li:nth-last-child(-n + 3) {
        padding: 1.85rem 1.5rem;
        border-right: 1px solid rgba(67, 39, 125, 0.12);
        border-bottom: 1px solid rgba(67, 39, 125, 0.12);
    }

    .lp-features li:nth-child(even) {
        padding-right: 0;
        border-right: 0;
    }

    .lp-features li:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .lp-footer-wrap {
        width: var(--lp-mobile-col);
    }

    .lp-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: var(--lp-mobile-col);
        margin-inline: auto;
    }

    .lp-footer-card:last-child {
        grid-column: 1 / -1;
    }
}

/* Tablette paysage : mise en page desktop mais gouttières élargies */
@media (min-width: 981px) and (max-width: 1100px) {
    .landing,
    .auth-page {
        --lp-gutter: 2.75rem;
    }

    .lp-nav {
        padding: 0.85rem var(--lp-gutter) 0;
    }

    .lp-nav-pill {
        width: min(900px, 100%);
    }

    .lp-wrap {
        width: min(1120px, calc(100% - var(--lp-gutter) * 2));
    }

    .lp-hero-grid {
        width: min(1360px, calc(100% - var(--lp-gutter) * 2));
    }

    .lp-demo-wrap {
        width: min(1180px, calc(100% - var(--lp-gutter) * 2));
    }

    /* La tablette de démo ne doit pas mordre sur les gouttières */
    .lp-demo-tablet {
        transform: translateY(48px) scale(0.94) rotateX(14deg);
    }

    .lp-demo-stage.is-in .lp-demo-tablet {
        transform: translateY(0) scale(1) rotateX(0deg);
        animation: lp-demo-float-mobile 6.5s ease-in-out 1.2s infinite alternate;
    }
}

@media (max-width: 720px) {
    .landing,
    .auth-page {
        --lp-mobile-col: min(26rem, calc(100% - 2rem));
    }

    .lp-footer-grid {
        grid-template-columns: 1fr;
        max-width: min(26rem, calc(100% - 2rem));
        margin-inline: auto;
    }

    .lp-footer-card:last-child {
        grid-column: auto;
    }

    .lp-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .lp-footer {
        padding: 2rem 0 1.5rem;
    }

    .lp-footer-brand {
        margin: 0 0 0.65rem;
    }

    .lp-footer-logo {
        height: 100px;
        max-width: min(92vw, 420px);
    }

    .lp-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .lp-hero-cta .lp-btn {
        width: 100%;
        margin-inline: 0;
    }

    .lp-section { padding: 4.5rem 0; }

    .lp-faq {
        padding: 0.2rem;
        border-radius: 20px;
    }

    .lp-faq-item summary {
        gap: 0.75rem;
        padding: 1.15rem 0.9rem 1.15rem 1rem;
        font-size: 1rem;
    }

    .lp-faq-a {
        padding: 0 1rem 1.25rem 1rem;
    }
}

@media (max-width: 380px) {
    .landing {
        --lp-nav-h: 96px;
    }

    .lp-nav-pill {
        min-height: 70px;
    }

    .lp-brand-logo {
        height: 46px;
        max-width: 210px;
    }

    .lp-nav-toggle {
        width: 42px;
        height: 42px;
    }

    .lp-hero {
        padding-top: calc(var(--lp-nav-h) + 1.1rem);
    }

    .lp-hero-title {
        font-size: 2.35rem;
        line-height: 1.06;
    }

    .lp-hero-lead {
        font-size: 1rem;
    }

    .lp-hero-points li {
        font-size: 0.94rem;
    }

    .lp-hero-cta .lp-btn-lg {
        min-height: 54px;
        padding-inline: 1rem;
        font-size: 0.95rem;
    }

    .lp-hero-trust {
        font-size: 0.84rem;
    }

    .lp-channel {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 0.7rem;
        padding-inline: 0.75rem;
    }

    .lp-channel-icon {
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-orb,
    .lp-hero-top,
    .lp-hero-visual,
    .lp-panel-glow {
        animation: none !important;
    }

    .lp-footer::before {
        animation: none !important;
        opacity: 1;
        background-position: 50% 0;
    }

    .lp-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .lp-footer-logo {
        transform: none !important;
        opacity: 1 !important;
        animation: none !important;
        transition: none !important;
    }

    .lp-btn:hover,
    .lp-btn:hover svg {
        transform: none;
    }
}
