/* ------------------------------------------------------------------ *
 * Contact page (Rails port)
 * ------------------------------------------------------------------ */

#view-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	font-family: 'Inter', system-ui, sans-serif;
}
#view-content .view-titre {
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	color: #1e293b;
	margin: 16px 0 24px;
}

#contact-top {
	width: auto;             /* override legacy width:1045px from general.css */
	background: #f8fafc;
	background-image: none;  /* drop legacy BG.jpg from general.css */
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 20px;
	margin: 0 auto 24px;
	overflow: hidden;
}
#contact-top p {
	margin: 0 0 18px;
	color: #334155;
}

#message1 {
	background: #ecfdf5;
	border: 1px solid #34d399;
	color: #065f46;
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 18px;
	text-align: center;
	font-weight: 600;
}

.contact-errors {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #991b1b;
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
}
.contact-errors ul {
	margin: 0;
	padding-left: 20px;
}
.requiredAstrisk {
	color: #dc2626;
	font-weight: 700;
}

.contact-icon {
	width: 28px;
	height: 28px;
	color: #2563eb;
	flex-shrink: 0;
}

.tel {
	display: block;
	overflow: hidden;
	margin-bottom: 12px;
}
.tel .contact-icon {
	float: left;
	margin: 5px 15px 0 10px;
}
.tel div {
	float: left;
	display: inline-block;
	width: 180px;
}
.tel .num {
	font-weight: bold;
	display: block;
}
.tel span {
	display: block;
}
.tel .tarif {
	margin: 7px 0 0;
}
.mail {
	display: block;
	clear: both;
	overflow: hidden;
}
.mail .contact-icon {
	float: left;
	margin: 5px 10px 0 10px;
}
.mail a {
	float: left;
	display: block;
	color: #2563eb;
	text-decoration: none;
	font-weight: bold;
	line-height: 32px;
}
.mail a:hover {
	text-decoration: underline;
}

#contact_form {
	width: auto;             /* override legacy width:1085px from general.css */
	background: none;
	margin: 0;
}
#contactForm {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 20px;
	clear: both;
}
#contactForm dl {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 14px 16px;
	margin: 0;
	align-items: start;
}
#contactForm dt {
	margin: 0;
	padding-top: 8px;
	text-align: right;
	font-weight: 600;
	color: #475569;
	font-size: 13px;
}
#contactForm dt label {
	font-weight: 600;
}
#contactForm dd {
	margin: 0;
}
#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	background: #fff;
	color: #1e293b;
}
#contactForm textarea {
	min-height: 140px;
	resize: vertical;
}
#contactForm input:focus,
#contactForm textarea:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
#envoyer-element {
	text-align: center;
}
#envoyer-element input {
	background: #2563eb;
	color: #fff;
	border: 0;
	padding: 10px 32px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 999px;
	cursor: pointer;
}
#envoyer-element input:hover {
	background: #1d4ed8;
}
