@import url('normalize.min.css');

html, body {
	margin: 0px;
	padding: 0px;
	font-family: Arial, sans-serif;
}

header .logo {
	width: 100px;
	height: 5em;
	margin: 0px auto;
	max-width: 80vw;
	background-image: url('../img/logo.png');
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

nav {
	padding-top: 2em;
	background-color: #5cad54;
	color: #fff;
}
nav a {
	display: block;
	color: inherit;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	padding: 0.5em 0em;
}
nav a.active { color: #a1c753; }
nav .social {
	text-align: center;
	padding: 1em 0em;
}
nav .social a {
	display: inline-block;
}
nav .social a { font-size: 1.5em; }
nav .social a .fa {
	position: relative;
	color: #5cad54;
	z-index: 1;
	margin: 0em 0.5em;
	text-align: center;
}
nav .social a .fa:after {
	content: ' ';
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 1.5em;
	width: 1em;
	height: 1em;
	border-radius: 1em;
	background-color: #fff;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	z-index: -1;
}

section.content { padding: 3em 1em; }

h1, h2, h3, h4, h5, h6 {
	font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
	text-align: center;
	color: #5cad54;
	text-transform: uppercase;
	margin: 1rem;
	line-height: 1em;
}

h1 { font-size: 3em; }
h2 { font-size: 1.5em; }

p {
	font-size: 1.25em;
	opacity: 0.75;
	padding: 0.35em 0em;
}

hr.empty {
	border: none;
	background: none;
	height: 2em;
}

.slider {
	background-color: #e7e7e7;
	padding: 2.5em 0em;
	text-align: center;
}

footer {
	min-height: 21.3vw;
	max-height: 45.4vw;
	background-size: contain;
	background-image: url('../img/rodape.jpg');
	background-repeat: repeat-x;
	background-position: bottom center;
}

.servicos {
	background-color: #323433;
	padding: 1px 0px;
	color: #fff;
	text-align: center;
}
.servicos h1,
.servicos h2 {
	color: #fff;
}

.servico {
	display: inline-block;
	vertical-align: top;
	width: 60vw;
}
.servico .img { background-size: contain; }

@media (min-width: 480px) {
	.servico {
		width: 40vw;
		margin: 0px 2vw;
	}
}

/* Serviços */

.servico .img {
	position: relative;
	display: block;
	width: 100%;
	padding-bottom: 120%;
	background-color: #fff;
	border-radius: 4px;
	background-position: center;
	background-repeat: no-repeat;
}
.servico .title {
	display: block;
	position: absolute;
	left: 50%;
	bottom: 0px;
	max-width: 100%;
	-webkit-transform: translate(-50%, 50%);
	transform: translate(-50%, 50%);
	background-color: #5cac54;
	text-align: center;
	padding: 1em 2em;
	border-radius: 4px;
	font-weight: bold;
	font-size: 1.25em;
}
.servico p {
	text-align: justify;
}

/* Equipe */

.equipe {
	text-align: center;
	padding: 1px 0px;
	padding-bottom: 20em;
	background-image: url('../img/bg-equipe.jpg');
	background-size: cover;
	background-position: bottom center;
}
.equipe h1,
.equipe h2 {
	color: #fff;
}
.pessoa {
	display: inline-block;
	width: 200px;
	background-color: #a2c753;
	color: #fff;
	font-size: 0.875em;
	text-align: center;
	cursor: pointer;
	margin: 1em;
	text-decoration: none;
}
.pessoa * {
	display: block;
	clear: both;
}
.pessoa .title {
	height: 3em;
	line-height: 1.5em;
}
.pessoa .info { padding: 2em 1em; }
.pessoa .mais {
	text-transform: uppercase;
	color: #514d4d;
	padding-top: 1em;
}

.clientes {
	text-align: center;
}
.cliente {
	display: inline-block;
	width: 220px;
	margin: 1em;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid #828181;
}
.cliente:before {
	content: ' ';
	display: block;
	padding-bottom: 100%;
}

/* Membro */

.equipe-pessoa .center { text-align: center; }
.equipe-pessoa .back {
	position: relative;
	color: #252122;
	font-size: 2em;
	margin: 1em;
}
.equipe-pessoa .back:before {
	content: ' ';
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	font-size: 2em;
	border: 3px solid;
	width: 1em;
	height: 1em;
	border-radius: 1em;
}

.equipe-pessoa .topo {
	position: relative;
	display: block;
	width: 100%;
	background-color: #a2c753;
	color: #fff;
	padding: 3em 0em;
	text-align: center;
}
.equipe-pessoa .topo .v-center {
	margin: 2em 0em;
	text-align: center;
}
.equipe-pessoa .topo .btn {
	display: inline-block;
	min-width: 20em;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background-color: #419f38;
	display: block;
	padding: 1em;
	margin-bottom: 1em;
}
.equipe-pessoa .topo .layout > * { vertical-align: top; }
.equipe-pessoa .topo .dados {
	display: inline-block;
}
.equipe-pessoa .topo h3 {
	color: #fff;
	text-align: left;
	padding: 0em;
	margin: 1em 0em;
}
.equipe-pessoa .corpo h3 {
	font-family: Arial, sans-serif;
	font-weight: bold;
	text-align: left;
	padding: 0em;
	margin: 0em;
	margin-top: 2em;
	color: inherit;
	opacity: 0.75;
}
.equipe-pessoa .corpo { padding: 0em 2em; }
.equipe-pessoa .corpo p {
	padding: 0em;
	margin: 0.3em 0em;
}

/* Facebook */

.facebook .photo,
.facebook .sizer {
	width: 100%;
}
.facebook .photo {
	padding: 1em;
	box-sizing: border-box;
}
.facebook .grid .photo a {
	display: block;
	width: 100%;
	box-shadow: 0px 2px 8px rgba(0,0,0,0.2);
	font-size: 0px;
	transition: box-shadow 0.2s;
}
.facebook .grid .photo a:hover {
	box-shadow: 0px 4px 16px rgba(0,0,0,0.5);
}
.facebook .grid .photo img { max-width: 100%; }

/* Contato */

.contato, .contato * {
	box-sizing: border-box;
}
.contato form > div {
  margin: 20px 0px;
}
.contato label { text-transform: uppercase; }
.contato input[type='text'], .contato textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #999;
  color: #474747;
}
.contato textarea { height: 200px; }
.contato input[type='text']:active, .contato input[type='text']:focus, .contato textarea:active, .contato textarea:focus {
  border-color: #668a69;
  color: #000;
}
.contato input[type='submit'] {
  border: none;
  padding: 0.6em 1.2em;
  text-transform: uppercase;
  border-radius: 4px;
  font-size: 1.1rem;
  background-color: #61af54;
  color: #fff;
}

#sobre { text-align: center; }
#sobre div {
	padding: 1em;
	color: #284725;
	border-radius: 1em;
	margin: 2em 0em;
	text-align: justify;
}
#sobre h3 {
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	font-weight: 400 !important;
}
#sobre .missao { background-color: #a2c753; }
#sobre .visao { background-color: #5dad54; }
#sobre .valores {
	background-color: #b2622f;
	color: #fff;
}
#sobre > * {
	color: #fff !important;
	text-align: center !important;
}

