/* Chantiers.com SEO Generator — styles frontend des articles générés */

/* Tableaux comparatifs émis par le générateur (class="chantiers-comparison-table").
   Sans cette feuille de style, les tableaux retombent sur le rendu brut du
   navigateur — c'est la principale raison pour laquelle ils paraissaient nus. */
.chantiers-comparison-table {
	width: 100%;
	border-collapse: collapse;
	margin: 26px 0;
	font-size: .95rem;
	line-height: 1.5;
}
.chantiers-comparison-table th {
	background: #334155;
	color: #fff;
	text-align: left;
	padding: 12px 14px;
	font-weight: 700;
	border-bottom: 3px solid #d97706; /* accent BTP ambre */
}
.chantiers-comparison-table td {
	padding: 11px 14px;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: top;
}
.chantiers-comparison-table tr:nth-child(even) td {
	background: #f6f5f2;
}
.chantiers-comparison-table tr:hover td {
	background: #fdf3e7;
}
.chantiers-comparison-table caption {
	caption-side: top;
	text-align: left;
	font-weight: 600;
	color: #334155;
	padding: 0 0 8px;
	font-size: .9rem;
}

/* Tableaux larges (métiers, budgets indicatifs) lisibles sur mobile. */
@media (max-width: 640px) {
	.chantiers-comparison-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}
