/* =========================================================
   Ergomini : design (inspiration Healthline : blanc, vert santé, typo lisible)
   Modifier les couleurs / tailles ici, dans :root.
   ========================================================= */
:root {
	--erg-green: #0a7f66;
	--erg-green-dark: #075a49;
	--erg-green-soft: #e8f5f1;
	--erg-mint: #f3faf8;
	--erg-ink: #17242a;
	--erg-muted: #5a6a70;
	--erg-line: #e2e9eb;
	--erg-warn-bg: #fff6e5;
	--erg-warn: #9a5b00;
	--erg-radius: 14px;
	--erg-shadow: 0 1px 2px rgba(15, 40, 45, .06), 0 6px 20px rgba(15, 40, 45, .06);
	--erg-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--erg-max: 1320px;
	--erg-narrow: 740px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body.erg {
	margin: 0;
	font-family: var(--erg-font);
	font-size: 18px;
	line-height: 1.7;
	color: var(--erg-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
.erg img { max-width: 100%; height: auto; display: block; }
.erg a { color: var(--erg-green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.erg a:hover { color: var(--erg-green-dark); }
.erg :focus-visible { outline: 3px solid #1a9e83; outline-offset: 2px; border-radius: 4px; }
.erg h1, .erg h2, .erg h3 { color: var(--erg-ink); letter-spacing: -.015em; line-height: 1.22; margin: 0 0 .5em; }
.erg h1 { font-size: clamp(2rem, 4.2vw + .5rem, 3.1rem); font-weight: 800; }
.erg h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem); font-weight: 750; }
.erg h3 { font-size: 1.2rem; font-weight: 700; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.erg-skip { position: absolute; left: -999px; top: 8px; background: var(--erg-ink); color: #fff !important; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.erg-skip:focus { left: 8px; }

.erg-wrap { width: 100%; max-width: var(--erg-max); margin-inline: auto; padding-inline: 20px; }
.erg-narrow { max-width: calc(var(--erg-narrow) + 40px); }
.erg-muted { color: var(--erg-muted); }
.erg-lead { font-size: 1.2rem; color: var(--erg-muted); }
.erg-note { font-size: .88rem; color: var(--erg-muted); margin: 0 0 1.25rem; }
.erg-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--erg-green); margin: 0 0 .5rem; }
.erg-eyebrow a { text-decoration: none; }

/* ---------- Boutons ---------- */
.erg-btn {
	display: inline-flex; align-items: center; gap: .3em; cursor: pointer;
	background: var(--erg-green); color: #fff !important; border: 2px solid var(--erg-green);
	font: 700 .95rem/1 var(--erg-font); padding: .85em 1.3em; border-radius: 999px; text-decoration: none !important;
	transition: background .15s, border-color .15s, transform .15s;
}
.erg-btn:hover { background: var(--erg-green-dark); border-color: var(--erg-green-dark); }
.erg-btn { min-height: 44px; justify-content: center; }
.erg-btn--ghost { background: transparent; color: var(--erg-green) !important; padding: .6em 1em; font-size: .85rem; border-color: var(--erg-line); }
.erg-link { display: inline-flex; align-items: center; min-height: 44px; }
.erg-inline-aff { padding-block: 2px; }
.erg-btn--ghost:hover { background: var(--erg-green-soft); border-color: var(--erg-green); color: var(--erg-green-dark) !important; }
.erg-link { font-weight: 650; font-size: .92rem; }
.erg-ext { font-size: .85em; opacity: .7; }

/* ---------- En-tête ---------- */
.erg-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--erg-line); }
.admin-bar .erg-header { top: 32px; }
.erg-header__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.erg-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--erg-green) !important; text-decoration: none !important; }
.erg-logo__t { font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; color: var(--erg-ink); }
.erg-nav { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: space-between; }
.erg-menu, .erg-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.erg-nav li { position: relative; }
.erg-nav a { display: block; padding: 10px 12px; color: var(--erg-ink); font-weight: 600; font-size: .96rem; text-decoration: none; border-radius: 8px; }
.erg-nav a:hover, .erg-nav .current-menu-item > a { background: var(--erg-green-soft); color: var(--erg-green-dark); }
.erg-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--erg-line); border-radius: 12px; box-shadow: var(--erg-shadow); padding: 8px; }
.erg-nav li:hover > .sub-menu, .erg-nav li:focus-within > .sub-menu { display: flex; }
.erg-nav a { white-space: nowrap; }
.erg-header__in { gap: 20px; }
.erg-search input { width: 190px; max-width: 100%; border: 1px solid var(--erg-line); background: var(--erg-mint); border-radius: 999px; padding: .6em 1.1em; font: inherit; font-size: .9rem; }
.erg-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--erg-line); background: #fff; border-radius: 10px; cursor: pointer; }
.erg-burger__bars, .erg-burger__bars::before, .erg-burger__bars::after { display: block; width: 20px; height: 2px; background: var(--erg-ink); border-radius: 2px; content: ""; margin: auto; position: relative; }
.erg-burger__bars::before { position: absolute; top: -6px; left: 0; }
.erg-burger__bars::after { position: absolute; top: 6px; left: 0; }

