/* ============================================================
   Hugo Delannoy · Commerces — CSS complet sous-marque commerce
   Cabinet conseil en cession — bleu nuit + champagne + Cormorant
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Reset & base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --hdc-night-950: #060E1A;
  --hdc-night-900: #0F1E2C;
  --hdc-night-800: #16293A;
  --hdc-night-700: #1F384C;
  --hdc-night-500: #3E5870;
  --hdc-night-200: #B8C2CD;
  --hdc-night-100: #DCE2E9;
  --hdc-night-050: #EEF1F5;

  --hdc-champ-700: #8C7142;
  --hdc-champ-500: #A88B5C;
  --hdc-champ-300: #C8B58A;
  --hdc-champ-100: #ECE3CE;

  --hdc-ivory:   #F8F7F4;
  --hdc-bone:    #F2F0EA;
  --hdc-paper:   #FFFFFF;

  --hdc-ink-900: #0A0F18;
  --hdc-ink-700: #2A3340;
  --hdc-ink-500: #5A6573;
  --hdc-ink-300: #A0A8B3;
  --hdc-line:    #D6DAE0;
  --hdc-line-soft: #E8EBEF;

  --bg-page:     var(--hdc-ivory);
  --bg-elevated: var(--hdc-paper);
  --fg-primary:  var(--hdc-ink-900);
  --fg-secondary:var(--hdc-ink-700);
  --fg-muted:    var(--hdc-ink-500);
  --border:      var(--hdc-line);
  --accent:      var(--hdc-champ-500);
  --accent-ink:  var(--hdc-champ-700);

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-display: clamp(2.75rem, 5vw, 4.5rem);
  --fs-h1:      clamp(2rem, 3.2vw, 2.75rem);
  --fs-h2:      clamp(1.5rem, 2.2vw, 2rem);
  --fs-h3:      1.375rem;
  --fs-body:    1rem;
  --fs-body-lg: 1.125rem;
  --fs-caption: 0.85rem;
  --fs-eyebrow: 0.72rem;

  --lh-tight: 1.1;
  --lh-snug:  1.25;
  --lh-body:  1.7;

  --tracking-display: -0.01em;
  --tracking-eyebrow: 0.22em;
  --tracking-caps:    0.16em;

  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px;  --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  --r-xs: 0; --r-sm: 2px; --r-md: 4px; --r-lg: 6px; --r-xl: 10px; --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(15, 30, 44, 0.06);
  --shadow-2: 0 6px 20px rgba(15, 30, 44, 0.10);
  --shadow-3: 0 18px 40px rgba(15, 30, 44, 0.16);
}

html { font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--sp-5); }

a { color: var(--hdc-night-900); text-decoration: none; }
a:hover { color: var(--hdc-champ-700); }

/* ---- Buttons --------------------------------------------- */
.hdc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  border-radius: 0;
  transition: all 0.25s ease;
  text-transform: uppercase;
}
.hdc-btn-primary {
  background: var(--hdc-night-900);
  color: var(--hdc-ivory);
  border-color: var(--hdc-night-900);
}
.hdc-btn-primary:hover { background: var(--hdc-night-950); color: var(--hdc-ivory); letter-spacing: 0.08em; }
.hdc-btn-gold {
  background: transparent;
  color: var(--hdc-night-900);
  border: 1px solid var(--accent);
}
.hdc-btn-gold:hover {
  background: transparent;
  color: var(--hdc-champ-500);
  border-color: var(--hdc-champ-500);
}
.hdc-btn-outline {
  background: transparent;
  color: var(--hdc-night-900);
  border: 1px solid var(--hdc-night-900);
}
.hdc-btn-outline:hover { background: var(--hdc-night-900); color: var(--hdc-ivory); }

