:root {
  --ink: #0D0D0D; --ink-soft: #1A1A1A; --ink-muted: #444;
  --cream: #FAFAF7; --sand: #F2EDE4; --sand-deep: #E8E0D3;
  --gold: #B8915A; --gold-light: #D4B07A; --gold-pale: #F0E6D3;
  --gray-line: #E5E0D5; --gray: #9A8E7E;
  --serif: 'Playfair Display', serif;
  --sans: 'Space Grotesk', sans-serif;
  --mono: 'DM Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.7; }
a { color: var(--gold); text-decoration: none; border-bottom: 1px solid currentColor; }
a:hover { color: var(--ink); }

.topbar { border-bottom: 1px solid var(--gray-line); padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; background: var(--cream); position: sticky; top: 0; z-index: 100; }
.logo { display: flex; align-items: center; gap: 12px; border: none; }
.logo-mark { width: 36px; height: 36px; background: var(--ink); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.logo-mark span { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--cream); }
.logo-text { display: flex; flex-direction: column; gap: 3px; }
.logo-name { font-weight: 700; font-size: 15px; line-height: 1; color: var(--ink); }
.logo-sub { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); line-height: 1; }
.topnav { display: flex; gap: 24px; }
.topnav a { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-muted); border: none; }
.topnav a:hover { color: var(--gold); }

.hero { padding: 80px 24px 60px; background: linear-gradient(180deg, var(--gold-pale) 0%, var(--cream) 100%); border-bottom: 1px solid var(--gray-line); }
.hero-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.breadcrumb { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gray); margin-bottom: 32px; }
.breadcrumb a { color: var(--gray); border: none; }
.breadcrumb a:hover { color: var(--gold); }
.cat-badge { display: inline-block; padding: 6px 14px; background: var(--ink); color: var(--cream); border-radius: 100px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; margin-bottom: 20px; }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 56px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 22px; color: var(--ink); }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero .lead { font-size: 19px; color: var(--ink-muted); margin-bottom: 28px; }
.meta-bar { display: flex; justify-content: center; gap: 24px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gray); flex-wrap: wrap; }

/* If hero overrides color via custom class */
.hero.hero-cat-color { color: var(--cream); }
.hero.hero-cat-color h1 { color: var(--cream); }
.hero.hero-cat-color h1 em { color: var(--gold-light); }
.hero.hero-cat-color .breadcrumb,
.hero.hero-cat-color .breadcrumb a,
.hero.hero-cat-color .meta-bar { color: rgba(250,250,247,0.7); }
.hero.hero-cat-color .lead { color: rgba(250,250,247,0.85); }
.hero.hero-cat-color .cat-badge { background: var(--gold); color: var(--ink); }

.article { max-width: 760px; margin: 0 auto; padding: 80px 24px; }
.article p { font-size: 17px; margin-bottom: 22px; color: var(--ink-soft); }
.article p.lede { font-size: 19px; font-weight: 500; color: var(--ink); margin-bottom: 36px; line-height: 1.6; padding: 24px 28px; background: var(--sand); border-left: 4px solid var(--gold); border-radius: 4px; }
.article h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin: 56px 0 20px; color: var(--ink); }
.article h2 .num { font-family: var(--mono); font-size: 14px; color: var(--gold); display: block; margin-bottom: 6px; letter-spacing: 0.2em; }
.article h3 { font-family: var(--sans); font-size: 22px; font-weight: 700; margin: 32px 0 14px; color: var(--ink); }
.article ul, .article ol { margin: 0 0 22px 24px; }
.article ul li, .article ol li { font-size: 17px; margin-bottom: 10px; color: var(--ink-soft); padding-left: 6px; }
.article strong { color: var(--ink); font-weight: 700; }

.toc { background: white; border: 1px solid var(--gray-line); border-radius: 12px; padding: 28px 32px; margin: 0 0 48px; }
.toc-title { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--gold); margin-bottom: 16px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc ol li { font-size: 15px; padding: 8px 0; border-bottom: 1px solid var(--gray-line); }
.toc ol li:last-child { border-bottom: none; }
.toc ol li a { color: var(--ink); border: none; }
.toc ol li a:hover { color: var(--gold); }
.toc ol li .num { font-family: var(--mono); color: var(--gold); margin-right: 12px; font-size: 12px; }

.compare-table { margin: 32px -8px; overflow-x: auto; }
.compare-table table { width: 100%; border-collapse: collapse; background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--gray-line); font-size: 15px; }
.compare-table th { background: var(--ink); color: var(--cream); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; }
.compare-table td:first-child { font-weight: 700; color: var(--ink); }
.compare-table .winner { background: var(--gold-pale); font-weight: 600; }
.compare-table .winner::after { content: ' ★'; color: var(--gold); }