@media (max-width: 1040px) {
	.erg-burger { display: block; }
	.erg-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--erg-line); padding: 12px 20px 20px; max-height: 80vh; overflow: auto; }
	.erg-nav.is-open { display: flex; }
	.erg-menu, .erg-nav ul { flex-direction: column; }
	.erg-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px; }
	.erg-search input { width: 100%; }
}

/* ---------- Accueil ---------- */
.erg-hero { background: linear-gradient(180deg, var(--erg-mint), #fff); padding: clamp(40px, 8vw, 96px) 0 clamp(28px, 5vw, 56px); }
.erg-hero__in { max-width: 860px; text-align: center; }
.erg-hero__lead { font-size: 1.2rem; color: var(--erg-muted); max-width: 640px; margin: 0 auto 1.6rem; }
.erg-hero__search { display: flex; gap: 10px; max-width: 620px; margin: 0 auto; }
.erg-hero__search input { flex: 1; min-width: 0; border: 1px solid var(--erg-line); border-radius: 999px; padding: .9em 1.3em; font: inherit; font-size: 1rem; background: #fff; box-shadow: var(--erg-shadow); }
@media (max-width: 520px) { .erg-hero__search { flex-direction: column; } }

.erg-section { padding-block: clamp(32px, 5vw, 60px); }
.erg-band { background: var(--erg-mint); }
.erg-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.erg-h2 { margin-bottom: .8em; }

.erg-chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.erg-chip { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--erg-line); border-radius: var(--erg-radius); text-decoration: none !important; color: var(--erg-ink) !important; transition: box-shadow .15s, border-color .15s, transform .15s; }
.erg-chip:hover { border-color: var(--erg-green); box-shadow: var(--erg-shadow); transform: translateY(-1px); }
.erg-chip__dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--erg-green-soft); color: var(--erg-green-dark); font-weight: 800; font-size: 1.15rem; flex: none; }
.erg-chip__t { font-weight: 700; line-height: 1.25; }
.erg-chip__n { display: block; font-size: .8rem; color: var(--erg-muted); font-weight: 500; }
.erg-chip > .erg-chip__t:only-child { padding: 6px 4px; }

