/* ==================================================
   ERREURS À ÉVITER
================================================== */

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

    padding:96px 0 105px;

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

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

    position:absolute;
    top:-230px;
    left:50%;

    width:560px;
    height:560px;

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

    transform:translateX(-50%);

    box-shadow:
        0 0 0 55px rgba(37,99,235,.012),
        0 0 0 110px rgba(37,99,235,.008);

    pointer-events:none;
}

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

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


/* ==================================================
   TITRE
================================================== */

.ol-errors-new-heading{
    max-width:780px;

    margin:0 auto 52px;

    text-align:center;
}

.ol-errors-new-eyebrow{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:30px;
    padding:0 13px;
    margin-bottom:15px;

    border:1px solid rgba(37,99,235,.12);
    border-radius:999px;

    background:#eef4ff;
    color:#2563eb;

    font-size:11px;
    font-weight:900;
    line-height:1;

    text-transform:uppercase;
    letter-spacing:.65px;
}

.ol-errors-new-heading h2{
    margin:0 0 17px;

    color:#000d20;

    font-size:48px;
    font-weight:950;
    line-height:1.08;
    letter-spacing:-1.3px;
}

.ol-errors-new-heading h2 span{
    color:#2563eb;
}

.ol-errors-new-heading p{
    max-width:690px;

    margin:0 auto;

    color:#64748b;

    font-size:16px;
    font-weight:500;
    line-height:1.7;
}

.ol-errors-new-heading-line{
    display:block;

    width:54px;
    height:3px;

    margin:22px auto 0;

    border-radius:999px;

    background:linear-gradient(90deg,#2563eb,#75a6ff);

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


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

.ol-errors-new-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:22px;
    align-items:stretch;
}


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

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

    min-height:250px !important;
    height:250px !important;

    padding:28px 25px 24px;

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

    background:
        radial-gradient(
            circle at 0 0,
            rgba(239,68,68,.045),
            transparent 31%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fcfdff 100%
        );

    display:grid;
    grid-template-rows:112px 1fr 32px;

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

    opacity:0;
    transform:translateY(28px);

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

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

.ol-errors-new.is-visible .ol-errors-new-card:nth-child(1){
    transition-delay:.08s;
}

.ol-errors-new.is-visible .ol-errors-new-card:nth-child(2){
    transition-delay:.18s;
}

.ol-errors-new.is-visible .ol-errors-new-card:nth-child(3){
    transition-delay:.28s;
}

.ol-errors-new.is-visible .ol-errors-new-card:nth-child(4){
    transition-delay:.38s;
}

.ol-errors-new-card:hover{
    transform:translateY(-8px);

    border-color:rgba(239,68,68,.18);

    box-shadow:
        0 25px 58px rgba(0,13,32,.075),
        0 44px 95px rgba(239,68,68,.075);
}

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

    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:4px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(239,68,68,.6),
            transparent
        );

    opacity:0;

    transition:opacity .35s ease;
}

.ol-errors-new-card:hover::before{
    opacity:1;
}


/* NUMÉRO */

