/* Habillage du formulaire de contact (com_quoteforms) — palette Dony Protect (sarcelle/bleu, fond clair) */

.qf-contact {
	background: linear-gradient(180deg, #eaf7f7, #f7fbfb);
	color: #333333;
	padding: 32px;
	border-radius: 8px;
	max-width: 960px;
}

.qf-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

@media (max-width: 720px) {
	.qf-contact-grid {
		grid-template-columns: 1fr;
	}
}

/* --- Colonne formulaire --- */

.qf-contact-form-title {
	margin: 0 0 24px;
	font-size: 1.6em;
	font-weight: 700;
	color: #1a6b6b;
	text-align: center;
}

.qf-contact .qf-row {
	margin-bottom: 24px;
}

.qf-contact label {
	display: block;
	margin-bottom: 6px;
	color: #333333;
	font-weight: 400;
	font-size: 1em;
}

.qf-contact .qf-row > label:has(input[type="checkbox"]) {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #333333;
	font-weight: 400;
}

.qf-contact input[type="text"],
.qf-contact input[type="email"],
.qf-contact input[type="tel"],
.qf-contact input[type="number"],
.qf-contact textarea,
.qf-contact select {
	width: 100%;
	background: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 3px;
	color: #333333;
	padding: 10px 12px;
	font-size: 1em;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}

.qf-contact input::placeholder,
.qf-contact textarea::placeholder {
	color: rgba(51, 51, 51, 0.4);
}

.qf-contact input:focus,
.qf-contact textarea:focus,
.qf-contact select:focus {
	outline: none;
	border-color: #1a6b6b;
}

.qf-contact textarea {
	resize: vertical;
	min-height: 100px;
}

.qf-contact select {
	appearance: none;
	-webkit-appearance: none;
}

.qf-contact input[type="checkbox"],
.qf-contact input[type="radio"] {
	width: auto;
	accent-color: #1a6b6b;
}

.qf-contact .qf-radio-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 16px;
}

@media (max-width: 480px) {
	.qf-contact .qf-radio-group {
		grid-template-columns: 1fr;
	}
}

.qf-contact .qf-radio-group label {
	color: #333333;
	font-weight: 400;
	display: flex;
	align-items: center;
	gap: 6px;
}

.qf-contact .qf-req {
	color: #d23c3c;
}

.qf-contact .qf-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.qf-contact .qf-captcha {
	margin-top: -8px;
}

.qf-contact .qf-submit {
	background: #4585f4;
	color: #fff;
	border: none;
	padding: 13px 32px;
	font-weight: 700;
	font-size: 1em;
	border-radius: 3px;
	cursor: pointer;
	display: block;
	margin: 0 auto;
	transition: filter 0.2s ease;
}

.qf-contact .qf-submit:hover {
	filter: brightness(1.08);
}

/* --- Colonne infos --- */

.qf-contact-info-col h3 {
	margin: 0 0 16px;
	font-size: 1.4em;
	font-weight: 700;
	color: #1a6b6b;
}

.qf-contact-info-col h4 {
	margin: 32px 0 12px;
	font-size: 1.1em;
	font-weight: 700;
	color: #1a6b6b;
}

.qf-contact-badge {
	color: #333333;
	line-height: 1.6;
}

.qf-contact-info-col > p {
	color: #333333;
	line-height: 1.6;
}

.qf-contact-checklist {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.qf-contact-checklist li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 8px;
	color: #333333;
}

.qf-contact-checklist li::before {
	content: "✔";
	position: absolute;
	left: 0;
	color: #1a6b6b;
}

.qf-contact-details p {
	margin: 0 0 8px;
	line-height: 1.6;
	color: #333333;
}

.qf-contact-details a {
	color: #1a6b6b;
	text-decoration: none;
	font-weight: 700;
}

.qf-contact-details a:hover {
	text-decoration: underline;
}
