/* Helthio SEO Pages - Aligned with Zesty Lemon Design System */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Unbounded:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary: hsl(145, 55%, 35%);
  --color-primary-dark: hsl(145, 60%, 28%);
  --color-primary-light: hsl(145, 40%, 90%);
  --color-accent: hsl(20, 95%, 45%);
  --color-accent-dark: hsl(20, 90%, 38%);
  --color-accent-light: hsl(25, 90%, 55%);
  --color-text: hsl(145, 55%, 20%);
  --color-text-muted: hsl(145, 15%, 45%);
  --color-bg: hsl(48, 85%, 88%);
  --color-bg-muted: hsl(48, 75%, 93%);
  --color-bg-card: hsl(48, 60%, 97%);
  --color-border: hsl(48, 35%, 78%);
  --color-blue: #3b82f6;
  --color-emerald: hsl(145, 55%, 35%);
  --color-amber: #f59e0b;
  --color-rose: #f43f5e;
  --color-red: #ef4444;
  --color-violet: #8b5cf6;
  --max-width: 1200px;
  --content-width: 780px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary-dark); }

img { max-width: 100%; height: auto; }

/* ── Header ── */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: hsla(48, 85%, 88%, .95);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  max-width: var(--max-width);
  margin: 0 auto; padding: .875rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: 1.125rem; color: var(--color-text);
}
.site-logo .logo-icon {
  width: 2rem; height: 2rem; border-radius: .625rem;
  background: linear-gradient(135deg, hsl(145, 55%, 35%), hsl(25, 90%, 55%));
  display: flex; align-items: center; justify-content: center;
  color: #fff; padding: 3px;
}
.site-logo .logo-icon svg {
  width: 100%; height: 100%;
}
.site-logo span {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  color: var(--color-primary);
}
.header-nav { display: flex; align-items: center; gap: 1.5rem; }
.header-nav a { color: var(--color-text-muted); font-size: .875rem; font-weight: 500; }
.header-nav a:hover { color: var(--color-text); }
.header-nav .btn-primary {
  background: var(--color-accent); color: #fff;
  padding: .5rem 1rem; border-radius: .5rem; font-weight: 600;
}
.header-nav .btn-primary:hover { background: var(--color-accent-dark); color: #fff; }

/* ── Breadcrumb ── */
.breadcrumb {
  max-width: var(--max-width); margin: 0 auto; padding: 1rem;
}
.breadcrumb ol {
  list-style: none; display: flex; align-items: center; gap: .5rem;
  flex-wrap: wrap; font-size: .875rem; color: var(--color-text-muted);
}
.breadcrumb li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-text); }
.breadcrumb .separator { color: var(--color-border); }
.breadcrumb .current { color: var(--color-text); font-weight: 500; }

/* ── Layout ── */
.page-container {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem 4rem;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  overflow: hidden; max-width: 100%;
}
article { max-width: 100%; overflow: hidden; }
@media (min-width: 1024px) {
  .page-container { grid-template-columns: 1fr 320px; }
}

/* ── Article ── */
article h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 1rem;
  color: var(--color-primary);
}
article .meta { font-size: .875rem; color: var(--color-text-muted); margin-bottom: 2rem; }

article h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.5rem; font-weight: 600;
  margin: 2.5rem 0 1rem; line-height: 1.3;
  color: var(--color-primary);
}
article h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.125rem; font-weight: 500; margin: 1.5rem 0 .75rem;
  color: var(--color-text);
}

article p { margin-bottom: 1rem; color: var(--color-text-muted); }
article p strong { color: var(--color-text); }

article ul, article ol { margin: 0 0 1rem 1.5rem; color: var(--color-text-muted); }
article li { margin-bottom: .5rem; }

