/* ==========================================================
   Correções de Responsividade - x3 Transport
   ========================================================== */

/* ----------------------------------------------------------
   TIPOGRAFIA - Open Sans (igual ao site institucional)
   ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* ----------------------------------------------------------
   IMAGENS RESPONSIVAS GLOBAIS
   ---------------------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
}
/* Logo do navbar não deve ser cortada */
.navbar-brand img {
  max-width: none;
  height: auto;
}

/* ----------------------------------------------------------
   SLIDER / HERO - ajuste para mobile
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  .flexslider .container .carousel-caption h1 {
    font-size: 20px !important;
    line-height: 26px !important;
  }
  .flexslider .container .carousel-caption .lead {
    font-size: 13px !important;
  }
  .full_page_photo section.call_to_action h3 {
    font-size: 26px !important;
    line-height: 32px !important;
  }
  .full_page_photo section.call_to_action h4 {
    font-size: 15px !important;
    line-height: 21px !important;
  }
}

/* ----------------------------------------------------------
   CALL TO ACTION (seção central da home)
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  section.call_to_action {
    padding: 20px 15px 25px;
  }
  section.call_to_action h3 {
    font-size: 28px !important;
    line-height: 34px !important;
  }
  section.call_to_action h4 {
    font-size: 15px !important;
    line-height: 22px !important;
  }
  section.call_to_action .btn-lg {
    white-space: normal;
    width: 100%;
    max-width: 300px;
  }
}

/* ----------------------------------------------------------
   FEATURE TEASERS - 2 colunas no celular
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  section.features_teasers_wrapper {
    margin: 15px 0 10px;
  }
  section.features_teasers_wrapper .feature_teaser {
    margin-bottom: 20px;
  }
  section.features_teasers_wrapper .feature_teaser img {
    max-width: 70px;
    height: auto;
  }
}

/* ----------------------------------------------------------
   FOOTER - fundo escuro + links rápidos
   ---------------------------------------------------------- */
footer {
  background: #1c1c1c !important;
}

#footer_teasers_wrapper .footer_teaser a {
  color: #aaa;
  text-decoration: none;
}
#footer_teasers_wrapper .footer_teaser a:hover {
  color: #fff;
}
#footer_teasers_wrapper .footer_teaser .fa {
  color: #428bca;
  margin-right: 6px;
}

section.copyright {
  background: #111 !important;
  color: #aaa;
}
section.copyright a { color: #aaa; }
section.copyright a:hover { color: #fff; }

/* ----------------------------------------------------------
   FOOTER - iframe Facebook responsivo
   ---------------------------------------------------------- */
.facebook-iframe-wrapper {
  width: 100%;
  overflow: hidden;
}
.facebook-iframe-wrapper iframe {
  width: 100% !important;
  max-width: 500px;
  display: block;
}

@media (max-width: 767px) {
  .footer_teaser {
    margin-bottom: 20px;
  }
  .facebook-iframe-wrapper iframe {
    height: 200px !important;
  }
  section.copyright .text-right {
    text-align: left !important;
  }
}

/* ----------------------------------------------------------
   MAPA DE CONTATO
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  section.hgroup iframe[src*="google.com/maps"] {
    height: 220px !important;
  }
}

/* ----------------------------------------------------------
   PÁGINA SOLUÇÕES - oculta sidebar no mobile
   ---------------------------------------------------------- */
@media (max-width: 991px) {
  .bs-docs-sidebar {
    display: none !important;
  }
  .main.bs-docs-container .col-md-10 {
    width: 100%;
    padding-left: 15px;
  }
}

/* ----------------------------------------------------------
   CLIENTES - logos com tamanho padronizado
   ---------------------------------------------------------- */
.portfolio_strict .portfolio_item {
  margin-bottom: 10px !important;
}
.portfolio_strict .portfolio_item figure {
  background-size: contain;
  background-color: #ffffff !important;
  height: 120px !important;
}
.portfolio_strict [class*="col-"] {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  .portfolio_strict .portfolio_item figure {
    height: 90px !important;
  }
}

/* ----------------------------------------------------------
   BANNER FULL PAGE PHOTO - mobile (solucoes.php, etc.)
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  .full_page_photo {
    min-height: 200px !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* ----------------------------------------------------------
   NAVBAR MOBILE
   ---------------------------------------------------------- */

/* Botão hambúrguer visível em smartphones */
@media (max-width: 767px) {
  .navbar .btn-navbar,
  .navbar .navbar-toggle {
    display: block !important;
    float: right;
    margin-top: 18px;
    margin-right: 10px;
    cursor: pointer;
  }

  /* Menu expandido ocupa largura total */
  .navbar-collapse {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    border-top: 1px solid #e5e5e5;
  }
  .navbar-collapse.in {
    display: block !important;
  }

  /* Itens do menu empilhados */
  .navbar-nav {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .navbar-nav > li {
    float: none !important;
    display: block !important;
    width: 100% !important;
  }
  .navbar-nav > li > a {
    display: block !important;
    padding: 12px 15px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    text-align: left !important;
  }
  .navbar-nav > li > a:hover,
  .navbar-nav > li.active > a {
    background-color: #f5f5f5 !important;
  }

  /* Remove pull-right que empurra o menu para fora da tela */
  .nav.pull-right {
    float: none !important;
  }
}

/* ----------------------------------------------------------
   BOTÃO VOLTAR AO TOPO - não sobrepor WhatsApp
   ---------------------------------------------------------- */
#toTop {
  bottom: 70px;
}
