/* Vila da Fonte – Formulários */

.vdf-form__hp,
.vdf-form__label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}

.vdf-form__fields {
	display: flex;
	flex-wrap: wrap;
	margin: 0 calc(var(--vdf-gap) / -2) -10px;
}

.vdf-form__group {
	box-sizing: border-box;
	width: 100%;
	padding: 0 calc(var(--vdf-gap) / 2);
	margin-bottom: 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.vdf-form .vdf-form__field {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0;
	flex-grow: 1;
	vertical-align: middle;
	line-height: 1.4;
	border-style: solid;
	border-width: 1px;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.vdf-form .vdf-form__field:focus {
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
	outline: 0;
}

.vdf-form .vdf-form__field::placeholder {
	color: inherit;
	font-family: inherit;
	opacity: .6;
}

.vdf-form textarea.vdf-form__field {
	resize: vertical;
}

.vdf-form .vdf-form__field.vdf-is-invalid {
	border-color: #d9534f !important;
}

.vdf-form .vdf-form__button {
	display: flex;
	margin: 0;
	line-height: 1;
	white-space: normal;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-basis: 100%;
	width: 100%;
	min-height: 40px;
	border: none;
	cursor: pointer;
	text-align: center;
	transition: background-color .3s, color .3s;
}

.vdf-form .vdf-form__button[disabled] {
	opacity: .7;
	cursor: wait;
}

.vdf-form .vdf-form__button[disabled]::after {
	content: "";
	width: 1em;
	height: 1em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: vdf-spin .7s linear infinite;
}

@keyframes vdf-spin {
	to { transform: rotate(360deg); }
}

.vdf-form__message {
	margin-top: 20px;
	font-size: 15px;
	line-height: 1.5;
}

.vdf-form__message.is-success { color: #2e7d32; }
.vdf-form__message.is-error { color: #d9534f; }

/* ---------- Contato (footer) ---------- */

.vdf-form--contato {
	--vdf-gap: 10px;
}

.vdf-form.vdf-form--contato .vdf-form__field {
	min-height: 40px;
	padding: 5px 14px;
	font-family: "Century Gothic", Sans-serif;
	font-size: 15px;
	font-weight: bold;
	color: var(--e-global-color-af59672, #fff);
	background-color: var(--e-global-color-primary, #697e70);
	border-color: var(--e-global-color-secondary, #0e0e0e);
	border-radius: 8px;
}

.vdf-form.vdf-form--contato .vdf-form__button {
	padding: 15px 10px;
	font-family: "Isidora Sans", Sans-serif;
	font-size: 19px;
	font-weight: bold;
	border-radius: 10px;
	background-color: var(--e-global-color-secondary, #0e0e0e);
	color: var(--e-global-color-text, #e4e5dc);
}

.vdf-form.vdf-form--contato .vdf-form__button:hover,
.vdf-form.vdf-form--contato .vdf-form__button:focus {
	background-color: var(--e-global-color-accent, #8c9f93);
	color: var(--e-global-color-secondary, #0e0e0e);
}

.vdf-form--contato .vdf-form__message.is-success {
	color: var(--e-global-color-af59672, #fff);
}

/* ---------- Agendamento (popup) ---------- */

.vdf-form--agendamento {
	--vdf-gap: 20px;
}

.vdf-form.vdf-form--agendamento .vdf-form__field {
	min-height: 47px;
	padding: 6px 16px;
	font-family: "Rubik", Sans-serif;
	font-size: 15px;
	font-weight: 300;
	color: #000;
	background-color: #fff;
	border-color: #e2e2e2;
	border-radius: 0;
}

.vdf-form.vdf-form--agendamento .vdf-form__button {
	padding: 0 24px;
	font-family: "Rubik", Sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6em;
	letter-spacing: 1px;
	border-radius: 0;
	background-color: var(--e-global-color-accent, #8c9f93);
	color: var(--e-global-color-text, #e4e5dc);
}

.vdf-form.vdf-form--agendamento .vdf-form__button:hover,
.vdf-form.vdf-form--agendamento .vdf-form__button:focus {
	background-color: var(--e-global-color-secondary, #0e0e0e);
	color: #fff;
}

@media (max-width: 767px) {
	.vdf-form.vdf-form--agendamento .vdf-form__button {
		font-size: 16px;
	}
}
