/* Mosaïka — formulaire de contact (front) */
.pgr-contact {
	--pgr-accent: #4d8dff;
	--pgr-field-bg: rgba(127, 127, 127, .08);
	--pgr-field-border: rgba(127, 127, 127, .35);
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 640px;
}
.pgr-contact-title { margin: 0 0 4px; }
.pgr-contact-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.pgr-contact label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: .92em;
}
.pgr-contact label > span { font-weight: 600; }
.pgr-contact label em { color: #e0563f; font-style: normal; }
.pgr-contact input[type="text"],
.pgr-contact input[type="email"],
.pgr-contact textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	border: 1px solid var(--pgr-field-border);
	border-radius: 10px;
	background: var(--pgr-field-bg);
	color: inherit;
	font: inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.pgr-contact input:focus,
.pgr-contact textarea:focus {
	outline: none;
	border-color: var(--pgr-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pgr-accent) 25%, transparent);
}
.pgr-contact textarea { resize: vertical; min-height: 130px; }

/* pot de miel : invisible pour l'humain, présent pour le bot */
.pgr-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pgr-contact-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.pgr-contact-submit {
	border: 0;
	background: var(--pgr-accent);
	color: #fff;
	font: inherit;
	font-weight: 600;
	padding: 12px 28px;
	border-radius: 999px;
	cursor: pointer;
	transition: filter .15s ease, transform .1s ease;
}
.pgr-contact-submit:hover { filter: brightness(1.08); }
.pgr-contact-submit:active { transform: translateY(1px); }
.pgr-contact-submit:disabled { opacity: .6; cursor: default; }

.pgr-contact-feedback { font-size: .9em; }
.pgr-contact.is-success .pgr-contact-feedback { color: #2f9e44; font-weight: 600; }
.pgr-contact.is-error .pgr-contact-feedback { color: #e0563f; font-weight: 600; }

@media (max-width: 600px) {
	.pgr-contact-row { grid-template-columns: 1fr; }
}