/* ---- Header --------------------------------------------- */
.hdc-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 244, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--hdc-line-soft);
  transition: transform 0.3s ease;
}
.hdc-site-header.nav-hidden { transform: translateY(-110%); }
.hdc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) 0;
  gap: var(--sp-5);
}
.hdc-brand-wm {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--hdc-night-900);
  font-size: 16px;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.hdc-brand-wm .sep { color: var(--accent); margin: 0 0.5em; font-weight: 400; }
.hdc-brand-wm .lbl {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.32em;
  font-weight: 500;
  margin-top: 6px;
  color: var(--hdc-night-700);
  text-transform: uppercase;
}
.hdc-nav-menu { display: flex; gap: var(--sp-7); }
.hdc-nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--hdc-ink-700);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) ease, color var(--dur-base) ease;
}
.hdc-nav-link:hover { border-bottom-color: var(--accent); color: var(--hdc-night-900); }
.hdc-nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
}
.hdc-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--hdc-night-900);
  transition: 0.3s;
}

/* ---- Single article commerce layout --------------------- */
.hdc-single-post {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-9);
}
.hdc-single-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-7);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

/* Breadcrumb */
.hdc-breadcrumb {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-6);
}
.hdc-breadcrumb a { color: var(--fg-muted); }
.hdc-breadcrumb a:hover { color: var(--accent-ink); }
.hdc-breadcrumb .sep { margin: 0 6px; }

/* Article header */
.hdc-post-header { margin-bottom: var(--sp-7); }
.hdc-post-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.hdc-post-eyebrow .rule {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.hdc-post-header h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  color: var(--hdc-night-900);
  line-height: 1.15;
  letter-spacing: var(--tracking-display);
  margin: 0 0 var(--sp-5);
}
.hdc-post-lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--hdc-night-700);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border);
}

/* Featured image */
.hdc-post-cover {
  margin-bottom: var(--sp-7);
  overflow: hidden;
}
.hdc-post-cover img,
.hdc-post-cover picture img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

/* Article content */
.hdc-post-content {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--hdc-ink-700);
}
.hdc-post-content h1,
.hdc-post-content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--hdc-night-900);
  letter-spacing: var(--tracking-display);
  margin: var(--sp-8) 0 var(--sp-4);
  line-height: 1.15;
}
.hdc-post-content h1 { font-size: var(--fs-h1); }
.hdc-post-content h2 { font-size: var(--fs-h2); }
.hdc-post-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  color: var(--hdc-night-900);
  letter-spacing: 0;
  margin: var(--sp-6) 0 var(--sp-3);
  line-height: var(--lh-snug);
}
.hdc-post-content p { margin: 0 0 var(--sp-5); }
.hdc-post-content strong { color: var(--hdc-night-900); font-weight: 600; }
.hdc-post-content em { font-style: italic; color: var(--hdc-ink-500); }
.hdc-post-content a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hdc-post-content a:hover { color: var(--hdc-night-900); }
.hdc-post-content ul,
.hdc-post-content ol {
  margin: 0 0 var(--sp-5);
  padding-left: var(--sp-6);
}
.hdc-post-content li { margin-bottom: var(--sp-2); }
.hdc-post-content blockquote {
  border-left: 3px solid var(--accent);
  margin: var(--sp-6) 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--hdc-bone);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--hdc-night-700);
}
.hdc-post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--sp-7) 0;
}
.hdc-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-6) 0;
  font-size: 14px;
}
.hdc-post-content th {
  background: var(--hdc-night-900);
  color: var(--hdc-ivory);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 12px;
  text-transform: uppercase;
}
.hdc-post-content td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border);
  color: var(--hdc-ink-700);
}
.hdc-post-content tr:nth-child(even) td { background: var(--hdc-bone); }

/* Tags */
.hdc-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: var(--sp-7) 0;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}
.hdc-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hdc-ink-500);
  border: 1px solid var(--hdc-line);
  padding: 4px 10px;
  border-radius: 0;
}

