/* =====================================================================
   ARTICLE.CSS — KMG Agencement Blog v3
   Layout magazine pleine largeur — design premium aéré
   Palette : #0d0b07 fond · #c9a96e or · #e8d8b0 crème
===================================================================== */

/* ─── BASE ────────────────────────────────────────────────────── */
body.blog-article-page {
  background:
    radial-gradient(ellipse 100% 32% at 50% 0%, rgba(201,169,110,.055) 0%, transparent 60%),
    #0d0b07;
  color: #e8d8b0;
  min-height: 100vh;
}

body.blog-article-page a { text-decoration: none; }

/* ─── BARRE DE PROGRESSION ──────────────────────────────────── */
.art-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0;
  z-index: 20000;
  background: linear-gradient(90deg, #8c7a3c 0%, #e8cc80 55%, #fff2b8 100%);
  box-shadow: 0 0 14px rgba(232,204,128,.48);
  transition: width .12s linear;
  pointer-events: none;
}

/* ─── PAGE WRAPPER ───────────────────────────────────────────── */
.art-page { width: 100%; overflow-x: hidden; }

/* ─── LIEN RETOUR ─────────────────────────────────────────────── */
.art-back-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 64px 0;
}

.art-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e8cc80;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  border: 1px solid rgba(232,204,128,.26);
  border-radius: 999px;
  padding: 10px 20px;
  background: rgba(0,0,0,.3);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.art-back-link:hover {
  transform: translateX(-4px);
  border-color: rgba(232,204,128,.56);
  background: rgba(232,204,128,.07);
}

/* ─── MASTHEAD ────────────────────────────────────────────────── */
.art-masthead {
  padding: 52px 64px 68px;
  position: relative;
}

.art-masthead::after {
  content: '';
  position: absolute;
  left: 64px; right: 64px; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,169,110,.4) 50%, transparent 100%);
}

.art-masthead-inner {
  max-width: 820px;
  margin: 0 auto;          /* centré dans la page */
  text-align: center;
}

.art-kicker {
  display: block;
  font-size: .62rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: #c9a96e;
  font-weight: 500;
  margin-bottom: 20px;
}

.art-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  border: 1px solid rgba(201,169,110,.24);
  border-radius: 999px;
  color: #e8d8b0;
  font-size: .72rem;
  font-weight: 400;
  background: rgba(201,169,110,.06);
  margin-bottom: 24px;
  letter-spacing: .06em;
}

.art-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 400;            /* élégant, non agressif */
  font-style: italic;
  color: #f0d898;
  line-height: 1.14;
  margin-bottom: 26px;
  letter-spacing: .01em;
  max-width: 820px;
}

.art-summary {
  color: rgba(248,243,232,.66);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 28px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* méta centré aussi */
  gap: 10px 26px;
  color: rgba(248,243,232,.5);
  font-size: .8rem;
  font-weight: 300;
}

.art-meta span { display: inline-flex; align-items: center; gap: 9px; }
.art-meta i { color: #c9a96e; }

/* ─── IMAGE PRINCIPALE ───────────────────────────────────────── */
.art-visual-zone {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 64px 0;
}

.art-visual-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(232,204,128,.24);
  box-shadow:
    0 60px 140px rgba(0,0,0,.75),
    0 0 0 1px rgba(255,255,255,.04) inset;
  background: #17110a;
}

/* Vignette sur l'image */
.art-visual-frame::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(0,0,0,.28)),
    linear-gradient(90deg, rgba(0,0,0,.08) 0%, transparent 35%);
  pointer-events: none;
}

.art-visual-img {
  display: block;
  width: 100%;
  height: clamp(260px, 46vw, 580px);
  object-fit: cover;
  object-position: center;
}

.art-visual-caption {
  position: absolute;
  left: 24px; right: 24px; bottom: 18px;
  color: rgba(248,243,232,.68);
  font-size: .7rem;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0,0,0,.9);
  z-index: 1;
}

/* =====================================================================
   ZONE DE LECTURE — Layout magazine pleine largeur
   Pas de card-box : contenu sur fond de page direct
===================================================================== */

.art-body-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 64px 0;
}

/* ─── INTRO ──────────────────────────────────────────────────── */
.art-intro {
  max-width: 840px;
  margin: 0 auto 72px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(201,169,110,.14);
  position: relative;
}

/* Trait décoratif doré court sous l'intro */
.art-intro::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, #c9a96e, transparent);
  border-radius: 2px;
}

