/* ==========================================================================
   Éditions ATP — Formulaire de Contact Sécurisé [atp_contact_form]
   Territoire : FEATURES / FORMULAIRES
   ========================================================================== */

.atp-contact-form-wrapper {
	max-width: 720px;
	margin: 20px auto;
}

.atp-contact-form-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 36px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.atp-contact-form-header {
	margin-bottom: 28px;
	padding-bottom: 16px;
	border-bottom: 2px solid #f1f5f9;
}

.atp-contact-form-title {
	font-size: 24px;
	font-weight: 600;
	color: #0f172a;
	margin: 0 0 6px;
}

.atp-contact-form-subtitle {
	font-size: 14px;
	color: #64748b;
	margin: 0;
}

.atp-contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.atp-form-row--2cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.atp-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.atp-form-label {
	font-size: 13.5px;
	font-weight: 600;
	color: #0f172a;
}

.atp-form-label .required {
	color: #ef4444;
}

.atp-form-input,
.atp-form-select,
.atp-form-textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	font-size: 14px;
	color: #0f172a;
	background: #f8fafc;
	font-family: inherit;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.atp-form-input:focus,
.atp-form-select:focus,
.atp-form-textarea:focus {
	outline: none;
	border-color: #f59e0b;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.atp-form-file {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px dashed #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
	font-size: 13.5px;
	color: #334155;
	cursor: pointer;
	box-sizing: border-box;
}

.atp-form-file:hover {
	border-color: #f59e0b;
	background: #fffbeb;
}

.atp-btn-contact-submit {
	width: 100%;
	padding: 14px 24px;
	background: #1d2327;
	color: #ffffff;
	border: none;
	border-radius: 50px !important;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.atp-btn-contact-submit:hover {
	background: #f59e0b;
	color: #000000;
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.atp-contact-feedback {
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}

.atp-contact-feedback--success {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.atp-contact-feedback--error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

@media (max-width: 768px) {
	.atp-form-row--2cols {
		grid-template-columns: 1fr;
	}

	.atp-contact-form-card {
		padding: 24px 18px;
	}
}