.callout { background: var(--sand); border-left: 4px solid var(--gold); padding: 24px 28px; border-radius: 6px; margin: 32px 0; }
.callout-title { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.callout p { margin: 0; font-size: 16px; }
.callout-warning { background: rgba(184, 100, 80, 0.08); border-left-color: #b86450; }
.callout-warning .callout-title { color: #b86450; }
.callout-tip { background: rgba(120, 160, 100, 0.08); border-left-color: #6f9a55; }
.callout-tip .callout-title { color: #6f9a55; }

.cta-box { background: var(--ink); color: var(--cream); padding: 48px 36px; border-radius: 14px; margin: 64px 0; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: -2px; border: 1px solid var(--gold); border-radius: 16px; opacity: 0.4; pointer-events: none; }
.cta-box-eyebrow { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 14px; }
.cta-box h3 { font-family: var(--serif); font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; margin-bottom: 14px; color: var(--cream); line-height: 1.2; }
.cta-box p { color: rgba(250, 250, 247, 0.8); margin-bottom: 28px; font-size: 16px; }
.cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; background: var(--gold); color: var(--ink); border-radius: 100px; font-weight: 700; font-size: 14px; letter-spacing: 0.02em; transition: all 0.25s ease; border: none; }
.cta-btn:hover { background: var(--cream); transform: translateY(-2px); }

.faq-item { border-bottom: 1px solid var(--gray-line); padding: 24px 0; }
.faq-item h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.faq-item p { font-size: 16px; color: var(--ink-muted); margin: 0; }

/* FAQ Suggest block (engagement enrichissement FAQ) */
.faq-suggest {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 0 24px;
}
.faq-suggest-card {
  background: linear-gradient(135deg, var(--sand) 0%, var(--gold-pale) 100%);
  border: 1px solid var(--gray-line);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.faq-suggest-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(184,145,90,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.faq-suggest-icon {
  font-size: 38px;
  margin-bottom: 12px;
  line-height: 1;
}
.faq-suggest-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 600;
}
.faq-suggest-card h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink);
}
.faq-suggest-card p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 22px;
  max-width: 520px;
}
.faq-suggest-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  border-bottom: none;
  transition: all 0.22s ease;
}
.faq-suggest-btn:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(184,145,90,0.35);
}
.faq-suggest-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.faq-suggest-note {
  font-family: var(--mono);
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray) !important;
  margin: 18px 0 0 !important;
}
@media (max-width: 600px) {
  .faq-suggest { margin-top: 36px; padding: 0 18px; }
  .faq-suggest-card { padding: 28px 22px; border-radius: 12px; }
  .faq-suggest-icon { font-size: 32px; }
  .faq-suggest-eyebrow { font-size: 10px; letter-spacing: 0.2em; }
  .faq-suggest-card p { font-size: 15px; margin-bottom: 18px; }
  .faq-suggest-btn { padding: 13px 24px; font-size: 13.5px; }
  .faq-suggest-note { font-size: 10px !important; }
}

/* Newsletter signup block */
.newsletter-block {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.newsletter-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  padding: 40px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold);
}
.newsletter-card::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(184,145,90,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 600;
  position: relative; z-index: 1;
}
.newsletter-card h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--cream);
  position: relative; z-index: 1;
}
.newsletter-card p {
  color: rgba(250, 250, 247, 0.78);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 auto 26px;
  max-width: 460px;
  position: relative; z-index: 1;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 15px 20px;
  border: 1.5px solid rgba(250, 250, 247, 0.2);
  border-radius: 100px;
  background: rgba(250, 250, 247, 0.05);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}
.newsletter-form input[type="email"]::placeholder {
  color: rgba(250, 250, 247, 0.5);
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--gold);
}
.newsletter-form button {
  padding: 15px 28px;
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--cream);
  transform: translateY(-2px);
}
.newsletter-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.newsletter-note {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(250, 250, 247, 0.45) !important;
  margin: 18px 0 0 !important;
  position: relative; z-index: 1;
}
.newsletter-success {
  display: none;
  font-size: 16px !important;
  color: var(--gold) !important;
  font-weight: 700;
  margin: 0 !important;
}
.newsletter-card.success .newsletter-form,
.newsletter-card.success .newsletter-note { display: none; }
.newsletter-card.success .newsletter-success { display: block; }

@media (max-width: 600px) {
  .newsletter-block { margin-top: 28px; padding: 0 18px; }
  .newsletter-card { padding: 32px 22px; border-radius: 12px; }
  .newsletter-eyebrow { font-size: 10px; letter-spacing: 0.22em; }
  .newsletter-card p { font-size: 15px; margin-bottom: 22px; }
  .newsletter-form { flex-direction: column; gap: 8px; }
  .newsletter-form input[type="email"] { width: 100%; padding: 13px 18px; font-size: 14px; }
  .newsletter-form button { width: 100%; padding: 13px 22px; font-size: 13.5px; }
  .newsletter-note { font-size: 10px !important; }
}

