/* ==================================================
   BUDGET — OUVRIR UNE LAVERIE
   Version premium / responsive complet
================================================== */

.ol-budget-new{
    position:relative;
    overflow:hidden;

    padding:0 0 100px;

    background:#ffffff;
}

.ol-budget-new,
.ol-budget-new *,
.ol-budget-new *::before,
.ol-budget-new *::after{
    box-sizing:border-box;
}

.ol-budget-new .le-container{
    width:min(1760px,94%);
    margin:0 auto;
}

/* ==================================================
   CONTENEUR PRINCIPAL
================================================== */

.ol-budget-new-box{
    position:relative;
    overflow:hidden;

    min-height:590px;
    padding:58px 56px;

    border:1px solid rgba(255,255,255,.10);
    border-radius:30px;

    background:
        radial-gradient(
            circle at 66% 38%,
            rgba(37,99,235,.14),
            transparent 32%
        ),
        radial-gradient(
            circle at 10% 0,
            rgba(37,99,235,.10),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #000d20 0%,
            #041a3d 58%,
            #000d20 100%
        );

    display:grid;
    grid-template-columns:minmax(0,37%) minmax(0,35%) minmax(330px,28%);
    gap:34px;
    align-items:center;

    box-shadow:
        0 34px 90px rgba(0,13,32,.22),
        inset 0 1px 0 rgba(255,255,255,.10);
}

.ol-budget-new-box::before{
    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.035),
            transparent 24%
        ),
        radial-gradient(
            circle at 100% 0,
            rgba(37,99,235,.12),
            transparent 32%
        );

    pointer-events:none;
}

.ol-budget-new-box::after{
    content:"";

    position:absolute;
    inset:1px;

    border:1px solid rgba(255,255,255,.05);
    border-radius:29px;

    pointer-events:none;
}

.ol-budget-new-box > *{
    position:relative;
    z-index:2;
}

/* ==================================================
   CONTENU GAUCHE
================================================== */

.ol-budget-new-content{
    min-width:0;
}

.ol-budget-new-index{
    min-height:22px;
    margin-bottom:23px;

    display:flex;
    align-items:center;
    gap:13px;
}

.ol-budget-new-index span{
    color:#ffffff;

    font-size:13px;
    font-weight:950;
    line-height:1.2;
    letter-spacing:.8px;
}

.ol-budget-new-index i{
    width:34px;
    height:2px;
    flex:0 0 34px;

    border-radius:999px;

    background:#2563eb;

    box-shadow:0 0 14px rgba(37,99,235,.55);
}

.ol-budget-new-content h2{
    max-width:650px;
    margin:0 0 27px;

    color:#ffffff;

    font-size:47px;
    font-weight:950;
    line-height:1.12;
    letter-spacing:-1.25px;

    overflow-wrap:anywhere;
}

.ol-budget-new-content h2 span{
    color:#2f76ff;
}

.ol-budget-new-content > p{
    max-width:620px;
    margin:0 0 23px;
    padding:0 !important;

    color:rgba(255,255,255,.77);

    font-size:17px;
    font-weight:500;
    line-height:1.75;

    overflow-wrap:anywhere;
}

.ol-budget-new-content .ol-budget-new-highlight{
    color:rgba(255,255,255,.92);
    font-weight:650;
}

.ol-budget-new-highlight strong{
    color:#ffffff;
    font-weight:950;
}

/* ==================================================
   BOUTON
================================================== */

.ol-budget-new-btn{
    position:relative;
    overflow:hidden;

    width:max-content;
    max-width:100%;
    min-height:60px;

    margin-top:10px;
    padding:0 28px;

    border-radius:13px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #0757f9
        );

    color:#ffffff;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:14px;

    text-align:center;
    text-decoration:none;

    font-size:14px;
    font-weight:900;
    line-height:1.35;

    box-shadow:
        0 19px 42px rgba(37,99,235,.28),
        inset 0 1px 0 rgba(255,255,255,.16);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        color .3s ease,
        background .3s ease;
}

.ol-budget-new-btn::before{
    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,.20),
            transparent
        );

    transform:translateX(-110%);

    transition:transform .5s ease;
}

.ol-budget-new-btn:hover::before{
    transform:translateX(110%);
}

.ol-budget-new-btn:hover{
    color:#ffffff;

    transform:translateY(-4px);

    box-shadow:
        0 25px 54px rgba(37,99,235,.36);
}

.ol-budget-new-btn:focus-visible{
    outline:3px solid rgba(96,165,250,.30);
    outline-offset:4px;
}

