:root {
  color-scheme: light;
  --orange: #f15b33;
  --dark: #171717;
  --muted: #606060;
  --border: #e8e8e8;
  --paper: #ffffff;
  --soft: #f7f5f3;
  --font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--dark);
  font-family: var(--font);
  line-height: 1.7;
}

a { color: inherit; }

.article-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 12px max(24px, calc((100% - 1120px) / 2));
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);
}

.article-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.article-brand img { display: block; width: 180px; height: auto; }

.article-nav-link {
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.article-nav-link:hover, .article-content a:hover { color: var(--orange); }

.article-shell {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
  padding: 46px 0 80px;
}

.breadcrumbs {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: .85rem;
}

.breadcrumbs a { text-decoration: none; }

.article-category {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.article-header h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: -.04em;
}

.article-meta {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.article-lead {
  margin: 30px 0;
  padding: 22px 24px;
  background: var(--soft);
  border-left: 4px solid var(--orange);
  font-size: 1.1rem;
}

.article-content h2 {
  margin: 38px 0 12px;
  font-size: 1.55rem;
  line-height: 1.3;
}

.article-content h3 {
  margin: 24px 0 8px;
  font-size: 1.12rem;
}

.article-content p, .article-content li { color: #333; }
.article-content ul, .article-content ol { padding-left: 24px; }
.article-content li { margin: 8px 0; }
.article-content a { color: #b83d1e; }

.article-callout {
  margin: 32px 0;
  padding: 22px 24px;
  background: #fff4ef;
  border-radius: 12px;
}

.article-callout p { margin-bottom: 0; }

.article-back {
  display: inline-block;
  margin-top: 32px;
  padding: 12px 20px;
  border-radius: 28px;
  background: var(--orange);
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.article-back:hover { background: #d44820; }

.article-footer {
  padding: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  font-size: .8rem;
}

@media (max-width: 600px) {
  .article-nav { min-height: 60px; padding: 8px 16px; }
  .article-brand img { width: 150px; height: auto; }
  .article-nav-link { font-size: .8rem; }
  .article-shell { width: min(100% - 32px, 820px); padding-top: 30px; }
  .article-lead { padding: 18px; font-size: 1rem; }
}

/* Accessibilité : focus clavier visible */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #f15b33;outline-offset:2px}

/* Image de couverture des articles */
.article-cover { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 16px; margin: 8px 0 32px; background: var(--soft); }

/* Finition typographique Arial */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2 { letter-spacing: -0.02em; text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: rgba(241, 91, 51, 0.22); }

/* Mobile : zone tactile article */
@media (max-width: 768px) {
  .article-nav-link { display: inline-flex; align-items: center; min-height: 40px; }
  .article-footer a { display: inline-block; padding: 8px 2px; }
  .article-content li a { display: inline-block; padding: 3px 0; }
}

/* ============================================================
   FINITION VISUELLE v2 (2026-11-14) — articles du blog
   Uniquement du CSS. Pour revenir en arrière : supprimer ce bloc.
   ============================================================ */
:root { --font: Arial, Helvetica, sans-serif; }
html { accent-color: var(--orange); scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 1.0625rem; line-height: 1.75; }
[id] { scroll-margin-top: 90px; }

/* Menu en verre dépoli */
.article-nav {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}
.article-nav-link {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  transition: border-color .2s, color .2s, background .2s;
}
.article-nav-link:hover { border-color: var(--orange); background: #fff7f3; }

/* En-tête */
.breadcrumbs a { transition: color .2s; }
.breadcrumbs a:hover { color: var(--orange); }
.article-category {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 50px;
  background: #fff1ea;
}
.article-header h1 { font-weight: 800; letter-spacing: -.035em; line-height: 1.12; text-wrap: pretty; }

/* Image de couverture */
.article-cover { box-shadow: 0 24px 50px rgba(0, 0, 0, .12); }

/* Chapô */
.article-lead { border-radius: 0 14px 14px 0; color: #2a2a2a; line-height: 1.7; }

/* Corps du texte : titres avec repère orange, liens plus nets */
.article-content h2 {
  position: relative;
  padding-top: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.article-content h2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 3px;
  border-radius: 3px;
  background: var(--orange);
}
.article-content h3 { font-weight: 700; }
.article-content p, .article-content li { color: #3a3a3a; }
.article-content li::marker { color: var(--orange); }
.article-content strong { color: #171717; }
.article-content a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s;
}
.article-callout { border: 1px solid #ffe0d3; border-left: 4px solid var(--orange); }

/* Bouton retour */
.article-back {
  box-shadow: 0 8px 22px rgba(241, 91, 51, .28);
  transition: background .25s, transform .2s, box-shadow .25s;
}
.article-back:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(241, 91, 51, .36); }

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .article-nav-link { padding: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .article-back { transition: none; }
  .article-back:hover { transform: none; }
}
