.lp-hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 35%, rgba(255,106,0,.13), transparent 28%),
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.03), transparent 22%),
        linear-gradient(180deg, #0d0d0f 0%, #101012 100%);
    padding: 110px 0 80px;
}

.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent, black 25%, black 80%, transparent);
}

.lp-hero-grid {
    width: min(1280px, calc(100% - 70px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.lp-hero-content {
    position: relative;
    z-index: 4;
}

.lp-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--lp-orange);
    font-size: 12px;
    letter-spacing: .2em;
    font-weight: 700;
    margin-bottom: 28px;
}

.lp-hero-label span {
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--lp-orange), transparent);
}

.lp-hero h1 {
    margin: 0;
    font-size: clamp(54px, 6vw, 92px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 650;
    color: #fff;
}

.lp-hero h1 span {
    color: var(--lp-orange);
}

.lp-hero h1 strong {
    display: block;
    font-weight: 650;
    margin-top: 6px;
}

.lp-hero-intro {
    max-width: 660px;
    margin: 30px 0 0;
    color: var(--lp-muted);
    font-size: 18px;
    line-height: 1.7;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 38px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 56px;
    padding: 0 26px;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        border-color .25s ease;
}

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

.lp-btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--lp-orange), var(--lp-orange-2));
    box-shadow: 0 14px 38px rgba(255,106,0,.24);
}

.lp-btn-primary:hover {
    box-shadow: 0 18px 46px rgba(255,106,0,.38);
}

.lp-btn-secondary {
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.035);
    backdrop-filter: blur(10px);
}

.lp-btn-secondary:hover {
    border-color: rgba(255,106,0,.6);
}

.lp-hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 720px;
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid var(--lp-border);
}

.lp-hero-meta div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lp-hero-meta strong {
    color: #fff;
    font-size: 13px;
}

.lp-hero-meta span {
    color: #77777d;
    font-size: 12px;
}

/* VISUEL */

.lp-hero-visual {
    position: relative;
    min-height: 610px;
    perspective: 1500px;
}

.lp-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.lp-glow-1 {
    width: 420px;
    height: 420px;
    top: 0;
    right: 0;
    background: rgba(255,106,0,.08);
}

.lp-glow-2 {
    width: 260px;
    height: 260px;
    bottom: 0;
    left: 35%;
    background: rgba(255,140,26,.06);
}

.lp-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.06);
}

.lp-orbit-1 {
    width: 550px;
    height: 550px;
    top: 25px;
    right: 5px;
}

.lp-orbit-2 {
    width: 410px;
    height: 410px;
    top: 95px;
    right: 80px;
}

.lp-browser {
    position: absolute;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;
    overflow: hidden;
    background: #151518;
    box-shadow: var(--lp-shadow);
}

.lp-browser-main {
    width: 82%;
    right: 0;
    top: 82px;
    z-index: 4;
    transform: rotateY(-10deg) rotateX(3deg) rotateZ(-2deg);
}

.lp-browser-back {
    width: 70%;
    left: 0;
    top: 170px;
    opacity: .55;
    transform: rotateY(12deg) rotateZ(5deg) scale(.9);
}

.lp-browser-bar {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    background: rgba(255,255,255,.035);
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.lp-browser-bar i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
}

.lp-browser-url {
    margin-left: 16px;
    flex: 1;
    height: 22px;
    display: flex;
    align-items: center;
    padding-left: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    color: #74747b;
    font-size: 10px;
}

.lp-browser-content {
    min-height: 420px;
    padding: 28px;
    background:
        radial-gradient(circle at 75% 20%, rgba(255,106,0,.14), transparent 30%),
        linear-gradient(180deg, #111113, #18181b);
}

.lp-mini-nav {
    display: grid;
    grid-template-columns: auto 1fr 30px 30px;
    gap: 12px;
    align-items: center;
}

.lp-mini-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-orange), var(--lp-orange-2));
    font-weight: 800;
}

.lp-mini-nav > div:not(.lp-mini-logo) {
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
}

.lp-mini-hero {
    padding: 55px 0 40px;
}

.lp-mini-hero small {
    color: var(--lp-orange);
    letter-spacing: .2em;
    font-size: 9px;
}

.lp-mini-hero h3 {
    margin: 10px 0 0;
    color: #fff;
    font-size: 44px;
    line-height: .95;
}

.lp-mini-hero h3 span {
    color: var(--lp-orange);
}

.lp-mini-button {
    width: 100px;
    height: 26px;
    margin-top: 24px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lp-orange), var(--lp-orange-2));
}

.lp-mini-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
}

.lp-mini-cards div {
    height: 72px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.035);
}

.lp-browser-back-content {
    height: 290px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(255,106,0,.12), transparent 35%),
        #101012;
}

