/* Cosylueur contact page — matches the homepage palette. */

/* Tighten the gap between the page title and the intro (theme uses
   ~65px page-header padding-bottom + 3.375rem site-content padding-top). */
.page-id-54 .page-header,
.page-id-54 .page-header--page {
	padding-top: 32px !important;
	padding-bottom: 8px !important;
}

.page-id-54 .site-content {
	padding-top: 8px !important;
}

.page-id-54 .site-content,
.page-id-54 .content-area,
.page-id-54 article {
	background: transparent;
}

.cl-contact {
	--cl-bg: #f6f1ea;
	--cl-ink: #2a231d;
	--cl-muted: #6a5e54;
	--cl-line: rgba(42, 35, 29, 0.14);
	--cl-accent: #8c4f2a;
	--cl-light: #fffaf4;
	--cl-max: 760px;
	width: min(var(--cl-max), calc(100% - 40px));
	margin: 0 auto 72px;
	color: var(--cl-ink);
}

.cl-contact__intro {
	margin: 0 0 32px;
	text-align: center;
}

.cl-contact__intro p {
	margin: 0 0 8px;
	color: var(--cl-muted);
	font-size: 1.05rem;
	line-height: 1.6;
}

.cl-contact__intro a {
	color: var(--cl-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cl-contact__card {
	background: var(--cl-light);
	border-radius: 16px;
	padding: 32px 32px 36px;
	box-shadow: 0 1px 2px rgba(42, 35, 29, 0.04);
}

.cl-contact .wpcf7-form p {
	margin: 0 0 18px;
}

.cl-contact .wpcf7-form label {
	display: block;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--cl-ink);
	margin-bottom: 0;
}

.cl-contact .wpcf7-form-control-wrap {
	display: block;
	margin-top: 6px;
}

.cl-contact input.wpcf7-text,
.cl-contact input.wpcf7-email,
.cl-contact textarea.wpcf7-textarea {
	width: 100%;
	max-width: 100%;
	border: 1px solid var(--cl-line);
	border-radius: 10px;
	background: #fff;
	color: var(--cl-ink);
	padding: 12px 14px;
	font-size: 1rem;
	line-height: 1.4;
	box-shadow: none;
	font-family: inherit;
}

.cl-contact textarea.wpcf7-textarea {
	min-height: 140px;
	resize: vertical;
}

.cl-contact input.wpcf7-text:focus,
.cl-contact input.wpcf7-email:focus,
.cl-contact textarea.wpcf7-textarea:focus {
	outline: 2px solid rgba(140, 79, 42, 0.35);
	border-color: var(--cl-accent);
}

.cl-contact .wpcf7-acceptance {
	font-weight: 400;
	color: var(--cl-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.cl-contact .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.cl-contact .wpcf7-acceptance input[type="checkbox"] {
	margin-right: 8px;
	accent-color: var(--cl-accent);
}

.cl-contact .wpcf7-acceptance a {
	color: var(--cl-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cl-contact .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.85rem 1.8rem;
	border: 0;
	border-radius: 999px;
	background: var(--cl-ink);
	color: var(--cl-light);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.cl-contact .wpcf7-submit:hover,
.cl-contact .wpcf7-submit:focus-visible {
	background: #3a3129;
	transform: translateY(-1px);
}

.cl-contact .wpcf7-not-valid-tip,
.cl-contact .wpcf7-response-output {
	font-size: 0.9rem;
}

.cl-contact .wpcf7-response-output {
	margin: 16px 0 0;
	border-radius: 10px;
	padding: 12px 14px;
}

/* Honeypot: fully off-screen for sighted users and assistive tech.
   Kept in the DOM (not display:none) so basic bots still see the field. */
.cl-hp,
.cl-contact .cl-hp,
.cl-contact p.cl-hp,
.wpcf7-form p.cl-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	opacity: 0 !important;
	pointer-events: none !important;
}


@media (max-width: 639px) {
	.cl-contact {
		width: calc(100% - 32px);
		margin-bottom: 48px;
	}

	.cl-contact__card {
		padding: 24px 20px 28px;
	}
}