/* Article CTA */
.hdc-post-cta {
  background: var(--hdc-night-900);
  color: var(--hdc-ivory);
  padding: var(--sp-7) var(--sp-6);
  margin: var(--sp-7) 0;
}
.hdc-post-cta h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 0 var(--sp-3);
  line-height: 1.2;
}
.hdc-post-cta p {
  font-size: 14.5px;
  color: rgba(248, 247, 244, 0.8);
  margin: 0 0 var(--sp-5);
}
.hdc-post-cta-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ---- Sidebar TOC ---------------------------------------- */
.hdc-toc-sticky {
  position: sticky;
  top: 90px;
}
.hdc-toc {
  background: var(--hdc-bone);
  border: 1px solid var(--border);
  padding: var(--sp-5);
}
.hdc-toc-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--accent);
}
.hdc-toc nav { font-family: var(--font-body); font-size: 13px; }
.hdc-toc nav ul { list-style: none; padding: 0; margin: 0; }
.hdc-toc nav li { margin-bottom: var(--sp-2); }
.hdc-toc nav a {
  color: var(--hdc-ink-700);
  text-decoration: none;
  display: block;
  padding: 3px 0;
  border-left: 2px solid transparent;
  padding-left: var(--sp-3);
  transition: border-color 0.15s ease, color 0.15s ease;
  line-height: 1.4;
}
.hdc-toc nav a:hover,
.hdc-toc nav a.active { border-left-color: var(--accent); color: var(--hdc-night-900); }
.hdc-toc nav li ul { padding-left: var(--sp-3); margin-top: var(--sp-1); }

/* Sidebar CTA box */
.hdc-sidebar-cta {
  margin-top: var(--sp-5);
  background: var(--hdc-night-900);
  padding: var(--sp-5);
  color: var(--hdc-ivory);
}
.hdc-sidebar-cta p {
  font-size: 13.5px;
  color: rgba(248, 247, 244, 0.85);
  margin: 0 0 var(--sp-4);
  line-height: 1.6;
}

/* ---- Related posts commerce ----------------------------- */
.hdc-related {
  background: var(--hdc-ivory);
  padding: var(--sp-9) 0;
  border-top: 1px solid var(--border);
}
.hdc-related-head {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--sp-7);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.hdc-related-head .rule {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.hdc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.hdc-related-card {
  background: var(--hdc-paper);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur-base) ease;
}
.hdc-related-img-wrap {
  display: block;
  overflow: hidden;
  height: 160px;
  flex-shrink: 0;
}
.hdc-related-img-wrap picture,
.hdc-related-img {
  display: block;
  width: 100%;
  height: 160px;
}
.hdc-related-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) ease;
}
.hdc-related-card:hover .hdc-related-img img { transform: scale(1.03); }
.hdc-related-body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}
.hdc-related-card:hover { box-shadow: var(--shadow-2); }
.hdc-related-cat {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.hdc-related-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--hdc-night-900);
  line-height: 1.3;
  margin: 0;
}
.hdc-related-card h3 a { color: inherit; text-decoration: none; }
.hdc-related-card h3 a:hover { color: var(--accent-ink); }
.hdc-related-card p {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}
.hdc-related-time {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin-top: auto;
}

/* ---- Footer commerce ------------------------------------ */
.hdc-footer {
  background: var(--hdc-night-950);
  color: rgba(248, 247, 244, 0.72);
  padding: var(--sp-8) 0 var(--sp-5);
}
.hdc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-7);
  margin-bottom: var(--sp-7);
}
.hdc-footer h5 {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--sp-4);
  font-weight: 500;
}
.hdc-footer-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 18px;
  color: #fff;
  margin-bottom: var(--sp-3);
}
.hdc-footer-wordmark .sep { color: var(--accent); margin: 0 0.4em; font-weight: 400; }
.hdc-footer p,
.hdc-footer a,
.hdc-footer li {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(248, 247, 244, 0.72);
  text-decoration: none;
  line-height: 1.85;
}
.hdc-footer a:hover { color: var(--accent); }

