header .logo-desktop,
header .logo-mobile-menu {
  width: 160px;
  margin: 1rem 0;
}

@media screen and (min-width: 992px) {
  header:not(.headerFixed) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
  }
  header:not(.headerFixed) #header-nav {
    background: transparent;
  }
  header:is(.headerFixed) #header-nav {
    background: var(--primary-color);
  }
  header .nav-link {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    padding: 10px 0;
    color: var(--light);
    position: relative;
  }
  header .navbar-nav .nav-link.active,
  header .nav-link:hover,
  header .nav-link:focus-visible {
    color: var(--light);
  }
  header .nav-link::before {
    content: "";
    width: 0;
    height: 2px;
    display: block;
    background: var(--light);
    position: absolute;
    bottom: 0;
    left: 5%;
    transition: 0.3s;
  }
  header .nav-link:hover::before,
  header .nav-link:focus-visible::before,
  header .nav-link.active::before {
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
  header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--dark);
  }
}

/* FOOTER */
footer {
  background-color: var(--primary-color-dark);
}
footer .logo-desktop {
  max-width: 160px;
}
footer h3 {
  position: relative;
  margin-top: 0;
  font-size: 1.125rem;
  color: var(--light);
}

footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  background-color: var(--secondary-color);
  height: 3px;
  width: 30px;
}

footer .footer__nav li a:not(.btn) {
  display: block;
  padding: 5px 0;
  font-size: 1.125rem;
  color: var(--light);
  transition: 0.3s;
}
footer .footer__nav li a i {
  font-size: 1rem;
}
footer .footer__nav li a:hover {
  color: var(--primary-color-light);
}
footer .address :is(span, a):not(.btn) {
  color: var(--light);
  font-size: 1rem;
  line-height: 25px;
  transition: 0.3s;
}
footer .address a:not(.btn):hover {
  color: var(--primary-color-light);
}

.copyright-footer .btn.selos {
  min-height: unset;
}
@media screen and (max-width: 992.05px) {
  footer .social {
    justify-content: center;
  }
}

.card.card--23 {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-flow: column nowrap;
  gap: 1rem;
  background-color: var(--dark);
  background-image:
    linear-gradient(-45deg, var(--dark), var(--grey)), var(--card-background);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: multiply, normal;
  border-radius: 1rem;
  padding: 1rem;
  position: relative;
  height: 100%;
}
.card.card--23:focus-within,
.card.card--23:hover {
  box-shadow: 0 0 0 2px var(--secondary-color);
}
.card.card--23 .card__title {
  color: #fff;
  font-size: 1.25rem;
  text-shadow: 0 0 0.25rem var(--dark);
  margin: 0;
  min-height: calc(1.25rem * 2 * 1.3);
}
.card.card--23 .card__link {
  z-index: 1;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-flow: row nowrap;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  transition: var(--transition);
  color: var(--light);
  font-weight: 600;
  border: 2px solid currentColor;
  border-radius: 99px;
}
.card.card--23 .card__link > span {
  width: 0;
  max-width: fit-content;
  opacity: 0;
  transition: var(--transition);
}
.card.card--23 .card__link:focus > span,
.card.card--23 .card__link:hover > span {
  width: 100px;
  opacity: 1;
  margin-right: 0.5rem;
}
.card.card--23 .card__link::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  backface-visibility: visible;
}
.card.card--23 .card__link:focus,
.card.card--23 .card__link:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.shadow-19 {
  box-shadow:
    rgba(50, 50, 93, 0.25) 0 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0 1px 3px -1px;
}

.title-subtitle {
  margin-bottom: 0;
}
.title-subtitle span {
  display: block;
  font-size: 0.9rem;
  color: #000;
  line-height: 1rem;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
}

/* ================= CLIENTES ================= */
.clientes .clientes__item {
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}
.clientes .clientes__item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  margin: 0 auto;
  opacity: 0.75;
  border-radius: var(--bs-border-radius-sm);
  transition: opacity var(--transition);
}
.clientes .clientes__item:hover img {
  opacity: 1;
}

/* ================= DEPOIMENTOS ================= */
.testimonial .testimonial-author-image {
  width: 100%;
  max-width: 64px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 999px;
}

.card-prod {
  border: 1px solid #efefef;
  background: #fafafa;
}

.bg-primary-linear {
  background:
    linear-gradient(180deg, #00053f 3.45%, rgba(0, 5, 63, 0) 22.8%),
    linear-gradient(0deg, #00053f 0%, #000968 100%);
}

.form-cta {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
}

.form-cta:focus {
  background: rgba(255, 255, 255, 0.05);
  color: #fafafa;
}

.form-cta option {
  color: black;
}

.form--cta {
  border-radius: 16px;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(9px);
}

.form-cta::placeholder {
  color: #fafafa;
}

.splide-prod .splide__pagination {
  bottom: -60px;
}

.instagram-feed .card {
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
}

.instagram-feed .card:hover {
  transform: translateY(-4px);
}

.splide-banner .splide__slide {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: #0a1a5c;
}

/* Painel ajustado para a proporção real do vídeo vertical (480x848) */
.splide-banner .splide__video-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%; /* área revelada pelo recorte diagonal do overlay */
  height: 100%;
  overflow: hidden;
  background: #0a1a5c;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.splide-banner .splide__video-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* agora cover funciona bem, pois a proporção do container já é próxima da do vídeo */
  object-position: center center;
}

.splide-banner .splide__video-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 48, 0.4);
  z-index: 1;
  pointer-events: none;
}

/* Chevron por cima, ajustado para a nova largura do painel */
.splide-banner .splide__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000324;
  z-index: 1;
  pointer-events: none;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 70,0 74,50 70,100 0,100' fill='black'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 70,0 74,50 70,100 0,100' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
}

.splide-banner .splide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.splide-banner .splide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.splide-banner .splide__slide::after {
  display: none;
}

.splide-banner .splide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.splide-banner .splide__pagination {
  padding: 0 1em;
  max-width: 1120px;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: start;
  margin: 0 auto;
  bottom: 10rem;
  left: 0;
}

.splide-banner .splide__pagination {
  padding: 0 1em;
  max-width: 1120px;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: start;
  margin: 0 auto;
  bottom: 10rem;
  left: 0;
}

.splide-banner .splide__pagination__page {
  width: 64px;
  height: 8px;
  border-radius: 8px;
}

.splide-banner .splide__pagination__page.is-active {
  background: var(--secondary-color);
  transform: scale(1);
  z-index: 1;
}