.art-intro p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.84;
  color: #f4e6c8;
}

/* ─── SECTIONS DE TEXTE ──────────────────────────────────────── */

/*
  Décalage magazine prononcé :
  - sections impaires : bloc ancré côté gauche (margin-right: auto)
  - sections paires   : bloc ancré côté droit  (margin-left: auto)
  Crée un vrai zigzag visuel à chaque section.
*/
.art-section {
  max-width: 760px;
  margin: 0 auto 80px 0;   /* hugs the left */
  position: relative;
  z-index: 2;
}

/*
  Numéros filigrane — positionnés dans l'espace VIDE, côté opposé au texte.
  Sections impaires : texte à GAUCHE → numéro dans l'espace à DROITE.
  Sections paires   : texte à DROITE → numéro dans l'espace à GAUCHE.
*/
.art-section[data-n]::before {
  content: attr(data-n);
  position: absolute;
  /* Coin supérieur droit de la section — derrière le texte (z-index: 0) */
  right: 0;
  left: auto;
  top: -30px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 9rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(201,169,110,.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Sections paires : bloc ancré côté droit — décalage prononcé */
.art-section--alt {
  margin: 0 0 80px auto;   /* hugs the right */
  border-left: none;
  padding-left: 0;
  border-right: 2px solid rgba(201,169,110,.14);
  padding-right: 28px;
  text-align: left;
}

/* Sections paires : coin supérieur gauche */
.art-section--alt[data-n]::before {
  left: 0;
  right: auto;
}

/* Section encadrée */
.art-section--framed {
  max-width: 940px;
  padding: 32px 40px 36px;
  border: 1px solid rgba(232,204,128,.17);
  border-radius: 12px;
  background: rgba(232,204,128,.038);
  margin-left: 0;
  border-left: 1px solid rgba(232,204,128,.17); /* reset du border-left alt */
  padding-left: 40px;
}

/* Titre de section */
.art-section-title {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 14px;
  color: #ead898;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.58rem;
  font-weight: 400;          /* non gras, élégant */
  font-style: italic;
  line-height: 1.26;
  z-index: 2;
}

.art-section-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, #c9a96e, transparent);
  border-radius: 2px;
}

.art-section-title--h3 {
  font-size: 1.26rem;
  padding-bottom: 12px;
}

.art-section-title--h3::after { width: 28px; }

.art-section-title--h4 {
  font-size: 1.06rem;
  padding-bottom: 8px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .03em;
}

.art-section-title--h4::after { width: 20px; }
.art-section p,
.art-section ul {
  position: relative;
  z-index: 2;
}

/* ─── CORPS DU TEXTE ──────────────────────────────────────────── */
.art-body {
  position: relative;
  z-index: 1;
}

.art-body p,
.art-body li {
  color: rgba(248,243,232,.82);
  font-size: 1.02rem;
  line-height: 1.94;
}

.art-body p + p,
.art-body ul,
.art-body ol { margin-top: 18px; }

.art-body ul,
.art-body ol { padding-left: 1.5rem; }

.art-body li + li { margin-top: 9px; }

.art-body strong { color: #f5dfaa; font-weight: 700; }

.art-body a {
  color: #c9a96e;
  text-decoration: underline;
  text-decoration-color: rgba(201,169,110,.36);
  transition: color .2s, text-decoration-color .2s;
}

.art-body a:hover {
  color: #e8cc80;
  text-decoration-color: rgba(232,204,128,.7);
}

.art-body h2, .art-body h3, .art-body h4 {
  color: #f1d999;
  font-family: 'Playfair Display', Georgia, serif;
  margin: 28px 0 12px;
  line-height: 1.28;
}

/* ─── IMAGES DANS L'ARTICLE ──────────────────────────────────── */
/* Ces classes peuvent être utilisées directement dans le HTML
   des sections d'article (balises <figure> ou <div>) */

/* Image large — sort de la colonne texte, pleine largeur du body-wrap */
figure.article-image-wide,
div.article-image-wide {
  width: calc(100% + 300px);
  max-width: calc(100vw - 128px);
  margin-left: -48px;
  margin-right: -300px;
  margin-top: 48px;
  margin-bottom: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(232,204,128,.2);
  box-shadow: 0 32px 80px rgba(0,0,0,.55);
  background: #17110a;
  position: relative;
  z-index: 2;
}

figure.article-image-wide img,
div.article-image-wide img {
  display: block;
  width: 100%;
  height: clamp(220px, 36vw, 460px);
  object-fit: cover;
}

/* Image bloc — centrée, largeur modérée */
figure.article-image-block,
div.article-image-block {
  max-width: 720px;
  margin: 44px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(232,204,128,.18);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  background: #17110a;
}

figure.article-image-block img,
div.article-image-block img {
  display: block;
  width: 100%;
  height: auto;
}

/* Image inline — float à droite ou à gauche */
figure.article-image-inline,
div.article-image-inline {
  float: right;
  width: 46%;
  margin: 4px 0 28px 40px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(232,204,128,.18);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
  background: #17110a;
  clear: right;
}

figure.article-image-inline img,
div.article-image-inline img {
  display: block;
  width: 100%;
  height: auto;
}

/* Légende des figures */
figure.article-image-wide figcaption,
figure.article-image-block figcaption,
figure.article-image-inline figcaption {
  padding: 10px 16px;
  color: rgba(248,243,232,.55);
  font-size: .72rem;
  line-height: 1.5;
  font-style: italic;
}

/* Images secondaires dans le contenu */
.article-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 42px 0 52px;
}

.article-secondary-grid--single {
  max-width: 460px;
}

.article-secondary-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(232,204,128,.18);
  background: #17110a;
  box-shadow: 0 20px 52px rgba(0,0,0,.42);
}