.hdc-footer a[href^="tel"] {
  display: inline-block;
  padding: 2px 6px;
  margin: -2px -6px;
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.hdc-footer a[href^="tel"]:hover {
  background: var(--accent);
  color: #fff;
}
.hdc-footer ul { list-style: none; }
.hdc-footer-bottom {
  border-top: 1px solid rgba(168, 139, 92, 0.18);
  padding-top: var(--sp-4);
  font-size: 11.5px;
  color: rgba(248, 247, 244, 0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-family: var(--font-body);
}
.hdc-footer-bottom a { color: rgba(248, 247, 244, 0.45); font-size: 11.5px; }
.hdc-footer-bottom a:hover { color: var(--accent); }

/* Cookie banner */
#cookie-overlay, #cookie-banner { /* hérite du footer.html partial */ }

/* ---- FAQ overrides pour palette commerce ---------------- */
.hdc-body .faq-title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--hdc-night-900);
  border-bottom: none;
}
.hdc-body .faq-item {
  border-radius: 0;
  border-color: var(--hdc-line);
  background: var(--hdc-paper);
}
.hdc-body .faq-item.active {
  border-color: var(--accent);
  box-shadow: none;
}
.hdc-body .faq-question {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--hdc-ink-900);
}
.hdc-body .faq-question:hover { color: var(--accent-ink); }
.hdc-body .faq-icon { background: var(--hdc-bone); border-radius: 0; }
.hdc-body .faq-item.active .faq-icon { background: var(--accent); }
.hdc-body .faq-item.active .faq-icon svg { stroke: var(--hdc-night-900); }
.hdc-body .faq-answer-inner { color: var(--fg-secondary); }

/* ---- Service page — palette commerce -------------------- */
.hdc-body .service-page {
  background: var(--hdc-ivory);
}

/* HERO */
.hdc-body .service-hero {
  background: var(--hdc-ivory);
  color: var(--hdc-ink-900);
  padding: 5.5rem 1.5rem 5rem;
  position: relative;
  border-bottom: 1px solid var(--hdc-line-soft);
}
.hdc-body .service-hero::before { display: none; }

.hdc-body .service-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hdc-body .service-hero--with-image .service-hero-inner {
  max-width: 1160px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
}

.hdc-body .service-hero--with-image .service-hero-ctas {
  justify-content: flex-start;
}

.hdc-body .service-hero--with-image .service-hero-subtitle {
  margin-left: 0;
  margin-right: 0;
}

.hdc-body .service-hero-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  border: none;
  padding: 0;
  margin-bottom: 1.8rem;
  display: block;
}

.hdc-body .service-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.05;
  color: var(--hdc-night-900);
  margin: 0 0 var(--sp-5);
  letter-spacing: -0.01em;
}
.hdc-body .service-hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hdc-body .service-hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--hdc-night-700);
  margin: 0 0 var(--sp-6);
  max-width: 540px;
}

.hdc-body .service-hero-subtitle strong {
  color: var(--hdc-night-900);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
}

.hdc-body .service-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.hdc-body .btn-hero-primary {
  background: var(--hdc-night-900);
  color: var(--hdc-ivory);
  border: 1px solid var(--hdc-night-900);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  box-shadow: none;
}
.hdc-body .btn-hero-primary:hover {
  background: var(--hdc-night-950);
  color: var(--hdc-ivory);
  transform: none;
  box-shadow: none;
}

.hdc-body .btn-hero-secondary {
  background: transparent;
  color: var(--hdc-night-900);
  border: 1px solid var(--accent);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
}
.hdc-body .btn-hero-secondary:hover {
  background: var(--accent);
  color: var(--hdc-ink-900);
}

.hdc-body .service-hero-note {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin: 0;
}

.hdc-body .service-hero-photo {
  position: relative;
  justify-self: center;
}

.hdc-body .service-hero-photo img {
  width: 100%;
  max-width: 400px;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
  box-shadow: var(--shadow-3);
  border: none;
}

