/* ═══ TEH GALLERY CAROUSEL — Design moderne ═══ */
.tehg{
    --teh-blue:#193353;
    --teh-blue-light:#2a4a75;
    --teh-green:#507a2e;
    --teh-orange:#e05512;
    --teh-orange-light:#f07a3a;
    --teh-accent:#507a2e;
    position:relative;padding:0 60px;
}
.tehg-header{text-align:center;margin-bottom:36px;}
.tehg-heading{
    font-size:clamp(26px,3.5vw,38px);
    font-weight:900;
    margin:0 0 12px;
    background:linear-gradient(135deg,var(--teh-blue),var(--teh-green));
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    letter-spacing:-.02em;
    line-height:1.15;
}
.tehg-sub{font-size:16px;color:#5a6478;margin:0;line-height:1.65;font-weight:500;}
.tehg-vp{overflow:hidden;}
.tehg-track{display:flex;transition:transform .6s cubic-bezier(.25,.8,.25,1);--cols:4;}
.tehg-slide{min-width:calc(100% / var(--cols));padding:0 8px;box-sizing:border-box;flex-shrink:0;}

/* Thumbnail moderne */
.tehg-thumb{
    height:280px;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    border-radius:20px;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    transition:all .5s cubic-bezier(.25,.8,.25,1);
    box-shadow:0 4px 20px rgba(25,51,83,.1);
}
.tehg-thumb::before{
    content:'';
    position:absolute;
    inset:0;
    border-radius:20px;
    padding:2px;
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-green));
    -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
            mask-composite:exclude;
    opacity:0;
    transition:opacity .4s;
    pointer-events:none;
    z-index:2;
}
.tehg-thumb:hover{
    transform:translateY(-8px) scale(1.02);
    box-shadow:0 20px 48px rgba(25,51,83,.25);
}
.tehg-thumb:hover::before{opacity:1;}

/* Zoom overlay moderne avec gradient */
.tehg-zoom{
    position:absolute;inset:0;
    background:linear-gradient(135deg,rgba(25,51,83,.65),rgba(80,122,46,.55));
    display:flex;align-items:center;justify-content:center;
    opacity:0;
    transition:opacity .4s cubic-bezier(.25,.8,.25,1);
    pointer-events:none;
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
}
.tehg-zoom svg{
    width:56px;height:56px;
    padding:14px;
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-orange-light));
    border-radius:50%;
    box-shadow:0 12px 32px rgba(224,85,18,.5);
    transform:scale(.7);
    transition:transform .4s cubic-bezier(.34,1.56,.64,1);
}
.tehg-thumb:hover .tehg-zoom{opacity:1;}
.tehg-thumb:hover .tehg-zoom svg{transform:scale(1);}

/* Arrows modernes */
.tehg-arrow{
    position:absolute;top:50%;transform:translateY(-50%);
    width:52px;height:52px;border-radius:50%;
    border:2px solid rgba(25,51,83,.12);
    background:#fff;
    cursor:pointer;
    display:flex;align-items:center;justify-content:center;
    transition:all .4s cubic-bezier(.25,.8,.25,1);
    padding:0;z-index:3;
    color:var(--teh-blue);
    box-shadow:0 4px 16px rgba(25,51,83,.08);
}
.tehg-arrow svg{width:22px;height:22px;}
.tehg-arrow:hover{
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-orange-light));
    border-color:transparent;
    color:#fff;
    transform:translateY(-50%) scale(1.1);
    box-shadow:0 12px 32px rgba(224,85,18,.4);
}
.tehg-arrow--prev{left:0;}
.tehg-arrow--next{right:0;}

/* Responsive */
@media(max-width:1024px){.tehg-track{--cols:3!important;}}
@media(max-width:768px){
    .tehg-track{--cols:2!important;}
    .tehg{padding:0 10px;}
    .tehg-arrow{display:none;}
    .tehg-thumb{height:240px;border-radius:16px;}
}
@media(max-width:480px){
    .tehg-track{--cols:1!important;}
    .tehg-thumb{height:260px;}
}
