/* VWEB Formulaire de Contact - styles front */

.vcf-wrapper {
	max-width: 1000px;
	margin: 0 auto;
	box-sizing: border-box;
}

.vcf-wrapper *,
.vcf-wrapper *::before,
.vcf-wrapper *::after {
	box-sizing: border-box;
}

.vcf-form {
	display: block;
}

/* Lignes à deux colonnes */
.vcf-row {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin-bottom: 22px;
}

.vcf-row .vcf-field {
	flex: 1 1 calc(50% - 14px);
	min-width: 220px;
}

.vcf-field {
	margin-bottom: 22px;
}

.vcf-field-full {
	width: 100%;
}

/* Labels */
.vcf-field label {
	display: block;
	font-size: 17px;
	font-weight: 500;
	color: #2b2b2b;
	margin-bottom: 10px;
	font-family: inherit;
}

.vcf-required {
	color: #e53935;
}

/* Champs */
.vcf-field input[type="text"],
.vcf-field input[type="email"],
.vcf-field input[type="tel"],
.vcf-field select,
.vcf-field textarea {
	width: 100%;
	padding: 14px 16px;
	font-size: 16px;
	color: #2b2b2b;
	background-color: #ffffff;
	border: 1px solid #d7d2c8;
	border-radius: 8px;
	font-family: inherit;
	line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.vcf-field textarea {
	min-height: 150px;
	resize: vertical;
}

/* Flèche du select */
.vcf-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 44px;
	cursor: pointer;
}

.vcf-field input:focus,
.vcf-field select:focus,
.vcf-field textarea:focus {
	outline: none;
	border-color: #c4a85c;
	box-shadow: 0 0 0 3px rgba(196, 168, 92, .18);
}

.vcf-field input.vcf-invalid,
.vcf-field select.vcf-invalid,
.vcf-field textarea.vcf-invalid {
	border-color: #e53935;
	box-shadow: 0 0 0 3px rgba(229, 57, 53, .12);
}

/* Bouton */
.vcf-actions {
	margin-top: 8px;
}

.vcf-submit {
	display: inline-block;
	background-color: #c4a85c;
	color: #ffffff;
	font-size: 19px;
	font-weight: 700;
	border: none;
	border-radius: 40px;
	padding: 16px 42px;
	cursor: pointer;
	font-family: Georgia, "Times New Roman", serif;
	transition: background-color .15s ease, transform .05s ease;
}

.vcf-submit:hover {
	background-color: #b6974a;
}

.vcf-submit:active {
	transform: translateY(1px);
}

.vcf-submit:disabled {
	opacity: .65;
	cursor: not-allowed;
}

/* Message de retour */
.vcf-message-box {
	margin-top: 20px;
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.5;
}

.vcf-message-box.vcf-success {
	background-color: #e7f6e9;
	color: #1e6b34;
	border: 1px solid #b7e0bf;
}

.vcf-message-box.vcf-error {
	background-color: #fdecea;
	color: #b3261e;
	border: 1px solid #f5c2bd;
}

/* Légende */
.vcf-legend {
	text-align: center;
	color: #6b6b6b;
	font-size: 14px;
	margin-top: 26px;
}

/* Honeypot caché */
.vcf-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	height: 0;
	width: 0;
	overflow: hidden;
}

/* Badge reCAPTCHA en bas à gauche */
.grecaptcha-badge {
	left: 4px !important;
	right: auto !important;
}

/* Responsive */
@media (max-width: 600px) {
	.vcf-row {
		gap: 0;
	}
	.vcf-row .vcf-field {
		flex: 1 1 100%;
	}
	.vcf-submit {
		width: 100%;
		text-align: center;
	}
}