.hdc-body .service-hero-photo-caption {
  position: static;
  background: none;
  color: var(--fg-muted);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.6rem 0 0;
  text-align: right;
  white-space: normal;
  box-shadow: none;
}

/* TRUST BAR — fond nuit, chiffres romains */
.hdc-body .service-trust {
  background: var(--hdc-night-900);
  border-bottom: none;
  padding: 0 1.5rem;
  counter-reset: trust-num;
}

.hdc-body .service-trust-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hdc-body .service-trust-item {
  text-align: center;
  padding: 2.8rem 1.5rem;
  border-right: 1px solid rgba(168, 139, 92, 0.2);
  counter-increment: trust-num;
}
.hdc-body .service-trust-item:last-child { border-right: none; }

.hdc-body .service-trust-icon { display: none; }

.hdc-body .service-trust-item::before {
  content: counter(trust-num, lower-roman) ".";
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.9rem;
  line-height: 1;
}

.hdc-body .service-trust-label {
  font-family: var(--font-body);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(248, 247, 244, 0.5);
  font-weight: 500;
  margin-bottom: 0.55rem;
}

.hdc-body .service-trust-value {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(248, 247, 244, 0.85);
  font-weight: 400;
  line-height: 1.5;
}

/* CORPS MARKDOWN */
.hdc-body .service-content {
  padding: 5rem 1.5rem 3rem;
  background: var(--hdc-ivory);
}

.hdc-body .service-content-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hdc-body .service-content-inner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  color: var(--hdc-night-900);
  letter-spacing: -0.01em;
  margin: 3.5rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--hdc-champ-300);
  display: block;
}

.hdc-body .service-content-inner h2:first-child { margin-top: 0; }

.hdc-body .service-content-inner h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--hdc-night-900);
  letter-spacing: -0.01em;
  margin: 2.2rem 0 0.8rem;
}

.hdc-body .service-content-inner p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg-secondary);
  margin-bottom: 1.1rem;
}

.hdc-body .service-content-inner strong { color: var(--hdc-night-900); font-weight: 600; }

.hdc-body .service-content-inner ul {
  margin: 0.5rem 0 1.4rem 1.4rem;
}

.hdc-body .service-content-inner ul li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-secondary);
  margin-bottom: 0.5rem;
}

/* PRESTATIONS GRID */
.hdc-body .prestations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 1rem;
}

.hdc-body .prestation-card {
  background: var(--hdc-paper);
  border: 1px solid var(--hdc-line);
  border-radius: 0;
  padding: 2rem 1.8rem;
  transition: box-shadow 0.25s ease;
}

.hdc-body .prestation-card:hover {
  box-shadow: var(--shadow-2);
  transform: none;
  border-color: var(--accent);
}

.hdc-body .prestation-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--hdc-night-900);
  letter-spacing: -0.01em;
  margin: 0 0 0.8rem;
}

.hdc-body .prestation-card p {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--fg-secondary);
  margin: 0;
}

/* BLOC MIS EN AVANT */
.hdc-body .service-highlight {
  background: var(--hdc-bone);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 2rem 2.2rem;
  margin: 2.5rem 0;
}

.hdc-body .service-highlight h2,
.hdc-body .service-highlight h3 {
  margin-top: 0;
  border-bottom: none;
}

/* CAS CONCRET */
.hdc-body .case-study {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin: 2.5rem 0;
  padding: 2.2rem;
  background: var(--hdc-paper);
  border: 1px solid var(--hdc-line);
  border-radius: 0;
  border-left: 3px solid var(--hdc-night-900);
}

.hdc-body .case-study-portrait { text-align: center; }

.hdc-body .case-study-portrait img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 0.8rem;
  box-shadow: var(--shadow-2);
  border: 2px solid var(--hdc-line);
}

