/* ===========================================================
   BLOCO: TESTEMUNHOS — CARROSSEL HORIZONTAL
   Paleta: verde musgo + dourado — Matrix Negociações
=========================================================== */

#testemunhos{
  --t-verde-esc:#141F19;
  --t-verde-800:#1C2E23;
  --t-creme:#F7F4EC;
  --t-dourado:#CE9F3B;
  --t-dourado-claro:#E4C173;
  --t-cinza-1:#3A463D;
  --t-cinza-2:#8C9389;
  --t-fonte-titulo:'Fraunces', Georgia, serif;
  --t-fonte-corpo:'Manrope', sans-serif;
  --t-ease:cubic-bezier(.4,0,.2,1);
  --t-card-gap:24px;
  --t-duracao-transicao:600ms;
}

.teste-secao{background:var(--t-verde-esc);padding:100px 0 108px;overflow:hidden;position:relative}
.teste-caixa{max-width:1200px;margin:0 auto;padding:0 48px}

.teste-cabecalho{margin-bottom:56px;display:flex;flex-direction:column;gap:20px}
.teste-rotulo{font-family:var(--t-fonte-corpo);font-size:13px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--t-dourado-claro)}
.teste-cabecalho-linha{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap}
.teste-titulo{font-family:var(--t-fonte-titulo);font-size:clamp(26px,3.5vw,42px);font-weight:600;color:#fff;line-height:1.1}

.teste-controles{display:flex;align-items:center;gap:16px;flex-shrink:0}
.teste-btn{width:44px;height:44px;border-radius:50%;border:1px solid rgba(228,193,115,.4);background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,border-color .2s;flex-shrink:0}
.teste-btn:hover{background:rgba(228,193,115,.12);border-color:var(--t-dourado-claro)}
.teste-btn:hover svg{stroke:var(--t-dourado-claro)}
.teste-btn svg{width:18px;height:18px;stroke:rgba(255,255,255,.55);transition:stroke .2s}

.teste-paginacao{display:flex;gap:6px;align-items:center}
.teste-ponto{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.25);border:none;padding:0;cursor:pointer;transition:background .25s,transform .25s}
.teste-ponto.ativo{background:var(--t-dourado-claro);transform:scale(1.3)}

.teste-trilho-externo{overflow:hidden;position:relative}
.teste-trilho-externo::before,.teste-trilho-externo::after{content:'';position:absolute;top:0;bottom:0;width:70px;z-index:2;pointer-events:none}
.teste-trilho-externo::before{left:0;background:linear-gradient(90deg,var(--t-verde-esc),transparent)}
.teste-trilho-externo::after{right:0;background:linear-gradient(270deg,var(--t-verde-esc),transparent)}

.teste-trilho{display:flex;gap:var(--t-card-gap);transition:transform var(--t-duracao-transicao) var(--t-ease);will-change:transform;align-items:stretch}

.teste-card{flex:0 0 calc((100% - var(--t-card-gap) * 2) / 3);min-width:0;background:var(--t-verde-800);border:1px solid rgba(228,193,115,.14);border-radius:18px;padding:34px 30px 30px;display:flex;flex-direction:column;gap:18px;margin:0;position:relative;transition:border-color .3s,transform .3s}
.teste-card:hover{border-color:rgba(228,193,115,.4);transform:translateY(-4px)}

.teste-aspas{font-family:var(--t-fonte-titulo);font-size:52px;color:var(--t-dourado);line-height:.7;user-select:none;opacity:.8}
.teste-texto{font-family:var(--t-fonte-corpo);font-size:14.5px;font-weight:400;color:rgba(255,255,255,.82);line-height:1.7;flex:1}

.teste-estrelas{display:flex;gap:3px}
.teste-estrelas span{width:14px;height:20px;position:relative}
.teste-estrelas span::before{content:'★';font-size:18px;color:var(--t-dourado-claro);position:absolute}

.teste-autor{display:flex;align-items:center;gap:14px;border-top:1px solid rgba(255,255,255,.1);padding-top:18px;margin-top:4px}
.teste-avatar{width:40px;height:40px;border-radius:50%;background:var(--t-verde-esc);border:1px solid rgba(228,193,115,.3);display:flex;align-items:center;justify-content:center;font-family:var(--t-fonte-corpo);font-size:13px;font-weight:700;color:var(--t-dourado-claro);letter-spacing:.03em;flex-shrink:0}
.teste-nome{display:block;font-family:var(--t-fonte-corpo);font-size:14.5px;font-weight:700;color:#fff;margin-bottom:2px}
.teste-cargo{display:block;font-family:var(--t-fonte-corpo);font-size:12.5px;font-weight:400;color:var(--t-cinza-2)}

.teste-barra-progresso{margin-top:36px;height:1px;background:rgba(255,255,255,.1);overflow:hidden;position:relative}
.teste-barra-preenchimento{height:100%;background:var(--t-dourado);width:0%;transition:width linear}

@media(max-width:900px){
  .teste-card{flex:0 0 calc((100% - var(--t-card-gap)) / 2)}
}
@media(max-width:580px){
  .teste-caixa{padding:0 20px}
  .teste-card{flex:0 0 100%}
  .teste-trilho-externo::before,.teste-trilho-externo::after{display:none}
}
