/* ===== Carrossel de Depoimentos – Layout 2 (setas fora) ===== */
.dep-carousel{
  --dep-gap: 24px;
  --dep-radius: 16px;
  --dep-shadow: 0 8px 20px rgba(0,0,0,.10);
  --dep-card-bg: #fff;
  --dep-text: #374151;
  --dep-muted: #6B7280;
  --dep-name: #111827;
  --dep-dot: #D1D5DB;
  --dep-dot-active: #111827;
  position: relative;
  width: 100%;
  overflow: visible; /* o wrapper pode projetar elementos para fora */
}

/* Wrapper externo: referência das setas */
.dep-c-wrap{
  position: relative;
  width: 100%;
  overflow: visible; /* NÃO corta as setas */
  padding: 0 12px;   /* respiro mínimo; ajuste conforme seu grid */
}

/* ===== Viewport / Track ===== */
.dep-c-viewport{
  position: relative;
  overflow-x: hidden;   /* oculta a rolagem horizontal */
  overflow-y: visible;  /* avatar pode invadir o topo */
  padding-top: 26px;    /* espaço pro avatar “flutuante” */
}

.dep-c-track{
  display: flex;
  gap: var(--dep-gap);
  will-change: transform;
  transform: translate3d(0,0,0);
  transition: transform .35s ease;
  padding: 8px 2px;
  margin: 0 !important;
  list-style: none !important;
}
.dep-c-track > li{ list-style: none; margin: 0; padding: 0; }

/* ===== Cards (2 desktop / 1 mobile) ===== */
.dep-card{ flex: 0 0 auto; width: fit-content; }
@media (max-width: 767px){ .dep-card{ width: 100%; } }

.dep-card-inner{
  position: relative;
  background: var(--dep-card-bg);
  border-radius: var(--dep-radius);
  box-shadow: var(--dep-shadow);
  padding: 24px 0 24px; /* head/body aplicam o padding lateral */
  min-height: 220px;
}

/* Cabeçalho: avatar + nome lado a lado */
.dep-card-head{
  display: flex; align-items: center; gap: 12px;
  padding: 0 24px;
  margin-top: -23px; /* invade o topo do card */
  position: relative; z-index: 2;
}
.dep-card-avatar{
  position: static;
  width: 72px; height: 72px; flex: 0 0 72px;
  border-radius: 999px; overflow: hidden; background: #f3f4f6;
  border: 4px solid var(--dep-card-bg);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  margin-top: -15px;
}
.dep-c-avatar-img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.dep-card-heading{ display:flex; flex-direction:column;
}
.dep-card-name{ margin: 34px 0 0 0; font-weight: 700; color: var(--dep-name); font-size: 1.7rem; }
.dep-card-sub{ margin-top: 2px; font-size: 1rem; color: var(--dep-muted); }

/* Corpo */
.dep-card-body{ padding: 12px 24px 0 24px; }
.dep-card-text{ margin: 0; color: var(--dep-text); font-size: 1.4rem; line-height: 1.55; }

/* ===== Setas no WRAPPER (fora do viewport) ===== */
.dep-c-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: transparent;
  color: #777;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  font-size: 20px;
}
.dep-c-arrow[disabled]{ opacity: .4; cursor: default; }

.dep-c-arrow.prev{ left: -28px; }   /* valores negativos para ficar “fora” */
.dep-c-arrow.next{ right: -28px; }

/* aproxima em telas menores */
@media (max-width: 1280px){
  .dep-c-arrow.prev{ left: -18px; }
  .dep-c-arrow.next{ right: -18px; }
}
@media (max-width: 1024px){
  .dep-c-arrow.prev{ left: 6px; }
  .dep-c-arrow.next{ right: 6px; }
}

/* ===== Dots abaixo, centralizados ===== */
.dep-c-controls{
  position: relative; display: block; margin-top: 16px; min-height: 28px;
}
.dep-c-dots{
  display: inline-flex; gap: 8px;
  position: relative; left: 50%; transform: translateX(-50%);
}
.dep-c-dots button{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--dep-dot); border: 0; padding: 0;
}
.dep-c-dots button[aria-selected="true"]{
  background: var(--dep-dot-active); transform: scale(1.1);
}

/* quando não há rolagem (ex.: 2 cards no desktop), esconda setas e dots */
.dep-carousel.dep-c-no-scroll .dep-c-arrow { visibility: hidden; }
.dep-carousel.dep-c-no-scroll .dep-c-dots  { display: none; }