.hdc-body .case-study-portrait .case-study-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--hdc-night-900);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.hdc-body .case-study-portrait .case-study-role {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.hdc-body .case-study-body > h2:first-child,
.hdc-body .case-study-body > h3:first-child { margin-top: 0; }

/* CTA FINAL */
.hdc-body .service-final-cta {
  background: var(--hdc-night-900);
  color: var(--hdc-ivory);
  padding: 5rem 1.5rem;
  text-align: center;
}

.hdc-body .service-final-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.hdc-body .service-final-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--hdc-ivory);
  letter-spacing: var(--tracking-display);
  margin-bottom: 1.2rem;
  border-bottom: none;
}

.hdc-body .service-final-cta p {
  font-family: var(--font-body);
  color: rgba(248, 247, 244, 0.75);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2.2rem;
}

.hdc-body .service-final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hdc-body .service-final-cta .btn-hero-primary {
  background: var(--hdc-ivory);
  color: var(--hdc-night-900);
  border-color: var(--hdc-ivory);
}
.hdc-body .service-final-cta .btn-hero-primary:hover {
  background: #fff;
  color: var(--hdc-night-900);
}

.hdc-body .service-final-cta .btn-hero-secondary {
  color: var(--hdc-ivory);
  border-color: rgba(248, 247, 244, 0.45);
}
.hdc-body .service-final-cta .btn-hero-secondary:hover {
  background: rgba(248, 247, 244, 0.12);
  color: var(--hdc-ivory);
}

/* ---- Composants sections commerce ----------------------- */

/* Eyebrow générique avec règle */
.hdc-body .hdc-section-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--sp-5);
}
.hdc-body .hdc-section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Titre de section mixte — em = champagne italic */
.hdc-body .hdc-section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--hdc-night-900);
  margin: 0 0 var(--sp-5);
}
.hdc-body .hdc-section-title em {
  font-style: italic;
  color: var(--accent);
}

/* Lead de section */
.hdc-body .hdc-section-lead {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-secondary);
  max-width: 680px;
  margin: 0 0 var(--sp-7);
}

/* Section container */
.hdc-body .hdc-section {
  padding: 5rem 1.5rem;
  scroll-margin-top: 80px;
}
.hdc-body .hdc-section-header {
  max-width: 1160px;
  margin: 0 auto;
}
.hdc-body .cas-section {
  scroll-margin-top: 80px;
}

/* ---- PRESTATIONS — grille 2×2 ----------------------- */
.hdc-body .prestations-section {
  background: var(--hdc-ivory);
}

.hdc-body .hdc-expertise-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--hdc-line);
}

.hdc-body .hdc-expertise-card {
  background: var(--hdc-paper);
  border-right: 1px solid var(--hdc-line);
  border-bottom: 1px solid var(--hdc-line);
  padding: 2.5rem 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}
.hdc-body .hdc-expertise-card:nth-child(even) { border-right: none; }
.hdc-body .hdc-expertise-card:nth-child(3),
.hdc-body .hdc-expertise-card:nth-child(4) { border-bottom: none; }
.hdc-body .hdc-expertise-card:hover { background: var(--hdc-bone); }

.hdc-body .hdc-card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.hdc-body .hdc-card-rule {
  width: 24px;
  height: 1px;
  background: var(--hdc-line);
  margin-bottom: 1.2rem;
}

.hdc-body .hdc-expertise-card h3 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--hdc-night-900);
  margin: 0 0 0.8rem;
}

.hdc-body .hdc-expertise-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--fg-secondary);
  margin: 0 0 1.4rem;
  flex: 1;
}

.hdc-body .hdc-card-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hdc-champ-300);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}
.hdc-body .hdc-card-link:hover { color: var(--hdc-night-900); border-color: var(--hdc-night-900); }

/* ---- DIFFÉRENCIATION — 2 colonnes -------------------- */
.hdc-body .diff-section {
  background: var(--hdc-bone);
}

.hdc-body .hdc-diff-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.hdc-body .hdc-diff-items {
  display: flex;
  flex-direction: column;
}

