@media (min-width: 1400px) {
	.container {
		max-width: min(85%, 1640px);
	}
}

@media (min-width: 1280px) {
	.mobile-nav-show {
		display: none;
	}
}

@media (min-width: 1366px) and (max-width: 1600px) {
	#hero .swiper-slide {
		padding: 0 5%;
	}

	.blog .card {
		margin: 20px 0;
	}
}

@media (min-width: 1280px) and (max-width: 1366px) {
	.navbar .dropdown .dropdown ul {
		left: -90%;
	}

	.navbar .dropdown .dropdown:hover > ul {
		left: -100%;
	}

	#hero .swiper-slide {
		padding: 0 5%;
	}

	.blog .card {
		margin: 20px 0;
		min-height: 560px;
	}

	#diferenciais {
		height: 590px;
	}
}

@media (max-width: 1279px) {
	#navbar_dir {
		top: 125px;
		display: none;
	}

	.navbar > ul > li > a:before {
		display: none;
	}

	.mobile-nav-active #navbar_dir.navbar:before {
		background-color: transparent;
	}

	.mb_only {
		display: block;
	}

	.navbar {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		max-width: 300px;
		bottom: 0;
		transition: 0.3s;
		z-index: 9997;
	}

	.navbar ul {
		display: block;
		position: absolute;
		inset: 0;
		padding: 50px 0 10px 0;
		margin: 0;
		background: #fff;
		overflow-y: auto;
		transition: 0.3s;
		z-index: 10001;
	}

	.navbar.scrolled ul {
		display: block;
		position: absolute;
		inset: 0;
		padding: 50px 0 10px 0;
		margin: 0;
		background: var(--color-white);
		overflow-y: auto;
		transition: 0.3s;
		z-index: 10001;
	}

	.navbar a,
	.navbar a:focus {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 10px 20px;
		font-family: var(--font-default);
		font-size: 15px;
		font-weight: 600;
		color: var(--color-green);
		white-space: nowrap;
		transition: 0.3s;
	}
	.navbar.scrolled a,
	.navbar.scolled a:focus {
		color: var(--color-green);
	}

	.navbar .current-menu-item a,
	.navbar.page .current-menu-item a {
		color: var(--color-secondary);
	}

	.navbar > ul > li {
		padding: 0;
	}

	.navbar a i,
	.navbar a:focus i {
		font-size: 12px;
		line-height: 0;
		margin-left: 5px;
	}

	.navbar a:hover,
	.navbar .active,
	.navbar .active:focus,
	.navbar li:hover > a {
		color: var(--color-red);
	}

	.navbar .button,
	.navbar .button:focus,
	.navbar.scrolled .button,
	.navbar .button:focus,
	.navbar.page .button,
	.navbar.page .button:focus {
		margin: 0 20px;
	}

	.navbar .dropdown ul,
	.navbar .dropdown .dropdown ul {
		position: static;
		display: none;
		padding: 10px 0;
		margin: 10px 20px;
		transition: all 0.5s ease-in-out;
		border: 1px solid #19335c;
	}

	.navbar .dropdown > .dropdown-active,
	.navbar .dropdown .dropdown > .dropdown-active {
		display: block;
	}

	.navbar .menu-item-has-children ul,
	.navbar .menu-item-has-children .menu-item-has-children ul {
		position: static;
		display: block;
		padding: 10px 0;
		box-shadow: none;
		margin: 0px 20px;
		transition: all 0.5s ease-in-out;
		border: none;
		visibility: visible;
		opacity: 1;
	}

	.mobile-nav-active .navbar {
		right: 0;
	}

	.mobile-nav-hide {
		color: #fff;
		font-size: 32px;
		cursor: pointer;
		line-height: 0;
		transition: 0.5s;
		position: fixed;
		left: 90%;
		top: 25px;
		z-index: 9999;
	}
}

@media (min-width: 993px) and (max-width: 1279px) {
	/* Container */
	.container {
		max-width: 85%;
	}
}

/* Mobile */
@media (min-width: 320px) and (max-width: 992px) {
	.navbar .current-menu-item a:before,
	.navbar.page .current-menu-item a:before {
		visibility: hidden;
		width: 0;
	}
	.navbar .social {
		display: none;
	}

	.btn {
		height: 40px;
	}

	.section-title {
		text-align: center;
	}

	#header {
		& .logo {
			& img {
				width: 180px;
        height: auto;
			}
		}
	}
	section .content {
		text-align: center;
	}
	section#hero {
		text-align: unset;
		min-height: unset;
    height: unset;
	}
	ul li {
		list-style-position: inside;
	}

	#hero .banner {
		min-height: 250px;
    height: 300px;
    position: relative;
	}

	#hero .banner .text-banner {
		& .text {
			margin-bottom: 0;
		}
	}
	/* #hero .banner::before {
		content: "";
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: rgba(0, 0, 0, 0.25);
		z-index: 2;
	} */

	#quem-somos {
		.foto {
      order: 1;

      & img {
        margin-bottom: -35%;
      }
    }
	}

  #brasil {
    height: unset;
    padding-block: 3rem;

    & .content {
      text-align: center;

      & .rectangle {
        margin-inline: auto;
      }

      & .d-flex {
        &.matriz {
          padding-inline: 6.25rem 0;
        }

        &.mb-md-0 {
          justify-content: center;
        }
      }
    }
  }

  #servicos {
    & .box {
      justify-items: center;
      text-align: center;
    }
  }

	footer {
		padding-block: 0.25rem 2.25rem;
	}
	footer .logo {
		width: 40%;
		margin-bottom: 1.25rem;
	}
	footer .infos {
		text-align: center;
	}

	#wa_button {
		bottom: 0px;
		right: -45px;
	}
}