.article-secondary-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-secondary-figure figcaption {
  padding: 10px 14px;
  color: rgba(248,243,232,.58);
  font-size: .72rem;
  line-height: 1.45;
  font-style: italic;
}

/* Image inline à droite — section texte + image en flex row */
.art-section-image-row {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  margin-bottom: 80px;
}

.art-section-image-row .art-section {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  margin: 0;
}

.art-section-image-row--reverse {
  flex-direction: row-reverse;
}

.art-section-image-row .art-section[data-n]::before {
  display: none;
}

.art-inline-right-image {
  flex: 0 0 260px;
  width: 260px;
  margin: 0;
  align-self: flex-start;
  position: sticky;
  top: 90px;
}

.art-inline-right-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,.42);
  background: rgba(0,0,0,.1);
}

.art-inline-right-image figcaption {
  padding: 8px 4px 0;
  color: rgba(248,243,232,.55);
  font-size: .71rem;
  font-style: italic;
  text-align: center;
  line-height: 1.5;
}

/* Clearfix apres image inline */
.art-body::after,
.art-section-body::after {
  content: '';
  display: table;
  clear: both;
}

/* ─── Grille texte / image (sections alternées) ──────────────── */
/* Utilisable dans le HTML du contenu article */
.article-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
  max-width: 1100px;
  margin: 48px 0;
}

.article-split--left { } /* image col 1, texte col 2 */

.article-split--right { } /* texte col 1, image col 2 */

.article-split--left .article-split-img { order: -1; }

.article-split img {
  display: block;
  width: 100%;
  height: clamp(200px, 28vw, 400px);
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(232,204,128,.18);
  box-shadow: 0 20px 56px rgba(0,0,0,.5);
}

.article-split-text { }

.article-split-text p {
  color: rgba(248,243,232,.82);
  font-size: 1.02rem;
  line-height: 1.94;
}

/* ─── CONSEIL PRO ─────────────────────────────────────────────── */
.art-pro-tip {
  max-width: 960px;
  margin: 0 0 72px;
  padding: 32px 40px;
  border-radius: 12px;
  border: 1px solid rgba(232,204,128,.28);
  background:
    linear-gradient(135deg, rgba(232,204,128,.12) 0%, rgba(232,204,128,.04) 100%);
  box-shadow:
    0 16px 48px rgba(0,0,0,.28),
    0 0 0 1px rgba(255,255,255,.03) inset;
  position: relative;
  overflow: hidden;
}

/* Trait doré vertical décoratif */
.art-pro-tip::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, transparent 0%, #e8cc80 40%, #c9a96e 60%, transparent 100%);
  border-radius: 0 2px 2px 0;
}

.art-pro-tip-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f1d999;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
}

