/* ==========================================================================
   Securimaison — styles du site
   ========================================================================== */

/* Polices auto-hébergées (SIL Open Font License, voir assets/fonts) */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* TOKENS-START */
:root {
	--sm-accent: #0F5C55;
	--sm-accent-soft: #E3F0EE;
	--sm-accent-dark: #0A403B;
	--sm-ink: #13201D;
	--sm-ink-2: #3E4F4B;
	--sm-muted: #4A5A56;
	--sm-eyebrow: #3E5A54;
	--sm-bg: #FFFFFF;
	--sm-bg-soft: #F3F7F5;
	--sm-line: #E3E9E7;
	--sm-line-2: #DCE5E2;
	--sm-placeholder: #E6EEEB;
	--sm-amber: #F4B740;
	--sm-amber-bg: #FFF6E3;
	--sm-amber-line: #F4D08A;
	--sm-amber-tag: #FFF1D6;
	--sm-amber-ink: #7A4B00;
	--sm-amber-text: #3E3A2E;
	--sm-dark: #13201D;
	--sm-dark-line: #3A4B47;
	--sm-dark-text: #C9D6D2;
	--sm-danger-ink: #8A3B12;
	--sm-radius: 14px;
	--sm-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--sm-font-display: "Manrope", "Inter", system-ui, sans-serif;
}
@supports (color: color-mix(in srgb, red, blue)) {
	:root {
		--sm-accent-soft: color-mix(in srgb, var(--sm-accent) 12%, #ffffff);
		--sm-accent-dark: color-mix(in srgb, var(--sm-accent) 78%, #000000);
	}
}
/* TOKENS-END */

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--sm-font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--sm-ink);
	background: var(--sm-bg);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--sm-accent); }
