/*====================================================
    STATS BANNER V3 - PéKa Design
====================================================*/

.peka-stats-banner{
    background:#fff;
    padding:28px 0 24px;
}

.peka-stats-card{
    position:relative;
    overflow:hidden;
    padding:32px 36px 28px;
    color:#fff;
    background:
        radial-gradient(circle at 12% 18%, rgba(0,166,216,.22), transparent 28%),
        radial-gradient(circle at 86% 82%, rgba(0,120,189,.22), transparent 30%),
        linear-gradient(135deg,#052a5a,#073a7a 48%,#064480);
    border-radius:22px;
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 18px 42px rgba(9,60,125,.18);
}

.peka-stats-heading{
    position:relative;
    z-index:2;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    margin-bottom:24px;
    font-size:clamp(30px,4vw,54px);
    line-height:1;
    font-weight:800;
    letter-spacing:-.055em;
    color:#fff;
}

.peka-stats-heading strong{
    color:#ffd900;
}

/* TIMELINE */

.peka-timeline{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:repeat(var(--timeline-count,6),1fr);
    gap:8px;
    margin-bottom:28px;
}

.peka-timeline:before{

    content:"";

    position:absolute;

    left:7%;
    right:7%;

    top:72px;

    height:6px;

    z-index:1;

    background-image:
        radial-gradient(circle,#bfe9ff 2px,transparent 2px);

    background-size:18px 6px;
    background-repeat:repeat-x;

    opacity:.85;
}

.peka-timeline-item{
    position:relative;
    text-align:center;
}

.peka-timeline-year{
    margin-bottom:10px;
    color:#ffd900;
    font-size:17px;
    line-height:1;
    font-weight:800;
}

.peka-timeline-dot{
    position:relative;
    z-index:3;

    width:60px;
    height:60px;

    margin:0 auto 16px;

    overflow:hidden;
    border-radius:50%;

    background:#fff;

    border:2px solid rgba(185,229,255,.70);

box-shadow:
    0 0 0 rgba(0,180,255,0),
    0 8px 18px rgba(0,0,0,.18);

animation:pekaHalo 5s ease-in-out infinite;
}

.timeline-logo{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center;

    border-radius:50%;
}


.peka-timeline-text{
    margin-top:20px;
    color:#fff;
    font-size:13px;
    line-height:1.15;
    font-weight:700;
}

.peka-timeline-text strong{
    display:block;
    color:#ffd900;
}

/* STATISTIQUES */

.peka-stats-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    padding-top:22px;
    border-top:1px solid rgba(185,229,255,.32);
}

.peka-stat-item{
    position:relative;
    text-align:center;
    padding:0 16px;
}

.peka-stat-item:not(:last-child):after{
    content:"";
    position:absolute;
    top:6px;
    right:0;
    width:1px;
    height:100%;
    background:linear-gradient(to bottom,transparent,rgba(185,229,255,.38),transparent);
}
/* ICONES EMOJI */ 

.peka-stat-icon{
    width:50px;
    height:50px;
    margin:0 auto 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#00A6D8;
 color:#ffffff;

    border:2px solid rgba(255,255,255,.25);

    box-shadow:0 10px 24px rgba(0,0,0,.18);

    font-size:24px;
    box-shadow:0 8px 20px rgba(0,0,0,.16);
}
.peka-stat-svg{
    width:34px;
    height:34px;
    display:block;
}

.peka-stat-number{
    color:#fff;
    font-size:clamp(30px,3.2vw,44px);
    line-height:1;
    font-weight:800;
    letter-spacing:-.045em;
    text-shadow:0 4px 14px rgba(0,0,0,.20);
}

.peka-stat-label{
    margin-top:8px;
    color:#b9e5ff;
    font-size:13px;
    line-height:1.25;
    font-weight:600;
}

.peka-stats-note{
    position:relative;
    z-index:2;
    margin:24px 0 0;
    text-align:center;
    color:rgba(255,255,255,.82);
    font-size:15px;
    font-style:italic;
}

.peka-stats-date{
    position:relative;
    z-index:2;
    margin-top:6px;
    text-align:center;
    font-size:13px;
    font-style:italic;
    color:rgba(255,255,255,.62);
    letter-spacing:.04em;
}

/* ANIMATION */

.peka-stats-card .peka-timeline-item,
.peka-stats-card .peka-timeline-item{

    opacity:.15;

    transform:translateY(8px);

    transition:
        opacity .9s ease,
        transform .9s ease;

}
.peka-stats-card.is-visible .peka-timeline-item{

    opacity:1;

    transform:translateY(0);

}

.peka-stats-card.is-visible .peka-timeline-item:nth-child(1){transition-delay:0s;}
.peka-stats-card.is-visible .peka-timeline-item:nth-child(2){transition-delay:.40s;}
.peka-stats-card.is-visible .peka-timeline-item:nth-child(3){transition-delay:.80s;}
.peka-stats-card.is-visible .peka-timeline-item:nth-child(4){transition-delay:1.20s;}
.peka-stats-card.is-visible .peka-timeline-item:nth-child(5){transition-delay:1.60s;}
.peka-stats-card.is-visible .peka-timeline-item:nth-child(6){transition-delay:2.00s;}

.peka-stats-card.is-visible .peka-stat-item:nth-child(1){ animation-delay:.16s; }
.peka-stats-card.is-visible .peka-stat-item:nth-child(2){ animation-delay:.24s; }
.peka-stats-card.is-visible .peka-stat-item:nth-child(3){ animation-delay:.32s; }
.peka-stats-card.is-visible .peka-stat-item:nth-child(4){ animation-delay:.40s; }
.peka-stats-card.is-visible .peka-stat-item:nth-child(5){ animation-delay:.48s; }

@keyframes pekaStatsFadeUp{
    from{
        opacity:0;
        transform:translateY(14px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
.peka-timeline:before{

    transform:scaleX(0);
    transform-origin:left;

    transition:transform 3,2s ease;
}

.peka-stats-card.is-visible .peka-timeline:before{

    transform:scaleX(1);
}
@keyframes pekaRing{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

} 

/* TABLETTE */

@media(max-width:1050px){

    .peka-stats-card{
        padding:30px 24px 26px;
    }

    .peka-stats-heading{
        margin-bottom:22px;
        font-size:clamp(28px,4vw,46px);
    }

    .peka-timeline{
        gap:6px;
    }

    .peka-timeline:before{
        top:66px;
    }

    .peka-timeline-year{
        font-size:15px;
    }

    .peka-timeline-dot{
        width:48px;
        height:48px;
    }

    .timeline-logo{
        width:32px;
        height:32px;
    }

    .peka-timeline-text{
        font-size:12px;
    }

.peka-stats-grid{
    grid-template-columns:repeat(5,1fr);
    gap:12px;
}

.peka-stat-number{
    font-size:34px;
}

.peka-stat-icon{
    width:44px;
    height:44px;
}

.peka-stat-label{
    font-size:13px;
}

    .peka-stat-item:nth-child(3):after{
        display:none;
    }
}
.peka-timeline-dot::after,
.peka-timeline-dot:after,
.peka-timeline-item::after,
.peka-timeline-item:after{
    display:none !important;
    content:none !important;
}

.peka-timeline:before{
    z-index:1 !important;
}

.peka-timeline-item{
    position:relative;
    z-index:2;
}

.peka-timeline-dot{
    position:relative;
    z-index:5;
}

.timeline-logo{
    position:relative;
    z-index:10;
}
/* MOBILE */

@media(max-width:680px){

    .peka-stats-banner{
        padding:24px 0 18px;
    }

    .peka-stats-card{
        padding:26px 18px;
        border-radius:18px;
    }

    .peka-stats-heading{
        gap:10px;
        margin-bottom:22px;
        font-size:32px;
    }

    .peka-timeline{
        display:block;
        margin-bottom:24px;
    }

    .peka-timeline:before{
        display:none;
    }

    .peka-timeline-item{
        display:grid;
        grid-template-columns:56px 54px 1fr;
        gap:10px;
        align-items:center;
        padding:9px 0;
        text-align:left;
        border-bottom:1px solid rgba(185,229,255,.18);
    }

    .peka-timeline-year{
        margin:0;
        font-size:15px;
    }

    .peka-timeline-dot{
        width:44px;
        height:44px;
        margin:0;
    }

.timeline-logo{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    margin:0;
 
    }

    .peka-timeline-year:after{
        display:none;
    }

    .peka-timeline-text{
        margin:0;
        font-size:14px;
    }

    .peka-stats-grid{
        display:block;
        padding-top:18px;
    }

    .peka-stat-item{
        display:grid;
        grid-template-columns:50px 88px 1fr;
        gap:10px;
        align-items:center;
        padding:12px 0;
        text-align:left;
        border-bottom:1px solid rgba(185,229,255,.18);
    }

    .peka-stat-item:not(:last-child):after{
        display:none;
    }

    .peka-stat-icon{
        width:42px;
        height:42px;
        margin:0;
        font-size:21px;
    }

    .peka-stat-number{
        font-size:30px;
    }

    .peka-stat-label{
        margin:0;
        font-size:14px;
    }

    .peka-stats-note{
        margin-top:20px;
        font-size:14px;
    }

    .peka-stats-date{
        font-size:12px;
    }
}
@keyframes pekaHalo{

    0%{

        box-shadow:
            0 0 0 rgba(0,180,255,0),
            0 8px 18px rgba(0,0,0,.18);

        transform:scale(1);
    }

    50%{

        box-shadow:
            0 0 18px rgba(0,190,255,.45),
            0 0 36px rgba(0,190,255,.22),
            0 8px 18px rgba(0,0,0,.18);

        transform:scale(1.04);
    }

    100%{

        box-shadow:
            0 0 0 rgba(0,180,255,0),
            0 8px 18px rgba(0,0,0,.18);

        transform:scale(1);
    }
