nav {
  height: 74px;
  line-height: 74px;
}

.navbar-toggler {
  border: 1px solid #0099d7;
  padding: 0.25rem 0.5rem;
  display: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 153, 215, 0.25);
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%230099d7' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  filter: none !important;
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%230099d7' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {
  .navbar-toggler {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    display: none !important;
  }

  .navbar-collapse.show {
    display: block !important;
  }
}

.navbar-brand {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  margin-right: 0;
}

.navbar-brand img {
  width: auto;
  max-width: 200px;
  max-height: 54px;
  height: auto;
  object-fit: contain;
}

@media screen and (max-width: 991.98px) {
  .navbar-brand {
    max-width: 60%;
    flex-shrink: 1;
  }

  .navbar-brand img {
    max-width: 100%;
    max-height: 55px;
    width: auto;
  }
}

@media screen and (max-width: 576px) {
  .navbar-brand {
    max-width: 50%;
  }

  .navbar-brand img {
    max-height: 50px;
  }
}

@media screen and (max-width: 480px) {
  .navbar-brand {
    max-width: 45%;
  }

  .navbar-brand img {
    max-height: 45px;
  }
}

nav .brand-logo {
  height: 100%;
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

nav .brand-logo img {
  display: block;
  max-width: 100%;
}

nav .right {
  height: 100%;
  display: flex;
  align-items: center;
}

/* No Bootstrap, a lista da direita vira coluna no mobile dentro do collapse */
@media (max-width: 991.98px) {
  nav .right {
    align-items: stretch;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  nav .right button {
    width: 100%;
    margin: 6px 0;
  }

  #btnEmpresa {
    margin-right: 0;
  }
}

#btnEmpresa {
  margin-right: 10px;
  width: 160px;
}

nav .right button {
  height: 45px;
  line-height: 45px;
  width: 150px;
  font-size: 0.9em;
  background-color: #0099d7;
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

nav .right button:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Estilização dos botões na navbar */
#navbarContent {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Em telas grandes, o menu deve estar sempre visível */
@media (min-width: 992px) {
  #navbarContent {
    display: flex !important;
  }
}

#navbarContent .btn {
  height: 45px;
  line-height: 45px;
  width: 150px;
  font-size: 0.9em;
  background: #0099d7 !important;
  background: linear-gradient(to right,
      #0099d7,
      #02a3ee) !important;
  color: #fff !important;
  border: none;
  padding: 0 20px;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

#navbarContent .btn:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  color: #fff !important;
  text-decoration: none;
}

#navbarContent #btnEmpresa {
  width: 160px;
}

/* Ajustes para mobile */
@media (max-width: 991.98px) {
  #navbarContent {
    display: none;
    flex-direction: column;
    padding: 0;
    gap: 0;
    margin: 0;
  }

  #navbarContent.show {
    display: flex !important;
    padding-top: 15px;
    padding-bottom: 15px;
    gap: 12px;
  }

  #navbarContent .btn {
    width: 100%;
    margin: 0;
  }

  #navbarContent #btnEmpresa {
    width: 100%;
  }
}

#intro {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  background: url("../../img/background3.jpg") no-repeat center top !important;
  background-size: cover !important;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#intro .full-bg-img {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

#intro .py-5 {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

.navbar:not(.top-nav-collapse) {
  background: transparent !important;
}

#intro h1 {
  font-size: 3.5em;
}

#intro .h6 {
  font-weight: 300;
  line-height: 1.7;
}

@media (max-width: 450px) {
  .margins {
    margin-right: 1rem;
    margin-left: 1rem;
  }
}

#pricing .lead {
  opacity: 0.7;
}

#pricing .card-image {
  background: url("../../img/background3.jpg") no-repeat center center;
  height: 10%;
}

#pricing ul li {
  font-size: 1.1em;
}

#intro .rgba-black-strong {
  background-color: rgba(0, 0, 0, 0.7) !important;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

#intro a {
  height: 50px;
  line-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#features {
  min-height: 300px;
  margin: 0;
}

#features>div {
  min-height: 300px;
  display: flex;
  align-items: center;
}

#features>div:nth-child(1),
#features>div:nth-child(3) {
  background: #0099d7 !important;
  background: linear-gradient(to right,
      #00aeea,
      #0099e0) !important;
}

footer {
  background: #0099d7 !important;
  background: linear-gradient(to left,
      #00aeea,
      #0099e0,
      #00aeea) !important;
}

#btnLogin {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0099d7 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#btnLogin:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

footer img {
  width: 65px;
  height: auto;
}

.footer-copyright {
  text-align: center !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-copyright a {
  display: block;
  width: 100%;
  text-align: center !important;
}

.footer-copyright .container-fluid {
  text-align: center !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-copyright p {
  text-align: center !important;
  margin: 0;
  width: 100%;
}