/* TEH STATS COUNTER — Design moderne */
.teh-stat{
    --teh-blue:#193353;
    --teh-blue-light:#2a4a75;
    --teh-green:#507a2e;
    --teh-orange:#e05512;
    --teh-orange-light:#f07a3a;
    --teh-accent:#507a2e;
    background:linear-gradient(135deg,var(--teh-blue) 0%,var(--teh-blue-light) 50%,var(--teh-green) 100%);
    border-radius:28px;
    padding:56px 40px;
    position:relative;
    overflow:hidden;
    color:#fff;
    box-sizing:border-box;
    max-width:100%;
}
.teh-stat::before{
    content:'';
    position:absolute;
    top:-120px;right:-120px;
    width:340px;height:340px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(224,85,18,.25),transparent 65%);
    z-index:0;
}
.teh-stat::after{
    content:'';
    position:absolute;
    bottom:-100px;left:-100px;
    width:260px;height:260px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(80,122,46,.4),transparent 70%);
    z-index:0;
}

.teh-stat__grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px;
    position:relative;
    z-index:1;
}
.teh-stat--row .teh-stat__grid{grid-template-columns:repeat(4,minmax(0,1fr));}

.teh-stat__item{
    text-align:center;
    padding:24px 16px;
    border-radius:20px;
    background:rgba(255,255,255,.06);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.12);
    transition:all .5s cubic-bezier(.25,.8,.25,1);
    opacity:0;
    transform:translateY(20px);
    animation:tehStatFadeUp .7s cubic-bezier(.25,.8,.25,1) forwards;
    animation-delay:calc(var(--d,0) * 100ms);
    min-width:0;
    box-sizing:border-box;
}
.teh-stat__item:nth-child(1){--d:0;}
.teh-stat__item:nth-child(2){--d:1;}
.teh-stat__item:nth-child(3){--d:2;}
.teh-stat__item:nth-child(4){--d:3;}
@keyframes tehStatFadeUp{to{opacity:1;transform:translateY(0);}}

.teh-stat__item:hover{
    transform:translateY(-6px);
    background:rgba(255,255,255,.1);
    border-color:rgba(224,85,18,.5);
    box-shadow:0 16px 40px rgba(0,0,0,.2);
}

/* Icone dans cercle gradient */
.teh-stat__icon-wrap{
    width:72px;height:72px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-orange-light));
    display:flex;align-items:center;justify-content:center;
    margin:0 auto 20px;
    box-shadow:0 12px 28px rgba(224,85,18,.4);
    transition:all .5s cubic-bezier(.25,.8,.25,1);
    flex-shrink:0;
}
.teh-stat__item:hover .teh-stat__icon-wrap{
    transform:scale(1.1) rotate(-8deg);
    box-shadow:0 18px 36px rgba(224,85,18,.55);
}
.teh-stat__icon{font-size:32px;color:#fff;}

/* Nombre */
.teh-stat__number{
    font-size:clamp(2.4rem,4.5vw,3.4rem);
    font-weight:900;
    line-height:1;
    margin:0 0 10px;
    color:#fff;
    letter-spacing:-.03em;
    text-shadow:0 4px 20px rgba(0,0,0,.2);
    word-break:break-word;
}
.teh-stat__label{
    font-size:13.5px;
    color:rgba(255,255,255,.92);
    line-height:1.4;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
    word-wrap:break-word;
    overflow-wrap:break-word;
    hyphens:auto;
}

/* ══ RESPONSIVE ══ */
/* Tablette: 2 colonnes */
@media(max-width:1024px){
    .teh-stat{padding:40px 24px;border-radius:24px;}
    .teh-stat__grid,
    .teh-stat--row .teh-stat__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
    .teh-stat__item{padding:22px 14px;}
}
/* Mobile: 2 colonnes compactes */
@media(max-width:640px){
    .teh-stat{padding:28px 16px;border-radius:20px;}
    .teh-stat__grid,
    .teh-stat--row .teh-stat__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
    .teh-stat__item{padding:20px 10px;border-radius:16px;}
    .teh-stat__icon-wrap{width:56px;height:56px;margin-bottom:14px;}
    .teh-stat__icon{font-size:24px;}
    .teh-stat__number{font-size:2rem;margin-bottom:6px;}
    .teh-stat__label{font-size:11px;letter-spacing:.3px;}
}
/* Très petit: 1 colonne */
@media(max-width:380px){
    .teh-stat__grid,
    .teh-stat--row .teh-stat__grid{grid-template-columns:1fr;}
}