.art-pro-tip-label i { color: #c9a96e; }

.art-pro-tip p {
  color: #f7ead0;
  font-size: 1.02rem;
  line-height: 1.84;
}

/* ─── CONCLUSION ──────────────────────────────────────────────── */
.art-conclusion {
  max-width: 840px;
  margin: 0 auto 72px;
  padding: 32px 36px 36px;
  border-left: 4px solid #c9a96e;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(201,169,110,.06) 0%, rgba(0,0,0,.18) 100%);
}

.art-conclusion-label {
  display: block;
  color: #e8cc80;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 16px;
}

.art-conclusion p {
  color: rgba(248,243,232,.82);
  font-size: 1.02rem;
  line-height: 1.9;
}

.art-conclusion p + p { margin-top: 14px; }

/* ─── CTA ────────────────────────────────────────────────────── */
.art-cta-zone {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px 88px;
}

/* Séparateur avant CTA */
.art-cta-zone::before {
  content: '';
  display: block;
  height: 1px;
  max-width: 1152px;   /* 1280 - 2*64 */
  background: linear-gradient(90deg, rgba(201,169,110,.3) 0%, transparent 100%);
  margin-bottom: 64px;
}

.art-cta {
  padding: 56px 64px;
  border-radius: 16px;
  border: 1px solid rgba(232,204,128,.22);
  background:
    linear-gradient(135deg, rgba(201,169,110,.13) 0%, rgba(0,0,0,.22) 60%, rgba(201,169,110,.06) 100%),
    #130e08;
  box-shadow:
    0 40px 100px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.025) inset;
  position: relative;
  overflow: hidden;
}

/* Cercle décoratif doré en fond */
.art-cta::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,.12) 0%, transparent 70%);
  pointer-events: none;
}

.art-cta { text-align: center; }

.art-cta-eyebrow {
  display: block;
  color: #c9a96e;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 10px;
}

.art-cta h2 {
  color: #f5dfaa;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.18;
  margin: 0 auto 14px;
  max-width: 640px;
}

.art-cta > p {
  color: rgba(248,243,232,.72);
  font-size: .96rem;
  line-height: 1.74;
  margin: 0 auto 28px;
  max-width: 560px;
}

.art-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.art-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.art-btn:hover { transform: translateY(-2px); }

.art-btn--gold {
  background: linear-gradient(135deg, #a08840 0%, #e8cc80 55%, #b49c5c 100%);
  color: #120d07;
  box-shadow: 0 8px 28px rgba(201,169,110,.3);
}

.art-btn--gold:hover { box-shadow: 0 12px 36px rgba(201,169,110,.44); }

.art-btn--ghost {
  color: #e8cc80;
  border: 1px solid rgba(232,204,128,.34);
  background: rgba(0,0,0,.22);
}

.art-btn--ghost:hover {
  border-color: rgba(232,204,128,.62);
  background: rgba(232,204,128,.08);
}

/* ─── NAVIGATION PRÉCÉDENT / SUIVANT ─────────────────────────── */
.art-navigation {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px 72px;
}

.art-nav-card {
  flex: 0 0 calc(50% - 10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 124px;
  padding: 28px 32px;
  border-radius: 12px;
  border: 1px solid rgba(232,204,128,.17);
  background: rgba(16,12,7,.82);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.art-nav-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,204,128,.4);
  background: rgba(232,204,128,.06);
}

.art-nav-card--next { text-align: right; }

.art-nav-card span {
  display: block;
  color: #c9a96e;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.art-nav-card strong {
  display: block;
  color: #f3dfab;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.16rem;
  line-height: 1.3;
}

/* ─── ARTICLES LIÉS ───────────────────────────────────────────── */
.art-related {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px 96px;
  border-top: 1px solid rgba(201,169,110,.12);
  padding-top: 64px;
}

.art-related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.art-related-kicker {
  display: block;
  color: #c9a96e;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .44em;
  margin-bottom: 10px;
}

.art-related h2 {
  color: #f5dfaa;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.1;
  margin: 0;
}

.art-related-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e8cc80;
  border: 1px solid rgba(232,204,128,.28);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: .78rem;
  font-weight: 700;
  background: rgba(0,0,0,.2);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.art-related-all:hover {
  transform: translateY(-2px);
  background: rgba(232,204,128,.07);
  border-color: rgba(232,204,128,.5);
}

.art-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.art-related-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(232,204,128,.14);
  background: rgba(16,12,7,.84);
  transition: transform .22s ease, border-color .22s ease;
  display: block;
}

.art-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,204,128,.38);
}

.art-related-img {
  height: 168px;
  overflow: hidden;
  background: #17110a;
}

.art-related-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .38s ease;
}

.art-related-card:hover .art-related-img img { transform: scale(1.06); }

