/* LIF Lab — ajustes de responsividade */

html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

#buy-now {
  display: none !important;
}

/* Um único logo — nunca empilhar variantes */
#logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 56px;
}

header .logo-main,
header .logo-scroll,
header .logo-mobile {
  /* fallback se ainda existirem noutras páginas */
  max-width: 220px;
  max-height: 56px;
}

@media only screen and (max-width: 992px) {
  header.header-light,
  header.header-mobile.header-light {
    background: #ffffff !important;
  }

  header.header-light #mainmenu a.menu-item,
  header.header-mobile.header-light #mainmenu a.menu-item {
    color: #2f3d52 !important;
  }

  header.header-light #menu-btn,
  header.header-mobile.header-light #menu-btn {
    color: #2f3d52 !important;
    background: transparent !important;
  }

  #logo img {
    max-width: 170px;
    max-height: 48px;
  }

  .menu_side_area {
    width: auto !important;
    margin-left: 0 !important;
  }

  #section-intro .abs.abs-centered {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  #section-intro h1 {
    font-size: clamp(28px, 7vw, 48px) !important;
    line-height: 1.15 !important;
  }

  .mh-800 {
    min-height: 520px !important;
  }

  #subheader {
    padding-top: 40px !important;
    padding-bottom: 30px !important;
  }

  #subheader h1 {
    font-size: 28px !important;
  }

  #subheader .crumb {
    justify-content: center;
  }
}

@media only screen and (max-width: 767px) {
  #logo img {
    max-width: 140px !important;
    max-height: 42px !important;
  }

  /* No mobile só um logo visível */
  header #logo img + img {
    display: none !important;
  }

  header .btn-main {
    display: none !important;
  }

  #section-intro .abs.abs-centered {
    padding-left: 15px;
    padding-right: 15px;
  }

  #section-intro h1 {
    font-size: 30px !important;
  }

  .hero-meta {
    font-size: 13px;
  }

  .mh-800 {
    min-height: 440px !important;
  }

  .fs-32 {
    font-size: 24px !important;
  }

  .p-40 {
    padding: 24px !important;
  }

  footer .col-lg-4,
  footer .col-lg-6 {
    margin-bottom: 30px;
  }

  .subfooter .de-flex {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .subfooter .menu-simple {
    justify-content: center;
  }

  .ul-check.cols-2 {
    columns: 1 !important;
  }

  /* Evitar altura absurda do body por plugins */
  body {
    height: auto !important;
    min-height: 100% !important;
  }

  header.header-mobile:not(.menu-open) {
    height: auto !important;
  }

  footer.section-dark {
    display: block !important;
    position: relative !important;
    z-index: 2;
    clear: both;
  }
}

@media only screen and (max-width: 480px) {
  #logo img {
    max-width: 120px !important;
    max-height: 38px !important;
  }

  #section-intro h1 {
    font-size: 26px !important;
  }

  .mh-800 {
    min-height: 400px !important;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