.hdc-body .hdc-diff-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--hdc-line-soft);
}
.hdc-body .hdc-diff-item:last-child { border-bottom: none; }

.hdc-body .hdc-diff-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--accent);
  padding-top: 0.1rem;
}

.hdc-body .hdc-diff-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--hdc-night-900);
  margin-bottom: 0.4rem;
}

.hdc-body .hdc-diff-body p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--fg-secondary);
  margin: 0;
}

/* ---- CAS CONCRET — fond nuit ------------------------- */
.hdc-body .cas-section {
  background: var(--hdc-night-900);
  padding: 5rem 1.5rem;
}

.hdc-body .hdc-cas-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 5rem;
  align-items: start;
}

.hdc-body .hdc-advisor { text-align: center; }

.hdc-body .hdc-advisor-portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.2rem;
  border: 2px solid rgba(168, 139, 92, 0.3);
}
.hdc-body .hdc-advisor-portrait img,
.hdc-body .hdc-advisor-portrait picture img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hdc-body .hdc-advisor-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--hdc-ivory);
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}

.hdc-body .hdc-advisor-role {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hdc-body .cas-section .hdc-section-eyebrow { color: var(--accent); }
.hdc-body .cas-section .hdc-section-eyebrow::before { background: var(--accent); }

.hdc-body .cas-section .hdc-section-title {
  color: var(--hdc-ivory);
  margin-bottom: var(--sp-6);
}

.hdc-body .hdc-cas-body p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(248, 247, 244, 0.75);
  margin-bottom: 1rem;
}
.hdc-body .hdc-cas-body p strong { color: var(--hdc-ivory); font-weight: 600; }

/* ---- CTA FINAL — fond nuit ----------------------------- */
.hdc-body .service-final-cta {
  background: var(--hdc-night-900);
  color: var(--hdc-ivory);
  padding: 6rem 1.5rem;
  text-align: center;
}

.hdc-body .service-final-cta-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: var(--sp-6);
}
.hdc-body .service-final-cta-eyebrow::before,
.hdc-body .service-final-cta-eyebrow::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 1px;
  background: rgba(168, 139, 92, 0.5);
}

.hdc-body .service-final-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--hdc-ivory);
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
  border-bottom: none;
  line-height: 1.1;
}
.hdc-body .service-final-cta h2 em {
  font-style: italic;
  color: var(--accent);
}

.hdc-body .service-final-cta p {
  font-family: var(--font-body);
  font-style: italic;
  color: rgba(248, 247, 244, 0.65);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Bouton primaire : ivoire sur fond nuit */
.hdc-body .service-final-cta .btn-hero-primary {
  background: var(--hdc-ivory);
  color: var(--hdc-night-900);
  border-color: var(--hdc-ivory);
}
.hdc-body .service-final-cta .btn-hero-primary:hover {
  background: #fff;
  color: var(--hdc-night-900);
  border-color: #fff;
}

/* Bouton secondaire : contour ivoire transparent */
.hdc-body .service-final-cta .btn-hero-secondary {
  background: transparent;
  color: var(--hdc-ivory);
  border-color: rgba(248, 247, 244, 0.4);
}
.hdc-body .service-final-cta .btn-hero-secondary:hover {
  background: rgba(248, 247, 244, 0.1);
  color: var(--hdc-ivory);
  border-color: rgba(248, 247, 244, 0.7);
}

/* ---- FAQ sur fond ivoire ------------------------------ */
.hdc-body .service-content .faq-accordion {
  padding: 0;
}

/* ---- Masquer les anciens blocs non utilisés ---------- */
.hdc-body .service-content-inner { max-width: 1160px; }
.hdc-body .service-content { padding: 0; background: var(--hdc-ivory); }

/* Cookie banner pour commerce */
#cookie-overlay, #cookie-banner { /* hérite du footer.html partial */ }

/* ---- Responsive ----------------------------------------- */
@media (max-width: 900px) {
  .hdc-single-layout {
    grid-template-columns: 1fr;
  }
  .hdc-toc-sticky { position: static; }
  .hdc-related-grid { grid-template-columns: 1fr; }
  .hdc-footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }

  .hdc-body .service-hero--with-image .service-hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 2.5rem;
  }
  .hdc-body .service-hero--with-image .service-hero-ctas { justify-content: flex-start; }
  .hdc-body .service-hero-photo { order: -1; }
  .hdc-body .service-hero-photo img { max-width: 100%; height: 320px; }

  .hdc-body .service-trust-inner { grid-template-columns: repeat(2, 1fr); }
  .hdc-body .service-trust-item { border-right: 1px solid rgba(168,139,92,0.2); border-bottom: 1px solid rgba(168,139,92,0.2); }
  .hdc-body .service-trust-item:nth-child(even) { border-right: none; }
  .hdc-body .service-trust-item:nth-child(3),
  .hdc-body .service-trust-item:nth-child(4) { border-bottom: none; }

  .hdc-body .hdc-expertise-grid { grid-template-columns: 1fr; }
  .hdc-body .hdc-expertise-card { border-right: none !important; border-bottom: 1px solid var(--hdc-line) !important; }
  .hdc-body .hdc-expertise-card:last-child { border-bottom: none !important; }

  .hdc-body .hdc-diff-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hdc-body .hdc-cas-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hdc-body .hdc-advisor { display: flex; align-items: center; gap: 1.5rem; text-align: left; }
  .hdc-body .hdc-advisor-portrait { width: 100px; height: 100px; flex-shrink: 0; margin: 0; }
}

