/* ============================================================
   DEPOIMENTOS — Proteção Brasil (v3)
   ============================================================ */

/* ---------- Base compartilhada ---------- */
:root{
  --azul:#1e3a8a;--azul-2:#2a4fb8;--azul-esc:#0e1c47;--azul-noite:#08122e;
  --ouro:#e6c25a;--ouro-claro:#f6dd8e;--ouro-esc:#c9a227;
  --zap:#25d366;--ok:#22c55e;--ok-2:#16a34a;
  --ink:#eef3ff;--ink-dim:#a8b8e0;--card:rgba(255,255,255,.06);--linha:rgba(255,255,255,.14);
  --ft:'Sora',system-ui,sans-serif;--fc:'Inter',system-ui,sans-serif;--raio:18px;--ease:cubic-bezier(.22,.61,.36,1);
}


img{max-width:100%;display:block}
.wrap{width:min(1180px,90%);margin:0 auto}
h2{font-family:var(--ft);font-weight:800;letter-spacing:-.02em;line-height:1.12}
section{padding:64px 0;position:relative}
.eyebrow{display:block;text-align:center;color:var(--ouro);font-family:var(--ft);font-weight:700;font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;margin-bottom:8px}
h2.tt{text-align:center;font-size:clamp(1.7rem,6.4vw,2.5rem);margin-bottom:10px}
h2.tt em{font-style:normal;color:var(--ouro)}

/* Reveal */
.rv{opacity:0;transform:translateY(28px);transition:opacity .7s var(--ease),transform .7s var(--ease);transition-delay:var(--d,0s)}
.rv.on{opacity:1;transform:none}

