/* ================================================
   Toolstack — éditorial / magazine
   Direction : sophistiquée, contenu d'abord,
   typographie expressive (Fraunces) + grotesque
   technique (Hanken Grotesk), accent teal profond.
   ================================================ */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  text-rendering: optimizeLegibility;
}

/* Une texture/grain subtile pour décoller le bg du blanc */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0,0,0,.02) 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: 1;
  opacity: .5;
}

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

a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

/* Conteneurs ------------------------------------ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Typographie globale --------------------------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; font-family: 'Hanken Grotesk'; font-weight: 600; }

em { font-style: italic; font-family: 'Fraunces', Georgia, serif; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  margin: 0 0 .8rem;
}

/* HEADER ---------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(250, 247, 242, 0.92);
}
.site-header .container {
  display: flex; align-items: center; gap: 32px;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  text-decoration: none;
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 600;
}
.brand-mark { display: inline-block; }
.brand-mark rect, .brand-mark circle { transition: opacity .2s; }
.brand:hover .brand-mark circle { opacity: .7; }
.brand-name { letter-spacing: -.02em; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; }
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 500;
  transition: color .2s;
}
.site-nav a:hover { color: var(--text); }

.cta-pill {
  background: var(--accent);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.cta-pill:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15,79,74,.25); color: var(--bg); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: .2s; }

/* HERO ------------------------------------------ */
.hero {
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 70px);
  position: relative;
  background: var(--accent);
  color: var(--bg);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -120px; top: -40px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(232,113,78,.22) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--accent_warm); margin-bottom: .6rem; }
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
  margin: 0 0 20px;
  max-width: 880px;
  color: var(--bg);
}
.hero-title em { color: var(--accent_warm); font-style: italic; }
.hero-lede {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 580px;
  color: rgba(250,247,242,.75);
  margin: 0 0 26px;
  line-height: 1.5;
}
.hero-lede strong { color: var(--accent_warm); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-trust { font-size: .88rem; color: rgba(250,247,242,.55); margin: 0; }
.hero-trust span { color: var(--accent_warm); letter-spacing: 2px; }
.hero .btn-primary {
  background: var(--accent_warm); color: var(--text); border-color: var(--accent_warm);
}
.hero .btn-primary:hover {
  background: var(--bg); color: var(--text); border-color: var(--bg);
  transform: translateY(-1px);
}
.hero .btn-ghost { color: var(--bg); border-color: rgba(250,247,242,.35); }
.hero .btn-ghost:hover { background: var(--bg); color: var(--text); border-color: var(--bg); }

/* Hero sticker */
.hero-sticker {
  position: absolute;
  top: clamp(40px, 7vw, 80px);
  right: clamp(20px, 4vw, 50px);
  background: var(--accent_warm);
  color: var(--text);
  padding: 12px 20px;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -.02em;
  transform: rotate(8deg);
  z-index: 3;
  border-radius: 3px;
  box-shadow: 0 12px 26px rgba(232,113,78,.4);
  white-space: nowrap;
}

/* STATS STRIP ----------------------------------- */
.stats-strip {
  background: var(--text);
  color: var(--bg);
  position: relative;
  z-index: 3;
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}
.stat-item {
  padding: clamp(28px, 5vw, 48px) 24px;
  text-align: center;
  border-right: 1px solid rgba(250,247,242,.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--bg);
  display: inline-block;
}
.stat-number.accent { color: var(--accent_warm); }
.stat-number sup { font-size: .55em; font-weight: 500; }
.stat-label {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .55;
  margin-top: 12px;
  font-weight: 600;
}

/* Boutons --------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  transition: all .2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--bg); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

/* SECTIONS -------------------------------------- */
.section { padding: clamp(60px, 8vw, 100px) 0; position: relative; z-index: 2; }

.section-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -.025em;
}
.section-head .eyebrow { margin-bottom: 8px; }
.section-sub { color: var(--muted); margin: 6px 0 0; }
.section-link { font-size: .92rem; font-weight: 500; }

/* Cards ----------------------------------------- */
.card a { text-decoration: none; color: inherit; }
.card-cat {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 10px;
}
.card-excerpt { color: var(--muted); margin: 8px 0 12px; font-size: .96rem; }
.card-meta { font-size: .82rem; color: var(--muted); margin: 0; }

/* Article hero image */
.post-hero {
  margin: 0 0 clamp(40px, 6vw, 70px);
  padding: 0;
}
.post-hero img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: block;
}
.post-hero figcaption {
  font-size: .82rem;
  color: var(--muted);
  font-style: italic;
  font-family: 'Fraunces', serif;
  text-align: center;
  margin: 12px 0 0;
  padding: 0 20px;
}

/* Inline images in article body */
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--border);
  margin: 2em 0;
  display: block;
}

