.tracking-frame {
  display: none;
  visibility: hidden;
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.privacy-consent {
  clear: both;
  margin-top: 14px;
  text-align: left;
}

.privacy-consent label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.privacy-consent input {
  margin-right: 7px;
  vertical-align: middle;
}

.form-security-note {
  clear: both;
  margin: 12px 0 0;
  color: #666;
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
}

.form-alert {
  margin: 0 auto 20px;
  max-width: 920px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
}

.form-alert--success {
  border-color: #b7dfc4;
  background: #edf9f1;
  color: #176b36;
}

.form-alert--error {
  border-color: #efc2c2;
  background: #fff2f2;
  color: #8b2020;
}

.legal-page {
  padding: 140px 20px 70px;
}

.legal-page__content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: 24px;
}

.legal-page h2 {
  margin-top: 32px;
  font-size: 23px;
}

/* Página de contato: estrutura independente da grade legada. */
.contact-page {
  padding-top: 42px;
}

.contact-page__top {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0 -15px 55px;
}

.contact-page__details,
.contact-page__map {
  padding: 0 15px;
}

.contact-page__details {
  display: flex;
  width: 25%;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.contact-detail {
  margin-bottom: 28px;
}

.contact-detail--last {
  margin-bottom: 0;
}

.contact-detail p {
  margin: 13px 0 0;
}

.contact-detail p > a {
  display: inline-block;
}

.contact-detail .icon-lg {
  display: block;
  color: #ddd;
  font-size: 58px;
  line-height: 1;
}

.contact-page__map {
  width: 75%;
}

.contact-map {
  min-height: 450px;
  overflow: hidden;
  background: #f5f5f5;
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 450px;
  border: 0;
}

.contact-page__form {
  clear: both;
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.contact-page__form .lead-title {
  margin-bottom: 28px;
}

.contact-form__grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -7px;
}

.contact-form__grid .form-group {
  width: 50%;
  margin: 0;
  padding: 0 7px 16px;
}

.contact-form__grid .contact-form__full {
  width: 100%;
}

.contact-form .form-control {
  width: 100%;
}

.contact-form select.form-control {
  padding: 0 16px;
}

.contact-form textarea.form-control {
  height: auto;
  min-height: 150px;
  resize: vertical;
}

.contact-form__submit {
  margin-top: 24px;
  text-align: center;
}

/* Ajustes globais de usabilidade em telas menores, sem alterar o desktop. */
html,
body {
  overflow-x: hidden;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #3DADDE;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  /* Nenhum conteúdo do site deve aumentar a largura útil da tela. */
  img,
  iframe,
  video,
  embed,
  object {
    max-width: 100%;
  }

  img {
    height: auto;
  }

  /* Vitrine da página inicial: altura legível e sem o logotipo cortado. */
  #banner-about-fullscreen,
  #banner-about-fullscreen .home-carousel,
  #banner-about-fullscreen .owl-stage-outer,
  #banner-about-fullscreen .owl-stage,
  #banner-about-fullscreen .owl-item,
  #banner-about-fullscreen .banner-title-3 {
    min-height: 255px;
  }

  #banner-about-fullscreen .home-carousel {
    margin-top: 0;
  }

  #banner-about-fullscreen .banner-title-3 {
    position: relative;
    overflow: hidden;
  }

  #banner-about-fullscreen .banner-title-3.owl-item > img {
    width: 100%;
    height: 255px;
    min-height: 255px;
    padding: 0;
    object-fit: cover;
  }

  #banner-about-fullscreen .logo-vit {
    display: none;
  }

  #banner-about-fullscreen .vc-text {
    padding: 20px 22px;
  }

  #banner-about-fullscreen .banner-title-3 h1,
  #banner-about-fullscreen .banner-title-3 h2 {
    margin: 0;
    font-size: clamp(25px, 7vw, 34px);
    line-height: 1.22;
    letter-spacing: 4px;
    overflow-wrap: anywhere;
  }

  /* As imagens com padding legado continuam dentro dos cards. */
  #services-list .entry > article > img {
    box-sizing: border-box;
    max-width: 100%;
  }

  .page-header .logo {
    height: 52px;
    margin-bottom: 6px;
  }

  .menu-icon {
    min-width: 54px;
    min-height: 54px;
    margin-right: 12px !important;
    padding: 9px 8px;
    text-align: center;
  }

  .container > .navbar-collapse {
    height: calc(100svh - 68px);
    max-height: calc(100svh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-nav > li {
    height: auto;
    min-height: 48px;
  }

  .navbar-nav > li > a {
    padding: 12px 26px;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 24px;
  }

  .navbar-nav .open .dropdown-menu > li > a,
  .navbar-nav .dropdown-menu > li > a {
    height: auto;
    min-height: 42px;
    padding: 8px 30px 8px 42px;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 20px;
    white-space: normal;
  }

  .btnContato {
    right: 12px;
    bottom: 10px;
    left: 12px;
    width: auto;
  }

  .btnContatoBtn {
    padding: 0;
  }

  .btnPrincipal {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 13px;
    letter-spacing: 1px;
  }

  /* Cabeçalho compacto e equilibrado nas páginas internas de serviço. */
  .header-middle {
    padding: 12px 0;
  }

  .header-middle .container,
  .header-middle .row {
    margin-right: 0;
    margin-left: 0;
  }

  .header-middle .row {
    display: flex;
    align-items: center;
  }

  .header-middle .row > [class*="col-"] {
    float: none;
    width: 50% !important;
    padding-right: 8px;
    padding-left: 8px;
  }

  .header-middle .welcm-header-middle {
    margin: 0;
    text-align: center;
  }

  .header-middle .ulockd-main-logo img {
    width: 145px;
    max-width: 100%;
    margin: 0;
  }

  .header-middle .ulockd-ohour-info.style2 {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .header-middle .ulockd-ohour-info .ulockd-icon {
    display: none;
  }

  .header-middle .ulockd-ohour-info .ulockd-info h3 {
    display: none;
  }

  .header-middle .ulockd-addrss {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
  }

  .header-middle .mobile-ocult {
    display: none !important;
  }

  /* O menu interno permanece navegável, inclusive com listas longas. */
  nav.navbar.bootsnav .navbar-collapse {
    max-height: min(62svh, 480px);
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  nav.navbar.bootsnav .navbar-toggle {
    min-height: 44px;
    padding: 8px 0;
  }

  nav.navbar.bootsnav ul.nav li a {
    padding-top: 13px;
    padding-bottom: 13px;
    line-height: 1.45;
  }

  nav.navbar.bootsnav li.dropdown ul.dropdown-menu li a {
    padding: 10px 12px;
    line-height: 1.45;
  }

  .contact-page {
    padding-top: 30px;
  }

  .contact-page__top {
    display: block;
    margin-bottom: 38px;
  }

  .contact-page__details,
  .contact-page__map {
    width: 100%;
  }

  .contact-page__details {
    display: block;
    margin-bottom: 30px;
  }

  .contact-detail {
    margin-bottom: 24px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 300px;
  }

  .contact-page__form .lead-title {
    display: block;
    margin-bottom: 24px;
    font-size: 22px;
    line-height: 1.4;
  }

  .contact-form__grid {
    margin: 0;
  }

  .contact-form__grid .form-group {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .privacy-consent,
  .form-security-note {
    font-size: 13px;
  }
}
