/* =============================== SEÇÃO CONTATO =============================== */
/* FORMULÁRIO */
.contato .contato__form {
	display: flex;
	margin: auto 0;
	flex-direction: column;
	width: 100%;
}

.contato .contato__form :is(input, textarea, select) {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 1em;

	width: 100%;
	margin: 0.8em 0;

	border: 2px solid #ccc;

	font: 12px var(--primary-font);
	color: var(--grey);

	-webkit-transition: .3s;
	transition: .3s;

	outline: none;
	text-align: left;
}

.contato .contato__form select {
	padding: 0.9em;
}

.contato .contato__form :is(input, textarea, select):focus {
	border-color: var(--grey);
	outline: none;
}

.contato .contato__form label,
.contato .contato__form option,
.contato .contato__form :is(input, textarea)::placeholder {
	font: 12px var(--primary-font);
	color: var(--grey);
}

.contato .contato__form label {
	text-transform: uppercase;
}

/* BOTÃO SUBMIT */
.contato .contato__form .ir {
	display: block;
	position: relative;

	max-width: 242px;
	width: 100%;
	height: 50px;

	border: 2px solid var(--grey);

	transition: .3s;
}

.contato .contato__form .ir:hover {
	border-color: var(--primary-color);
}

.contato .contato__form .ir:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 1%;
	height: 100%;
	background-color: var(--primary-color);
	transition: .3s;
	z-index: 0;
	opacity: 0;
}

.contato .contato__form .ir:hover:before {
	width: 100%;
	opacity: 1;
}

.contato .contato__form .ir label,
.contato .contato__form .ir [type='submit'] {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	width: 100%;
	margin: 0;
	text-align: center;
}

.contato .contato__form .ir label {
	color: var(--grey);
	font-size: 14px;
	font-weight: bold;
}

.contato .contato__form .ir:hover label {
	color: #fff;
}

.contato .contato__form .ir [type='submit'] {
	background-color: transparent;
	outline: none;
	border: none;
}

/* INFORMAÇÕES DE CONTATO */

.contato .contato__item {
	display: flex;
	justify-content: start;
	width: 100%;
}

.contato .contato__icon {
	font-size: 1em;

	color: var(--primary-color);
	display: flex;
	align-items: center;

}



.contato .contato__info {
	float: left;
	padding: 0 0 2rem 1.5rem;
}

.contato .contato__info strong {
	display: block;
	margin-bottom: 1em;
	font: bold 15px var(--primary-font);
	text-transform: uppercase;
	color: var(--primary-color);
}

.contato .contato__info :is(span, a):not(.social__link, .roll) {
	display: block;

	color: var(--grey);
	font-size: 13px;
	line-height: 22px;
	transition: .3s;
}

.contato .contato__info a:hover {
	color: var(--primary-color);
}

/* ÍCONES REDES SOCIAIS */

.contato .contato__social {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
}

.contato .social__link {
	width: 35px;
	height: 35px;
	border: 2px solid #ccc;

	overflow: hidden;
	position: relative;
	transition: .3s;
}

.contato .social__link .roll {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	height: 100%;
	text-align: center;
	color: var(--grey);
	font-size: 1rem;


	position: absolute;
	top: 50%;
	left: 50%;
	transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contato .social__link:hover {
	border-color: var(--primary-color);
	background-color: var(--primary-color);
	color: #fff;
}

.contato .social__link:hover .roll {
	color: #fff;
}

.contato .social__link .roll:first-child {
	transform: translate(-50%, -50%);
}

.contato .social__link .roll:last-child {
	transform: translate(-50%, 100%);
}

.contato .social__link:hover .roll:first-child {
	top: 0;
	transform: translate(-50%, -100%);
}

.contato .social__link:hover .roll:last-child {
	transform: translate(-50%, -50%);
}


/* EXTRA SMALL DEVICE */

@media only screen and (max-width: 420px) {

	.contato .contato__icon,
	.contato .contato__info {
		float: none;
		margin: 0 auto;
		padding: 1rem;
		text-align: center;
	}

	.contato .contato__social {
		justify-content: center;
	}

}

.contato-map {
  width: 100%;
  min-height: 400px;
}

.contato .row-background {
  background-image: url(../imagens/contato.webp);
  background-position: left;
  background-size: contain;
  background-repeat: no-repeat;
}

.contato .form-control,
.contato .form-select {
  min-height: 3.25rem;
  padding: 0.5rem 1.125rem;
  border-radius: calc(3.25rem / 2);
  font: inherit;
}

.contato-map {
  width: 100%;
  min-height: 400px;
}
/* ===============================  END SEÇÃO CONTATO =============================== */