.art-related-body { padding: 20px 22px; }

.art-related-body span {
  display: block;
  color: #c9a96e;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 9px;
}

.art-related-body h3 {
  color: #f4e6c8;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.06rem;
  line-height: 1.32;
  margin-bottom: 10px;
}

.art-related-body p {
  color: rgba(248,243,232,.5);
  font-size: .76rem;
  line-height: 1.5;
}

/* ─── BOUTON REMONTER ─────────────────────────────────────────── */
.art-backtotop {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 50px; height: 50px;
  border: 1px solid rgba(232,204,128,.32);
  border-radius: 50%;
  background: rgba(13,11,7,.92);
  color: #e8cc80;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  z-index: 9000;
}

.art-backtotop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.art-backtotop:hover {
  background: rgba(232,204,128,.1);
  border-color: rgba(232,204,128,.6);
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
body.blog-article-page footer {
  width: 100%;
  margin: 0;
  padding: 44px 40px 32px;
  text-align: center;
  color: var(--gold-light, #e8cc80);
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(201,169,110,.08), transparent 60%),
    linear-gradient(180deg, #100b05 0%, #060403 100%);
  border-top: 1px solid rgba(201,169,110,.14);
}

body.blog-article-page footer .footer-content {
  width: 100%; max-width: 1160px;
  margin: 0 auto; padding: 0;
  background: transparent;
  display: flex; flex-direction: column;
  align-items: center; gap: 18px;
}

body.blog-article-page footer .footer-logo img {
  width: 72px; max-width: 72px; height: auto;
  filter: brightness(.88) sepia(.18);
}

body.blog-article-page footer .footer-title-container {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; width: 100%; max-width: 400px;
}

body.blog-article-page footer .footer-title-container::before,
body.blog-article-page footer .footer-title-container::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,.42));
}

body.blog-article-page footer .footer-title-container::after {
  background: linear-gradient(270deg, transparent, rgba(201,169,110,.42));
}

body.blog-article-page footer .footer-title {
  margin: 0; color: var(--gold-light, #e8cc80);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1rem, 3vw, 1.65rem);
  font-weight: 600; letter-spacing: .04em; white-space: nowrap;
}

body.blog-article-page footer .footer-social {
  display: flex; align-items: center; justify-content: center; gap: 18px;
}

body.blog-article-page footer .footer-social a {
  display: inline-flex; align-items: center;
  transition: transform .2s ease;
}

body.blog-article-page footer .footer-social a:hover { transform: translateY(-2px); }

body.blog-article-page footer .footer-social a img {
  width: 30px; height: 30px; object-fit: contain;
  opacity: .82; filter: sepia(.2) saturate(.9);
}

body.blog-article-page footer .footer-nav {
  background: transparent; border: none; box-shadow: none;
}

body.blog-article-page footer .footer-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 8px 22px;
}

body.blog-article-page footer .footer-nav ul li { margin: 0; }

body.blog-article-page footer .footer-nav ul li a {
  color: rgba(232,216,176,.58); text-decoration: none;
  font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; transition: color .2s ease;
}