.lp-browser-back-content span {
    font-size: 66px;
    font-weight: 800;
    color: rgba(255,255,255,.035);
    letter-spacing: .08em;
}

.lp-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 170px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(22,22,25,.72);
    border: 1px solid rgba(255,255,255,.09);
    backdrop-filter: blur(14px);
    box-shadow: 0 15px 40px rgba(0,0,0,.28);
    z-index: 6;
}

.lp-floating-card small {
    display: block;
    color: #74747b;
    font-size: 8px;
    letter-spacing: .14em;
}

.lp-floating-card strong {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-top: 2px;
}

.lp-floating-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--lp-orange);
    background: rgba(255,106,0,.09);
    border: 1px solid rgba(255,106,0,.18);
}

.lp-floating-performance {
    left: 5%;
    top: 105px;
}

.lp-floating-mobile {
    right: 1%;
    bottom: 65px;
}

.lp-code-tag {
    position: absolute;
    color: rgba(255,106,0,.35);
    font-family: monospace;
    font-size: 12px;
    z-index: 2;
}

.lp-code-tag-1 {
    right: 5%;
    top: 40px;
}

.lp-code-tag-2 {
    left: 12%;
    bottom: 25px;
}

.lp-scroll-indicator {
    position: absolute;
    left: 26px;
    bottom: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #55555b;
    font-size: 9px;
    letter-spacing: .2em;
    writing-mode: vertical-rl;
}

.lp-scroll-indicator i {
    width: 1px;
    height: 45px;
    background: linear-gradient(var(--lp-orange), transparent);
}

/* Responsive */

@media (max-width: 1100px) {
    .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .lp-hero {
        padding-top: 80px;
    }

    .lp-hero-visual {
        min-height: 560px;
    }

    .lp-hero-content {
        max-width: 850px;
    }
}

@media (max-width: 767px) {
    .lp-hero {
        min-height: auto;
        padding: 65px 0 55px;
    }

    .lp-hero-grid {
        width: min(100% - 34px, 1280px);
    }

    .lp-hero h1 {
        font-size: clamp(44px, 14vw, 68px);
    }

    .lp-hero-intro {
        font-size: 16px;
    }

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

    .lp-btn {
        width: 100%;
    }

    .lp-hero-meta {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lp-hero-visual {
        min-height: 410px;
    }

    .lp-browser-main {
        width: 92%;
        top: 65px;
    }

    .lp-browser-back {
        display: none;
    }

    .lp-floating-performance {
        left: 0;
        top: 20px;
    }

    .lp-floating-mobile {
        right: 0;
        bottom: 15px;
    }

    .lp-browser-content {
        min-height: 340px;
        padding: 20px;
    }

    .lp-mini-hero {
        padding: 35px 0 30px;
    }

    .lp-mini-hero h3 {
        font-size: 34px;
    }

    .lp-scroll-indicator {
        display: none;
    }
}

/* =========================================================
   HERO — INTERACTION SOURIS / PROFONDEUR
========================================================= */

.lp-hero-visual {
    --lp-mx: 50%;
    --lp-my: 50%;
}

/* halo dynamique qui suit la souris */
.lp-hero-visual::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;
    z-index: 1;

    background:
        radial-gradient(
            circle 220px at var(--lp-mx) var(--lp-my),
            rgba(255,106,0,.11),
            rgba(255,106,0,.045) 32%,
            transparent 70%
        );

    opacity: 0;

    transition: opacity .4s ease;
}

.lp-hero-visual.lp-interactive::after {
    opacity: 1;
}


/* transitions des différentes couches */

.lp-browser-main,
.lp-browser-back,
.lp-floating-card,
.lp-code-tag,
.lp-orbit {
    will-change: transform;
}

.lp-browser-main {
    transition:
        transform .16s ease-out,
        box-shadow .35s ease,
        border-color .35s ease;
}

.lp-browser-back {
    transition:
        transform .18s ease-out,
        opacity .35s ease;
}

.lp-floating-card {
    transition:
        transform .14s ease-out,
        border-color .35s ease,
        box-shadow .35s ease;
}

.lp-code-tag,
.lp-orbit {
    transition: transform .2s ease-out;
}


/* un peu plus de profondeur au survol */

.lp-hero-visual.lp-interactive .lp-browser-main {
    border-color: rgba(255,106,0,.15);

    box-shadow:
        0 35px 80px rgba(0,0,0,.45),
        0 0 45px rgba(255,106,0,.035);
}

.lp-hero-visual.lp-interactive .lp-floating-card {
    border-color: rgba(255,106,0,.17);

    box-shadow:
        0 20px 50px rgba(0,0,0,.35);
}


/* aucun effet souris sur mobile/tablette tactile */

@media (hover: none), (max-width: 900px) {

    .lp-hero-visual::after {
        display: none;
    }

}