.related { background: var(--sand); padding: 64px 24px; margin-top: 80px; }
.related-inner { max-width: 1100px; margin: 0 auto; }
.related h2 { font-family: var(--serif); font-size: 32px; font-weight: 700; margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.related-card { background: white; border: 1px solid var(--gray-line); border-radius: 12px; padding: 24px; transition: all 0.2s; border-bottom: none; color: var(--ink); display: block; }
.related-card:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--ink); }
.related-card-cat { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 8px; }
.related-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.3; }

footer { background: var(--ink-soft); color: var(--gray); padding: 36px 24px; text-align: center; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; }
footer a { color: var(--gray); border: none; }

/* Tablet */
@media (max-width: 900px) {
  .article { padding: 60px 24px; }
  .hero { padding: 70px 24px 50px; }
  .related { padding: 56px 24px 64px; }
}

/* Mobile (cible iPhone/Android standard) */
@media (max-width: 600px) {
  body { line-height: 1.65; }
  .topbar { padding: 12px 18px; padding-right: 70px; /* laisse place au burger */ }
  .topnav { display: none; }
  .logo-name { font-size: 14px; }
  .logo-sub { font-size: 8px; letter-spacing: 0.2em; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-mark span { font-size: 14px; }

  .hero { padding: 44px 18px 32px; }
  .breadcrumb { font-size: 10px; letter-spacing: 0.15em; margin-bottom: 18px; }
  .cat-badge { font-size: 9px; padding: 5px 12px; margin-bottom: 14px; letter-spacing: 0.2em; }
  .hero h1 { font-size: 30px; line-height: 1.15; margin-bottom: 16px; }
  .hero .lead { font-size: 16px; line-height: 1.55; margin-bottom: 18px; }
  .meta-bar { gap: 12px; font-size: 9px; letter-spacing: 0.12em; }

  .article { padding: 36px 18px; }
  .article p { font-size: 16px; margin-bottom: 18px; }
  .article p.lede { font-size: 17px; padding: 18px 20px; margin-bottom: 28px; }
  .article h2 { font-size: 24px; margin: 38px 0 14px; line-height: 1.25; }
  .article h2 .num { font-size: 11px; }
  .article h3 { font-size: 19px; margin: 24px 0 10px; }
  .article ul li, .article ol li { font-size: 16px; margin-bottom: 8px; }
  .article ul, .article ol { margin-left: 18px; }

  .toc { padding: 20px 22px; margin-bottom: 32px; border-radius: 10px; }
  .toc-title { font-size: 10px; }
  .toc ol li { font-size: 14px; padding: 7px 0; }
  .toc ol li .num { font-size: 11px; margin-right: 8px; }

  .compare-table { margin: 24px -18px; }
  .compare-table table { border-radius: 0; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 13.5px; }
  .compare-table th { font-size: 10px; letter-spacing: 0.1em; }

  .callout { padding: 18px 20px; margin: 24px 0; }
  .callout-title { font-size: 10px; letter-spacing: 0.18em; }
  .callout p { font-size: 15px; }

  .cta-box { padding: 32px 24px; margin: 44px 0; border-radius: 12px; }
  .cta-box-eyebrow { font-size: 10px; letter-spacing: 0.22em; }
  .cta-box h3 { font-size: 22px; margin-bottom: 12px; }
  .cta-box p { font-size: 15px; margin-bottom: 22px; }
  .cta-btn { padding: 14px 26px; font-size: 13px; }

  .faq-item { padding: 18px 0; }
  .faq-item h3 { font-size: 16px; margin-bottom: 8px; }
  .faq-item p { font-size: 15px; line-height: 1.55; }

  .related { padding: 44px 18px 56px; }
  .related h2 { font-size: 24px; margin-bottom: 22px; }
  .related-grid { gap: 14px; grid-template-columns: 1fr; }
  .related-card { padding: 20px; }
  .related-card h3 { font-size: 16px; }

  footer { padding: 28px 18px; font-size: 9px; letter-spacing: 0.16em; line-height: 1.6; }
}

/* Très petits écrans (iPhone SE / petits Android) */
@media (max-width: 380px) {
  .hero h1 { font-size: 26px; }
  .hero .lead { font-size: 15px; }
  .article h2 { font-size: 22px; }
  .article p, .article ul li, .article ol li { font-size: 15.5px; }
  .toc ol li { font-size: 13.5px; }
  .cta-box { padding: 26px 20px; }
  .cta-box h3 { font-size: 20px; }
}