a:hover { color: var(--sm-accent-dark); }
:focus-visible { outline: 3px solid var(--sm-amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--sm-font-display); line-height: 1.2; color: var(--sm-ink); }
.sm-icon { flex: none; display: inline-block; vertical-align: middle; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.sm-skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	background: var(--sm-ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 600;
}
.sm-skip-link:focus { top: 12px; color: #fff; }

.sm-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

/* --- Boutons ------------------------------------------------------------- */
.sm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 10px; border: 1.5px solid transparent;
	font: 600 16px/1.2 var(--sm-font); text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.sm-btn--primary { background: var(--sm-accent); color: #fff; }
.sm-btn--primary:hover { background: var(--sm-accent-dark); color: #fff; }
.sm-btn--outline { border-color: var(--sm-ink); color: var(--sm-ink); background: transparent; }
.sm-btn--outline:hover { background: var(--sm-ink); color: #fff; }
.sm-btn--amber { background: var(--sm-amber); color: var(--sm-ink); }
.sm-btn--amber:hover { background: #E9A92A; color: var(--sm-ink); }

.sm-icon-btn {
	width: 44px; height: 44px; border-radius: 22px; border: 1px solid #D5DFDC;
	background: #fff; color: var(--sm-ink); display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer; padding: 0;
}
.sm-icon-btn:hover { border-color: var(--sm-ink); }

/* --- Bandeau de transparence --------------------------------------------- */
.sm-disclosure {
	background: var(--sm-dark); color: #E9F1EF; font-size: 13px; line-height: 1.5;
	padding: 10px 24px; text-align: center;
}
.sm-disclosure a { color: var(--sm-amber); font-weight: 600; }
.sm-disclosure a:hover { color: #FFD27A; }

/* --- En-tête ------------------------------------------------------------- */
.sm-header { border-bottom: 1px solid var(--sm-line); background: #fff; position: relative; }
.sm-header__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	padding-block: 16px;
}
.sm-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sm-ink); }
.sm-brand:hover { color: var(--sm-ink); }
.sm-brand__mark {
	display: inline-flex; width: 40px; height: 40px; border-radius: 10px;
	align-items: center; justify-content: center; color: #fff; background: var(--sm-accent);
}
.sm-brand__name { font-family: var(--sm-font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.custom-logo-link img { max-height: 48px; width: auto; }

.sm-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; list-style: none; margin: 0; padding: 0; }
.sm-nav__list a { display: inline-block; padding: 10px 0; color: var(--sm-ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.sm-nav__list a:hover,
.sm-nav__list .current-menu-item > a,
.sm-nav__list .current-post-ancestor > a,
.sm-nav__list .current-menu-parent > a { color: var(--sm-accent); }
.sm-nav__list .current-menu-item > a,
.sm-nav__list .current-post-ancestor > a { font-weight: 600; }

.sm-menu-toggle { display: none; }
.sm-menu-toggle__close { display: none; }

.sm-search-panel { border-top: 1px solid var(--sm-line); background: var(--sm-bg-soft); padding-block: 16px; }
.sm-searchform { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-searchform__field {
	flex: 1 1 260px; min-height: 48px; padding: 0 16px; border-radius: 10px;
	border: 1.5px solid var(--sm-line-2); font: 400 16px var(--sm-font); color: var(--sm-ink); background: #fff;
}
.sm-searchform__field:focus { border-color: var(--sm-accent); outline: none; box-shadow: 0 0 0 3px var(--sm-accent-soft); }

@media (max-width: 899px) {
	.sm-menu-toggle { display: inline-flex; order: 3; }
	.sm-search-toggle { order: 2; margin-left: auto; }
	.sm-nav { order: 4; flex-basis: 100%; display: none; }
	.sm-header.is-open .sm-nav { display: block; }
	.sm-header.is-open .sm-menu-toggle__open { display: none; }
	.sm-header.is-open .sm-menu-toggle__close { display: inline; }
	.sm-nav__list { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--sm-line); }
	.sm-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--sm-line); font-size: 16px; }
}

/* --- Accueil : accroche ---------------------------------------------------- */
.sm-hero { background: var(--sm-bg-soft); }
.sm-hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 72px 80px; }
.sm-hero__text { flex: 1 1 520px; min-width: 0; }
.sm-eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sm-eyebrow); }
.sm-hero__title {
	margin: 0 0 20px; font-weight: 800; font-size: clamp(38px, 5vw, 60px);
	line-height: 1.05; letter-spacing: -0.03em;
}
.sm-hero__lead { margin: 0 0 32px; font-size: 19px; color: var(--sm-ink-2); max-width: 560px; }
.sm-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.sm-start {
	flex: 1 1 360px; min-width: 0; background: #fff; border: 1px solid var(--sm-line-2);
	border-radius: 16px; padding: 28px;
}
.sm-start__title { margin: 0 0 6px; font-weight: 700; font-size: 22px; }
.sm-start__text { margin: 0 0 18px; font-size: 15px; color: var(--sm-muted); }
.sm-start__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sm-start__list a {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	min-height: 52px; padding: 10px 16px; border-radius: 10px; background: var(--sm-bg-soft);
	color: var(--sm-ink); text-decoration: none; font-weight: 500; line-height: 1.35;
}
.sm-start__list a:hover { background: var(--sm-accent-soft); color: var(--sm-ink); }

/* --- Sections ------------------------------------------------------------ */
.sm-section { padding-block: 72px; }
.sm-section + .sm-section { padding-top: 0; }
.sm-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.sm-section__head .sm-section__text { margin-bottom: 0; }
.sm-section__title { margin: 0 0 8px; font-weight: 800; font-size: clamp(28px, 3vw, 34px); letter-spacing: -0.02em; }
.sm-section__text { margin: 0 0 32px; color: var(--sm-muted); max-width: 680px; }
.sm-link-more { font-weight: 600; }

.sm-admin-hint {
	margin: 0; padding: 18px 20px; border: 1.5px dashed var(--sm-line-2); border-radius: 12px;
	color: var(--sm-muted); font-size: 15px; background: #fff;
}

/* --- Cartes d'articles ----------------------------------------------------- */
.sm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.sm-card {
	display: flex; flex-direction: column; border: 1px solid var(--sm-line); border-radius: var(--sm-radius);
	overflow: hidden; background: #fff; position: relative; transition: border-color .15s ease, box-shadow .15s ease;
}
.sm-card:hover { border-color: var(--sm-line-2); box-shadow: 0 6px 24px rgba(19, 32, 29, .07); }
.sm-card__media { display: block; aspect-ratio: 16 / 10; background: var(--sm-placeholder); }
.sm-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-card__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #9DB2AC; }
.sm-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sm-card__title { margin: 0; font-weight: 700; font-size: 19px; line-height: 1.3; }
.sm-card__title a { color: var(--sm-ink); text-decoration: none; }
.sm-card__title a::after { content: ""; position: absolute; inset: 0; }
.sm-card__title a:hover { color: var(--sm-accent); }
.sm-card__excerpt { margin: 0; font-size: 15px; color: var(--sm-muted); line-height: 1.55; }
.sm-card__meta { margin: auto 0 0; padding-top: 8px; font-size: 13px; color: var(--sm-muted); }

.sm-tag {
	align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.4;
	padding: 4px 10px; border-radius: 999px; background: var(--sm-accent-soft); color: var(--sm-accent);
	text-decoration: none; position: relative; z-index: 1;
}
.sm-tag--amber { background: var(--sm-amber-tag); color: var(--sm-amber-ink); }
a.sm-tag:hover { text-decoration: underline; }

/* --- Tuiles « situations » ------------------------------------------------- */
.sm-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sm-tile {
	display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 22px;
	border-radius: var(--sm-radius); border: 1px solid var(--sm-line); color: var(--sm-ink); text-decoration: none;
	transition: border-color .15s ease, background-color .15s ease;
}
.sm-tile:hover { border-color: var(--sm-accent); color: var(--sm-ink); }
.sm-tile__icon {
	flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--sm-accent-soft); color: var(--sm-accent);
	display: inline-flex; align-items: center; justify-content: center;
}
.sm-tile__icon--amber { background: var(--sm-amber-tag); color: var(--sm-amber-ink); }
.sm-tile__title { display: block; font-family: var(--sm-font-display); font-size: 18px; margin-bottom: 4px; line-height: 1.3; }
.sm-tile__text { display: block; font-size: 15px; color: var(--sm-muted); line-height: 1.5; }

/* --- Section sombre « Vos droits » ----------------------------------------- */
.sm-dark { background: var(--sm-dark); color: #fff; }
.sm-dark .sm-section__title { color: #fff; }
.sm-dark .sm-section__text { color: var(--sm-dark-text); }
.sm-questions { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sm-question {
	display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--sm-radius);
	border: 1px solid var(--sm-dark-line); color: #fff; text-decoration: none;
}
.sm-question:hover { border-color: var(--sm-amber); color: #fff; }
.sm-question strong { font-family: var(--sm-font-display); font-size: 19px; line-height: 1.35; }
.sm-question span { color: var(--sm-amber); font-weight: 600; margin-top: auto; }

/* --- Méthode et affiliation ------------------------------------------------ */
.sm-method { display: flex; flex-wrap: wrap; gap: 40px; }
.sm-method.sm-section { padding-top: 80px; }
.sm-method__text { flex: 1 1 480px; min-width: 0; }
.sm-method__intro { margin: 8px 0 24px; color: var(--sm-ink-2); font-size: 17px; }
.sm-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sm-checks li { display: flex; gap: 12px; align-items: flex-start; }
.sm-checks .sm-icon { color: var(--sm-accent); margin-top: 2px; }
.sm-money {
	flex: 1 1 360px; min-width: 0; align-self: flex-start; background: var(--sm-amber-bg);
	border: 1px solid var(--sm-amber-line); border-radius: 16px; padding: 28px; color: var(--sm-amber-text);
}
.sm-money__title { margin: 0 0 10px; font-weight: 700; font-size: 21px; }
.sm-money p { margin: 0 0 16px; }
.sm-money a { font-weight: 600; color: #6B4200; }

/* --- Article ------------------------------------------------------------- */
.sm-single, .sm-page, .sm-archive { padding-block: 24px 72px; }
.sm-breadcrumb { font-size: 14px; color: var(--sm-muted); margin-bottom: 28px; line-height: 1.5; }
.sm-breadcrumb a { color: var(--sm-muted); }
.sm-breadcrumb a:hover { color: var(--sm-ink); }
.sm-breadcrumb__sep { margin: 0 4px; }

.sm-single__layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.sm-article { flex: 999 1 640px; min-width: 0; max-width: 760px; }
.sm-article--page { margin-inline: auto; }
.sm-article__header .sm-tag { font-size: 13px; padding: 4px 12px; margin-bottom: 16px; }
.sm-article__title { margin: 0 0 20px; font-weight: 800; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; }
.sm-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--sm-muted); margin-bottom: 24px; }
.sm-byline strong { color: var(--sm-ink); }
.sm-byline__avatar { border-radius: 50%; width: 40px; height: 40px; }
.sm-notice {
	margin: 0 0 28px; background: var(--sm-amber-bg); border: 1px solid var(--sm-amber-line); border-radius: 12px;
	padding: 16px 20px; font-size: 15px; line-height: 1.55; color: var(--sm-amber-text);
}
.sm-article__media { margin: 0 0 32px; }
.sm-article__media img { width: 100%; border-radius: 16px; display: block; }
.sm-article__media figcaption { font-size: 13px; color: var(--sm-muted); margin-top: 8px; }

.sm-aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .sm-aside { position: sticky; top: 24px; } .admin-bar .sm-aside { top: 56px; } }
.sm-box { border: 1px solid var(--sm-line); border-radius: var(--sm-radius); padding: 22px; font-size: 15px; line-height: 1.5; }
.sm-box__title { margin: 0 0 12px; font-family: var(--sm-font-display); font-weight: 700; font-size: 17px; }
.sm-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sm-toc a { display: block; padding: 8px 0; color: var(--sm-ink); text-decoration: none; }
.sm-toc a:hover { color: var(--sm-accent); }
.sm-box--dark { background: var(--sm-dark); border-color: var(--sm-dark); color: #fff; }
.sm-box--dark .sm-box__title { color: #fff; font-size: 19px; margin-bottom: 8px; }
.sm-box--dark p { margin: 0 0 16px; color: var(--sm-dark-text); }
.sm-box--dark .sm-btn { min-height: 44px; padding: 0 18px; }

.sm-related { margin-top: 56px; }
.sm-related__title { margin: 0 0 16px; font-weight: 800; font-size: 24px; }
.sm-related__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sm-related__item {
	display: block; border: 1px solid var(--sm-line); border-radius: 12px; padding: 18px;
	color: var(--sm-ink); text-decoration: none; line-height: 1.4;
}
.sm-related__item:hover { border-color: var(--sm-accent); color: var(--sm-ink); }
.sm-related__item strong { font-family: var(--sm-font-display); }
.sm-related__cat { display: block; font-size: 12px; font-weight: 600; color: var(--sm-accent); margin-bottom: 6px; }

/* --- Archives ------------------------------------------------------------ */
.sm-archive__header { margin-bottom: 32px; }
.sm-archive__title { margin: 0 0 8px; font-weight: 800; font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.02em; }
.sm-archive__desc { color: var(--sm-muted); max-width: 680px; }
.sm-archive__desc p { margin: 0; }
.sm-archive__search { max-width: 640px; margin-top: 20px; }
.sm-empty { color: var(--sm-muted); }
.sm-404 p { max-width: 640px; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
	border: 1px solid var(--sm-line-2); border-radius: 10px; color: var(--sm-ink); text-decoration: none; font-weight: 500;
}
.page-numbers.current { background: var(--sm-accent); border-color: var(--sm-accent); color: #fff; }
a.page-numbers:hover { border-color: var(--sm-ink); color: var(--sm-ink); }

/* --- Pied de page -------------------------------------------------------- */
.sm-footer { background: var(--sm-bg-soft); border-top: 1px solid var(--sm-line); font-size: 15px; line-height: 1.5; }
.sm-footer .sm-container { padding-block: 56px 32px; }
.sm-footer__cols { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.sm-footer__brand { flex: 2 1 280px; min-width: 0; }
.sm-footer__name { margin: 0 0 10px; font-family: var(--sm-font-display); font-weight: 800; font-size: 20px; }
.sm-footer__tagline { margin: 0; color: var(--sm-muted); max-width: 320px; }
.sm-footer__col { flex: 1 1 160px; }
.sm-footer__title { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.sm-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sm-footer__col a { color: var(--sm-ink); }
.sm-footer__col a:hover { color: var(--sm-accent); }
.sm-footer__bottom {
	border-top: 1px solid var(--sm-line-2); padding-top: 20px; display: flex; flex-wrap: wrap;
	justify-content: space-between; gap: 12px; font-size: 13px; color: var(--sm-muted);
}

@media (max-width: 600px) {
	.sm-container { padding-inline: 16px; }
	.sm-hero__inner { padding-block: 48px 56px; gap: 32px; }
	.sm-section { padding-block: 48px; }
	.sm-start { padding: 20px; }
	.sm-tiles, .sm-questions { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contenu des articles (aussi utilisé dans l'éditeur)
   ========================================================================== */
/* CONTENT-START */
.sm-content { font-size: 17px; line-height: 1.65; }
.sm-content > * { margin-block: 0; }
.sm-content > * + * { margin-top: 1.25em; }
.sm-content h2 {
	font-family: var(--sm-font-display); font-weight: 800; font-size: clamp(24px, 3vw, 30px);
	letter-spacing: -0.02em; line-height: 1.2; margin-top: 2em; scroll-margin-top: 24px;
}
.sm-content h3 { font-family: var(--sm-font-display); font-weight: 700; font-size: 22px; line-height: 1.3; margin-top: 1.6em; }
.sm-content h4 { font-family: var(--sm-font-display); font-weight: 700; font-size: 18px; margin-top: 1.4em; }
.sm-content li + li { margin-top: .35em; }
.sm-content a { color: var(--sm-accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.sm-content blockquote {
	margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--sm-accent);
	color: var(--sm-ink-2); font-style: normal;
}
.sm-content figure { margin-inline: 0; }
.sm-content .wp-block-image img { border-radius: 12px; }
.sm-content .wp-block-image.is-style-arrondie img { border-radius: 16px; }
.sm-content figcaption, .sm-content .wp-element-caption { font-size: 13px; color: var(--sm-muted); margin-top: 8px; }
.sm-content hr, .sm-content .wp-block-separator { border: 0; border-top: 1px solid var(--sm-line); margin-block: 2em; }

/* Tableaux */
.sm-content .wp-block-table { overflow-x: auto; }
.sm-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.sm-content th, .sm-content td { padding: 14px 16px; border: 0; border-top: 1px solid var(--sm-line); text-align: left; vertical-align: top; }
.sm-content thead th, .sm-content thead td { background: var(--sm-bg-soft); font-weight: 600; border-top: 0; border-bottom: 0; }
.sm-content .wp-block-table thead { border-bottom: 0; }
.sm-content .wp-block-table.is-style-comparatif { border: 1px solid var(--sm-line); border-radius: var(--sm-radius); }
.sm-content .wp-block-table.is-style-comparatif table { min-width: 640px; }
.sm-content .is-style-comparatif td:first-child { min-width: 128px; }
.sm-content .is-style-comparatif td:first-child strong { white-space: nowrap; }
.sm-content .is-style-comparatif td:last-child a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 8px;
	background: var(--sm-accent); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.sm-content .is-style-comparatif td:last-child a:hover { background: var(--sm-accent-dark); color: #fff; }
.sm-content .is-style-comparatif mark,
.sm-content .sm-badge {
	display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 600; padding: 2px 8px;
	border-radius: 999px; background: var(--sm-amber); color: var(--sm-ink); white-space: nowrap;
}

/* Encadrés (styles du bloc Groupe) */
.sm-content .is-style-en-bref { background: var(--sm-bg-soft); border-radius: 16px; padding: 24px 28px; }
.sm-content .is-style-note-affiliation {
	background: var(--sm-amber-bg); border: 1px solid var(--sm-amber-line); border-radius: 12px;
	padding: 16px 20px; font-size: 15px; color: var(--sm-amber-text);
}
.sm-content .is-style-carte { border: 1px solid var(--sm-line-2); border-radius: var(--sm-radius); padding: 22px; }
.sm-content .is-style-carte-accent { border: 2px solid var(--sm-accent); border-radius: var(--sm-radius); padding: 22px; }
.sm-content .is-style-sombre { background: var(--sm-dark); color: #fff; border-radius: var(--sm-radius); padding: 24px; }
.sm-content .is-style-sombre h2, .sm-content .is-style-sombre h3 { color: #fff; }
.sm-content .is-style-sombre p { color: var(--sm-dark-text); }
.sm-content .is-style-en-bref > * + *,
.sm-content .is-style-carte > * + *,
.sm-content .is-style-carte-accent > * + *,
.sm-content .is-style-sombre > * + * { margin-top: .9em; }
.sm-content .is-style-en-bref > :first-child,
.sm-content .is-style-carte > :first-child,
.sm-content .is-style-carte-accent > :first-child,
.sm-content .is-style-sombre > :first-child,
.sm-content .is-style-note-affiliation > :first-child { margin-top: 0; }
.sm-content .is-style-en-bref h2, .sm-content .is-style-en-bref h3 { font-size: 20px; }
.sm-content .is-style-carte h3, .sm-content .is-style-carte-accent h3 { font-size: 19px; }
.sm-content .is-style-en-bref ul, .sm-content .is-style-carte ul, .sm-content .is-style-carte-accent ul { padding-left: 20px; }

/* Listes */
.sm-content ol.is-style-etapes { list-style: none; padding-left: 0; counter-reset: sm-etape; }
.sm-content ol.is-style-etapes > li { position: relative; padding-left: 52px; min-height: 36px; counter-increment: sm-etape; }
.sm-content ol.is-style-etapes > li + li { margin-top: 14px; }
.sm-content ol.is-style-etapes > li::before {
	content: counter(sm-etape); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
	background: var(--sm-accent-soft); color: var(--sm-accent); font-weight: 700; font-size: 16px;
	display: flex; align-items: center; justify-content: center;
}
.sm-content ul.is-style-coches { list-style: none; padding-left: 0; }
.sm-content ul.is-style-coches > li { position: relative; padding-left: 30px; }
.sm-content ul.is-style-coches > li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--sm-accent); font-weight: 700; }

/* Paragraphes */
.sm-content .is-style-surtitre { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sm-eyebrow); }

/* Boutons */
.sm-content .wp-block-button__link {
	display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; border-radius: 10px;
	background: var(--sm-accent); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1.3;
}
.sm-content .wp-block-button__link:hover { background: var(--sm-accent-dark); color: #fff; }
.sm-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--sm-ink); border: 1.5px solid var(--sm-ink); }
.sm-content .is-style-outline .wp-block-button__link:hover { background: var(--sm-ink); color: #fff; }

/* FAQ (bloc Détails) */
.sm-content .wp-block-details { border: 1px solid var(--sm-line); border-radius: 12px; padding: 0 20px; }
.sm-content .wp-block-details + .wp-block-details { margin-top: 10px; }
.sm-content .wp-block-details summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
.sm-content .wp-block-details > :not(summary) { margin: 0 0 16px; color: var(--sm-ink-2); }

/* Colonnes (indépendant des styles du cœur : égales, empilées sur mobile) */
.sm-content .wp-block-columns { display: flex; flex-wrap: wrap !important; gap: 16px; align-items: stretch !important; }
.sm-content .wp-block-column { flex: 1 1 240px; min-width: 0; margin: 0; }
.sm-content .wp-block-column > :first-child { margin-top: 0; }
.sm-content .wp-block-column > * + * { margin-top: .9em; }
.sm-content .wp-block-column > .is-style-carte,
.sm-content .wp-block-column > .is-style-carte-accent { height: 100%; }
.sm-content .sm-pros-title { color: var(--sm-accent); }
.sm-content .sm-cons-title { color: var(--sm-danger-ink); }
/* CONTENT-END */