/* Card images on homepage */
.card-image {
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1200 / 630;
  background: var(--border);
  position: relative;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-image img { transform: scale(1.04); }

/* Featured asymmetric grid */
.featured-section { padding-top: clamp(70px, 9vw, 110px); }
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.card-feature {
  position: relative;
  opacity: 0;
  animation: fadeUp .7s ease-out forwards;
}
.card-feature:nth-child(1) { animation-delay: .08s; }
.card-feature:nth-child(2) { animation-delay: .18s; }
.card-feature:nth-child(3) { animation-delay: .28s; }

.card-feature h3 {
  font-size: 1.5rem; margin: 0 0 12px;
  transition: color .25s;
}
.card-feature:hover h3 { color: var(--accent); }

.card-feature-lead {
  grid-row: span 2;
  grid-column: 1 / 2;
}
.card-feature-lead h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.card-feature-lead .card-excerpt { font-size: 1.05rem; }
.card-feature-lead .card-image { aspect-ratio: 1.6 / 1; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Card badge overlay (top-right de la card-image) */
.card-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--accent_warm);
  color: var(--text);
  font-size: .7rem;
  padding: 6px 12px;
  border-radius: 99px;
  font-weight: 600;
  letter-spacing: .14em;
  z-index: 2;
  text-transform: uppercase;
}

/* Editorial numbering */
.card-number {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--accent_warm);
  font-size: 1.05rem;
  font-weight: 600;
  margin-right: 6px;
}

/* Latest grid */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 36px 32px;
}
.card-latest {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.card-latest h2, .card-latest h3 { font-size: 1.3rem; margin: 0 0 10px; transition: color .2s; }
.card-latest:hover h2, .card-latest:hover h3 { color: var(--accent); }

/* Tools showcase ------------------------------- */
.tools-section { background: var(--text); color: var(--bg); }
.tools-section h2 { color: var(--bg); }
.tools-section .section-head { border-color: rgba(255,255,255,.15); }
.tools-section .section-sub { color: rgba(255,255,255,.7); }
.tools-grid {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.tool-chip {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .88rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.tool-chip:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.tool-name { font-weight: 500; }
.tool-price {
  font-size: .72rem;
  opacity: .55;
  text-decoration: line-through;
}
.tools-note {
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 600px;
}
.tools-note strong { color: var(--accent_warm); }
.tools-section .btn-primary { background: var(--accent_warm); color: var(--text); }
.tools-section .btn-primary:hover { background: var(--bg); }

/* Article post --------------------------------- */
.post { padding-bottom: 80px; }
.post-head {
  padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(40px, 6vw, 70px);
}
.post-eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin: 0 0 18px;
}
.post-eyebrow a { color: var(--accent); text-decoration: none; font-weight: 600; }
.post-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 16px;
  max-width: 800px;
}
.post-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 24px;
  max-width: 700px;
}
.post-meta { font-size: .88rem; color: var(--muted); margin: 0; }

.post-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}

.post-toc {
  position: sticky; top: 100px;
  font-size: .88rem;
}
.toc-title {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 14px;
}
.post-toc ol { list-style: none; padding: 0; margin: 0 0 32px; border-left: 1px solid var(--border); }
.post-toc li a {
  display: block;
  padding: 8px 0 8px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  text-decoration: none;
  color: var(--muted);
  transition: all .2s;
  line-height: 1.4;
}
.post-toc li a:hover, .post-toc li a.active {
  color: var(--text);
  border-left-color: var(--accent);
}

.aside-cta {
  background: var(--text);
  color: var(--bg);
  padding: 22px;
  border-radius: 6px;
}
.aside-cta-eyebrow {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--accent_warm); margin: 0 0 8px;
}
.aside-cta-title { font-family: 'Fraunces', serif; font-size: 1.1rem; margin: 0 0 14px; line-height: 1.3; }
.aside-cta .btn { width: 100%; text-align: center; }

/* Article body */
.post-body { max-width: 740px; font-size: 1.08rem; line-height: 1.75; }
.post-body p { margin: 0 0 1.4em; }

.post-lede {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--text);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.8em;
  padding-bottom: 1.4em;
  border-bottom: 1px solid var(--border);
}

/* Drop cap sur le premier paragraphe après le lede */
.post-lede + p::first-letter {
  font-family: 'Fraunces', serif;
  font-size: 4.2rem;
  font-weight: 500;
  float: left;
  line-height: .9;
  padding: 6px 12px 0 0;
  color: var(--accent);
}

