header {
  background-color: #FFF;
}

header .logo-desktop {
  margin: .5rem 0;
  width: 100%;
  max-width: 250px;
}

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

.navbar-expand-lg .navbar-nav .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: .875em;

  color: #FFF;
  font-size: 0.9375rem;
  text-align: center;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  background-color: var(--light);
  color: var(--primary-color) !important;
  text-transform: uppercase;
}

@media screen and (max-width: 576px) {
  header .navbar-brand{ flex:1; }
}

@media screen and (min-width: 992.05px) {
  .navbar-expand-lg > .container {
    align-items: stretch !important;
  }

  header:has(.header-bg-primary) {
    background-image: linear-gradient(to right, var(--light) 50%, var(--primary-color) 50%);
  }

  header .navbar-brand,
  header .header-bg-primary {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
  }

  header .header-bg-primary {
    background-color: var(--primary-color);
  }

  header .header-bg-primary > address {
    border-bottom: 2px solid #FAFAFA;
  }

  header .header-bg-primary :where(address, .offcanvas) {
    padding-left: 1.5rem;
    padding-block: 1.25rem;
  }
}

/* FOOTER */
footer {
  background-color: #F6F6F6;
  margin-top: 3rem;
}

footer .logo-desktop {
  width: 100%;
  max-width: 240px;
}

footer h3 {
  margin-top: 0;
  font-size: 18px;
  color: var(--dark);
  position: relative;
}

footer h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0;
}

footer .footer__nav li a:not(.btn) {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--dark);
  transition: .3s;
  text-transform: uppercase;
  font-weight: 600;
}

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: .3s
}

footer .address a:not(.btn):hover {
  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
}

.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 .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: .5rem .75rem;
  font-size: .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: .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, .25) 0 2px 5px -1px, rgba(0, 0, 0, .3) 0 1px 3px -1px
}

.title-subtitle {
  margin-bottom: 0
}

.title-subtitle span {
  display: block;
  font-size: .9rem;
  color: #000;
  line-height: 1rem;
  letter-spacing: .25rem;
  text-transform: uppercase
}

.bg-ins {
  background-color: rgba(20, 72, 159, 0.05);
  border: 1px solid rgba(16, 58, 127, 0.15);
  display: inline-block;
  font-size: 18px;
  border-radius: 20px;
  padding: 10px;
  color: var(--primary-color);
  text-transform: uppercase;
}

.w-85 {
  width: 95%;
}

.top-custom {
  top: 28rem;
}

.pb-custom {
  padding-bottom: 14rem;
}

.pt-custom {
  padding-top: 10rem;
}

@media screen and (max-width: 768px) {
  .top-custom {
    top: 0;
  }

  .bg-topo {
    background: var(--light) !important;
  }

  .pt-custom {
    padding-top: 14rem;
  }

  .pb-custom {
    padding-bottom: 14rem;
  }

  footer h3::after {
    display: none;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    color: var(--dark);
  }

  #dropdown-custom::after {
    display: none;
  }
}

.title {
  position: relative;
}

.title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0;
}

.title-2 {
  position: relative;
}

.title-2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px auto 0;
}

.h-custom {
  height: 51rem !important;
  aspect-ratio: 1/1;
}

.galeria-1__thumb {
  display: flex !important;
  width: 100%;
  height: 260px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}

.galeria-1__thumb::before {
  content: '\f002';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  font-size: 2rem;
  color: #fff;
  scale: 0;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
}

.galeria-1__thumb:hover::before {
  scale: 1;
  opacity: 1;
  border-radius: 0;
}

.galeria-1__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.card-servicos {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  --bar-h: 52px;
  height: 100%;
}

.card-servicos__image img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* Painel */
.card-servicos__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  transform: translateY(calc(100% - var(--bar-h)));
  transition: transform 0.4s ease;
}

/* Barra */
.card-servicos__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--bar-h);
  padding: 14px 18px;
  gap: 12px;
}

.card-servicos__bar-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  /* ocupa o espaço disponível */
  min-width: 0;
  /* *** importante p/ ellipsis + flex */
  line-height: 1.2;
}

.card-servicos__arrows {
  flex: 0 0 28px;
  /* reserva largura para o ícone */
  height: 28px;
  display: flex;
  align-items: center;
  /* centraliza verticalmente */
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  /* evita “andar” pela linha-base */
}

.card-servicos__arrows i {
  display: block;
  line-height: 1;
}


/* Conteúdo */
.card-servicos__content {
  padding: 0 18px 18px 18px;
}

.card-servicos__description {
  font-size: 14px;
  color: #444;
  margin: 0 0 14px;
}

.card-servicos__btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 28px;
  background: var(--primary-color);
  color: #fff;
  width: 100%;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s ease;
}

.card-servicos__btn:hover {
  background: var(--dark);
}

/* Hover */
.card-servicos:hover .card-servicos__overlay {
  transform: translateY(0);
}

.card-servicos:hover .card-servicos__image img {
  transform: scale(1.04);
}

.card-servicos__arrow--down {
  color: var(--primary-color);
  opacity: 1;
  transition: opacity .25s ease;
}

.card-servicos__arrow--up {
  opacity: 0;
  transition: opacity .25s ease;
}

.card-servicos:hover .card-servicos__arrow--down {
  opacity: 0;
}

.card-servicos:hover .card-servicos__arrow--up {
  opacity: 1;
  color: var(--primary-color);
}

.icon-mvv {
  width: 4rem;
  height: 4rem;
  font-size: 23px;
}

.mpi-topo {
  background-color: #6D6D6D;
}