/* Présentation des mentions légales (SM4B) */
.sm4b-legal { color: #333; font-size: 16px; line-height: 1.65; margin: 0 auto; max-width: 1040px; padding: 8px 0 40px; }
.sm4b-legal h2 { border-bottom: 2px solid #32468b; color: #32468b; font-size: 26px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.25; margin: 56px 0 24px; padding: 0 0 10px; text-transform: uppercase; }
.sm4b-legal h2:first-of-type { margin-top: 32px; }
.sm4b-legal h3 { color: #1d1e29; font-size: 19px; font-weight: 700; line-height: 1.35; margin: 32px 0 10px; }
.sm4b-legal p, .sm4b-legal li { font-size: 16px; line-height: 1.65; margin: 0 0 14px; text-align: left; }
.sm4b-legal a { color: #32468b; text-decoration: underline; text-underline-offset: 2px; }
.sm4b-legal .sm4b-legal__updated { color: #5a5a66; font-size: 14px; margin-top: 8px; }

.sm4b-legal .sm4b-cards { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin: 0 0 8px; }
.sm4b-legal .sm4b-card { background: #fff; border: 1px solid #d9deef; border-radius: 8px; border-top: 4px solid #32468b; padding: 22px 24px 8px; }
.sm4b-legal .sm4b-card h3 { color: #32468b; font-size: 13px; letter-spacing: 0.08em; margin: 0 0 12px; text-transform: uppercase; }
.sm4b-legal .sm4b-card p { margin: 0 0 12px; }
.sm4b-legal .sm4b-card strong { font-size: 18px; }

.sm4b-legal .sm4b-tablewrap { margin: 18px 0 8px; }
.sm4b-legal table.sm4b-table { background: #fff; border-collapse: separate; border-spacing: 0; border: 1px solid #d9deef; border-radius: 8px; overflow: hidden; width: 100%; }
.sm4b-legal .sm4b-table caption { caption-side: top; color: #5a5a66; font-size: 14px; padding: 0 0 8px; text-align: left; }
.sm4b-legal .sm4b-table th, .sm4b-legal .sm4b-table td { border: 0; border-bottom: 1px solid #e6e9f5; font-size: 15px; line-height: 1.55; padding: 14px 16px; text-align: left; vertical-align: top; }
.sm4b-legal .sm4b-table thead th { background: #32468b; border-bottom: 0; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.sm4b-legal .sm4b-table tbody tr:nth-child(even) { background: #f5f7fc; }
.sm4b-legal .sm4b-table tbody tr:last-child th, .sm4b-legal .sm4b-table tbody tr:last-child td { border-bottom: 0; }
.sm4b-legal .sm4b-table tbody th { color: #32468b; font-weight: 700; width: 17%; }
.sm4b-legal .sm4b-badge { background: #e6eaf7; border-radius: 999px; color: #32468b; display: inline-block; font-size: 14px; font-weight: 700; line-height: 1.3; padding: 4px 12px; }

@media (min-width: 760px) {
	.sm4b-legal .sm4b-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 859px) {
	.sm4b-legal .sm4b-table thead { left: -9999px; position: absolute; }
	.sm4b-legal .sm4b-table caption { display: block; width: 100%; }
	.sm4b-legal .sm4b-table, .sm4b-legal .sm4b-table tbody, .sm4b-legal .sm4b-table tr, .sm4b-legal .sm4b-table th, .sm4b-legal .sm4b-table td { display: block; width: 100%; }
	.sm4b-legal table.sm4b-table { background: transparent; border: 0; border-radius: 0; overflow: visible; }
	.sm4b-legal .sm4b-table tbody tr { background: #fff !important; border: 1px solid #d9deef; border-radius: 8px; margin: 0 0 16px; overflow: hidden; }
	.sm4b-legal .sm4b-table tbody th { background: #32468b; color: #fff; width: 100%; }
	.sm4b-legal .sm4b-table td { border-bottom: 1px solid #e6e9f5; }
	.sm4b-legal .sm4b-table td::before { color: #5a5a66; content: attr(data-label); display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; margin: 0 0 2px; text-transform: uppercase; }
}

/* ==== Habillage SM4B (planche « Gabarit des mentions légales », 23/11/2026) : mêmes classes de contenu, nouveaux styles ==== */
.sm4b-legal { max-width: 1000px; color: #3a4057; }
.sm4b-legal h2 { position: relative; font-family: Gilroy, 'Helvetica Neue', Arial, sans-serif; text-transform: uppercase; color: #3f4d9e; font-size: 1.5rem; letter-spacing: 0.02em; border-bottom: 2px solid #3f4d9e; padding-bottom: 14px; margin: 56px 0 24px; }
.sm4b-legal h2::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 72px; height: 6px; border-radius: 3px; background: #ffc53d; }
.sm4b-legal h3 { font-family: Gilroy, 'Helvetica Neue', Arial, sans-serif; font-size: 1.5rem; color: #1d2340; }
.sm4b-legal .sm4b-card { border: 1px solid #dde1ec; border-top: 4px solid #3f4d9e; border-radius: 8px; }
.sm4b-legal .sm4b-card h3 { font-family: Mulish, Muli, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; color: #3f4d9e; }
.sm4b-legal .sm4b-card strong { font-family: Gilroy, 'Helvetica Neue', Arial, sans-serif; font-size: 20px; color: #1d2340; }
.sm4b-legal .sm4b-table thead th { background: #3f4d9e; font-family: Mulish, Muli, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; }
.sm4b-legal .sm4b-table tbody tr:nth-child(even) { background: #f8f9fb; }
.sm4b-legal .sm4b-table tbody th { color: #3f4d9e; font-weight: 700; background: transparent; }
.sm4b-legal .sm4b-badge { background: #eef1fa; color: #3f4d9e; font-family: Mulish, Muli, 'Helvetica Neue', Arial, sans-serif; font-weight: 800; border-radius: 999px; }
.sm4b-legal .sm4b-legal__updated { font-size: 14px; color: #5e6478; }
@media (max-width: 859px) { .sm4b-legal .sm4b-table tbody th { background: #3f4d9e; color: #fff; } }
