@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-blue);
		white-space: nowrap;
		transition: 0.3s;
	}
	.navbar.scrolled a,
	.navbar.scolled a:focus {
		color: var(--color-blue);
	}

	.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;
	}
	
	#servicos {
		.box {
			width: 70px;
			padding-inline: 0.5rem;
		}
	}
}

@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 {
				height: 70px;
				transform: translateY(15%);
			}
		}
	}

	section {
		min-height: 530px;
	}
	section .content {
		text-align: center;
	}
	section#hero {
		text-align: unset;
		min-height: 500px;
	}
	ul li {
		list-style-position: inside;
	}

	#hero .banner {
		min-height: 500px;
	}

	#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 {
		height: unset;
		min-height: unset;

		& .container {
			padding-block: 2.5rem;

			& .d-flex {
				justify-content: center;
			}
		}

		& .bg {
			& img {
				width: 100%;
				object-position: left;
			}
		}

		& .to_left {
			& .rectangle {
				margin-inline: auto;
			}
		}
	}

	#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 {
		overflow: hidden;

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

			width: 40%;

			padding: 0.65rem 0.75rem;

			&.active {
				min-width: 55%;
			}
		}

		& .services {
			flex-wrap: wrap;
			justify-content: center;

			width: 100%;
		}
	}

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

	footer {
		& .address {
			width: 50%;
			flex: unset;

			margin-bottom: 1rem;

			&:nth-child(2), &:nth-child(4) {
				border-right: 0;
			}
		}
	}

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