/* ── Médialo – Formulaire de contact ─────────────────────────────────────────
   Shortcode : [medialo_contact]
   ─────────────────────────────────────────────────────────────────────────── */

.mcf {
	max-width: 680px;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* Rangées côte à côte */
.mcf__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

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

/* Champ */
.mcf__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

/* Libellé */
.mcf__label {
	font-size: 0.875rem;
	font-weight: 600;
	color: currentColor;
}

.mcf__label span {
	color: #17C9AB;
}

/* Inputs & textarea */
.mcf__input,
.mcf__textarea {
	width: 100%;
	padding: 0.65rem 0.9rem;
	font-size: 0.9375rem;
	font-family: inherit;
	border: 1.5px solid #e0e0e0;
	border-radius: 6px;
	background: #fff;
	color: #222;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
	box-sizing: border-box;
}

.mcf__input:focus,
.mcf__textarea:focus {
	outline: none;
	border-color: #17C9AB;
	box-shadow: 0 0 0 3px rgba(23, 201, 171, 0.15);
}

.mcf__input:invalid:not(:placeholder-shown),
.mcf__textarea:invalid:not(:placeholder-shown) {
	border-color: #e74c3c;
}

.mcf__textarea {
	resize: vertical;
	min-height: 140px;
}

/* Note champs obligatoires */
.mcf__required-note {
	font-size: 0.8125rem;
	color: #888;
	margin: 0;
}

/* Bouton */
.mcf__submit {
	align-self: flex-start;
	padding: 0.75rem 2rem;
	background: #17C9AB;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	font-family: inherit;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
	box-shadow: 0 2px 12px rgba(23, 201, 171, 0.3);
}

.mcf__submit:hover {
	background: #0ea892;
	transform: translateY(-2px);
	box-shadow: 0 4px 20px rgba(23, 201, 171, 0.4);
}

.mcf__submit:active {
	transform: translateY(0);
}

/* Notifications */
.mcf-notice {
	padding: 1rem 1.25rem;
	border-radius: 6px;
	font-size: 0.9375rem;
	line-height: 1.5;
	max-width: 680px;
}

.mcf-notice--success {
	background: #edfaf7;
	border: 1.5px solid #17C9AB;
	color: #0b7b69;
}

.mcf-notice--error {
	background: #fef2f2;
	border: 1.5px solid #e74c3c;
	color: #c0392b;
}