.ol-budget-new-btn svg{
    width:21px;
    height:21px;
    flex:0 0 21px;

    fill:none;
    stroke:currentColor;
    stroke-width:2.4;
    stroke-linecap:round;
    stroke-linejoin:round;

    transition:transform .3s ease;
}

.ol-budget-new-btn:hover svg{
    transform:translateX(5px);
}

/* ==================================================
   VISUEL CENTRAL
================================================== */

.ol-budget-new-visual{
    position:relative;

    min-width:0;
    min-height:430px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.ol-budget-new-glow{
    position:absolute;
    top:50%;
    left:50%;

    width:380px;
    height:380px;

    border-radius:50%;

    background:rgba(37,99,235,.12);

    filter:blur(65px);

    transform:translate(-50%,-50%);

    pointer-events:none;
}

.ol-budget-new-plan{

    position:relative;
    z-index:2;

    display:block;

    width:100%;
    max-width:560px;
    height:auto;

    opacity:.78;

    filter:
        drop-shadow(0 20px 44px rgba(0,0,0,.30))
        drop-shadow(0 0 22px rgba(37,99,235,.11));

}

.ol-budget-plan-lines{
    fill:none;

    stroke:rgba(132,173,255,.34);
    stroke-width:2;

    stroke-linecap:round;
    stroke-linejoin:round;
}

.ol-budget-plan-points{
    fill:#2f76ff;
    opacity:.9;
}

.ol-budget-new-visual-label{
    position:absolute;
    left:50%;
    bottom:20px;
    z-index:3;

    width:max-content;
    max-width:calc(100% - 30px);
    min-width:min(270px,100%);
    min-height:38px;

    padding:8px 16px;

    border:1px solid rgba(255,255,255,.10);
    border-radius:999px;

    background:rgba(0,13,32,.58);
    color:rgba(255,255,255,.68);

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    font-size:11.5px;
    font-weight:800;
    line-height:1.4;

    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    transform:translateX(-50%);
}

/* ==================================================
   PANNEAU DROIT
================================================== */

.ol-budget-new-panel{
    min-width:0;
    padding:31px 28px;

    border:1px solid rgba(255,255,255,.085);
    border-radius:22px;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(37,99,235,.13),
            transparent 38%
        ),
        rgba(0,13,32,.79);

    box-shadow:
        0 28px 65px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.06);

    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);
}

.ol-budget-new-panel-heading{
    min-width:0;
    margin-bottom:20px;
    padding-bottom:22px;

    border-bottom:1px solid rgba(255,255,255,.10);

    display:grid;
    grid-template-columns:58px minmax(0,1fr);
    gap:16px;
    align-items:center;
}

