/* IMPORTANT: on centre via stage (pas via .sv-scene) */
.sv-scene__stage{
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

/* ===== SCENE 4 ===== */
.sv4scene{
    background: #070A12;
}

.sv4scene__wrap{
    width: min(1040px, calc(100% - 48px));
    text-align: center;
    color: rgba(255,255,255,.92);
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.sv4scene::before,
.sv4scene::after{
    content: "";
    position: absolute;
    inset: -25% -10%;
    z-index: -1;
    pointer-events: none;
    opacity: .8;
}

.sv4scene::before{
    background:
        radial-gradient(420px 260px at 12% 8%, rgba(76,195,189,.28), transparent 60%),
        radial-gradient(520px 280px at 92% 0%, rgba(94,234,212,.18), transparent 62%);
    filter: blur(6px);
    animation: sv4-glow 16s ease-in-out infinite;
}

.sv4scene::after{
    background:
        radial-gradient(220px 160px at 70% 40%, rgba(255,255,255,.14), transparent 70%);
    opacity: .55;
}

.sv4scene__kicker{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    font-size: 13px;
    margin-bottom: 14px;
    opacity: .9;
    font-weight: 700;
    letter-spacing: .01em;
}

.sv4scene__pulse{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #4cc3bd;
    box-shadow: 0 0 0 0 rgba(76,195,189,.55);
    animation: sv4-pulse 2.4s ease-out infinite;
}

.sv4scene__title{
    margin: 0 0 12px;
    font-size: clamp(34px, 4.2vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.sv4scene__grad{
    background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(76,195,189,.95));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sv4scene__sub{
    margin: 0 auto 22px;
    max-width: 72ch;
    color: rgba(255,255,255,.70);
    font-size: 15px;
    line-height: 1.6;
}

.sv4scene__chips{
    margin: 0 auto 16px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
    color: rgba(255,255,255,.88);
    font-size: 12.5px;
}

.sv4scene__chips li{
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.sv4scene__chips li:hover{
    transform: translateY(-1px);
    border-color: rgba(76,195,189,.45);
    background: rgba(76,195,189,.12);
}

body.sv-lock .sv-hero .sv4scene__wrap{
    opacity: 0;
    pointer-events: none;
}

.sv4scene__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.sv4card{
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 30px 110px rgba(0,0,0,.45);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.sv4card::after{
    content: "";
    position: absolute;
    inset: -40% -10% auto;
    height: 140%;
    background: radial-gradient(320px 160px at 20% 0%, rgba(76,195,189,.24), transparent 60%);
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 0;
}

.sv4card > *{
    position: relative;
    z-index: 1;
}

.sv4card:hover{
    transform: translateY(-4px);
    border-color: rgba(76,195,189,.35);
    box-shadow: 0 35px 120px rgba(0,0,0,.5);
}

.sv4card:hover::after{
    opacity: 1;
}

.sv4card__title{
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.sv4card__sub{
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.55;
}

.sv4scene__cta{
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.sv4scene__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    font-weight: 850;
    border: 1px solid rgba(76,195,189,.42);
    background: rgba(76,195,189,.18);
    color: rgba(255,255,255,.92);
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.sv4scene__btn::after{
    content: "";
    position: absolute;
    top: -60%;
    left: -40%;
    width: 50%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
    transform: translateX(-140%);
    transition: transform .6s ease;
}

.sv4scene__btn:hover{
    transform: translateY(-2px) scale(1.01);
    background: rgba(76,195,189,.26);
    border-color: rgba(76,195,189,.6);
    box-shadow: 0 26px 70px rgba(0,0,0,.35);
}

.sv4scene__btn:hover::after{
    transform: translateX(240%);
}

.sv4scene__btn:focus-visible{
    outline: 2px solid rgba(76,195,189,.55);
    outline-offset: 3px;
}

.sv4scene__link{
    color: rgba(255,255,255,.82);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.25);
    transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.sv4scene__link:hover{
    color: rgba(255,255,255,.98);
    border-color: rgba(76,195,189,.6);
    transform: translateY(-1px);
}

.sv4scene__link:focus-visible{
    outline: 2px solid rgba(76,195,189,.55);
    outline-offset: 3px;
    border-bottom-color: transparent;
}

@keyframes sv4-glow{
    0%, 100%{ transform: translate3d(0,0,0) scale(1); }
    50%{ transform: translate3d(2%, -2%, 0) scale(1.06); }
}

@keyframes sv4-pulse{
    0%{ box-shadow: 0 0 0 0 rgba(76,195,189,.55); }
    70%{ box-shadow: 0 0 0 12px rgba(76,195,189,0); }
    100%{ box-shadow: 0 0 0 0 rgba(76,195,189,0); }
}

@keyframes sv4-reveal{
    from{ opacity: 0; transform: translateY(16px); }
    to{ opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference){
    .sv4scene__kicker,
    .sv4scene__title,
    .sv4scene__sub,
    .sv4scene__chips,
    .sv4scene__grid,
    .sv4scene__cta{
        opacity: 0;
        transform: translateY(14px);
        animation: sv4-reveal .7s ease forwards;
    }

    .sv4scene__title{ animation-delay: .05s; }
    .sv4scene__sub{ animation-delay: .12s; }
    .sv4scene__chips{ animation-delay: .18s; }
    .sv4scene__grid{ animation-delay: .24s; }
    .sv4scene__cta{ animation-delay: .32s; }

}

@media (prefers-reduced-motion: reduce){
    .sv4scene__wrap::before{
        animation: none;
    }
    .sv4scene__pulse{
        animation: none;
        box-shadow: none;
    }
}

@media (max-width: 900px){
    .sv4scene__grid{ grid-template-columns: 1fr; }
    .sv4scene__chips{ justify-content: center; }
}

@media (max-width: 720px){
    .sv-hero{
        height: auto;
        min-height: 0;
        padding: 92px 0 28px;
        border-radius: 0 0 24px 24px;
    }

    .sv-hero .sv-scene__stage{
        position: relative;
        inset: auto;
        display: block;
        width: 100%;
        height: auto;
        padding: 0 24px;
        box-sizing: border-box;
    }

    .sv-hero .sv4scene__wrap{
        width: 100%;
        max-width: 342px;
        margin: 0 auto;
    }

    .sv-hero .sv4scene__title{
        font-size: clamp(20px, 9vw, 36px);
        line-height: 0.98;
        margin-bottom: 8px;
    }

    .sv-hero .sv4scene__sub{
        margin-bottom: 14px;
        font-size: 13px;
        line-height: 1.42;
    }

    .sv-hero .sv4scene__chips{
        display: none;
    }

    .sv-hero .sv4scene__grid{
        margin-top: 0;
        gap: 10px;
    }

    .sv-hero .sv4card{
        padding: 14px 12px;
    }

    .sv-hero .sv4card__title{
        margin-bottom: 6px;
        font-size: 15px;
    }

    .sv-hero .sv4card__sub{
        font-size: 13px;
        line-height: 1.42;
    }

    .sv-hero .sv4scene__cta{
        margin-top: 14px;
    }

    .sv-hero .sv4scene__btn{
        width: 100%;
    }

    #sv-story .sv4scene .sv-scene__stage{
        place-items: start center;
        padding: 92px 24px 104px;
        box-sizing: border-box;
    }

    #sv-story .sv4scene__wrap{
        width: 100%;
        max-width: 342px;
    }

    #sv-story .sv4scene__title{
        font-size: clamp(20px, 9vw, 36px);
        line-height: 0.98;
        margin-bottom: 8px;
    }

    #sv-story .sv4scene__sub{
        margin-bottom: 14px;
        font-size: 13px;
        line-height: 1.42;
    }

    #sv-story .sv4scene__chips,
    #sv-story .sv4scene__cta{
        display: none;
    }

    #sv-story .sv4scene__grid{
        margin-top: 0;
        gap: 10px;
    }

    #sv-story .sv4card{
        padding: 14px 12px;
    }

    #sv-story .sv4card__title{
        margin-bottom: 6px;
        font-size: 15px;
    }

    #sv-story .sv4card__sub{
        font-size: 13px;
        line-height: 1.42;
    }
}