/* ---- BLOG LINK SECTION -------------------------------- */
.hdc-body .blog-link-section {
  background: var(--hdc-ivory);
}
.hdc-body .hdc-blog-link-inner {
  max-width: 720px;
  margin: 0 auto;
}
.hdc-body .hdc-blog-link-card {
  display: flex !important;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hdc-body .hdc-blog-link-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  border-color: var(--accent);
}
.hdc-body .hdc-blog-link-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}
.hdc-body .hdc-blog-link-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--hdc-ink);
  flex: 1;
  line-height: 1.4;
}
.hdc-body .hdc-blog-link-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hdc-nav-menu { display: none; }
  .hdc-nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--hdc-ivory);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--sp-5);
    gap: var(--sp-4);
    z-index: 50;
  }
  .hdc-nav-toggle { display: flex; }
  .hdc-site-header .container { position: relative; }
  .hdc-post-cta-actions { flex-direction: column; }
  .hdc-related-grid { grid-template-columns: 1fr; }

  .hdc-body .service-hero { padding: 3.5rem 1.2rem 3rem; }
  .hdc-body .service-content { padding: 3rem 1.2rem 2rem; }
  .hdc-body .btn-hero-primary,
  .hdc-body .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  .hdc-body .service-hero-ctas,
  .hdc-body .service-final-cta-buttons {
    flex-direction: column;
  }
  .hdc-body .service-final-cta { padding: 3.5rem 1.2rem; }
}

/* ---- Shortcode related-article — styles complets thème commerce ---- */
.related-article-card {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--hdc-paper);
  border: 1px solid var(--hdc-line);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.related-article-label {
  display: block;
  background: var(--hdc-night-800);
  color: var(--hdc-champ-300);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.5rem 1.5rem;
}
.related-article-link {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
}
.related-article-link:hover { color: inherit; }
.related-article-image {
  flex: 0 0 220px;
  min-height: 140px;
  overflow: hidden;
}
.related-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.related-article-body {
  flex: 1;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.related-article-title {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--hdc-night-900);
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
}
.related-article-description {
  color: var(--fg-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-article-cta {
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.88rem;
}
.related-article-card:hover .related-article-cta { color: var(--hdc-champ-500); }
@media (max-width: 768px) {
  .related-article-link { flex-direction: column; }
  .related-article-image { flex: none; height: 160px; }
}