/* ── Info boxes ── */
.info-box {
  border-radius: .75rem; padding: 1.25rem; margin-bottom: 1.5rem;
  border: 1px solid;
}
.info-box.green { background: hsl(145, 40%, 94%); border-color: hsl(145, 40%, 75%); }
.info-box.green p, .info-box.green li { color: hsl(145, 55%, 25%); }
.info-box.green h3 { color: hsl(145, 60%, 20%); }
.info-box.red { background: #fef2f2; border-color: #fecaca; }
.info-box.red p, .info-box.red li { color: #991b1b; }
.info-box.red h3 { color: #7f1d1d; }
.info-box.blue { background: #eff6ff; border-color: #bfdbfe; }
.info-box.blue p { color: #1e40af; }
.info-box.amber { background: hsl(40, 90%, 94%); border-color: hsl(40, 80%, 70%); }
.info-box.amber p { color: hsl(30, 70%, 30%); }
.info-box.muted { background: var(--color-bg-muted); border-color: var(--color-border); }
.info-box.muted p { color: var(--color-text-muted); }
.info-box.highlight {
  background: hsla(145, 55%, 35%, .07); border-color: hsla(145, 55%, 35%, .25);
}

.formula {
  font-family: 'Courier New', monospace;
  text-align: center; padding: 1rem;
  background: var(--color-bg-card); border-radius: .5rem;
  margin-bottom: 1.5rem; border: 1px solid var(--color-border);
}

/* ── Cards grid ── */
.card-grid { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .card-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  border: 1px solid var(--color-border); border-radius: .75rem;
  padding: 1.25rem; transition: box-shadow .2s;
  background: var(--color-bg-card);
}
.card:hover { box-shadow: 0 4px 16px hsla(145, 55%, 35%, .1); }
.card-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.card-icon {
  width: 2.5rem; height: 2.5rem; border-radius: .625rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.card-icon.blue { background: #eff6ff; }
.card-icon.emerald { background: hsl(145, 40%, 92%); }
.card-icon.amber { background: hsl(40, 80%, 92%); }
.card-icon.rose { background: #fff1f2; }
.card-icon.red { background: #fef2f2; }
.card-icon.violet { background: #f5f3ff; }
.card-title { font-weight: 600; font-size: 1rem; }
.card-subtitle { font-size: .8125rem; color: var(--color-text-muted); }
.card p { font-size: .875rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .875rem; font-weight: 500; margin-top: .5rem;
  color: var(--color-accent);
}

/* ── Article link ── */
.article-link { font-weight: 500; color: var(--color-accent); }
.article-link::before { content: '→ '; }
.article-link:hover { color: var(--color-accent-dark); }

/* ── Comparison table ── */
.comparison-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .875rem; }
.comparison-table th, .comparison-table td {
  padding: .75rem; text-align: left; border-bottom: 1px solid var(--color-border);
}
.comparison-table th { font-weight: 600; background: var(--color-bg-muted); }
.comparison-table tr.recommended { background: hsla(20, 95%, 45%, .07); }

/* ── App review card ── */
.app-review {
  border: 1px solid var(--color-border); border-radius: .75rem;
  padding: 1.5rem; margin-bottom: 1.5rem; background: var(--color-bg-card);
}
.app-review.recommended { border-color: var(--color-accent); background: hsla(20, 95%, 45%, .04); }
.app-review h3 { margin-top: 0; }
.app-review .pros-cons { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .app-review .pros-cons { grid-template-columns: 1fr 1fr; } }
.app-review .pros li::before { content: '✓ '; color: var(--color-emerald); font-weight: 700; }
.app-review .cons li::before { content: '✗ '; color: var(--color-red); font-weight: 700; }
.app-review ul { list-style: none; margin-left: 0; }
.app-review li { margin-bottom: .375rem; font-size: .875rem; }

/* ── Sidebar ── */
.sidebar { display: none; }
@media (min-width: 1024px) { .sidebar { display: block; } }
.sidebar-inner { position: sticky; top: 5rem; }
.sidebar-inner > * + * { margin-top: 1.5rem; }

/* Table of contents */
.toc {
  background: var(--color-bg-card); border-radius: .75rem;
  padding: 1.25rem; border: 1px solid var(--color-border);
}
.toc h3 { font-family: 'Unbounded', sans-serif; font-size: .9375rem; font-weight: 500; margin-bottom: .75rem; }
.toc ol { list-style: decimal; margin-left: 1.25rem; }
.toc li { margin-bottom: .375rem; }
.toc a { font-size: .875rem; color: var(--color-text-muted); }
.toc a:hover { color: var(--color-accent); }

/* Mobile TOC */
.toc-mobile { display: block; margin-bottom: 2rem; }
@media (min-width: 1024px) { .toc-mobile { display: none; } }

/* Quick links */
.sidebar-box {
  background: var(--color-bg-card); border-radius: .75rem;
  padding: 1.25rem; border: 1px solid var(--color-border);
}
.sidebar-box h3 { font-family: 'Unbounded', sans-serif; font-size: .9375rem; font-weight: 500; margin-bottom: .75rem; }
.sidebar-box a {
  display: block; font-size: .875rem;
  color: var(--color-text-muted); margin-bottom: .5rem;
}
.sidebar-box a::before { content: '→ '; }
.sidebar-box a:hover { color: var(--color-accent); }

/* Mini CTA */
.sidebar-cta {
  background: linear-gradient(135deg, hsla(145, 55%, 35%, .1), hsla(20, 95%, 45%, .08));
  border-radius: .75rem; padding: 1.25rem;
  border: 1px solid hsla(145, 55%, 35%, .2);
}
.sidebar-cta h3 { font-family: 'Unbounded', sans-serif; font-size: .9375rem; font-weight: 500; margin-bottom: .5rem; }
.sidebar-cta p { font-size: .875rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.sidebar-cta .btn-primary {
  display: block; text-align: center;
  background: var(--color-accent); color: #fff;
  padding: .625rem; border-radius: .5rem; font-size: .875rem; font-weight: 600;
}
.sidebar-cta .btn-primary:hover { background: var(--color-accent-dark); color: #fff; }

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  border-radius: 1rem; padding: 2rem; margin-top: 3rem;
  color: #fff; text-align: center;
}
.cta-banner h2 { font-family: 'Unbounded', sans-serif; color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }
.cta-banner .btn-cta {
  display: inline-block; background: #fff; color: var(--color-accent);
  padding: .75rem 2rem; border-radius: .5rem; font-weight: 600;
}
.cta-banner .btn-cta:hover { background: hsl(48, 85%, 88%); color: var(--color-accent-dark); }

/* ── Related articles ── */
.related-articles { margin-top: 3rem; }
.related-articles h2 { font-family: 'Unbounded', sans-serif; font-size: 1.25rem; margin-bottom: 1rem; }
.related-articles .related-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .related-articles .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card {
  border: 1px solid var(--color-border); border-radius: .75rem;
  padding: 1.25rem; transition: box-shadow .2s;
  background: var(--color-bg-card);
}
.related-card:hover { box-shadow: 0 4px 16px hsla(145, 55%, 35%, .1); text-decoration: none; }
.related-card h3 { font-size: 1rem; color: var(--color-text); margin-bottom: .375rem; }
.related-card p { font-size: .8125rem; color: var(--color-text-muted); margin: 0; }

/* ── FAQ ── */
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}
.faq summary {
  font-weight: 600; cursor: pointer;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.faq summary::after { content: '+'; font-size: 1.25rem; color: var(--color-text-muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; font-size: .9375rem; }

/* ── Footer ── */
.site-footer {
  background: var(--color-primary); border-top: none; margin-top: 4rem;
  color: hsla(0, 0%, 100%, .85);
}
.site-footer .container {
  max-width: var(--max-width); margin: 0 auto; padding: 3rem 1rem;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) {
  .site-footer .container { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; align-items: start; }
}
.site-footer .site-logo span { color: #fff; }
.site-footer .site-logo .logo-icon { background: rgba(255,255,255,.2); }
.footer-brand p { font-size: .875rem; color: hsla(0, 0%, 100%, .7); margin-top: .75rem; }

/* Colonnes thématiques */
.footer-col h3 { font-family: 'Unbounded', sans-serif; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .875rem; color: #fff; }
.footer-col a {
  display: block; font-size: .8125rem;
  color: hsla(0, 0%, 100%, .7); margin-bottom: .375rem;
}
.footer-col a:hover { color: #fff; }

/* Rétrocompatibilité footer-links (anciens footers) */
.footer-links h3 { font-family: 'Unbounded', sans-serif; font-weight: 500; margin-bottom: .75rem; color: #fff; }
.footer-links a {
  display: block; font-size: .875rem;
  color: hsla(0, 0%, 100%, .7); margin-bottom: .375rem;
}
.footer-links a:hover { color: #fff; }

.footer-legal h3 { font-family: 'Unbounded', sans-serif; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .875rem; color: #fff; }
.footer-legal a, .footer-legal span {
  display: block; font-size: .8125rem;
  color: hsla(0, 0%, 100%, .5); margin-bottom: .375rem;
  text-decoration: none;
}
.footer-legal a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-width); margin: 0 auto;
  padding: 1.5rem 1rem; border-top: 1px solid hsla(0, 0%, 100%, .15);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  font-size: .8125rem; color: hsla(0, 0%, 100%, .6);
}

/* ── Stat grid ── */
.stat-grid { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .stat-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .stat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.stat-box {
  background: var(--color-bg-card); border-radius: .75rem; padding: 1rem; text-align: center;
  border: 1px solid var(--color-border);
}
.stat-box .label { font-size: .875rem; font-weight: 500; margin-bottom: .25rem; }
.stat-box .value { font-family: 'Unbounded', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--color-accent); }
.stat-box .sub { font-size: .75rem; color: var(--color-text-muted); margin-top: .25rem; }

/* ── Feature grid (IA page) ── */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.feature-card { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: .75rem; padding: 1.5rem; }
.feature-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.feature-card p { font-size: .875rem; color: var(--color-text-muted); }

/* ── Steps list ── */
.steps-list { list-style: none; counter-reset: step; padding: 0; }
.steps-list li { counter-increment: step; padding: .75rem 0 .75rem 3rem; position: relative; border-bottom: 1px solid var(--color-border); }
.steps-list li::before { content: counter(step); position: absolute; left: 0; top: .75rem; width: 2rem; height: 2rem; background: var(--color-accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .875rem; }

/* ── Type B page support (alternative/effet-yoyo/etc.) ── */
header:not(.site-header) {
  border-bottom: 1px solid var(--color-border);
  background: hsla(48, 85%, 88%, .95);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}
header:not(.site-header) nav {
  max-width: var(--max-width);
  margin: 0 auto; padding: .875rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
header:not(.site-header) nav ul {
  list-style: none; display: flex; gap: 1.5rem; margin: 0;
}
header:not(.site-header) nav ul a {
  color: var(--color-text-muted); font-size: .875rem; font-weight: 500;
}
header:not(.site-header) nav ul a:hover { color: var(--color-text); }
a.logo, .footer-brand .logo {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600; font-size: 1.125rem;
  color: var(--color-primary); text-decoration: none;
}
footer:not(.site-footer) {
  background: var(--color-primary); margin-top: 4rem; color: hsla(0,0%,100%,.85);
}
footer:not(.site-footer) .footer-content {
  max-width: var(--max-width); margin: 0 auto; padding: 3rem 1rem;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { footer:not(.site-footer) .footer-content { grid-template-columns: 1fr 2fr; } }
footer:not(.site-footer) .footer-brand p { font-size: .875rem; color: hsla(0,0%,100%,.7); margin-top: .75rem; }
footer:not(.site-footer) .footer-brand .logo { color: #fff; }
footer:not(.site-footer) .footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
footer:not(.site-footer) .footer-links h4 { font-family: 'Unbounded', sans-serif; font-weight: 500; color: #fff; margin-bottom: .5rem; }
footer:not(.site-footer) .footer-links ul { list-style: none; margin: 0; padding: 0; }
footer:not(.site-footer) .footer-links a { color: hsla(0,0%,100%,.7); font-size: .875rem; }
footer:not(.site-footer) .footer-links a:hover { color: #fff; }
footer:not(.site-footer) .footer-nav h3 { font-family: 'Unbounded', sans-serif; font-weight: 500; color: #fff; margin-bottom: .5rem; }
footer:not(.site-footer) .footer-nav ul { list-style: none; margin: 0; padding: 0; }
footer:not(.site-footer) .footer-nav a { color: hsla(0,0%,100%,.7); font-size: .875rem; }
footer:not(.site-footer) .footer-nav a:hover { color: #fff; }
.footer-copy {
  max-width: var(--max-width); margin: 0 auto;
  padding: 1.5rem 1rem; border-top: 1px solid hsla(0,0%,100%,.15);
  font-size: .8125rem; color: hsla(0,0%,100%,.6); text-align: center;
}
/* Type B CTA */
aside.cta-banner, .cta-banner:not(.cta-banner h2) {
  border-radius: 1rem;
}
.cta-button {
  display: inline-block; background: var(--color-accent); color: #fff;
  padding: .75rem 2rem; border-radius: .5rem; font-weight: 600; text-decoration: none;
}
.cta-button:hover { background: var(--color-accent-dark); color: #fff; }
.cta-label { font-size: .875rem; text-transform: uppercase; letter-spacing: .05em; opacity: .8; margin-bottom: .5rem; }
/* Type B TOC */
.toc-title { font-family: 'Unbounded', sans-serif; font-weight: 500; margin-bottom: .75rem; }
/* Type B related */
.related-category { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-accent); font-weight: 600; }
main { max-width: var(--content-width); margin: 0 auto; padding: 0 1rem 4rem; }

/* ── Calculator Widgets ── */
.calc-widget {
  background: var(--color-bg-card);
  border: 2px solid var(--color-primary-light);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
}
.calc-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}
.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.calc-field label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-text);
}
.calc-field input,
.calc-field select {
  padding: .55rem .75rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color .2s;
}
.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px hsla(145, 55%, 35%, .15);
}
.calc-btn {
  grid-column: 1 / -1;
  padding: .7rem 1.25rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, transform .1s;
  margin-top: .5rem;
}
.calc-btn:hover { background: var(--color-primary-dark); }
.calc-btn:active { transform: scale(.97); }
.calc-result {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--color-bg-muted);
  border-radius: 10px;
  border-left: 4px solid var(--color-primary);
}
.calc-value { font-size: 1.1rem; margin-bottom: .35rem; }
.calc-good { color: var(--color-primary-dark); }
.calc-warn { color: var(--color-accent-dark); }
.calc-bad { color: var(--color-red); }
.calc-cat { font-size: .95rem; color: var(--color-text-muted); margin-bottom: .35rem; }
.calc-warning { font-size: .9rem; color: var(--color-accent-dark); font-weight: 600; margin-bottom: .35rem; }
.calc-link { font-size: .9rem; margin-top: .5rem; }
.calc-link a { font-weight: 600; color: var(--color-primary); }
.calc-error { color: var(--color-red); font-weight: 500; }

/* ── Obfuscated links ── */
.obf {
  cursor: pointer;
  transition: color .2s;
}
.header-nav .obf { color: var(--color-text-muted); font-size: .875rem; font-weight: 500; }
.header-nav .obf:hover { color: var(--color-text); }
.header-nav .obf.btn-primary {
  background: var(--color-accent); color: #fff;
  padding: .5rem 1rem; border-radius: .5rem; font-weight: 600;
}
.header-nav .obf.btn-primary:hover { background: var(--color-accent-dark); color: #fff; }
.sidebar-box .obf {
  display: block; font-size: .875rem;
  color: var(--color-text-muted); margin-bottom: .5rem;
}
.sidebar-box .obf::before { content: '→ '; }
.sidebar-box .obf:hover { color: var(--color-accent); }
.sidebar-cta .obf.btn-primary {
  display: block; text-align: center;
  background: var(--color-accent); color: #fff;
  padding: .625rem; border-radius: .5rem; font-size: .875rem; font-weight: 600;
}
.sidebar-cta .obf.btn-primary:hover { background: var(--color-accent-dark); color: #fff; }
.cta-banner .obf.btn-cta {
  display: inline-block; background: #fff; color: var(--color-accent);
  padding: .75rem 2rem; border-radius: .5rem; font-weight: 600;
}
.cta-banner .obf.btn-cta:hover { background: hsl(48, 85%, 88%); color: var(--color-accent-dark); }
.footer-legal .obf {
  display: block; font-size: .875rem;
  color: hsla(0, 0%, 100%, .5); margin-bottom: .375rem;
}
.footer-legal .obf:hover { color: #fff; }
.obf.article-link { font-weight: 500; color: var(--color-accent); }
.obf.article-link::before { content: '→ '; }
.obf.article-link:hover { color: var(--color-accent-dark); }
.obf.cta-button {
  display: inline-block; background: var(--color-accent); color: #fff;
  padding: .75rem 2rem; border-radius: .5rem; font-weight: 600;
}
.obf.cta-button:hover { background: var(--color-accent-dark); color: #fff; }
.obf.card-link {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .875rem; font-weight: 500; margin-top: .5rem;
  color: var(--color-accent);
}
.obf.card-link:hover { color: var(--color-accent-dark); }
/* Footer Type B obf */
footer .footer-nav .obf,
footer .footer-links .obf { color: hsla(0,0%,100%,.7); font-size: .875rem; display: block; cursor: pointer; }
footer .footer-nav .obf:hover,
footer .footer-links .obf:hover { color: #fff; }
.footer-bottom .obf { color: hsla(0,0%,100%,.5); cursor: pointer; }
.footer-bottom .obf:hover { color: #fff; }

/* ── Mobile responsive ── */
@media (max-width: 768px) {
  /* ── CRITICAL: prevent ALL horizontal overflow ── */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
  }

  .header-nav, header:not(.site-header) nav ul { display: none; }

  /* Body text */
  body { font-size: 15px; line-height: 1.6; }

  /* Conteneurs principaux — FORCER le respect du viewport */
  .page-container {
    width: 100%;
    max-width: 100vw;
    padding: 0 1.25rem 2rem;
    gap: 1rem;
    overflow: hidden;
  }
  main {
    width: 100%;
    max-width: 100vw;
    padding: 0 1.25rem 2rem;
    overflow: hidden;
  }
  article {
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Breadcrumb compact */
  .breadcrumb { padding: .375rem .75rem; max-width: 100%; }
  .breadcrumb ol { font-size: .75rem; gap: .25rem; }

  /* Typography - tighter */
  article h1 {
    font-size: 1.25rem;
    width: 100%;
    margin-bottom: .5rem;
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  article .meta { margin-bottom: .5rem; font-size: .75rem; }
  article h2 { font-size: 1.0625rem; margin: 1.25rem 0 .5rem; }
  article h3 { font-size: .9375rem; margin: .875rem 0 .375rem; }
  article p { margin-bottom: .625rem; font-size: .875rem; }
  article ul, article ol { margin-bottom: .625rem; margin-left: 1.125rem; font-size: .875rem; }
  article li { margin-bottom: .25rem; }

  /* Info box lists */
  .info-box ul, .info-box ol { margin-left: .875rem; }

  /* TOC mobile compact & collapsible */
  .toc.toc-mobile { margin-bottom: .75rem; }
  .toc.toc-mobile {
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: .5rem;
    background: var(--color-bg-card);
    overflow: hidden;
  }
  .toc.toc-mobile h3 {
    font-size: .75rem;
    margin: 0;
    padding: .5rem .75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-bg-muted);
    border-bottom: 1px solid var(--color-border);
  }
  .toc.toc-mobile h3::after {
    content: '▾';
    font-size: .625rem;
    color: var(--color-text-muted);
    transition: transform .2s;
  }
  .toc.toc-mobile ol {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 .625rem;
    margin-left: .875rem;
  }
  .toc.toc-mobile.toc-open ol {
    max-height: 50rem;
    padding: .375rem .625rem .5rem;
  }
  .toc.toc-mobile.toc-open h3::after {
    transform: rotate(180deg);
  }
  .toc.toc-mobile li { margin-bottom: .125rem; }
  .toc.toc-mobile a { font-size: .75rem; }

  /* Info boxes */
  .info-box { padding: .75rem; margin-bottom: .75rem; border-radius: .5rem; }
  .info-box h3 { font-size: .875rem; margin-bottom: .375rem; }

  /* Cards */
  .card { padding: .75rem; border-radius: .5rem; }
  .card-grid { gap: .625rem; margin-bottom: 1rem; }
  .card-header { gap: .375rem; margin-bottom: .375rem; }
  .card-icon { width: 1.75rem; height: 1.75rem; font-size: .875rem; }
  .card-title { font-size: .875rem; }
  .card p { font-size: .8125rem; }

  /* App review cards */
  .app-review { padding: .875rem; margin-bottom: .75rem; }
  .app-review h3 { font-size: .9375rem; }
  .app-review li { font-size: .8125rem; }

  /* CTA banner */
  .cta-banner { padding: 1rem; margin-top: 1.5rem; border-radius: .75rem; }
  .cta-banner h2 { font-size: 1rem; margin-bottom: .25rem; }
  .cta-banner p { margin-bottom: .75rem; font-size: .8125rem; }
  .cta-banner .btn-cta,
  .cta-banner .obf.btn-cta { padding: .5rem 1.25rem; font-size: .875rem; }

  /* CTA inline */
  .cta-inline {
    padding: 1rem .875rem;
    margin: 1.5rem 0;
    border-radius: .75rem;
    border-width: 2px;
  }
  .cta-inline h3 { font-size: 1.05rem; }
  .cta-inline .cta-inline-subtitle { font-size: .875rem; margin-bottom: .75rem; }
  .cta-inline .cta-inline-badge { font-size: .6875rem; padding: .25rem .75rem; margin-bottom: .625rem; }
  .cta-inline .cta-inline-features { gap: .25rem .5rem; font-size: .8125rem; }
  .cta-inline .cta-inline-features li .cta-feat-icon { font-size: .9375rem; }
  .cta-inline .btn-primary,
  .cta-inline .obf.btn-primary {
    padding: .625rem 1.5rem;
    font-size: .9375rem;
  }
  .cta-inline .cta-inline-proof { font-size: .75rem; }
  .cta-inline p:not(.cta-inline-subtitle):not(.cta-inline-proof) { font-size: .8125rem; }

  /* CTA banner features */
  .cta-banner-features { font-size: .8125rem; gap: .25rem .75rem; }

  /* Related articles */
  .related-articles { margin-top: 1.5rem; }
  .related-articles h2 { font-size: 1rem; margin-bottom: .5rem; }
  .related-card { padding: .75rem; }
  .related-card h3 { font-size: .875rem; }
  .related-card p { font-size: .75rem; }

  /* FAQ */
  .faq details { padding: .5rem 0; }
  .faq summary { font-size: .875rem; }
  .faq details p { font-size: .8125rem; }

  /* Stat grid */
  .stat-box { padding: .625rem; }
  .stat-box .value { font-size: 1.125rem; }
  .stat-box .label { font-size: .8125rem; }

  /* Feature grid */
  .feature-grid { grid-template-columns: 1fr; gap: .625rem; }
  .feature-card { padding: .75rem; }
  .feature-card h3 { font-size: .875rem; }
  .feature-card p { font-size: .8125rem; }

  /* Steps list */
  .steps-list li { padding: .5rem 0 .5rem 2.25rem; font-size: .875rem; }
  .steps-list li::before { width: 1.5rem; height: 1.5rem; font-size: .75rem; }

  /* Comparison highlight table — scroll horizontal propre */
  .comparison-highlight {
    width: 100%;
    border-radius: .625rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .comparison-highlight table {
    min-width: 500px;
    display: table;
  }
  .comparison-highlight thead th {
    white-space: normal;
    font-size: .6875rem;
    padding: .5rem;
  }
  .comparison-highlight tbody td {
    font-size: .6875rem;
    padding: .375rem .5rem;
  }
  .comparison-highlight tbody tr.recommended td:first-child { padding-left: calc(.5rem - 4px); }

  /* Footer */
  .site-footer .container { padding: 1.5rem .75rem; gap: 1.25rem; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .footer-col h3 { font-size: .6875rem; margin-bottom: .5rem; }
  .footer-col a { font-size: .75rem; }
  .footer-bottom { padding: .75rem; flex-direction: column; gap: .375rem; font-size: .6875rem; }
  footer:not(.site-footer) .footer-content { padding: 1.5rem .75rem; }

  /* Calc form */
  .calc-form { grid-template-columns: 1fr; }
  .calc-widget { padding: 1rem; margin: 1.25rem 0; }
  .calc-title { font-size: 1rem; }

  /* Sidebar CTA (if visible) */
  .sidebar-cta { padding: .75rem; }
}

/* ── Utility Classes ── */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.text-red { color: #dc2626; }
.text-amber { color: #d97706; }
.text-blue { color: #2563eb; }
.bg-red-light { background: #fef2f2; }
.bg-amber-light { background: #fffbeb; }
.bg-blue-light { background: #eff6ff; }
.bg-emerald-light { background: #ecfdf5; }
.bg-rose-light { background: #fff1f2; }

/* ── CTA Inline (mid-article) ── */
.cta-inline {
  background: linear-gradient(135deg, hsla(145, 55%, 35%, .15), hsla(25, 90%, 55%, .12), hsla(48, 85%, 88%, .4));
  border: 3px solid var(--color-primary);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  margin: 3rem 0;
  text-align: center;
  box-shadow: 0 8px 32px hsla(145, 55%, 35%, .15), 0 2px 8px hsla(20, 95%, 45%, .1);
  position: relative;
  overflow: hidden;
}
.cta-inline::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}
.cta-inline .cta-inline-badge {
  display: inline-block;
  background: hsl(145, 65%, 38%);
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  letter-spacing: .02em;
}
.cta-inline h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: .375rem;
  line-height: 1.3;
}
.cta-inline .cta-inline-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}
.cta-inline p:not(.cta-inline-subtitle):not(.cta-inline-proof) {
  font-size: .9375rem;
  color: var(--color-text-muted);
  margin-bottom: .75rem;
}
.cta-inline .cta-inline-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
  font-size: .875rem;
  color: var(--color-text);
  text-align: left;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-inline .cta-inline-features li {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.cta-inline .cta-inline-features li .cta-feat-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
}
.cta-inline .btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  padding: .875rem 2.5rem;
  border-radius: .625rem;
  font-weight: 700;
  font-size: 1.0625rem;
  box-shadow: 0 4px 16px hsla(20, 95%, 45%, .3);
  transition: transform .2s, box-shadow .2s;
  animation: ctaPulse 3s ease-in-out infinite;
}
.cta-inline .btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-dark), hsl(20, 85%, 32%));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px hsla(20, 95%, 45%, .4);
}
.cta-inline .cta-inline-proof {
  font-size: .8125rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  margin-bottom: 0;
  font-style: italic;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 16px hsla(20, 95%, 45%, .3); }
  50% { box-shadow: 0 4px 24px hsla(20, 95%, 45%, .5); }
}
@media (max-width: 640px) {
  .cta-inline .cta-inline-features {
    grid-template-columns: 1fr;
  }
  .cta-inline h3 {
    font-size: 1.2rem;
  }
}

/* ── CTA banner features list ── */
.cta-banner-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .375rem 1.25rem;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .9);
}
.cta-banner-features li::before {
  content: '✓ ';
  font-weight: 700;
}

/* ── Comparison Highlight Table ── */
.comparison-highlight {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 24px hsla(0, 0%, 0%, .08), 0 1px 4px hsla(0, 0%, 0%, .04);
  overflow: hidden;
  overflow-x: auto;
  margin-bottom: 2rem;
  max-width: 100%;
}
.comparison-highlight table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.comparison-highlight thead th {
  background: var(--color-primary-dark);
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .02em;
  padding: .875rem 1rem;
  text-align: left;
  border: none;
  white-space: normal;
}
.comparison-highlight thead th:first-child {
  border-radius: 0;
}
.comparison-highlight tbody td {
  padding: .75rem 1rem;
  border-bottom: 1px solid hsl(0, 0%, 93%);
  color: var(--color-text-muted);
  vertical-align: middle;
}
.comparison-highlight tbody tr:nth-child(even) td {
  background: hsl(0, 0%, 98%);
}
.comparison-highlight tbody tr:last-child td {
  border-bottom: none;
}
/* Recommended row (Helthio) */
.comparison-highlight tbody tr.recommended td {
  background: hsl(145, 50%, 95%);
  color: var(--color-text);
  font-weight: 600;
}
.comparison-highlight tbody tr.recommended td:first-child {
  border-left: 4px solid var(--color-primary);
  padding-left: calc(1rem - 4px);
}
/* Check & cross marks */
.comparison-highlight .check {
  color: hsl(145, 65%, 38%);
  font-weight: 700;
  font-size: 1rem;
}
.comparison-highlight .cross {
  color: hsl(0, 65%, 55%);
  font-weight: 700;
  font-size: 1rem;
  opacity: .7;
}
/* Badge inside table */
.comparison-highlight .badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 1rem;
  vertical-align: middle;
  margin-left: .375rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
/* Stars */
.comparison-highlight td:last-child {
  color: hsl(40, 90%, 45%);
  font-weight: 600;
  white-space: normal;
}
/* Scroll hint now merged into main mobile block */
/* Table note below comparison-highlight */
.comparison-highlight + .table-note {
  font-size: .8125rem;
  color: var(--color-text-muted);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}