.ol-budget-new-panel-icon{
    width:58px;
    height:58px;
    flex:0 0 58px;

    border-radius:17px;

    background:
        linear-gradient(
            145deg,
            #2563eb,
            #0757f9
        );

    color:#ffffff;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:
        0 15px 32px rgba(37,99,235,.28),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.ol-budget-new-panel-icon svg{
    width:29px;
    height:29px;

    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.ol-budget-new-panel-heading strong{
    min-width:0;

    color:#ffffff;

    font-size:17px;
    font-weight:900;
    line-height:1.45;

    overflow-wrap:anywhere;
}

/* ==================================================
   LISTE
================================================== */

.ol-budget-new-list{
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
}

.ol-budget-new-item{
    min-width:0;

    display:grid;
    grid-template-columns:24px minmax(0,1fr);
    gap:14px;
    align-items:start;
}

.ol-budget-new-item > span{
    width:24px;
    height:24px;
    flex:0 0 24px;

    border-radius:50%;

    background:rgba(37,99,235,.14);
    color:#8db6ff;

    display:flex;
    align-items:center;
    justify-content:center;
}

.ol-budget-new-item svg{
    width:13px;
    height:13px;

    display:block;

    fill:none;
    stroke:currentColor;
    stroke-width:2.6;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.ol-budget-new-item p{
    min-width:0;
    margin:0 !important;
    padding:0 !important;

    color:rgba(255,255,255,.82);

    font-size:14px;
    font-weight:700;
    line-height:1.65;

    overflow-wrap:anywhere;
}

/* ==================================================
   LIEN DU PANNEAU
================================================== */

.ol-budget-new-panel-link{
    width:100%;
    min-height:48px;

    margin-top:24px;
    padding:0 17px;

    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;

    background:rgba(255,255,255,.055);
    color:#ffffff;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    text-align:center;
    text-decoration:none;

    font-size:12.5px;
    font-weight:900;
    line-height:1.35;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease,
        color .3s ease;
}

.ol-budget-new-panel-link:hover{
    border-color:#2563eb;

    background:#2563eb;
    color:#ffffff;

    transform:translateY(-3px);
}

.ol-budget-new-panel-link:focus-visible{
    outline:3px solid rgba(96,165,250,.30);
    outline-offset:4px;
}

.ol-budget-new-panel-link svg{
    width:18px;
    height:18px;
    flex:0 0 18px;

    fill:none;
    stroke:currentColor;
    stroke-width:2.3;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* ==================================================
   ANIMATIONS
================================================== */

.ol-budget-new-content,
.ol-budget-new-visual,
.ol-budget-new-panel{
    opacity:0;
    transform:translateY(28px);

    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.22,.61,.36,1);
}

.ol-budget-new.is-visible .ol-budget-new-content,
.ol-budget-new.is-visible .ol-budget-new-visual,
.ol-budget-new.is-visible .ol-budget-new-panel{
    opacity:1;
    transform:translateY(0);
}

.ol-budget-new.is-visible .ol-budget-new-content{
    transition-delay:.05s;
}

.ol-budget-new.is-visible .ol-budget-new-visual{
    transition-delay:.18s;
}

.ol-budget-new.is-visible .ol-budget-new-panel{
    transition-delay:.32s;
}

.ol-budget-new.is-visible .ol-budget-plan-lines{
    animation:olBudgetPlanPulse 4s ease-in-out infinite;
}

@keyframes olBudgetPlanPulse{
    0%,
    100%{
        stroke:rgba(132,173,255,.28);
    }

    50%{
        stroke:rgba(132,173,255,.50);
    }
}

/* ==================================================
   GRAND DESKTOP / LAPTOP
================================================== */

@media(max-width:1500px){

    .ol-budget-new-box{
        grid-template-columns:minmax(300px,38%) minmax(0,1fr) 320px;
        gap:28px;

        padding:52px 44px;
    }

    .ol-budget-new-content h2{
        font-size:42px;
    }

    .ol-budget-new-plan{
        max-width:470px;
    }
}

/* ==================================================
   PETIT LAPTOP — NOUVELLE DISPOSITION
================================================== */

@media(max-width:1280px){

    .ol-budget-new-box{
        min-height:auto;

        grid-template-columns:minmax(0,1fr) minmax(300px,360px);
        grid-template-areas:
            "content panel"
            "visual panel";

        gap:34px 28px;
        align-items:start;

        padding:48px 40px;
    }

    .ol-budget-new-content{
        grid-area:content;
    }

    .ol-budget-new-visual{
        grid-area:visual;

        width:100%;
        min-height:300px;

        align-self:end;
    }

    .ol-budget-new-panel{
        grid-area:panel;

        align-self:stretch;
    }

    .ol-budget-new-plan{
        max-width:420px;
    }

    .ol-budget-new-visual-label{
        bottom:4px;
    }

    .ol-budget-new-btn{
        width:100%;
        max-width:340px;
    }
}

/* ==================================================
   TABLETTE PAYSAGE / PORTRAIT
================================================== */

@media(max-width:980px){

    .ol-budget-new{
        padding-bottom:80px;
    }

    .ol-budget-new .le-container{
        width:min(94%,980px);
    }

    .ol-budget-new-box{
        grid-template-columns:1fr;
        grid-template-areas:
            "content"
            "visual"
            "panel";

        gap:38px;

        padding:42px 34px;

        text-align:center;
    }

    .ol-budget-new-content{
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .ol-budget-new-index{
        justify-content:center;
    }

    .ol-budget-new-content h2,
    .ol-budget-new-content > p{
        margin-right:auto;
        margin-left:auto;
    }

    .ol-budget-new-btn{
        margin-right:auto;
        margin-left:auto;
    }

    .ol-budget-new-visual{
        width:100%;
        min-height:340px;
    }

    .ol-budget-new-plan{
        max-width:430px;
    }

    .ol-budget-new-visual-label{
        bottom:0;
    }

    .ol-budget-new-panel{
        width:100%;
        max-width:640px;

        margin:0 auto;

        text-align:left;
    }
}

/* ==================================================
   MOBILE
================================================== */

@media(max-width:640px){

    .ol-budget-new{
        padding-bottom:64px;
    }

    .ol-budget-new .le-container{
        width:calc(100% - 28px);
    }

    .ol-budget-new-box{
        gap:30px;

        padding:30px 22px;

        border-radius:22px;
    }

    .ol-budget-new-box::after{
        border-radius:21px;
    }

    .ol-budget-new-content h2{
        font-size:34px;
        letter-spacing:-.8px;
    }

    .ol-budget-new-content > p{
        font-size:15px;
        line-height:1.65;
    }

    .ol-budget-new-btn{
        width:100%;
        max-width:none;
        min-height:56px;

        padding:0 20px;
    }

    .ol-budget-new-visual{
        min-height:250px;
    }

    .ol-budget-new-plan{
        max-width:280px;
    }

    .ol-budget-new-glow{
        width:260px;
        height:260px;

        filter:blur(48px);
    }

    .ol-budget-new-visual-label{
        width:calc(100% - 16px);
        max-width:320px;
        min-width:0;

        padding:8px 12px;

        font-size:11px;
    }

    .ol-budget-new-panel{
        padding:24px 20px;
    }

    .ol-budget-new-panel-heading{
        grid-template-columns:50px minmax(0,1fr);
        gap:13px;
    }

    .ol-budget-new-panel-icon{
        width:50px;
        height:50px;
    }

    .ol-budget-new-panel-icon svg{
        width:25px;
        height:25px;
    }

    .ol-budget-new-list{
        gap:20px;
    }

    .ol-budget-new-item p{
        font-size:13px;
        line-height:1.58;
    }
}

/* ==================================================
   PETIT MOBILE
================================================== */

@media(max-width:430px){

    .ol-budget-new .le-container{
        width:calc(100% - 20px);
    }

    .ol-budget-new-box{
        gap:26px;

        padding:24px 16px;

        border-radius:18px;
    }

    .ol-budget-new-box::after{
        border-radius:17px;
    }

    .ol-budget-new-index{
        margin-bottom:18px;
    }

    .ol-budget-new-content h2{
        font-size:30px;
    }

    .ol-budget-new-content > p{
        font-size:14px;
    }

    .ol-budget-new-btn{
        min-height:54px;

        font-size:13.5px;
    }

    .ol-budget-new-visual{
        min-height:220px;
    }

    .ol-budget-new-plan{
        max-width:235px;
    }

    .ol-budget-new-visual-label{
        font-size:10.5px;
    }

    .ol-budget-new-panel{
        padding:21px 17px;

        border-radius:18px;
    }

    .ol-budget-new-panel-heading{
        grid-template-columns:46px minmax(0,1fr);
        gap:11px;

        margin-bottom:18px;
        padding-bottom:18px;
    }

    .ol-budget-new-panel-icon{
        width:46px;
        height:46px;

        border-radius:14px;
    }

    .ol-budget-new-panel-heading strong{
        font-size:14px;
    }

    .ol-budget-new-item{
        grid-template-columns:22px minmax(0,1fr);
        gap:11px;
    }

    .ol-budget-new-item > span{
        width:22px;
        height:22px;
    }

    .ol-budget-new-item p{
        font-size:12.5px;
    }
}

/* ==================================================
   TRÈS PETITS ÉCRANS
================================================== */

@media(max-width:360px){

    .ol-budget-new .le-container{
        width:calc(100% - 16px);
    }

    .ol-budget-new-box{
        padding:20px 13px;
    }

    .ol-budget-new-content h2{
        font-size:27px;
    }

    .ol-budget-new-content > p{
        font-size:13.5px;
    }

    .ol-budget-new-plan{
        max-width:205px;
    }

    .ol-budget-new-panel{
        padding:18px 14px;
    }

    .ol-budget-new-panel-heading{
        grid-template-columns:42px minmax(0,1fr);
    }

    .ol-budget-new-panel-icon{
        width:42px;
        height:42px;
    }

    .ol-budget-new-panel-heading strong{
        font-size:13.5px;
    }

    .ol-budget-new-item p{
        font-size:12px;
    }
}

/* ==================================================
   ÉCRANS TACTILES
================================================== */

@media(hover:none){

    .ol-budget-new-btn:hover,
    .ol-budget-new-panel-link:hover{
        transform:none;
    }
}

/* ==================================================
   ACCESSIBILITÉ
================================================== */

@media(prefers-reduced-motion:reduce){

    .ol-budget-new *,
    .ol-budget-new *::before,
    .ol-budget-new *::after{
        animation:none !important;
        transition:none !important;
    }

    .ol-budget-new-content,
    .ol-budget-new-visual,
    .ol-budget-new-panel{
        opacity:1;
        transform:none;
    }
}
