/* Página Contato — Grupo BAW */

/* Banner do título: foto mais escura (sobrepor o ::before padrão do tema) */
.page-title.baw-page-title--contato .bg-layer::before {
	background: -webkit-linear-gradient(
		top,
		rgba(0, 0, 0, 0.6) 0%,
		rgba(0, 0, 0, 0.38) 45%,
		rgba(0, 0, 0, 0.22) 100%
	);
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.6) 0%,
		rgba(0, 0, 0, 0.38) 45%,
		rgba(0, 0, 0, 0.22) 100%
	);
}

.baw-contato-page {
	position: relative;
	border-top: 1px solid #dad9d7;
	background: #fff;
}

.baw-contato-page .auto-container {
	position: relative;
	z-index: 1;
}

.baw-contato-page .line-box {
	display: none;
}

.baw-contato-page .line-box .line {
	position: absolute;
	top: 0;
	width: 1px;
	height: 100%;
	background: #d6d6d6;
}

.baw-contato-page .line-box .line-1 {
	left: 0;
}

.baw-contato-page .line-box .line-2 {
	left: 33.3334%;
}

.baw-contato-page .line-box .line-3 {
	left: 66.666%;
}

.baw-contato-page .line-box .line-4 {
	right: 0;
}

.baw-contato-intro {
	margin-bottom: 34px;
}

.baw-contato-intro__sub {
	display: inline-block;
	font-size: 14px;
	line-height: 24px;
	font-family: "Monda", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	color: #827e7d;
	letter-spacing: 0.04em;
	padding-bottom: 10px;
	margin-bottom: 14px;
	border-bottom: 2px solid #e4492e;
}

.baw-contato-intro h2 {
	margin: 0 0 14px;
	font-size: 42px;
	line-height: 1.15;
	font-weight: 700;
	color: #1c1c1c;
}

.baw-contato-intro p {
	margin: 0 auto;
	max-width: 760px;
	color: #827e7d;
	line-height: 1.65;
}

.baw-contato-info {
	margin-bottom: 34px;
}

.baw-contato-info__card {
	background: #f7f6f5;
	border: 1px solid #e8e6e4;
	padding: 28px 24px 24px;
	text-align: center;
	height: 100%;
}

.baw-contato-info__card .icon-box {
	font-size: 44px;
	line-height: 1;
	color: #e4492e;
	margin-bottom: 14px;
}

.baw-contato-info__card h3 {
	margin: 0 0 10px;
	font-family: "Monda", sans-serif;
	font-size: 22px;
	line-height: 1.2;
	color: #1c1c1c;
}

.baw-contato-info__card p {
	margin: 0;
	color: #6c6967;
	line-height: 1.55;
}

.baw-contato-info__card p a {
	color: #1c1c1c;
}

.baw-contato-info__card p a:hover {
	color: #e4492e;
}

.bawx-ctt-wrap {
	background: #f7f6f5;
	border: 1px solid #e8e6e4;
	padding: 0;
}

.bawx-ctt-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-bottom: 1px solid #e2e0de;
}

.bawx-ctt-tab {
	appearance: none;
	border: 0;
	border-right: 1px solid #e2e0de;
	background: transparent;
	padding: 18px 12px;
	font-family: "Monda", sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: #6c6967;
	letter-spacing: 0.02em;
	transition: all 0.2s ease;
}

.bawx-ctt-tab:last-child {
	border-right: none;
}

.bawx-ctt-tab:hover {
	color: #e4492e;
	background: #f1efee;
}

.bawx-ctt-tab.active {
	background: #fff;
	color: #1c1c1c;
	box-shadow: inset 0 -3px 0 #e4492e;
}

.bawx-ctt-form {
	display: none;
	padding: 28px;
	background: #fff;
}

.bawx-ctt-form.active {
	display: block;
}

.bawx-ctt-form input[type="text"],
.bawx-ctt-form input[type="email"],
.bawx-ctt-form input[type="file"],
.bawx-ctt-form select,
.bawx-ctt-form .nice-select,
.bawx-ctt-form textarea {
	width: 100%;
	background: #f7f6f5;
	border: 1px solid #e2e0de;
	padding: 14px 16px;
	margin-bottom: 14px;
	font-size: 15px;
	line-height: 1.4;
	color: #1c1c1c;
	font-family: "Manrope", sans-serif;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease;
}

.bawx-ctt-form input[type="text"],
.bawx-ctt-form input[type="email"],
.bawx-ctt-form input[type="file"],
.bawx-ctt-form select,
.bawx-ctt-form .nice-select {
	min-height: 56px;
}

.bawx-ctt-form select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%236c6967' d='M2.5 4.75L7 9.25l4.5-4.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 14px 14px;
}

.bawx-ctt-form .nice-select {
	float: none;
	display: flex;
	align-items: center;
	height: 56px;
	line-height: 1.4;
	padding-right: 42px;
}

.bawx-ctt-form .nice-select:after {
	right: 16px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-bottom: 1px solid #6c6967;
	border-right: 1px solid #6c6967;
}

.bawx-ctt-form .nice-select .current {
	color: #1c1c1c;
}

.bawx-ctt-form .nice-select .list {
	width: 100%;
	border-radius: 0;
	border: 1px solid #e2e0de;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.bawx-ctt-form textarea {
	min-height: 130px;
	resize: vertical;
}

.bawx-ctt-form input[type="text"]:focus,
.bawx-ctt-form input[type="email"]:focus,
.bawx-ctt-form input[type="file"]:focus,
.bawx-ctt-form select:focus,
.bawx-ctt-form .nice-select:focus,
.bawx-ctt-form .nice-select.open,
.bawx-ctt-form textarea:focus {
	border-color: #e4492e;
	background: #fff;
	outline: none;
}

.bawx-ctt-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.bawx-ctt-check {
	display: block;
	font-size: 14px;
	color: #6c6967;
	margin: 10px 0;
}

.bawx-ctt-check input {
	margin-right: 8px;
}

.bawx-ctt-check a {
	color: #1c1c1c;
	text-decoration: underline;
}

.bawx-ctt-submit {
	margin-top: 10px;
	display: inline-block;
	border: 0;
	background: #e4492e;
	color: #fff;
	font-family: "Monda", sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 14px 28px;
	transition: background 0.2s ease;
}

.bawx-ctt-submit:hover {
	background: #c73d28;
}

@media (max-width: 991px) {
	.baw-contato-intro h2 {
		font-size: 32px;
	}

	.bawx-ctt-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.baw-contato-page .line-box {
		display: none;
	}

	.bawx-ctt-form {
		padding: 20px 16px;
	}

	.bawx-ctt-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

.bawx-ctt-form-feedback {
	margin-bottom: 16px;
	padding: 14px 16px;
	font-size: 14px;
	line-height: 1.5;
	border: 1px solid transparent;
}

.bawx-ctt-form-feedback--error {
	color: #8f1f12;
	background: #fdeeed;
	border-color: #f0b8b0;
}

.bawx-ctt-form-feedback--success {
	color: #1f5a32;
	background: #edf7f0;
	border-color: #b8dfc4;
}

.bawx-ctt-form .bawx-ctt-field--error,
.bawx-ctt-form input.bawx-ctt-field--error,
.bawx-ctt-form select.bawx-ctt-field--error,
.bawx-ctt-form textarea.bawx-ctt-field--error,
.bawx-ctt-form .nice-select.bawx-ctt-field--error {
	border-color: #c73d28;
}

.bawx-ctt-submit:disabled {
	opacity: 0.72;
	cursor: not-allowed;
}