/* ---------- DEPOIMENTOS ---------- */
/* fundo branco — só os cards mantêm a cor */
.depo-sec{background:#ffffff;overflow:hidden}
.depo-bg{display:none}
.depo-sec .wrap{position:relative;z-index:1}
.depo-sec .eyebrow{margin-bottom:6px;color:var(--ouro-esc)}
.depo-sec h2.tt{margin-bottom:22px;color:var(--azul)}
.depo-sec h2.tt em{color:var(--ouro-esc)}
.depos-stage{position:relative}
.depos{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 2px 14px;scrollbar-width:none}
.depos::-webkit-scrollbar{display:none}
/* setas laterais (só no PC) */
.depo-arrow{position:absolute;top:calc(50% - 7px);transform:translateY(-50%);z-index:5;
  width:48px;height:48px;border-radius:50%;display:none;align-items:center;justify-content:center;cursor:pointer;
  border:1px solid rgba(14,28,71,.14);background:rgba(255,255,255,.94);color:var(--azul);
  box-shadow:0 12px 28px rgba(14,28,71,.2);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  transition:background .2s,color .2s,transform .2s,box-shadow .2s}
.depo-arrow svg{width:22px;height:22px}
.depo-arrow--prev{left:-10px}
.depo-arrow--next{right:-10px}
.depo-arrow:hover{background:var(--azul);color:#fff;box-shadow:0 16px 34px rgba(14,28,71,.3);transform:translateY(-50%) scale(1.07)}
.depo-arrow:active{transform:translateY(-50%) scale(.95)}
@media (min-width:768px){ .depo-arrow{display:flex} }
.depo{flex:0 0 86%;scroll-snap-align:center;border-radius:20px;overflow:hidden;
  background:linear-gradient(165deg,rgba(42,79,184,.22),rgba(255,255,255,.05));
  border:1px solid rgba(14,28,71,.12);
  transition:transform .22s var(--ease),border-color .22s ease,box-shadow .22s ease}
.depo:hover{transform:translateY(-5px);border-color:rgba(201,162,39,.6);box-shadow:0 10px 24px rgba(14,28,71,.1)}
.yt{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;padding:0;cursor:pointer;background:#000}
.yt img{width:100%;height:100%;object-fit:cover;opacity:.9;transition:opacity .2s,transform .35s var(--ease)}
.yt:hover img{opacity:1;transform:scale(1.05)}
.yt .pl{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.yt .pl i{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,var(--ok),var(--ok-2));box-shadow:0 0 0 0 rgba(34,197,94,.5);animation:pulso 2.2s infinite;transition:transform .2s var(--ease)}
.yt:hover .pl i{transform:scale(1.12)}
@keyframes pulso{70%{box-shadow:0 0 0 16px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
.yt .pl svg{width:22px;height:22px;fill:#fff;margin-left:3px}
.depo iframe{width:100%;aspect-ratio:16/9;border:0;display:block}
.depo .corpo{padding:18px 18px 20px;text-align:center}
.depo .fala{font-family:var(--ft);font-weight:700;font-size:1.02rem;line-height:1.4;color:var(--azul);margin-bottom:16px}
.depo .quem{display:flex;flex-direction:column;align-items:center;gap:6px}
.depo .quem > span{display:flex;flex-direction:column;align-items:center;gap:6px}
.depo .av{width:44px;height:44px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  font-family:var(--ft);font-weight:800;font-size:1.05rem;color:var(--azul-esc);
  background:linear-gradient(135deg,var(--ouro-claro),var(--ouro-esc));box-shadow:0 4px 12px rgba(201,162,39,.35)}
/* nome bem maior e destacado */
.depo .quem b{font-size:1.22rem;color:var(--azul-esc);font-family:var(--ft);font-weight:800;letter-spacing:-.01em}
.depo .quem span{font-size:.76rem;color:var(--ink-dim)}
/* empresa/veículo em destaque, como um selo */
.depo .quem b + span{display:inline-block;font-size:.78rem;color:var(--azul-esc);font-weight:700;letter-spacing:.03em;
  text-transform:uppercase;background:linear-gradient(135deg,rgba(230,194,90,.28),rgba(230,194,90,.12));
  border:1px solid rgba(201,162,39,.4);padding:3px 12px;border-radius:999px}
/* estrelas — pill dourado com brilho, mais destacado e elegante */
.depo .quem .stars{display:inline-flex;align-items:center;gap:2px;margin-top:2px;padding:4px 12px;border-radius:999px;
  background:linear-gradient(135deg,rgba(242,169,0,.14),rgba(242,169,0,.05));
  color:#f2a900;font-size:1.05rem;letter-spacing:2px;line-height:1;
  -webkit-text-fill-color:#f2a900;filter:drop-shadow(0 1px 3px rgba(242,169,0,.4))}
.dots{display:flex;justify-content:center;gap:7px;margin-top:14px}
.dots button{width:8px;height:8px;border-radius:50%;border:0;padding:0;cursor:pointer;background:rgba(14,28,71,.22);transition:background .2s,width .2s}
.dots button.on{background:var(--ouro-esc);width:22px;border-radius:5px}

/* ---------- Caminhão animado na divisa entre depoimentos e credenciada ---------- */
.truck-divider{position:relative;height:0;z-index:6;pointer-events:none}
.TruckLoader{
  position:absolute;left:0;top:0;transform:translateY(-100%);
  width:150px;height:40px;background:#3b4658;
  animation:put-put 2s infinite, move-truck 10s infinite;
  border-radius:4px;
  -webkit-box-reflect:below 15px linear-gradient(to bottom,transparent,transparent 10%,rgba(255,255,255,.1));
}
/* logo da APVS Truck como adesivo na lateral do baú, com sombra p/ destacar */
.TruckLoader-logo{
  position:absolute;inset:0;margin:auto;height:78%;width:auto;object-fit:contain;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.75)) drop-shadow(0 0 1px rgba(0,0,0,.6));
  pointer-events:none;z-index:1;
}
.TruckLoader:before,.TruckLoader:after{content:'';display:block;border-radius:50%;width:16px;height:16px;
  border:2px solid #fff;background:#222;position:absolute;bottom:-10px}
.TruckLoader:before{left:6px}
.TruckLoader:after{right:6px}
.TruckLoader-cab{position:absolute;left:-35px;bottom:0;width:33px;height:25px;background:#2b3444;border-radius:40% 0 4px 4px;
  -webkit-box-reflect:below 15px linear-gradient(to bottom,transparent,transparent 10%,rgba(255,255,255,.1));}
.TruckLoader-cab:before{position:absolute;content:'';display:block;background:#2b3444;width:20px;height:15px;top:-15px;right:0;border-radius:100% 0 0 0}
.TruckLoader-cab:after{position:absolute;content:'';display:block;border-radius:50%;width:16px;height:16px;left:5px;
  border:2px solid #fff;background:#222;bottom:-10px}
.TruckLoader-smoke,.TruckLoader-smoke:after,.TruckLoader-smoke:before{position:absolute;content:'';display:block;
  width:10px;height:10px;right:-1px;bottom:-5px;border-radius:50%;background:rgba(120,130,150,.7)}
.TruckLoader-smoke{animation:smoke-1 2s infinite}
.TruckLoader-smoke:after{animation:smoke-2 3s infinite}
.TruckLoader-smoke:before{animation:smoke-3 4s infinite}
@keyframes put-put{
  0%{margin-top:0;height:50px}5%{margin-top:-2px;height:52px}20%{margin-top:-1px;height:50px}
  35%{margin-top:1px;height:49px}40%{margin-top:-1px;height:51px}60%{margin-top:1px;height:49px}
  75%{margin-top:0;height:50px}80%{margin-top:-4px;height:52px}100%{margin-top:1px;height:49px}}
@keyframes smoke-1{0%{opacity:0}15%{opacity:.9}100%{right:-30px;bottom:5px;width:30px;height:30px;opacity:0}}
@keyframes smoke-2{0%{opacity:0}15%{opacity:.9}100%{right:-60px;bottom:8px;width:25px;height:25px;opacity:0}}
@keyframes smoke-3{0%{opacity:0}15%{opacity:.9}100%{right:-40px;bottom:2px;width:35px;height:35px;opacity:0}}
@keyframes move-truck{0%{margin-left:90%;opacity:0}10%{opacity:1}50%{margin-left:45%}90%{opacity:1}100%{margin-left:0;opacity:0}}

/* ---------- Desktop ---------- */
@media (min-width:768px){ section{padding:88px 0} .depo{flex-basis:calc((100% - 28px)/3)} }
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .rv{opacity:1;transform:none}
}
