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

/* Bootstrap 5 removeu o utilitário .text-justify do Bootstrap 4 */
.text-justify {
  text-align: justify;
}

/* MVV */
.mvv-card {
  --mvv-blue: var(--primary-color);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 2px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  height: 400px;
}
.mvv-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 0;
  background-color: var(--mvv-blue);
  transition: height 0.45s ease-out;
}
.mvv-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin: 1.5rem;
  border: 1px solid var(--bs-border-color-translucent);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-body-bg);
  text-align: center;
  row-gap: 15px;
}
.mvv-card__icon {
  color: var(--primary-color);
  flex-shrink: 0;
  transition: color var(--transition);
}
.mvv-card__title {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.375rem;
  font-family: var(--secondary-font);
}
.mvv-card__text,
.mvv-card__text p {
  color: var(--bs-secondary-color);
  font-size: 1rem;
  line-height: 1.45;
}
.mvv-card:hover,
.mvv-card:focus-within {
  border-color: var(--mvv-blue);
  box-shadow: 0 0 0 1px var(--mvv-blue);
}
.mvv-card:hover::before,
.mvv-card:focus-within::before {
  height: 50%;
}
.mvv-card:hover .mvv-card__icon,
.mvv-card:focus-within .mvv-card__icon {
  color: var(--mvv-blue);
}

@media (prefers-reduced-motion: reduce) {
  .mvv-card,
  .mvv-card::before {
    transition: none;
  }
}

/* FOOTER */
footer {
  background-color: #f6f6f6;
  margin-top: 3rem;
}
footer .logo-desktop {
  max-width: 200px;
}
footer h3 {
  margin-top: 0;
  font-size: 1.125rem;
  color: var(--dark);
}
footer .footer__nav li a:not(.btn) {
  display: block;
  padding: 5px 0;
  font-size: 1rem;
  color: var(--dark);
  transition: 0.3s;
}
footer .footer__nav li a i {
  font-size: 1rem;
}
footer .footer__nav li a:hover {
  color: var(--primary-color-dark);
}
footer .address :is(span, a):not(.btn) {
  color: var(--dark);
  font-size: 1rem;
  line-height: 25px;
  transition: 0.3s;
}
footer .address a:not(.btn):hover {
  color: var(--primary-color-dark);
}

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

html {
  scroll-behavior: smooth;
}
footer .footer__back-to-top {
  font-size: 0.9375rem;
}
footer .footer__back-to-top span.rounded-circle {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: var(--dark);
  border-color: var(--bs-border-color) !important;
  transition: 0.3s;
}
footer .footer__back-to-top:hover span.rounded-circle {
  background-color: var(--primary-color);
  border-color: var(--primary-color) !important;
  color: var(--light);
}
footer .footer__map {
  line-height: 0;
}
footer .footer__map iframe {
  display: block;
}

.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;
}

.title-default {
  font-size: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}

.title-default span {
  position: relative;
  font-size: 0.875rem;
  padding-top: 5px;
}

.title-default span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--primary-color);
  height: 3px;
  width: 24px;
}

.card.card--reveal {
  background: var(--background) no-repeat !important;
  background-size: cover !important;
  border-radius: 1.5rem;
  width: 100%;
  height: 25.625rem;
  padding: 1rem;
  display: flex;
  justify-content: flex-end;
}

.card.card--reveal .card__box {
  border-radius: 1rem;
  background: var(--bs-body-bg);
  width: 100%;
  padding: 1rem;
  gap: 12px;
  transition: 0.3s ease;
}

.card.card--reveal .card__title {
  color: #4a4848;
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
}

.card.card--reveal .card__content {
  overflow: hidden;
  max-height: 0;
  transition: var(--transition);
}

.card.card--reveal {
  background: var(--background) no-repeat !important;
  background-size: cover !important;
  border-radius: 1.5rem;
  width: 100%;
  height: 25.625rem;
  padding: 1rem;
  display: flex;
  justify-content: flex-end;
}

.card.card--reveal:hover .card__content,
.card.card--reveal:focus-within .card__content {
  overflow: hidden;
  max-height: 300px;
}

.card.card--reveal.card.card--reveal .card__content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.btn-cta {
  background-color: #fff;
  color: black;
  border-radius: 30px;
  transition: 0.4s;
}

.btn-cta:hover {
  background-color: var(--light);
}


/* ================= SERVIÇOS - DETALHE ================= */
.service-text-content p {
  text-align: justify;
}

.service-text-content ul,
.service-text-content ol {
  text-align: left;
}

.service-text-content ul li,
.service-text-content ol li {
  text-align: justify;
}


/* Ajuste específico para a imagem do cartão de Sustentabilidade */
.card.card--reveal[style*="sustentabilidade"] {
    background-size: contain !important;
    background-color: #ffffff !important;
    background-position: center !important;
}