/*------------------- CASES (depoimentos) — compartilhado entre Home e Solução 2.0 ---------------------*/
:root {
  --cases-peek: 24px;
}
#cases {
  position: relative;
  overflow: hidden;
}
#cases .container {
  overflow: visible;
}
#cases .titulo {
  text-align: center;
}
#cases .content-text {
  text-align: center;
  margin-bottom: 30px;
}
.cases-videos.swiper {
  overflow: visible;
  margin-bottom: 30px;
}
.cases_loop .swiper-wrapper {
  margin-left: calc(-1 * var(--cases-peek));
}
.btn_next_prev {
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.case-prev,
.case-next {
  width: 30px;
  height: 30px;
  padding: 7px;
  border: 2px solid var(--cor-cinza);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: border-color .2s ease, transform .2s ease;
}
.case-prev:hover,
.case-next:hover {
  border-color: var(--cor-bordo);
}
.case-prev:hover svg,
.case-next:hover svg {
  fill: var(--cor-bordo);
}
.case-prev {
  transform: rotate(180deg);
}
.cases-item {
    position: relative;
    border-radius: 15px;
    min-height: 29rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 13.75rem 1.875rem 0;
    background-color: var(--cor-preto);
    transition: transform .3s ease, box-shadow .3s ease;
    overflow: hidden;
}
.cases-item:hover {
  transform: translateY(-5px)!important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}
.cases-item:hover .case-overlay{
  background: linear-gradient(0deg, rgb(161 51 84) 0%, rgb(0 0 0 / 60%) 52%, rgb(0 0 0 / 0%) 100%);
  transition: transform .3s ease all;
}
.cases-item .case-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgb(0 0 0 / 60%) 52%,
    rgb(0 0 0 / 0%) 100%
  );
  pointer-events: none;
}
.cases-item .cases-infos {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 15.25rem;
  padding-bottom: 1.6875rem;
}
.cases-item .cases-infos .play-video {
  margin-bottom: 1.875rem;
  width: 4.6875rem;
  height: 4.6875rem;
  border-radius: 50%;
  border: 1px solid #ffffffbf;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  background-color: #d9d9d985;
  cursor: pointer;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cases-item .cases-infos .play-video:hover {
  box-shadow: 0 0 10px var(--cor-bordo-claro);
  border: 1px solid var(--cor-bordo-claro);
  transform: scale(1.1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cases-item .cases-infos .play-video:hover path{
  fill: var(--cor-bordo-claro);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cases-item .cases-infos .nome {
  font-size: 14px;
  line-height: 1;
  margin-bottom: 10px;
  text-align: center;
  color: var(--cor-branco);
}
.cases-item .cases-infos .nome strong {
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    color: var(--cor-branco);
    display: block;
}
.case-logo{
  height: 35px;
}
.case-logo path,
.case-logo rect{
  fill: #cbcbcb;
}
.lightbox-video {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}
.lightbox-video.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  width: 1200px;
  max-width: 90%;
  background: transparent;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}
.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.lightbox-close {
  position: absolute;
  top: -1.875rem;
  right: -10px;
  font-size: 32px;
  line-height: 22px;
  color: var(--cor-branco);
  cursor: pointer;
  border: 2px solid var(--cor-branco);
  border-radius: 100px;
  height: 25px;
  width: 25px;
  text-align: center;
  z-index: 999;
}
@media only screen and (max-width: 1366px) {
  .cases-item .cases-infos .nome strong {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
  }
  .cases-item .cases-infos .nome {
    font-size: 12px;
    line-height: 1;
    margin-bottom: 10px;
  }
  .cases-item .cases-infos .play-video {
    width: 3.6875rem;
    height: 3.6875rem;
  }
  .cases-item .cases-infos .play-video svg {
    width: 15px!important;
  }
}
@media only screen and (max-width: 1023px) {
  .case-prev,
  .case-next {
    width: 35px;
    height: 35px;
  }
  .btn_next_prev {
    margin-bottom: 0;
  }
  .cases-item {
    min-height: 300px;
    background-position: 50% 30%;
  }
  .cases-item .cases-infos {
    height: 20rem;
    justify-content: flex-end;
    padding-bottom: 2.5rem;
  }
  .case-logo {
    height: 20px;
    width: auto;
  }
  .cases-item .cases-infos .nome {
        margin-bottom: 15px;
  }
  .cases-item .cases-infos .nome strong {
    font-size: 16px;
    line-height: 18px;
  }
  .case-prev, .case-next {
    width: 30px;
    height: 30px;
  }
}
@media only screen and (max-width: 950px) {
  .cases-item .cases-infos .nome {
    font-size: 12px;
    line-height: 20px;
  }
}
@media only screen and (max-width: 768px) {
  .cases-item {
    min-height: 450px;
    background-position: 50% 18%;
  }
  .cases-item .case-overlay {
    height: 50%;
  }
  .cases-item .cases-infos {
    min-height: 310px;
    gap: 20px;
  }
  .cases-item .cases-infos .play-video {
    margin-bottom: 0;
    width: 8.6875rem;
    height: 8.6875rem;
  }
  .cases-item .cases-infos .nome strong {
    font-size: 18px;
    line-height: 32px;
  }
  :root {
    --cases-peek: 16px;
  }
}
@media only screen and (max-width: 599px) {
  .cases-item .cases-infos .play-video {
    width: 12.6875rem;
    height: 12.6875rem;
  }
}
@media only screen and (max-width: 480px) {
  .cases-item {
    background-position: 50% 12%;
  }
}