body.blog-article-page footer .footer-nav ul li a:hover { color: var(--gold-light, #e8cc80); }

body.blog-article-page footer .footer-copyright {
  font-size: .68rem; line-height: 1.58;
  color: rgba(232,216,176,.5);
}

body.blog-article-page footer .footer-copyright p + p { margin-top: 4px; }

body.blog-article-page footer .footer-legal {
  color: rgba(201,169,110,.68) !important;
  text-decoration: none; transition: color .2s ease;
}

body.blog-article-page footer .footer-legal:hover { color: #e8cc80 !important; }

/* ─── PAGE 404 ────────────────────────────────────────────────── */
.art-not-found {
  width: min(640px, calc(100% - 40px));
  min-height: 60vh; margin: 0 auto;
  padding: 90px 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 22px; text-align: center;
}

.art-not-found h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem; color: #f5dfaa;
}

.art-not-found p { color: rgba(248,243,232,.7); font-size: 1rem; line-height: 1.7; }

/* =====================================================================
   RESPONSIVE
===================================================================== */

/* Tablette large — 1140px */
@media (max-width: 1140px) {
  .art-back-wrap,
  .art-masthead,
  .art-visual-zone,
  .art-body-wrap,
  .art-cta-zone,
  .art-navigation,
  .art-related {
    padding-left: 40px;
    padding-right: 40px;
  }

  .art-cta { padding: 44px 48px; }

  figure.article-image-wide,
  div.article-image-wide {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Tablette — 900px */
@media (max-width: 900px) {
  /* Sur tablette : décalage réduit mais conservé */
  .art-section {
    max-width: 620px;
    margin-right: auto;
    margin-left: 0;
  }

  /* Tablette : numéro réduit, toujours en coin */
  .art-section[data-n]::before {
    font-size: 7rem;
    right: 0;
    left: auto;
  }

  .art-section--alt {
    margin: 0 0 72px auto;
    margin-left: auto;
    border-right: 2px solid rgba(201,169,110,.14);
    padding-right: 20px;
    border-left: none;
    padding-left: 0;
  }

  .art-section--alt[data-n]::before {
    font-size: 7rem;
    left: 0;
    right: auto;
  }

  .article-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-image-inline,
  figure.article-image-inline,
  div.article-image-inline {
    float: none;
    width: 100%;
    margin: 28px 0;
  }

  .article-secondary-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 16px;
  }

  .art-section-image-row {
    gap: 22px;
  }

  .art-inline-right-image {
    flex: 0 0 200px;
    width: 200px;
    position: static;
  }

  .art-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .art-cta { padding: 36px 32px; }
}

/* Tablette petite — 720px */
@media (max-width: 720px) {
  .art-back-wrap,
  .art-masthead,
  .art-visual-zone,
  .art-body-wrap,
  .art-cta-zone,
  .art-navigation,
  .art-related {
    padding-left: 24px;
    padding-right: 24px;
  }

  .art-masthead { padding-top: 36px; padding-bottom: 48px; }

  .art-section--alt {
    margin-left: 0;
    padding-left: 18px;
  }

  .art-navigation { flex-direction: column; gap: 14px; }
  .art-nav-card { flex: 0 0 100%; }
  .art-nav-card--next { text-align: left; }

  .art-cta { padding: 32px 28px; }
  .art-cta h2 { font-size: 1.6rem; }
}

/* Mobile — 540px */
@media (max-width: 540px) {
  .art-section-image-row {
    flex-direction: column;
    gap: 20px;
  }

  .art-inline-right-image {
    flex: none;
    width: 100%;
    max-width: 320px;
    align-self: center;
    position: static;
  }

  .art-back-wrap,
  .art-masthead,
  .art-visual-zone,
  .art-body-wrap,
  .art-cta-zone,
  .art-navigation,
  .art-related {
    padding-left: 18px;
    padding-right: 18px;
  }

  .art-title { font-size: 1.72rem; }
  .art-summary { font-size: .94rem; font-weight: 300; }

  /* Mobile : plus de décalage, tout en colonne centrée */
  .art-section,
  .art-section--alt {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-right: none;
    border-left: none;
    padding-right: 0;
    padding-left: 0;
  }

  .art-visual-img { height: clamp(200px, 55vw, 300px); }

  .art-body-wrap { padding-top: 48px; }

  .art-intro { margin-bottom: 48px; padding-bottom: 36px; }
  .art-intro p { font-size: 1.1rem; }

  .art-section { margin-bottom: 52px; }
  .art-section--alt { margin-left: 0; }

  .art-section-title { font-size: 1.44rem; }
  .art-section-title--h3 { font-size: 1.2rem; }

  .art-pro-tip { padding: 24px 22px; margin-bottom: 52px; }
  .art-conclusion { padding: 24px 22px; margin-bottom: 52px; }
  .art-section--framed { padding: 22px 20px; }

  .art-cta { padding: 28px 22px; }
  .art-cta h2 { font-size: 1.45rem; }

  .art-related-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .art-related h2 { font-size: 1.55rem; }
  .art-related-grid { grid-template-columns: 1fr; gap: 14px; }

  .art-section[data-n]::before { display: none; }
}

/* Très petit — 380px */
@media (max-width: 380px) {
  .art-title { font-size: 1.64rem; }
  .art-cta h2 { font-size: 1.3rem; }
}
.art-section {
  position: relative;
  overflow: visible;
}

.art-section[data-n]::before {
  content: attr(data-n) !important;
  position: absolute;
  top: -65px;
  left: -215px;
  right: auto;
  display: block !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 9rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(201,169,110,.16);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.art-section--alt[data-n]::before {
  left: auto;
  right: -85px;
}

.art-section-title,
.art-section .art-body {
  position: relative;
  z-index: 2;
}