* {
	scroll-behavior: smooth;
}

::selection {
    background-color: #162061	;
    color: #fff;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	font-family: roboto;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	overflow-x: hidden;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a, p {
	text-decoration: none;
	font-weight: 300;
}

a {
	display: block;
	transition: all .2s;
}

a:hover {
	transform: scale(1.05);
}

.container {
	width: 80%;
	margin: 0 auto;
}

.d-flex {
	display: flex;
	justify-content: space-between;
}

.button a {
	background-color: #FFD906;
	color: #C91717FC;
	font-size: 2rem;
	font-weight: bold;
	text-align: center;
	padding: 1rem 2rem;
	max-width: 550px;
	width: 100%;
	display: inline-block;
}

.title {
	font-size: 2.5rem;
	display: flex;
	align-items: center;
}

.title span {
	padding: 0 1rem;
}

.title:before {
	display: block;
  	content: "";
  	border-bottom: 0;
  	-webkit-box-flex: 1;
  	-ms-flex-positive: 1;
  	flex-grow: 1;
  	border-top: solid 4px #CA8646;
}

.title:after {
	display: block;
  	content: "";
  	border-bottom: 0;
  	-webkit-box-flex: 1;
  	-ms-flex-positive: 1;
  	flex-grow: 1;
  	border-top: solid 4px #CA8646;
}

/************** HEADER **************/

.cabecalho {
	padding: 1rem 0;
	align-items: center;
}

.logo img {
	max-width: 250px;
	width: 100%;
}

.tel a {
	font-weight: bold;
	font-size: 2rem;
	color: #1E2043;
}

.menu {
	background-color: #CA8646;
	padding: 1rem 0;
}

.menu ul {
	display: flex;
	justify-content: center;
}

.menu ul a {
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0 2rem;
}



/************** BANNER **************/

.banner {
	min-height: 650px;
	position: relative;
}

.banner__bg {
	background: url('assets/images/xadrez.jpg') no-repeat;
	background-size: cover;
	background-position: bottom left;
	width: 100%;
	min-height: 650px;
}

.banner__bg:before {
	content: '';
	background-color: #1E2043;
	width: 100%;
	min-height: 650px;
	opacity: 0.7;
	display: block;
	position: absolute;
}

.banner__text {
	position: absolute;
	top: 50%;
	left: 10%;
	transform: translateY(-50%);
	max-width: 40%;
}

.banner__text h2 {
	font-size: 4rem;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
}

.banner__text p {
	font-size: 2rem;
	color: #CA8646;
	font-weight: normal;
	margin: 2rem 0;
}


/************** QUEM SOMOS **************/

.quem-somos {
	padding: 4rem 0;
}

.quem-somos__grid {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.quem-somos__grid img {
	max-width: 400px;
	width: 100%;
}

.quem-somos__text .title span {
	color: #1E2043;
}

.quem-somos__text {
	padding: 4rem;
}

.quem-somos__text p {
	font-size: 1.3rem;
	line-height: 2rem;
	margin: 2rem 0;
}


/************** QUEM SOMOS **************/

.servicos {
	padding: 4rem 0;
	background-color:  #CA8646;
}


.servicos .title {
	padding: 0 5rem;
}

.servicos .title span {
	color: #fff;
}

.servicos .title:before,
.servicos .title:after {
	border-top: solid 4px #1E2043;
}

.servicos__grid {
	margin-top: 4rem;
}

.servicos__item {
	display: flex;
	align-items: center;
	align-content: center;
	height: 320px;
	margin: 2rem 0;
}

.servicos__item img {
	height: 100%;
	object-fit: cover;
}

.servicos__text {
	background-color: #1E2043;
	color: #fff;
	padding: 0 2rem;
	width: 100%;
	height: 100%;
}

.servicos__content {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	height: auto;
}

.servicos__text h4 {
	font-size: 2rem;
	padding-bottom: 1rem;
	border-bottom: solid 2px #CA8646;
	text-align: left;
	display: block;
}

.servicos__text p {
	line-height: 1.3rem;
	margin-top: 1rem;
}

.servicos .button a {
	margin: 4rem auto 0 auto;
	display: block;
}


/************** FOOTER **************/

footer {
	padding: 4rem 0;
	background-color: #1E2043;
	color: #fff;
}

.footer__grid h3 {
	font-size: 2rem;
	font-weight: bold;
	margin-bottom: 2rem;
}

.footer__grid h4 {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 1rem;
}

.footer__grid p {
	margin-bottom: 2rem;
}


/************** QUERIES **************/

@media screen and (max-width: 1100px) {
	.container {
		width: 90%;
	}

	.button a {
		font-size: 1.3rem;
		max-width: 350px;
		margin: 0 auto;
		display: block;
		padding: 1rem;
		white-space: nowrap;
	}

	.banner,
	.banner__bg,
	.banner__bg:before {
		min-height: 520px;
	}

	.banner__text {
		max-width: 100%;
		left: 0;
		padding: 0 1rem;
		text-align: center;
	}
	.banner__text p {
		text-align: center;
	}

	.servicos__item,
	.quem-somos__grid {
		flex-direction: column;
		height: auto;
	}
	.servicos__item img {
		width: 100%;
		max-height: 350px;
		object-fit: cover;
	}
	.servicos__text {
		width: 100%;
		padding: 0;
	}
	.servicos__content {
		top: 0;
		transform: none;
		padding: 2rem;
	}
}

@media screen and (max-width: 700px) {

	.cabecalho {
		flex-direction: column;
	}

	.logo {
		margin-bottom: 2rem;
	}

	.menu ul {
		display: flex;
		justify-content: space-between;
		padding: 0 1rem;
	}

	.menu ul a {
		margin: 0;
		text-align: center;
	}

	.banner__text h2 {
		font-size: 3rem;
	}

	.quem-somos__text {
		padding: 2rem 0;
	}

	.servicos .title {
		padding: 0 1rem;
	}

	.footer__grid {
		text-align: center;
	}
}


@media screen and (max-width: 400px) {
	.menu ul {
		flex-direction: column;
	}

	.menu ul a {
		margin: 0.7rem 0;
	}

	.button a {
		max-width: 90%;
		font-size: 1rem;
	}

	.banner__text h2 {
		font-size: 2.8rem;
	}
}