/* ==================================================
   POURQUOI INVESTIR — OUVRIR UNE LAVERIE
   Version 100 % responsive, design conservé
================================================== */

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

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

    padding:92px 0 102px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(37,99,235,.055),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8faff 100%
        );
}

.ol-probleme-new::before{
    content:"";

    position:absolute;
    top:-180px;
    right:-160px;

    width:460px;
    height:460px;

    border:1px solid rgba(37,99,235,.06);
    border-radius:50%;

    box-shadow:
        0 0 0 44px rgba(37,99,235,.018),
        0 0 0 88px rgba(37,99,235,.012);

    pointer-events:none;
}

.ol-probleme-new .le-container{
    position:relative;
    z-index:2;

    width:min(1760px,94%);
    margin:0 auto;
}

.ol-probleme-new-layout{
    display:grid;
    grid-template-columns:minmax(280px,34%) minmax(0,1fr);
    align-items:stretch;

    gap:68px;
}


/* ==================================================
   INTRO
================================================== */

.ol-probleme-new-intro{
    position:relative;

    min-width:0;
    padding:26px 15px 20px 0;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

.ol-probleme-new-index{
    display:flex;
    align-items:center;

    gap:13px;
    margin-bottom:20px;
}

.ol-probleme-new-index span{
    color:#2563eb;

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

.ol-probleme-new-index i{
    width:32px;
    height:2px;
    flex:0 0 32px;

    border-radius:999px;

    background:#2563eb;

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

.ol-probleme-new-intro h2{
    max-width:570px;

    margin:0 0 23px;

    color:#000d20;

    font-size:clamp(40px,3vw,48px);
    font-weight:950;
    line-height:1.12;
    letter-spacing:-1.25px;
}

.ol-probleme-new-intro h2 span{
    display:inline;
    width:auto;
    height:auto;

    color:#2563eb;
    background:none;

    font:inherit;
    line-height:inherit;
}

.ol-probleme-new-intro > p{
    max-width:560px;

    margin:0 0 34px;
    padding:0 !important;

    color:#55657d;

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

.ol-probleme-new-signature{
    display:flex;
    align-items:flex-start;

    gap:14px;
}

.ol-probleme-new-signature > span{
    width:4px;
    height:44px;
    flex:0 0 4px;

    border-radius:999px;

    background:
        linear-gradient(
            180deg,
            #2563eb,
            #7faaff
        );
}

.ol-probleme-new-signature strong{
    color:#000d20;

    font-size:14px;
    font-weight:900;
    line-height:1.45;
}


/* ==================================================
   GRILLE CARTES
================================================== */

.ol-probleme-new-cards{
    min-width:0;

    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:stretch;

    gap:18px;
}


/* ==================================================
   CARTE
================================================== */

.ol-probleme-new-card{
    position:relative;
    overflow:hidden;

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

    padding:30px 24px 28px;

    border:1px solid rgba(0,13,32,.07);
    border-radius:22px;

    display:grid;
    grid-template-rows:104px minmax(56px,auto) 1fr 25px;
    justify-items:center;
    align-items:start;

    text-align:center;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(37,99,235,.065),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fcfdff 100%
        );

    box-shadow:
        0 18px 44px rgba(0,13,32,.05),
        0 35px 80px rgba(0,13,32,.035);

    opacity:1;
    transform:none;

    transition:
        opacity .65s ease,
        transform .65s cubic-bezier(.22,.61,.36,1),
        border-color .35s ease,
        box-shadow .35s ease;
}

/* Animation seulement si le JS ajoute cette classe */
.ol-probleme-new.has-probleme-animation
.ol-probleme-new-card{
    opacity:0;
    transform:translateY(30px);
}

.ol-probleme-new.has-probleme-animation.is-visible
.ol-probleme-new-card{
    opacity:1;
    transform:translateY(0);
}

.ol-probleme-new.has-probleme-animation.is-visible
.ol-probleme-new-card:nth-child(1){
    transition-delay:.10s;
}

.ol-probleme-new.has-probleme-animation.is-visible
.ol-probleme-new-card:nth-child(2){
    transition-delay:.20s;
}

.ol-probleme-new.has-probleme-animation.is-visible
.ol-probleme-new-card:nth-child(3){
    transition-delay:.30s;
}

.ol-probleme-new.has-probleme-animation.is-visible
.ol-probleme-new-card:nth-child(4){
    transition-delay:.40s;
}

.ol-probleme-new-card:hover{
    border-color:rgba(37,99,235,.20);

    transform:translateY(-8px);

    box-shadow:
        0 24px 54px rgba(0,13,32,.075),
        0 42px 90px rgba(37,99,235,.08);
}

.ol-probleme-new-card::before{
    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.28),
            transparent 35%
        );

    pointer-events:none;
}

.ol-probleme-new-card-number{
    position:absolute;
    top:18px;
    right:20px;

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

    font-size:38px;
    font-weight:950;
    line-height:1;
}


/* ==================================================
   ICÔNE
================================================== */

.ol-probleme-new-icon{
    position:relative;

    width:104px;
    height:104px;
    flex:0 0 104px;

    border-radius:50%;

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

    color:#2563eb;

    background:
        radial-gradient(
            circle at 30% 20%,
            rgba(255,255,255,.95),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #edf4ff,
            #f8fbff
        );

    box-shadow:
        0 18px 38px rgba(37,99,235,.10),
        inset 0 0 0 1px rgba(37,99,235,.06);

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

.ol-probleme-new-card:hover
.ol-probleme-new-icon{
    color:#ffffff;

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

    transform:
        translateY(-5px)
        scale(1.04);

    box-shadow:
        0 22px 46px rgba(37,99,235,.24),
        0 0 0 10px rgba(37,99,235,.055);
}

.ol-probleme-new-icon svg{
    width:49px;
    height:49px;

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

.ol-probleme-new-icon-mask{

    width:49px;
    height:49px;

    display:block;
    flex:0 0 49px;

    background:currentColor;

    -webkit-mask:var(--probleme-icon) center / contain no-repeat;
    mask:var(--probleme-icon) center / contain no-repeat;

}

/* ==================================================
   TITRES ET TEXTES ALIGNÉS
================================================== */

.ol-probleme-new-card h3{
    width:100%;
    min-height:56px;

    margin:0;
    padding:0 3px 18px;

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

    color:#000d20;

    font-size:18px;
    font-weight:950;
    line-height:1.3;
    letter-spacing:-.2px;
    text-align:center;
}

.ol-probleme-new-card p{
    width:100%;
    min-height:120px;

    margin:0;
    padding:0 !important;

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

    color:#64748b;

    font-size:14px;
    font-weight:550;
    line-height:1.68;
    text-align:center;
}

.ol-probleme-new-line{
    align-self:end;

    width:44px;
    height:25px;

    border-bottom:3px solid rgba(37,99,235,.13);

    transition:
        width .35s ease,
        border-color .35s ease;
}

.ol-probleme-new-card:hover
.ol-probleme-new-line{
    width:72px;

    border-color:#2563eb;
}


/* ==================================================
   DESKTOP MOYEN
================================================== */

@media(max-width:1500px){

    .ol-probleme-new-layout{
        grid-template-columns:minmax(270px,31%) minmax(0,1fr);

        gap:40px;
    }

    .ol-probleme-new-cards{
        grid-template-columns:repeat(2,minmax(0,1fr));

        gap:18px;
    }

    .ol-probleme-new-card{
        min-height:330px;

        grid-template-rows:96px minmax(50px,auto) 1fr 23px;
    }

    .ol-probleme-new-icon{
        width:94px;
        height:94px;
        flex-basis:94px;
    }

    .ol-probleme-new-icon svg{
        width:44px;
        height:44px;
    }

    .ol-probleme-new-card h3{
        min-height:50px;
    }

    .ol-probleme-new-card p{
        min-height:100px;
    }
}


/* ==================================================
   TABLETTE / PETITS LAPTOPS
================================================== */

@media(max-width:950px){

    .ol-probleme-new{
        padding:75px 0 85px;
    }

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

    .ol-probleme-new-layout{
        grid-template-columns:1fr;

        gap:42px;
    }

    .ol-probleme-new-intro{
        padding:0;

        text-align:center;
    }

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

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

    .ol-probleme-new-signature{
        width:max-content;
        max-width:100%;

        margin:0 auto;

        text-align:left;
    }

    .ol-probleme-new-cards{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}


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

@media(max-width:620px){

    .ol-probleme-new{
        padding:58px 0 68px;
    }

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

    .ol-probleme-new-layout{
        gap:34px;
    }

    .ol-probleme-new-intro h2{
        margin-bottom:20px;

        font-size:35px;
        line-height:1.12;
    }

    .ol-probleme-new-intro > p{
        margin-bottom:27px;

        font-size:15px;
        line-height:1.62;
    }

    .ol-probleme-new-signature strong{
        font-size:13px;
    }

    .ol-probleme-new-cards{
        grid-template-columns:1fr;

        gap:14px;
    }

    .ol-probleme-new-card{
        min-height:0;

        padding:23px 20px;

        grid-template-columns:86px minmax(0,1fr);
        grid-template-rows:auto auto;
        align-items:center;
        justify-items:start;

        column-gap:16px;
        row-gap:0;

        border-radius:18px;

        text-align:left;
    }

    .ol-probleme-new-card-number{
        top:13px;
        right:15px;

        font-size:30px;
    }

    .ol-probleme-new-icon{
        grid-column:1;
        grid-row:1 / 3;

        width:82px;
        height:82px;
        flex-basis:82px;

        margin:0;
    }

    .ol-probleme-new-icon svg{
        width:38px;
        height:38px;
    }

    .ol-probleme-new-card h3{
        grid-column:2;
        grid-row:1;

        min-height:0;

        padding:0 26px 7px 0;

        justify-content:flex-start;

        font-size:15px;
        text-align:left;
    }

    .ol-probleme-new-card p{
        grid-column:2;
        grid-row:2;

        min-height:0;

        justify-content:flex-start;

        font-size:12.5px;
        line-height:1.55;
        text-align:left;
    }

    .ol-probleme-new-line{
        display:none;
    }
}


/* ==================================================
   PETITS MOBILES
================================================== */

@media(max-width:430px){

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

    .ol-probleme-new-intro h2{
        font-size:30px;
    }

    .ol-probleme-new-intro > p{
        font-size:13.5px;
    }

    .ol-probleme-new-signature{
        gap:11px;
    }

    .ol-probleme-new-signature > span{
        height:40px;
    }

    .ol-probleme-new-signature strong{
        font-size:12px;
    }

    .ol-probleme-new-card{
        padding:18px 15px;

        grid-template-columns:67px minmax(0,1fr);
        column-gap:13px;

        border-radius:16px;
    }

    .ol-probleme-new-card-number{
        top:11px;
        right:12px;

        font-size:26px;
    }

    .ol-probleme-new-icon{
        width:64px;
        height:64px;
        flex-basis:64px;
    }

    .ol-probleme-new-icon svg{
        width:30px;
        height:30px;
    }

    .ol-probleme-new-card h3{
        padding-right:22px;

        font-size:13.5px;
    }

    .ol-probleme-new-card p{
        font-size:11.8px;
    }
}


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

@media(max-width:340px){

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

    .ol-probleme-new-intro h2{
        font-size:28px;
    }

    .ol-probleme-new-card{
        padding:15px 12px;

        grid-template-columns:58px minmax(0,1fr);
        column-gap:10px;
    }

    .ol-probleme-new-icon{
        width:56px;
        height:56px;
        flex-basis:56px;
    }

    .ol-probleme-new-icon svg{
        width:26px;
        height:26px;
    }

    .ol-probleme-new-card h3{
        font-size:12.5px;
    }

    .ol-probleme-new-card p{
        font-size:11px;
    }
}


/* ==================================================
   TACTILE
================================================== */

@media(hover:none){

    .ol-probleme-new-card:hover{
        border-color:rgba(0,13,32,.07);

        transform:none;

        box-shadow:
            0 18px 44px rgba(0,13,32,.05),
            0 35px 80px rgba(0,13,32,.035);
    }

    .ol-probleme-new-card:hover
    .ol-probleme-new-icon{
        color:#2563eb;

        background:
            radial-gradient(
                circle at 30% 20%,
                rgba(255,255,255,.95),
                transparent 35%
            ),
            linear-gradient(
                145deg,
                #edf4ff,
                #f8fbff
            );

        transform:none;

        box-shadow:
            0 18px 38px rgba(37,99,235,.10),
            inset 0 0 0 1px rgba(37,99,235,.06);
    }

    .ol-probleme-new-card:hover
    .ol-probleme-new-line{
        width:44px;

        border-color:rgba(37,99,235,.13);
    }
}


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

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

    .ol-probleme-new-card,
    .ol-probleme-new-icon,
    .ol-probleme-new-line{
        opacity:1 !important;
        transform:none !important;

        animation:none !important;
        transition:none !important;
    }
}
