header .logo-desktop,
header .logo-mobile-menu {
  width: 160px;
  margin: 1rem 0;
}

.navbar-nav .nav-link {
  transition: 0.3s;
  margin: 0 2px;
  position: relative;
}
.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}
.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.375rem;
  width: 0;
  height: 0.125rem;
  background-color: var(--primary-color);
  border-radius: 6.25rem;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link:hover::before {
  width: 100%;
}

.navbar-nav .nav-link.active::before {
  width: 100%;
}

/* FOOTER */
footer {
  background-color: var(--light);
  margin-top: 3rem;
}
footer .logo-desktop {
  max-width: 200px;
}
footer h3 {
  margin-top: 0;
  font-size: 18px;
  color: var(--dark);
  font-weight: 600;
}
footer h3::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2.4px;
  background-color: var(--primary-color);
  border-radius: 6.25rem;
  margin-top: 3px;
}
footer .footer__nav li a:not(.btn) {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--dark);
  transition: 0.3s;
}
footer .footer__nav li a i {
  font-size: 10px;
}
footer .footer__nav li a:hover {
  color: var(--primary-color);
}
footer .address :is(span, a):not(.btn) {
  color: var(--dark);
  font-size: 14px;
  line-height: 25px;
  transition: 0.3s;
}
footer .address a:not(.btn):hover {
  color: var(--primary-color);
}
footer i {
  color: var(--primary-color);
}

.copyright-footer .btn.selos {
  min-height: unset;
}
@media screen and (max-width: 992.05px) {
  footer .social {
    justify-content: center;
  }
}

.card.card--23 {
  all: unset;
  display: flex;
  flex-flow: column nowrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  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;
  float: unset;
  min-height: 10rem;
}
.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;
}
.title-box {
  padding: 8px 16px;
  border-radius: 1.5rem;
  border: 1px solid var(--primary-color);
  background: rgba(204, 33, 40, 0.1);
  color: var(--primary-color);
  font-weight: 500;
}
.line-01 {
  position: relative;
}
.line-01::after {
  content: "";
  display: block;
  width: 6.5625rem;
  height: 0.25rem;
  background-color: var(--primary-color);
  border-radius: 6.25rem;
}
.line-02 {
  position: relative;
}
.line-02::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.375rem;
  transform: translateX(-50%);
  width: 6.5625rem;
  height: 0.25rem;
  background-color: var(--primary-color);
  border-radius: 6.25rem;
}
/* MVV */
.card-mvv {
  transition: 0.3s;
}
.card-mvv:hover {
  transform: translateY(-30px);
}
.card-mvv img {
  width: 64px;
  height: 64px;
  aspect-ratio: 1/1;
  object-fit: contain;
}

/* CARD SERVICOS */
.card--servico {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 22rem;
  transition: 0.8s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card--servico .servico__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: 0.3s;
}
.card--servico .servico__content {
  position: absolute;
  bottom: 0;
  text-align: center;
  padding: 0.9375rem;
  max-height: 7.3rem;
  overflow: hidden;
  transition: 0.8s;
  z-index: 4;
}

.card--servico .servico__content p,
.card--servico .servico__content a {
  opacity: 0;
  transition: 0.8s;
}

.card--servico:hover .servico__content p,
.card--servico:hover .servico__content a {
  opacity: 1;
}

.card--servico:hover .servico__content {
  max-height: 100%;
}

.card--servico:hover {
  transform: translateY(-15px);
}

.card--servico:hover::after {
  opacity: 1;
}

.card--servico .servico__title {
  position: relative;
}

.card--servico .servico__title::before {
  content: "";
  position: absolute;
  width: 50%;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  background-color: var(--light);
  border-radius: 6.25rem;
  height: 0.1375rem;
  width: 6rem;
  transition: 0.3s;
}
.card--servico:hover .servico__title::before {
  background-color: var(--primary-color);
  width: 10rem;
}

/* POP UP */

.bg-popup {
  width: 800px;
  min-height: 600px;
}

@media screen and (max-width: 1024px) {
  .bg-popup img {
    max-height: 400px;
  }
}