/* Mapa */

#mapa {
	position: relative;
	height: 400px;
	background-color: #eee;
	overflow: hidden;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	border: 1px solid rgba(0,0,0,0.2);
	border-radius: 4px;
	font-size: 0.8em;
}
#mapa > div, #mapa > span { position: absolute; }
#mapa > div {
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
}
#mapa > span {
	left: 50px;
	right: 50px;
	bottom: -5em;
	bottom: 50px;
	padding: 10px;
	color: #fff;
	background-color: #271918;
	opacity: 0.5;
	border-radius: 4px;
	transition: all 0.3s ease-in-out;
	text-align: center;
}
#mapa:hover > span { bottom: 50px; opacity: 1.0; }

.half-width { display: block; }

@media (max-width: 959px) {
	#mapa {	pointer-events: none; }
	#mapa > span { bottom: 50px; opacity: 1.0; }
}
@media (min-width: 960px) {
	header { position: relative; z-index: 1; font-size: 0.855em; }
	header:before {
		content: ' ';
		display: block;
		position: absolute;
		top: 0px;
		right: 0px;
		width: 50%;
		height: 100%;
		background-color: #5cad54;
		color: #fff;
		z-index: -1;
	}
	header .layout > * {
		display: inline-block;
		vertical-align: middle;
	}

	header .logo {
		width: 200px;
		height: 7.5em;
	}

	nav {
		padding: 0em 2em;
		min-height: 7.5em;
		min-width: 50%;
		line-height: 7.5em;
	}

	nav a {
		position: relative;
		display: inline;
		font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
		font-size: 0.875em;
		padding: 1em;
	}
	nav a:before {
		content: ' ';
		position: absolute;
		display: block;
		left: 2em;
		right: 2em;
		bottom: 1em;
		height: 1px;
		background-color: #a1c753;
		opacity: 0;
		transition: all 0.2s;
	}
	nav a.active:before,
	nav a:hover:before {
		opacity: 1;
		bottom: 0.5em;
	}

	nav .social a {
		padding: 0px;
	}

	nav .social { float: right; padding: 0em; }

	section.content { padding: 3em 0em; }

	.slider .layout {
		box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
	}

	.swiper-container {
		width: 1120px;
		height: 440px;
	}

	.swiper-wrapper {
		background: #fff;
	}

	.swiper-slide {
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
	}

	.servico {
		vertical-align: top;
		width: 350px;
		margin: 0px 3em;
	}
	.servico .img { background-size: auto; }
	.servico .title { white-space: nowrap; }

	.facebook .photo,
	.facebook .sizer {
		width: 25%;
	}
	.facebook .photo {
		padding: 1em;
		box-sizing: border-box;
	}

	.layout,
	.layout.medium {
		width: 960px;
		margin: 0px auto;
	}

	.half-width {
		display: inline-block;
		vertical-align: middle;
		width: 40%;
		margin: 0px 4%;
	}
	#sobre div {
		display: inline-block;
		vertical-align: top;
		min-height: 15em;
		width: 30%;
		margin: 2em 1%;
	}
	.equipe-pessoa .topo { text-align: inherit; }
	.equipe-pessoa .topo .v-center {
		position: absolute;
		top: 50%;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
		margin: none;
		text-align: inherit;
	}
	.equipe-pessoa .topo img {
		display: inline;
		margin-left: 8em;
		margin-right: 2em;
	}
	.equipe-pessoa .corpo { padding: 0em; }
}
@media (min-width: 1120px) {
	header { font-size: 1em; }
	.layout { width: 1120px; }
}