.post-body h2 {
  margin-top: 2em;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  padding-top: .4em;
}
.post-body h3 { margin-top: 1.8em; font-size: 1.25rem; }
.post-body ul, .post-body ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.post-body li { margin-bottom: .4em; }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 1.8em 0;
  padding: 4px 0 4px 24px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
}
.post-body code {
  background: rgba(15,79,74,.08);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: .9em;
  font-family: ui-monospace, monospace;
}
.post-body pre {
  background: var(--text);
  color: #e6e3dc;
  padding: 18px 22px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: .92rem;
  line-height: 1.55;
}
.post-body pre code { background: none; padding: 0; color: inherit; }
.post-body .table-wrap {
  overflow-x: auto;
  margin: 1.6em 0;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.post-body table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.post-body th, .post-body td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  overflow-wrap: break-word;
}
.post-body th {
  background: rgba(15,79,74,.04);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
  white-space: nowrap;
}
.post-body hr { border: 0; height: 1px; background: var(--border); margin: 2.4em 0; }

/* Prévention scroll horizontal : casser les mots longs / URLs */
.post-body { overflow-wrap: anywhere; word-break: break-word; }
.post-body a { overflow-wrap: anywhere; }
.post-body code { overflow-wrap: anywhere; }

/* In-article CTA */
.post-cta {
  margin: 3.2em 0 1em;
  padding: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  text-align: center;
}
.post-cta-title {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  margin: 0 0 18px;
  font-weight: 500;
}
.post-cta-fineprint {
  font-size: .82rem;
  color: var(--muted);
  margin: 14px 0 0;
}

/* Related */
.related { padding: 60px 0; background: rgba(15,79,74,.04); margin-top: 40px; }
.related h2 { margin: 0 0 32px; font-size: 1.6rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.related-card {
  display: block;
  background: var(--bg);
  padding: 24px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all .2s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.related-card h3 { margin: 0; font-size: 1.1rem; color: var(--text); }
.related-cat {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent); font-weight: 600; margin: 0 0 8px;
}

/* Category page */
.cat-head { padding: clamp(50px, 7vw, 90px) 0 40px; border-bottom: 1px solid var(--border); }
.cat-head h1 { margin: 0; }
.cat-count { color: var(--muted); margin: 14px 0 0; }
.empty { text-align: center; color: var(--muted); padding: 80px 0; }

/* Static pages */
.static-page { padding: clamp(50px, 7vw, 90px) 0 80px; }
.static-page h1 { margin: 0 0 24px; }
.static-page h2 { margin-top: 2em; font-size: 1.4rem; }
.static-page .lede {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 1.6em;
}
.static-page p { line-height: 1.7; margin-bottom: 1em; }

/* Not found */
.not-found { padding: 120px 0; }
.text-center { text-align: center; }

/* FOOTER ---------------------------------------- */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 60px 0 30px;
  margin-top: 80px;
  position: relative; z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--bg);
  margin: 0 0 6px;
  font-weight: 500;
}
.footer-tagline { font-size: .88rem; margin: 0; }
.site-footer h4 {
  color: var(--bg);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--bg); }
.footer-disclosure p { font-size: .82rem; line-height: 1.6; margin: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
}

/* RESPONSIVE ------------------------------------ */
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr; }
  .card-feature-lead { grid-row: auto; grid-column: auto; }
  .card-feature-lead .card-image { aspect-ratio: 1200 / 630; }
  .post-layout { grid-template-columns: 1fr; gap: 32px; }
  .post-toc { position: static; padding: 18px; background: rgba(15,79,74,.04); border-radius: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-strip-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(250,247,242,.08); }
  .stat-item:last-child { border-bottom: none; }
  .hero-sticker { top: 30px; right: 20px; transform: rotate(6deg); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-nav, .cta-pill { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 20px;
  }
  .site-nav.open ul { flex-direction: column; gap: 16px; }
  .post-lede + p::first-letter { font-size: 3.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-sticker { font-size: 1.1rem; padding: 10px 16px; }

  /* Containers : moins de padding pour gagner de la place utile */
  .container, .container-wide, .container-narrow { padding: 0 16px; }

  /* Article body : font légèrement réduite */
  .post-body { font-size: 1rem; max-width: 100%; }

  /* TABLEAUX : adaptation mobile (compactes, pas scrollables invisibles) */
  .post-body .table-wrap {
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px;
    overflow-x: auto;
  }
  .post-body table {
    width: 100%;
    min-width: auto;
    font-size: .78rem;
    table-layout: auto;
  }
  .post-body th, .post-body td {
    padding: 8px 6px;
    white-space: normal;
    word-break: break-word;
  }
  .post-body th {
    font-size: .68rem;
    letter-spacing: .03em;
    white-space: normal;
  }

  /* CTA boxes plus compactes */
  .post-cta { padding: 24px 18px; }
  .aside-cta { padding: 16px; }

  /* Code/pre wrappent et scrollent si besoin */
  .post-body pre {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
    font-size: .85rem;
  }
}
