/* TEH FAQ TABS — Design moderne */
.teh-faq{
    --teh-blue:#193353;
    --teh-blue-light:#2a4a75;
    --teh-green:#507a2e;
    --teh-orange:#e05512;
    --teh-orange-light:#f07a3a;
    --teh-accent:#507a2e;
    max-width:980px;
    width:100%;
    margin:0 auto;
    padding:20px;
    box-sizing:border-box;
}

.teh-faq__header{text-align:center;margin-bottom:48px;}
.teh-faq__heading{
    font-size:clamp(1.8rem,3.5vw,2.6rem);
    font-weight:900;
    margin:0 0 14px;
    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.1;
}
.teh-faq__subheading{
    font-size:16px;
    color:#5a6478;
    margin:0;
    line-height:1.65;
    font-weight:500;
}

/* Tabs modernes avec scroll horizontal mobile */
.teh-faq__tabs{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
    margin-bottom:36px;
    padding-bottom:4px;
}
.teh-faq__tab{
    background:#fff;
    border:2px solid rgba(25,51,83,.1);
    padding:12px 22px;
    border-radius:50px;
    font-size:14px;
    font-weight:700;
    color:var(--teh-blue);
    cursor:pointer;
    display:inline-flex;align-items:center;gap:8px;
    transition:all .4s cubic-bezier(.25,.8,.25,1);
    font-family:inherit;
    letter-spacing:.2px;
}
.teh-faq__tab i{font-size:15px;color:var(--teh-orange);transition:color .35s;}
.teh-faq__tab:hover{
    border-color:var(--teh-orange);
    transform:translateY(-2px);
    box-shadow:0 8px 24px rgba(224,85,18,.15);
}
.teh-faq__tab.is-active{
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-orange-light)) !important;
    background-color:var(--teh-orange) !important;
    color:#fff !important;
    border-color:transparent !important;
    box-shadow:0 10px 28px rgba(224,85,18,.4) !important;
    transform:translateY(-2px);
}
.teh-faq__tab.is-active i{color:#fff !important;}
.teh-faq__tab.is-active span{color:#fff !important;}

/* Panels */
.teh-faq__panel{display:none;}
.teh-faq__panel.is-active{display:block;animation:tehFaqFade .5s cubic-bezier(.25,.8,.25,1);}
@keyframes tehFaqFade{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}

/* Items moderne avec card subtle */
.teh-faq__item{
    background:#fff;
    border:1px solid rgba(25,51,83,.08);
    border-radius:18px;
    margin-bottom:14px;
    overflow:hidden;
    transition:all .4s cubic-bezier(.25,.8,.25,1);
    box-shadow:0 2px 12px rgba(25,51,83,.04);
    max-width:100%;
    box-sizing:border-box;
}
.teh-faq__item:hover{
    border-color:rgba(224,85,18,.3);
    box-shadow:0 12px 36px rgba(25,51,83,.1);
    transform:translateY(-1px);
}
.teh-faq__item.is-open{
    border-color:var(--teh-orange);
    box-shadow:0 16px 40px rgba(224,85,18,.15);
}

/* Question bouton moderne */
.teh-faq__question{
    width:100%;
    padding:22px 24px;
    background:transparent;
    border:none;
    text-align:left;
    font-size:15.5px;
    font-weight:700;
    color:var(--teh-blue);
    cursor:pointer;
    display:flex;align-items:center;justify-content:space-between;
    gap:16px;
    font-family:inherit;
    line-height:1.45;
    transition:color .3s;
    letter-spacing:-.005em;
    box-sizing:border-box;
    min-width:0;
}
.teh-faq__question>span{
    display:block;
    flex:1 1 0;
    min-width:0;
    max-width:100%;
    word-wrap:break-word;
    overflow-wrap:break-word;
    word-break:break-word;
    hyphens:auto;
    white-space:normal;
}
.teh-faq__question:hover{color:var(--teh-orange);}

/* Chevron avec gradient circulaire */
.teh-faq__chevron{
    width:34px;height:34px;
    padding:8px;
    background:rgba(25,51,83,.06);
    border-radius:50%;
    flex-shrink:0;
    transition:all .4s cubic-bezier(.25,.8,.25,1);
    color:var(--teh-blue);
    box-sizing:border-box;
}
.teh-faq__item.is-open .teh-faq__chevron{
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-orange-light));
    color:#fff;
    transform:rotate(180deg);
    box-shadow:0 6px 16px rgba(224,85,18,.4);
}

/* Answer */
.teh-faq__answer{max-height:0;overflow:hidden;transition:max-height .5s cubic-bezier(.4,0,.2,1);}
.teh-faq__answer-inner{
    padding:0 24px 24px;
    font-size:14.5px;
    color:#4a5568;
    line-height:1.7;
    font-weight:400;
    word-wrap:break-word;
    overflow-wrap:break-word;
}
.teh-faq__answer-inner::before{
    content:'';
    display:block;
    height:1px;
    background:linear-gradient(90deg,var(--teh-orange),var(--teh-green),transparent);
    margin-bottom:18px;
    opacity:.3;
}

/* ══ RESPONSIVE ══ */
@media(max-width:768px){
    .teh-faq{padding:16px 12px;}
    .teh-faq__tabs{gap:8px;margin-bottom:28px;}
    .teh-faq__tab{padding:10px 14px;font-size:12.5px;letter-spacing:.1px;}
    .teh-faq__tab i{font-size:13px;}
    .teh-faq__item{margin-bottom:10px;border-radius:14px;overflow:hidden !important;max-width:100% !important;}
    .teh-faq__question{
        padding:16px 14px !important;
        font-size:14px !important;
        gap:10px !important;
        line-height:1.4 !important;
        white-space:normal !important;
        max-width:100% !important;
        align-items:flex-start !important;
    }
    .teh-faq__question>span{
        display:-webkit-box !important;
        -webkit-box-orient:vertical !important;
        -webkit-line-clamp:3 !important;
        line-clamp:3 !important;
        flex:1 1 0 !important;
        min-width:0 !important;
        max-width:100% !important;
        white-space:normal !important;
        word-wrap:break-word !important;
        overflow-wrap:break-word !important;
        word-break:normal !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        hyphens:auto !important;
    }
    .teh-faq__item.is-open .teh-faq__question>span{
        -webkit-line-clamp:unset !important;
        line-clamp:unset !important;
        display:block !important;
        overflow:visible !important;
    }
    .teh-faq__chevron{
        width:30px !important;height:30px !important;padding:7px !important;
        flex-shrink:0 !important;margin-top:2px !important;
    }
    .teh-faq__answer-inner{padding:0 14px 18px;font-size:14px;line-height:1.65;}
    .teh-faq__answer-inner::before{margin-bottom:14px;}
}
@media(max-width:420px){
    .teh-faq__question{padding:14px 12px !important;font-size:13.5px !important;gap:8px !important;}
    .teh-faq__chevron{width:28px !important;height:28px !important;padding:6px !important;}
    .teh-faq__tab{padding:9px 12px;font-size:12px;}
    .teh-faq__tab span{max-width:none;}
}
