/* Pages légales : sobre, lisible, charte PICOM en touches discrètes. */
.picom-legal {
	max-width: 46rem;
	margin-inline: auto;
	color: var(--picom-navy);
	font-family: var(--picom-font-text);
	font-size: 1rem;
	line-height: 1.7;
}

body .entry-content > .picom-legal,
body.picom-page-legal .entry-header {
	max-width: 46rem !important;
	margin-inline: auto !important;
	padding-inline: 0 !important;
}

body.picom-page-legal .entry-title {
	color: var(--picom-navy);
	font-family: var(--picom-font-title);
	font-weight: 800;
}

body .entry-content .picom-legal > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
	text-align: left;
}

.picom-legal .picom-legal__maj {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--picom-gray-soft);
	color: var(--picom-gray);
	font-size: 0.8125rem;
}

.picom-legal .picom-legal__intro {
	font-size: 1.0625rem;
}

.picom-legal h2 {
	margin: 2.5rem 0 0.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--picom-line);
	color: var(--picom-navy);
	font-family: var(--picom-font-title);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.picom-legal p,
.picom-legal ul {
	margin: 0 0 1rem;
}

.picom-legal ul {
	padding-left: 1.25rem;
}

.picom-legal li {
	margin-bottom: 0.375rem;
}

.picom-legal li::marker {
	color: var(--picom-green);
}

.picom-legal a {
	color: var(--picom-green-dark);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.picom-legal a:hover {
	color: var(--picom-navy);
}

/* Encadré « L'essentiel ». */
.picom-legal .picom-legal__essentiel {
	margin: 1.5rem 0 1rem;
	padding: 1.25rem 1.5rem 0.5rem;
	border-left: 4px solid var(--picom-green);
	border-radius: var(--picom-radius-sm);
	background: var(--picom-green-soft);
}

.picom-legal .picom-legal__essentiel h2 {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
	font-size: 1.0625rem;
}

/* Tableaux. */
.picom-legal .picom-legal__tableau {
	margin: 0 0 1.25rem;
	overflow-x: auto;
}

.picom-legal .picom-legal__tableau,
.picom-legal .picom-legal__tableau table,
.picom-legal .picom-legal__tableau thead,
.picom-legal .picom-legal__tableau tbody,
.picom-legal .picom-legal__tableau tr {
	border: 0 !important;
}

.picom-legal .picom-legal__tableau table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.picom-legal .picom-legal__tableau th,
.picom-legal .picom-legal__tableau td {
	padding: 0.625rem 0.75rem;
	border: 0 !important;
	border-bottom: 1px solid var(--picom-line) !important;
	text-align: left;
	vertical-align: top;
}

.picom-legal .picom-legal__tableau thead th {
	border-bottom: 2px solid var(--picom-green) !important;
	background: transparent;
	font-weight: 700;
}

.picom-legal .picom-legal__tableau tbody td:first-child {
	font-weight: 600;
}

/* Téléphone : tableaux en fiches empilées. */
@media (max-width: 600px) {
	.picom-legal .picom-legal__essentiel {
		padding: 1rem 1rem 0.25rem;
	}

	.picom-legal .picom-legal__tableau thead {
		display: none;
	}

	.picom-legal .picom-legal__tableau tr {
		display: block;
		padding: 0.5rem 0;
		border-bottom: 1px solid var(--picom-line);
	}

	.picom-legal .picom-legal__tableau td {
		display: block;
		padding: 0.125rem 0;
		border: 0 !important;
	}
}