.ol-errors-new-card-number{
    position:absolute;
    top:17px;
    right:20px;

    color:rgba(239,68,68,.10);

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


/* PARTIE HAUTE */

.ol-errors-new-card-top{
    display:grid;
    grid-template-columns:76px minmax(0,1fr);
    gap:18px;
    align-items:start;
}

.ol-errors-new-icon{
    width:76px;
    height:76px;

    border-radius:50%;

    background:
        radial-gradient(
            circle at 30% 20%,
            rgba(255,255,255,.98),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #fff1f2,
            #ffe7e9
        );

    color:#e63c4f;

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

    box-shadow:
        0 16px 36px rgba(239,68,68,.10),
        inset 0 0 0 1px rgba(239,68,68,.06);

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

.ol-errors-new-card:hover .ol-errors-new-icon{
    transform:translateY(-4px) rotate(-4deg) scale(1.035);

    background:
        linear-gradient(
            145deg,
            #ef4444,
            #d92f43
        );

    color:#ffffff;

    box-shadow:
        0 20px 42px rgba(239,68,68,.24),
        0 0 0 9px rgba(239,68,68,.045);
}

.ol-errors-new-icon svg{
    width:34px;
    height:34px;

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


/* TITRES TOUJOURS ALIGNÉS */

.ol-errors-new-card h3{
    width:100%;
    height:78px;
align-self: center;
    margin:0;
    padding:3px 6px 0 0;

    color:#000d20;

    display:flex;
    align-items:flex-start;

    font-size:18px;
    font-weight:950;
    line-height:1.42;
    letter-spacing:-.2px;
}


/* TEXTES TOUJOURS ALIGNÉS */

.ol-errors-new-card > p{
    width:100%;
    min-height:126px;

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

    color:#64748b;

    font-size:14px;
    font-weight:550;
    line-height:1.72;
}


/* BAS DE CARTE */

.ol-errors-new-card-bottom{
    display:flex;
    align-items:center;
    gap:8px;

    min-height:32px;

    padding-top:12px;

    border-top:1px solid rgba(0,13,32,.065);
}

.ol-errors-new-warning-dot{
    width:7px;
    height:7px;

    border-radius:50%;

    background:#ef4444;

    box-shadow:0 0 0 5px rgba(239,68,68,.08);
}

.ol-errors-new-card-bottom small{
    color:#94a3b8;

    font-size:10.5px;
    font-weight:850;

    text-transform:uppercase;
    letter-spacing:.5px;
}


/* ==================================================
   BLOC FINAL
================================================== */

.ol-errors-new-footer{
    position:relative;
    overflow:hidden;

    margin-top:30px;
    padding:22px 24px;

    border:1px solid rgba(37,99,235,.08);
    border-radius:18px;

    background:
        radial-gradient(
            circle at 0 50%,
            rgba(37,99,235,.08),
            transparent 29%
        ),
        #ffffff;

    display:grid;
    grid-template-columns:52px minmax(0,1fr) auto;
    gap:18px;
    align-items:center;

    box-shadow:0 18px 45px rgba(0,13,32,.045);
}

.ol-errors-new-footer-icon{
    width:52px;
    height:52px;

    border-radius:15px;

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

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

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

.ol-errors-new-footer-icon svg{
    width:27px;
    height:27px;

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

.ol-errors-new-footer strong{
    display:block;

    margin-bottom:4px;

    color:#000d20;

    font-size:16px;
    font-weight:900;
    line-height:1.4;
}

.ol-errors-new-footer p{
    margin:0;

    color:#64748b;

    font-size:13.5px;
    line-height:1.5;
}

.ol-errors-new-footer-btn{
    min-height:48px;
    padding:0 19px;

    border-radius:12px;

    background:#000d20;
    color:#ffffff;

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

    text-decoration:none;

    white-space:nowrap;

    font-size:12.5px;
    font-weight:900;

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

.ol-errors-new-footer-btn:hover{
    background:#2563eb;
    color:#ffffff;

    transform:translateY(-3px);

    box-shadow:0 15px 30px rgba(37,99,235,.20);
}

.ol-errors-new-footer-btn svg{
    width:18px;
    height:18px;

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

/* ==================================================
   RESPONSIVE — 100 %
================================================== */

@media(max-width:1400px){

.ol-errors-new-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
gap:20px;
}

.ol-errors-new-heading h2{font-size:44px;}

.ol-errors-new-card{
min-height:325px;
}

.ol-errors-new-card h3{
height:72px;
}

.ol-errors-new-card>p{
min-height:112px;
}

}


@media(max-width:980px){

.ol-errors-new{
padding:74px 0 84px;
}

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

.ol-errors-new-heading{
margin-bottom:42px;
}

.ol-errors-new-heading h2{
font-size:40px;
}

.ol-errors-new-heading p{
font-size:15px;
}

.ol-errors-new-grid{
grid-template-columns:1fr;
max-width:760px;
margin:auto;
}

.ol-errors-new-card{
min-height:0;
grid-template-rows:auto auto auto;
padding:26px 22px;
}

.ol-errors-new-card-top{
grid-template-columns:70px 1fr;
gap:16px;
}

.ol-errors-new-card h3{
height:auto;
min-height:60px;
align-items:center;
}

.ol-errors-new-card>p{
min-height:0;
padding:12px 0 18px;
}

.ol-errors-new-footer{
grid-template-columns:52px 1fr;
}

.ol-errors-new-footer-btn{
grid-column:1/-1;
width:100%;
justify-content:center;
}

}


@media(max-width:640px){

.ol-errors-new{
padding:56px 0 66px;
}

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

.ol-errors-new-heading{
margin-bottom:34px;
}

.ol-errors-new-eyebrow{
font-size:10px;
padding:0 11px;
}

.ol-errors-new-heading h2{
font-size:32px;
line-height:1.12;
}

.ol-errors-new-heading p{
font-size:14px;
line-height:1.65;
}

.ol-errors-new-card{
padding:22px 18px;
border-radius:18px;
}

.ol-errors-new-card-top{
grid-template-columns:58px 1fr;
gap:14px;
}

.ol-errors-new-icon{
width:58px;
height:58px;
}

.ol-errors-new-icon svg{
width:28px;
height:28px;
}

.ol-errors-new-card-number{
font-size:30px;
top:14px;
right:16px;
}

.ol-errors-new-card h3{
min-height:0;
font-size:17px;
}

.ol-errors-new-card>p{
font-size:13.5px;
}

.ol-errors-new-card-bottom{
padding-top:10px;
}

.ol-errors-new-footer{
grid-template-columns:1fr;
padding:18px;
gap:16px;
text-align:center;
}

.ol-errors-new-footer-icon{
margin:auto;
}

.ol-errors-new-footer-btn{
width:100%;
}

}


@media(max-width:380px){

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

.ol-errors-new-heading h2{
font-size:28px;
}

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

.ol-errors-new-card-top{
grid-template-columns:52px 1fr;
gap:12px;
}

.ol-errors-new-icon{
width:52px;
height:52px;
}

.ol-errors-new-icon svg{
width:24px;
height:24px;
}

.ol-errors-new-card h3{
font-size:15px;
}

.ol-errors-new-card>p{
font-size:12.5px;
}

.ol-errors-new-footer strong{
font-size:15px;
}

.ol-errors-new-footer p{
font-size:12.5px;
}

}


@media(hover:none){

.ol-errors-new-card:hover,
.ol-errors-new-footer-btn:hover{
transform:none;
}

}

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

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

.ol-errors-new-card,
.ol-errors-new-card:hover{
transform:none!important;
opacity:1!important;
}

}