/* ---------- Grilles / cartes ---------- */
.erg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 24px; }
.erg-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.erg-card { display: flex; flex-direction: column; }
.erg-card__media { display: block; aspect-ratio: 16/10; border-radius: var(--erg-radius); overflow: hidden; background: var(--erg-green-soft); }
.erg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.erg-card:hover .erg-card__media img { transform: scale(1.03); }
.erg-card__body { padding: 14px 2px 0; }
.erg-card__title { font-size: 1.2rem; margin: 0 0 .35em; }
.erg-card__title a { color: var(--erg-ink); text-decoration: none; }
.erg-card__title a:hover { color: var(--erg-green-dark); text-decoration: underline; }
.erg-card__meta { margin: 0; color: var(--erg-muted); font-size: .85rem; }
.erg-ph { display: block; width: 100%; height: 100%; min-height: 120px; background: linear-gradient(135deg, #d5efe8, #eaf7f3 55%, #cfe9f0); }

/* ---------- Carte produit (sobre) ---------- */
.erg-pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--erg-line); border-radius: var(--erg-radius); overflow: hidden; }
.erg-pcard__media { display: block; aspect-ratio: 4/3; background: var(--erg-green-soft); }
.erg-pcard__media img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.erg-pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.erg-pcard__title { font-size: 1.1rem; margin: 0; }
.erg-pcard__title a { color: var(--erg-ink); text-decoration: none; }
.erg-pcard__title a:hover { text-decoration: underline; }
.erg-pcard__verdict { margin: 0; font-size: .95rem; color: var(--erg-muted); line-height: 1.5; }
.erg-pcard__actions { margin: auto 0 0; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.erg-pcard--compact .erg-pcard__media { aspect-ratio: 16/9; }
.erg-proscons { display: grid; grid-template-columns: 1fr; gap: 6px; font-size: .88rem; }
.erg-proscons ul { list-style: none; margin: 0; padding: 0; }
.erg-proscons li { position: relative; padding-left: 1.35em; margin: 2px 0; line-height: 1.45; }
.erg-pros li::before { content: "✓"; position: absolute; left: 0; color: var(--erg-green); font-weight: 800; }
.erg-cons li::before { content: "–"; position: absolute; left: .2em; color: #a35c00; font-weight: 800; }
.erg-proscons--big { grid-template-columns: 1fr 1fr; gap: 24px; font-size: 1rem; background: var(--erg-mint); border-radius: var(--erg-radius); padding: 20px 24px; margin-bottom: 1.5rem; }
.erg-proscons--big h2 { font-size: 1.1rem; margin-bottom: .4em; }
@media (max-width: 600px) { .erg-proscons--big { grid-template-columns: 1fr; } }

.erg-rating { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--erg-muted); }
.erg-rating__bar { position: relative; width: 82px; height: 14px; background: linear-gradient(90deg, #f0b429 var(--w), #dfe5e7 var(--w)); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='82' height='14' viewBox='0 0 82 14'><g fill='black'><path id='s' d='M7 0l2 4.6 5 .5-3.7 3.4 1 4.9L7 10.8 2.7 13.4l1-4.9L0 5.1l5-.5z'/><use href='%23s' x='17'/><use href='%23s' x='34'/><use href='%23s' x='51'/><use href='%23s' x='68'/></g></svg>") center/100% 100% no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='82' height='14' viewBox='0 0 82 14'><g fill='black'><path id='s' d='M7 0l2 4.6 5 .5-3.7 3.4 1 4.9L7 10.8 2.7 13.4l1-4.9L0 5.1l5-.5z'/><use href='%23s' x='17'/><use href='%23s' x='34'/><use href='%23s' x='51'/><use href='%23s' x='68'/></g></svg>") center/100% 100% no-repeat; }

/* ---------- Confiance ---------- */
.erg-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.erg-trust__grid div { padding: 20px 22px; border: 1px solid var(--erg-line); border-radius: var(--erg-radius); }
.erg-trust__grid p { margin: 0; color: var(--erg-muted); font-size: .98rem; }

/* ---------- Page pilier / listes ---------- */
.erg-pillar { background: var(--erg-mint); padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--erg-line); }
.erg-pillar__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.erg-pillar__art { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--erg-shadow); }
.erg-pillar__intro { margin-top: 1rem; font-size: 1.08rem; color: var(--erg-muted); }
@media (max-width: 760px) { .erg-pillar__in { grid-template-columns: 1fr; } .erg-pillar__art { order: -1; max-height: 220px; object-fit: cover; } }
.erg-narrow.erg-pillar__solo { max-width: calc(var(--erg-narrow) + 40px); }

/* ---------- Personnalité : accents chauds, illustrations ---------- */
:root { --erg-coral: #e8735a; --erg-sand: #fbf0e4; }
.erg-hero { background: radial-gradient(900px 420px at 88% 0, #f9e3d3 0, transparent 60%), radial-gradient(700px 380px at 0 100%, #e2f1ea 0, transparent 60%), #fff; }
.erg-hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(16px, 4vw, 48px); align-items: center; max-width: var(--erg-max); text-align: left; }
.erg-hero__lead { margin-inline: 0; }
.erg-hero__search { margin: 0; }
.erg-hero h1 span { color: var(--erg-green); }
.erg-hero__art img { width: 100%; height: auto; }
@media (max-width: 860px) { .erg-hero__in { grid-template-columns: 1fr; } .erg-hero__art { order: -1; max-width: 340px; margin: 0 auto; } }
.erg-eyebrow { color: var(--erg-coral); }
.erg-patho { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.erg-pcard-patho { display: block; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--erg-line); text-decoration: none !important; color: var(--erg-ink) !important; transition: box-shadow .2s, transform .2s; }
.erg-pcard-patho:hover { box-shadow: var(--erg-shadow); transform: translateY(-2px); }
.erg-pcard-patho img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.erg-pcard-patho__t { display: block; font-weight: 750; padding: 12px 16px 0; font-size: 1.05rem; line-height: 1.25; }
.erg-pcard-patho__n { display: block; padding: 2px 16px 14px; font-size: .82rem; color: var(--erg-muted); }
.erg-card__illu { width: 100%; height: 100%; object-fit: cover; }
.erg-card__media { border-radius: 18px; }
.erg-pillar.erg-tone-cervicales { background: #eef5fb; }
.erg-pillar.erg-tone-tendinites { background: var(--erg-sand); }
.erg-pillar.erg-tone-articulations-muscles { background: #f0f7ea; }
.erg-pillar.erg-tone-stress-anxiete { background: #f4effa; }
.erg-trust__grid div { border-top: 4px solid var(--erg-green); }
.erg-trust__grid div:nth-child(2) { border-top-color: var(--erg-coral); }
.erg-trust__grid div:nth-child(3) { border-top-color: #7d5fb0; }

/* ---------- Fil d'Ariane ---------- */
.erg-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0 0 14px; font-size: .84rem; color: var(--erg-muted); }
.erg-crumbs li + li::before { content: "›"; margin: 0 8px; opacity: .6; }
.erg-crumbs a { color: var(--erg-muted); text-decoration: none; }
.erg-crumbs a:hover { text-decoration: underline; }

/* ---------- Article ---------- */
.erg-article__head { padding-top: clamp(20px, 4vw, 40px); }
.erg-article__title { margin-bottom: .45em; }
.erg-byline { display: flex; align-items: center; gap: 14px; padding: 14px 0 6px; border-top: 1px solid var(--erg-line); margin-top: 14px; }
.erg-byline__img { width: 44px; height: 44px; border-radius: 50%; }
.erg-byline__txt p { margin: 0; font-size: .92rem; line-height: 1.45; }
.erg-article__hero { max-width: 980px; margin-block: 18px 8px; }
.erg-article__hero img { border-radius: var(--erg-radius); width: 100%; }

.erg-prose { padding-block: 18px 40px; }
.erg-prose > * { max-width: 100%; }
.erg-prose p, .erg-prose li { font-size: 1.08rem; line-height: 1.8; }
.erg-prose h2 { margin-top: 2.1em; padding-top: .2em; }
.erg-prose h3 { margin-top: 1.7em; }
.erg-prose ul, .erg-prose ol { padding-left: 1.3em; }
.erg-prose li { margin: .3em 0; }
.erg-prose img { border-radius: 10px; margin-block: 1em; }
.erg-prose blockquote { margin: 1.5em 0; padding: .2em 1.2em; border-left: 4px solid var(--erg-green); color: var(--erg-muted); }
.erg-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.5em 0; }
/* Sur petit ecran, un tableau large defile dans son propre cadre au lieu d'elargir toute la page. */
@media (max-width: 719px) {
	.erg-prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.erg-prose table th, .erg-prose table td { min-width: 140px; }
	.erg-prose table th:first-child, .erg-prose table td:first-child { min-width: 110px; }
}
.erg-prose th, .erg-prose td { border: 1px solid var(--erg-line); padding: 10px 12px; text-align: left; }
.erg-prose th { background: var(--erg-mint); }

.erg-key { background: var(--erg-green-soft); border-radius: var(--erg-radius); padding: 18px 24px; margin: 1.2rem 0; }
.erg-key__t, .erg-toc__t, .erg-warn__t { margin: 0 0 .3em; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--erg-green-dark); }
.erg-key p:last-child, .erg-key ul:last-child { margin-bottom: 0; }
.erg-toc { border: 1px solid var(--erg-line); border-radius: var(--erg-radius); padding: 16px 24px; margin: 1.2rem 0 1.6rem; }
.erg-toc ol { margin: 0; padding-left: 1.2em; }
.erg-toc li { margin: .2em 0; font-size: 1rem; }
.erg-toc a { text-decoration: none; }
.erg-toc a:hover { text-decoration: underline; }
.erg-warn { background: var(--erg-warn-bg); border-left: 4px solid #e5a230; border-radius: 10px; padding: 14px 20px; margin: 1.6rem 0; }
.erg-warn__t { color: var(--erg-warn); }

.erg-faq .erg-q { border-bottom: 1px solid var(--erg-line); }
.erg-faq summary { cursor: pointer; font-weight: 700; padding: 14px 4px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.erg-faq summary::-webkit-details-marker { display: none; }
.erg-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--erg-green); }
.erg-faq details[open] summary::after { content: "–"; }
.erg-faq details > div { padding: 0 4px 12px; color: var(--erg-ink); }

.erg-selection { margin-block: 2.2rem; }
.erg-selection .erg-pgrid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .erg-selection .erg-pgrid { grid-template-columns: repeat(2, 1fr); } }
.erg-inline-aff { font-weight: 600; text-decoration-style: dotted !important; }
.erg-disclosure { font-size: .85rem; color: var(--erg-muted); border-top: 1px solid var(--erg-line); padding-top: 14px; margin-top: 2.4rem; }
.erg-disclosure a { color: inherit; }
.erg-authorbox { display: flex; gap: 16px; align-items: flex-start; background: var(--erg-mint); border-radius: var(--erg-radius); padding: 18px 22px; margin-top: 1.4rem; }
.erg-authorbox img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.erg-authorbox p { margin: 0; font-size: .95rem; line-height: 1.55; }
.erg-authorbox__n { font-weight: 750; }

/* ---------- Fiche produit ---------- */
.erg-fiche__top { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding-block: 8px 24px; }
.erg-fiche__media { background: #fff; border: 1px solid var(--erg-line); border-radius: var(--erg-radius); overflow: hidden; aspect-ratio: 1/1; display: grid; place-items: center; }
.erg-fiche__media img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 760px) { .erg-fiche__top { grid-template-columns: 1fr; } }

/* ---------- Pagination ---------- */
.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.nav-links a, .nav-links span { padding: 8px 14px; border: 1px solid var(--erg-line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.nav-links .current { background: var(--erg-green); color: #fff; border-color: var(--erg-green); }

/* ---------- Pied de page ---------- */
.erg-footer { background: #0f2a2f; color: #cfe0e2; margin-top: 40px; padding-top: 48px; font-size: .95rem; }
.erg-footer a { color: #e6f3f1; text-decoration: none; }
.erg-footer a:hover { text-decoration: underline; color: #fff; }
.erg-footer .erg-logo, .erg-footer .erg-logo__t { color: #fff !important; }
.erg-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.erg-footer__grid ul { list-style: none; margin: 0; padding: 0; }
.erg-footer__grid li { margin: 8px 0; }
.erg-footer__t { margin: 0 0 10px; font-weight: 750; color: #fff; }
.erg-footer__brand p { margin-top: 12px; max-width: 34ch; line-height: 1.6; }
.erg-footer__legal { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 22px 32px; font-size: .82rem; color: #9db5b8; }
.erg-footer__legal p { margin: 0 0 8px; max-width: 95ch; line-height: 1.6; }
.erg-footer__copy { margin-top: 14px !important; }
@media (max-width: 860px) { .erg-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .erg-footer__grid { grid-template-columns: 1fr; } .erg-wrap { padding-inline: 16px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Page de lecture : colonne large + sommaire à droite ---------- */
.erg-article__head > * { max-width: 920px; }
.erg-article__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 56px; align-items: start; justify-content: center; padding-block: 8px 40px; }
.erg-article__main { min-width: 0; padding-block: 12px 0; }
.erg-article__side { order: -1; margin-bottom: 8px; }
.erg-article__main p, .erg-article__main li { font-size: 1.12rem; line-height: 1.82; }
.erg-article__main img { border-radius: 12px; }
@media (min-width: 1080px) {
	.erg-article__grid.has-toc { grid-template-columns: minmax(0, 900px) 320px; }
	.erg-article__side { order: 0; margin: 0; }
	.erg-side-sticky { position: sticky; top: 96px; margin: 12px 0 0; }
	.erg-side-sticky .erg-toc { max-height: calc(100vh - 260px); overflow: auto; margin: 0; }
}
/* Bouton d'achat sous le sommaire de droite */
.erg-buybox { margin-top: 14px; padding: 16px 18px; border: 1px solid var(--erg-line); border-radius: var(--erg-radius); background: var(--erg-mint); text-align: center; }
.erg-buybox__t { margin: 0 0 10px; font-weight: 700; line-height: 1.3; }
.erg-buybox__b { margin: 0; }
.erg-buybox .erg-btn { display: block; }
/* Cartes ingredients (illustration + nom + phrase, liees vers Amazon) */
.erg-plants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 1.4rem 0 1.8rem; }
@media (min-width: 720px) { .erg-plants { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.erg-plants br, .erg-plants > p:empty { display: none; }
.erg-plant { margin: 0; border: 1px solid var(--erg-line); border-radius: var(--erg-radius); overflow: hidden; background: #fff; }
.erg-plant img { display: block; width: 100%; height: auto; border-radius: 0; }
.erg-plant__l { text-decoration: none; color: inherit; }
.erg-plant figcaption { padding: 10px 14px 14px; font-size: .95rem; line-height: 1.45; }
.erg-plant figcaption strong { display: block; margin-bottom: 4px; }
.erg-plant figcaption strong a { color: var(--erg-green-dark); text-decoration: none; }
.erg-plant figcaption span { color: var(--erg-muted); }
/* Illustration dans un article */
.erg-fig { margin: 1.6rem 0; }
.erg-fig img { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; }
.erg-fig figcaption { max-width: 640px; margin: 8px auto 0; font-size: .88rem; color: var(--erg-muted); text-align: center; }

/* Sommaire (colonne de droite ou bloc en haut sur mobile) */
.erg-toc { border: 1px solid var(--erg-line); border-radius: var(--erg-radius); padding: 18px 20px; background: #fff; box-shadow: var(--erg-shadow); }
.erg-toc ol { margin: 0; padding-left: 1.25em; }
.erg-toc ol.erg-toc--plain { list-style: none; padding-left: 0; }
.erg-toc li { margin: 0; font-size: .95rem; line-height: 1.4; }
.erg-toc a { display: block; padding: 9px 4px; text-decoration: none; color: var(--erg-ink); border-radius: 8px; }
.erg-toc a:hover { background: var(--erg-green-soft); color: var(--erg-green-dark); }
.erg-toc .erg-toc__l3 a { padding-left: 18px; font-size: .9rem; color: var(--erg-muted); }
.erg-toc li + li { border-top: 1px solid var(--erg-line); }

/* Le sommaire de droite doit pouvoir « suivre » le défilement : sa colonne occupe toute la hauteur de l'article. */
.erg-article__grid { align-items: stretch; }
.erg-article__side { align-self: stretch; }
/* Sommaire dans le texte : visible partout ; celui de droite seulement sur grand écran. */
.erg-toc--inline { margin: 1.6rem 0 2rem; box-shadow: none; background: var(--erg-mint); }
@media (max-width: 1079px) { .erg-article__side { display: none; } }

/* Titres de section plus lisibles : H2 marqué, H3 (A., B., C.) avec repère vert */
.erg-prose h2 { padding-bottom: .35em; border-bottom: 2px solid var(--erg-green-soft); }
.erg-prose h3 { font-size: 1.45rem; color: var(--erg-green-dark); margin-top: 2em; padding-left: .7em; border-left: 5px solid var(--erg-green); line-height: 1.3; }
.erg-prose h4 { font-size: 1.15rem; margin-top: 1.6em; color: var(--erg-ink); }

/* Bouton d'affiliation (liens partenaires isolés) */
.erg-aff-cta { margin: 1.8rem 0 !important; }
.erg-btn--aff { padding: .95em 1.6em; font-size: 1rem; box-shadow: 0 6px 16px -8px rgba(10, 127, 102, .7); }
.erg-btn--aff:hover { transform: translateY(-1px); }
.erg-aff-note { display: block; margin-top: .55rem; font-size: .8rem !important; color: var(--erg-muted); }
.erg-prose .erg-btn:not(.erg-btn--ghost) { color: #fff !important; }
.erg-prose .erg-btn--ghost { color: var(--erg-green) !important; }
.erg-prose .erg-btn--ghost:hover { color: var(--erg-green-dark) !important; }
/* Petit bouton d'achat dans une cellule de tableau */
.erg-btn--sm { padding: .7em 1.1em; font-size: .9rem; white-space: nowrap; box-shadow: 0 6px 14px -9px rgba(10, 127, 102, .8); }
.erg-prose table td .erg-btn { margin: 2px 0; }

/* ---------- Neutralise le layout parent (GeneratePress) ---------- */
.erg .site, .erg .site-content, .erg #page { display: block; max-width: none; padding: 0; margin: 0; }
