/*
Theme Name:   Datalysia — AI Hub Child
Theme URI:    https://www.datalysia.fr
Description:  Thème enfant basé sur AI Hub. Design sur-mesure DATALYSIA — automatisation, applications web et services digitaux pour TPE/PME françaises.
Author:       DATALYSIA
Author URI:   https://www.datalysia.fr
Template:     aihub
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  datalysia-aihub
Tags:         custom-colors, custom-logo, custom-menu, featured-images, full-width-template
*/

/* ============================================================
   DATALYSIA — Design Tokens & Global Styles
   Ce fichier est chargé APRÈS le style.css du thème parent AI Hub.
   Il surcharge les styles du parent et applique l'identité Datalysia.
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --ink:         #0c0c12;
  --ink2:        #2c2c3a;
  --ink3:        #606070;
  --ink4:        #a0a0b0;
  --bg:          #f5f4f0;
  --white:       #ffffff;

  /* Bleu principal */
  --blue:        #1833f0;
  --blue2:       #3a52f5;
  --blue-pale:   #eef0ff;
  --blue-mid:    #8899ff;

  /* Couleurs services */
  --green:       #0f6e3a;
  --green-pale:  #e8faf0;
  --amber:       #8a5c00;
  --amber-pale:  #fff5e0;
  --coral:       #c94020;
  --coral-pale:  #fff0ec;
  --purple:      #5a2fd6;
  --purple-pale: #f0eeff;
  --violet:      #7a3af0;
  --violet-pale: #f3eeff;
  --teal:        #0a7a8a;
  --teal-pale:   #e6f7f9;
  --forest:      #1a7a6a;
  --forest-pale: #e6f9f6;

  /* Bordures & Rayons */
  --border:      rgba(0,0,0,0.08);
  --border2:     rgba(0,0,0,0.14);
  --r:           14px;
  --rs:          9px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif !important;
  background: var(--bg) !important;
  color: var(--ink) !important;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Urbanist', sans-serif !important;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

a { text-decoration: none; transition: all .2s; }
img { max-width: 100%; height: auto; }


/* ============================================================
   BLOG --- Archive & Single --- Datalysia
   ============================================================ */

.blog-hero {
  background: linear-gradient(135deg, #0A0F1E 60%, #131929 100%);
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid rgba(136,153,255,.15);
}
.blog-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #F8F6F0;
  margin: .75rem 0 1rem;
  line-height: 1.15;
}
.blog-hero-sub {
  color: rgba(248,246,240,.65);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.6;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: rgba(248,246,240,.5);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.page-breadcrumb a { color: rgba(136,153,255,.85); text-decoration: none; }
.page-breadcrumb a:hover { color: #8899FF; }
.page-breadcrumb strong { color: #F8F6F0; }
.blog-archive-section { padding: 4rem 0 5rem; background: #0A0F1E; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.blog-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(136,153,255,.12);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: rgba(136,153,255,.45);
  transform: translateY(-3px);
}
.blog-card-img { display: block; overflow: hidden; aspect-ratio: 16/9; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.blog-cat {
  background: rgba(136,153,255,.15);
  color: #8899FF;
  border-radius: 4px;
  padding: .18em .6em;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.blog-read-time { color: rgba(248,246,240,.4); font-size: .78rem; }
.blog-card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin: 0 0 .6rem; }
.blog-card-title a { color: #F8F6F0; text-decoration: none; }
.blog-card-title a:hover { color: #8899FF; }
.blog-card-excerpt { color: rgba(248,246,240,.6); font-size: .88rem; line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.blog-card-link { color: #8899FF; font-size: .9rem; font-weight: 600; text-decoration: none; margin-top: auto; }
.blog-card-link:hover { color: #aabbff; }
.blog-pagination { text-align: center; margin-top: 3rem; }
.blog-pagination a { color: #8899FF; text-decoration: none; font-size: .95rem; margin: 0 .5rem; }
.blog-pagination a:hover { color: #F8F6F0; }
.blog-empty { text-align: center; color: rgba(248,246,240,.5); padding: 4rem 0; font-size: 1.05rem; }

/* Single article */
.dl-article { background: #0A0F1E; color: #F8F6F0; }
.dl-article-header { background: linear-gradient(135deg, #0A0F1E 60%, #131929 100%); padding: 4rem 0 3rem; border-bottom: 1px solid rgba(136,153,255,.12); }
.dl-article-meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.dl-article-date, .dl-article-author { color: rgba(248,246,240,.45); font-size: .82rem; }
.dl-article-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #F8F6F0;
  max-width: 750px;
  margin: 0 0 2rem;
}
.dl-article-thumbnail { border-radius: 12px; overflow: hidden; margin-top: 1.5rem; }
.dl-article-thumbnail img { width: 100%; height: auto; display: block; max-height: 460px; object-fit: cover; }
.dl-article-layout { display: block; /* grid désactivé */
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .dl-article-layout { grid-template-columns: 1fr; }
  .dl-article-sidebar { display: none; }
}
.dl-article-sidebar { position: sticky; top: 5.5rem; }
.dl-article-toc {
  background: rgba(136,153,255,.06);
  border: 1px solid rgba(136,153,255,.15);
  border-radius: 10px;
  padding: 1.2rem 1.25rem;
}
.dl-toc-title { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(136,153,255,.9); margin: 0 0 .85rem; }
#dl-toc-list { list-style: none; margin: 0; padding: 0; }
#dl-toc-list li { margin: .35rem 0; }
#dl-toc-list li.dl-toc-sub { padding-left: .85rem; }
#dl-toc-list a { color: rgba(248,246,240,.55); text-decoration: none; font-size: .83rem; line-height: 1.45; transition: color .2s; display: block; }
#dl-toc-list a:hover, #dl-toc-list a.dl-toc-active { color: #8899FF; }
.dl-article-content { max-width: 740px; }
.dl-article-content h2 { font-size: 1.55rem; font-weight: 700; color: #F8F6F0; margin: 2.5rem 0 1rem; line-height: 1.25; border-bottom: 1px solid rgba(136,153,255,.12); padding-bottom: .5rem; }
.dl-article-content h3 { font-size: 1.2rem; font-weight: 600; color: #F8F6F0; margin: 2rem 0 .75rem; }
.dl-article-content p { color: rgba(248,246,240,.82); line-height: 1.75; margin: 0 0 1.25rem; font-size: 1.02rem; }
.dl-article-content a { color: #8899FF; text-decoration: underline; }
.dl-article-content a:hover { color: #aabbff; }
.dl-article-content ul, .dl-article-content ol { color: rgba(248,246,240,.82); padding-left: 1.6rem; margin-bottom: 1.25rem; line-height: 1.75; font-size: 1.02rem; }
.dl-article-content li { margin-bottom: .45rem; }
.dl-article-content blockquote { border-left: 3px solid #8899FF; margin: 1.5rem 0; padding: .75rem 1.25rem; background: rgba(136,153,255,.07); border-radius: 0 8px 8px 0; color: rgba(248,246,240,.75); font-style: italic; }
.dl-article-content code { font-family: 'DM Mono', monospace; background: rgba(136,153,255,.1); color: #aabbff; border-radius: 4px; padding: .15em .45em; font-size: .9em; }
.dl-article-content pre { background: rgba(255,255,255,.04); border: 1px solid rgba(136,153,255,.12); border-radius: 8px; padding: 1.25rem; overflow-x: auto; margin-bottom: 1.5rem; }
.dl-article-content pre code { background: none; padding: 0; color: #c9d4ff; }
.dl-article-content img { max-width: 100%; border-radius: 8px; margin: 1rem 0; }
.dl-article-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .92rem; }
.dl-article-content th { background: rgba(136,153,255,.12); color: #8899FF; padding: .6rem 1rem; text-align: left; font-weight: 600; }
.dl-article-content td { padding: .55rem 1rem; border-bottom: 1px solid rgba(136,153,255,.08); color: rgba(248,246,240,.75); }
.dl-article-cta {
  background: linear-gradient(135deg, rgba(136,153,255,.12) 0%, rgba(136,153,255,.04) 100%);
  border: 1px solid rgba(136,153,255,.25);
  border-radius: 12px;
  padding: 2rem 2.25rem;
  margin: 3rem 0 2rem;
  text-align: center;
}
.dl-cta-question { font-size: 1.3rem; font-weight: 700; color: #F8F6F0; margin: 0 0 .6rem; }
.dl-cta-sub { color: rgba(248,246,240,.65); margin: 0 0 1.4rem; font-size: .95rem; }
.dl-related-posts { padding: 3.5rem 0 5rem; border-top: 1px solid rgba(136,153,255,.1); background: #0A0F1E; }
.dl-related-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; }

/* ============================================================
   GUIDE AUTOMATISATION + CAL.COM --- Datalysia
   ============================================================ */
.guide-page { background: #0A0F1E; }
.guide-hero { padding: 5rem 0 4rem; }
.guide-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .guide-hero-inner { grid-template-columns: 1fr; }
  .guide-hero-preview { display: none; }
}
.guide-badge {
  display: inline-block;
  background: rgba(136,153,255,.15);
  border: 1px solid rgba(136,153,255,.25);
  color: #8899FF;
  padding: .3em .9em;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.guide-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #F8F6F0;
  line-height: 1.15;
  margin: 0 0 1.75rem;
}
.guide-benefits { list-style: none; margin: 0 0 2rem; padding: 0; }
.guide-benefits li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .75rem;
  color: rgba(248,246,240,.82);
  font-size: .97rem;
  line-height: 1.5;
}
.guide-check {
  color: #8899FF;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .05em;
}
.guide-form-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(136,153,255,.15);
  border-radius: 12px;
  padding: 1.75rem 1.75rem 1.5rem;
  margin-bottom: 1.25rem;
}
.guide-form-title { font-weight: 700; color: #F8F6F0; margin: 0 0 1.25rem; font-size: 1.05rem; }
.guide-rgpd { font-size: .75rem; color: rgba(248,246,240,.38); line-height: 1.5; margin: .75rem 0 0; }
.guide-direct-link { color: rgba(136,153,255,.65); font-size: .83rem; text-decoration: none; }
.guide-direct-link:hover { color: #8899FF; }
.guide-preview-stack { position: relative; height: 320px; }
.guide-preview-card {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.guide-preview-card--1 { width: 220px; height: 300px; left: 50%; top: 0; transform: translateX(-50%) rotate(-3deg); z-index: 1; }
.guide-preview-card--2 { width: 200px; height: 130px; left: 10%; top: 60px; transform: rotate(2deg); z-index: 2; }
.guide-preview-card--3 { width: 200px; height: 130px; right: 10%; top: 120px; transform: rotate(-1.5deg); z-index: 2; }
.guide-preview-cover {
  background: linear-gradient(135deg, #0A0F1E 0%, #1a1f3e 100%);
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.guide-preview-logo { font-family: 'DM Mono', monospace; color: #8899FF; font-size: .7rem; letter-spacing: 3px; font-weight: 500; }
.guide-preview-title { color: #F8F6F0; font-size: .85rem; font-weight: 700; line-height: 1.3; }
.guide-preview-year { font-family: 'DM Mono', monospace; color: rgba(136,153,255,.5); font-size: .65rem; }
.guide-preview-inner {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(136,153,255,.15);
  height: 100%;
  padding: 1rem;
}
.guide-preview-num { font-family: 'DM Mono', monospace; font-size: 1.6rem; color: rgba(136,153,255,.3); font-weight: 500; }
.guide-preview-process { font-size: .7rem; font-weight: 700; color: #F8F6F0; margin: .3rem 0; line-height: 1.3; }
.guide-preview-time { font-size: .65rem; color: #8899FF; font-weight: 500; }
.guide-preview-caption { text-align: center; font-size: .75rem; color: rgba(248,246,240,.3); margin-top: 1rem; }
.guide-social-proof { padding: 2.5rem 0; border-top: 1px solid rgba(136,153,255,.08); }
.guide-sp-text { text-align: center; color: rgba(248,246,240,.45); font-size: .9rem; max-width: 580px; margin: 0 auto; }

/* Cal.com section on /contact/ */
.cal-section { margin-bottom: 3rem; }
.cal-section-title { font-size: 1.5rem; font-weight: 700; color: #F8F6F0; margin: 0 0 .6rem; }
.cal-section-sub { color: rgba(248,246,240,.6); font-size: .92rem; margin: 0 0 1.5rem; }
.cal-embed-wrap {
  border: 1px solid rgba(136,153,255,.15);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.cal-embed-wrap iframe { display: block; }
.cal-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 0;
  color: rgba(248,246,240,.35);
  font-size: .85rem;
}
.cal-divider::before, .cal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(136,153,255,.12);
}


/* ============================================================
   SECTION RÉASSURANCE — Garanties homepage
   ============================================================ */

.reassurance-section {
  background: linear-gradient(180deg, #0A0F1E 0%, #0e1528 100%);
  padding: 5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

/* Ligne de séparation lumineuse en haut */
.reassurance-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(136,153,255,.4), transparent);
}

/* Halo d'ambiance bleu subtil en fond */
.reassurance-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(136,153,255,.06) 0%, transparent 70%);
  pointer-events: none;
}

.reassurance-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .reassurance-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .reassurance-inner { grid-template-columns: 1fr; gap: 1rem; }
}

/* Carte de base */
.reassurance-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(136,153,255,.1);
  border-radius: 16px;
  padding: 2rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  transition: border-color .3s, background .3s, transform .3s;
  cursor: default;
}

.reassurance-card:hover {
  border-color: rgba(136,153,255,.3);
  background: rgba(136,153,255,.05);
  transform: translateY(-4px);
}

/* Carte mise en avant */
.reassurance-card--featured {
  background: rgba(136,153,255,.08);
  border-color: rgba(136,153,255,.3);
}
.reassurance-card--featured:hover {
  background: rgba(136,153,255,.12);
  border-color: rgba(136,153,255,.5);
}
.reassurance-card--featured .reassurance-icon-wrap {
  background: rgba(136,153,255,.2);
}
.reassurance-card--featured .reassurance-icon {
  stroke: #8899FF;
}
.reassurance-card--featured .reassurance-metric {
  color: #8899FF;
}

/* Icône */
.reassurance-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(136,153,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
  flex-shrink: 0;
  transition: background .3s;
}

.reassurance-card:hover .reassurance-icon-wrap {
  background: rgba(136,153,255,.18);
}

.reassurance-icon {
  width: 22px;
  height: 22px;
  stroke: rgba(136,153,255,.85);
  transition: stroke .3s;
}
.reassurance-card:hover .reassurance-icon {
  stroke: #8899FF;
}

/* Métrique chiffrée */
.reassurance-metric {
  font-family: 'DM Mono', monospace;
  font-size: 2.25rem;
  font-weight: 600;
  color: #F8F6F0;
  line-height: 1;
  letter-spacing: -.02em;
}

/* Label */
.reassurance-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(248,246,240,.45);
  margin-bottom: .25rem;
}

/* Description */
.reassurance-desc {
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(248,246,240,.55);
  margin: 0;
}

.reassurance-card--featured .reassurance-desc {
  color: rgba(248,246,240,.7);
}


/* =====================================================
   DATALYSIA — BLOG ARTICLE CSS (single.php)
   Fond blanc, typographie lisible, tableau stylisé
   ===================================================== */

/* ── Blog archive ── */
.blog-hero {
  background: linear-gradient(135deg, #0a0f1e 0%, #0f1a35 100%);
  padding: 5rem 0 4rem;
  text-align: center;
}
.blog-hero h1 {
  color: #F8F6F0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 16px;
}
.blog-hero-sub {
  color: rgba(248,246,240,.65);
  font-size: 1.1em;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}
.blog-archive-section {
  background: #f8f7f4;
  padding: 4rem 0 6rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}
.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(12,12,18,.07);
  border: 1px solid rgba(12,12,18,.06);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(12,12,18,.12);
}
.blog-card-img { display: block; overflow: hidden; }
.blog-card-img img { width: 100%; height: 200px; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.03); }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.blog-cat {
  background: rgba(136,153,255,.12);
  color: #5566dd;
  font-size: .78em;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.blog-read-time { color: #94a3b8; font-size: .82em; }
.blog-card-title { font-size: 1.05em; font-weight: 700; color: #0c0c18; line-height: 1.4; margin: 0 0 10px; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: #5566dd; }
.blog-card-excerpt { color: #64748b; font-size: .9em; line-height: 1.6; flex: 1; margin-bottom: 16px; }
.blog-card-link { color: #5566dd; font-weight: 600; font-size: .9em; text-decoration: none; }
.blog-card-link:hover { text-decoration: underline; }
.blog-pagination { text-align: center; color: #5566dd; font-weight: 600; }
.blog-empty { text-align: center; color: #64748b; font-size: 1.1em; padding: 3rem 0; }

/* ── Article single ── */
.dl-article-wrap {
  background: #fff;
  min-height: 100vh;
}
.dl-article-hero {
  background: linear-gradient(135deg, #0a0f1e 0%, #0f1a35 100%);
  padding: 4rem 0 3rem;
}
.dl-article-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}
.dl-article-breadcrumb {
  font-size: .85em;
  color: rgba(248,246,240,.5);
  margin-bottom: 20px;
}
.dl-article-breadcrumb a { color: rgba(248,246,240,.6); text-decoration: none; }
.dl-article-breadcrumb a:hover { color: #F8F6F0; }
.dl-article-cat-badge {
  display: inline-block;
  background: rgba(136,153,255,.2);
  color: #aabbff;
  font-size: .78em;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.dl-article-hero h1 {
  color: #F8F6F0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 20px;
}
.dl-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(248,246,240,.55);
  font-size: .88em;
}
.dl-article-meta span { display: flex; align-items: center; gap: 5px; }

/* ── Article featured image ── */
.dl-article-featured-img {
  max-width: 860px;
  margin: -2rem auto 0;
  padding: 0 24px;
}
.dl-article-featured-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(12,12,18,.2);
  display: block;
}

/* ── Article body layout ── */
.dl-article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 24px 5rem;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .dl-article-body { grid-template-columns: 1fr; }
  .dl-article-sidebar { display: none; }
}

/* ── Article content ── */
.dl-article-content {
  color: #1e293b;
  font-size: 1.05em;
  line-height: 1.75;
}
.dl-article-content h2 {
  font-size: 1.45em;
  font-weight: 700;
  color: #0c0c18;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}
.dl-article-content h3 {
  font-size: 1.15em;
  font-weight: 600;
  color: #0c0c18;
  margin: 1.8rem 0 0.8rem;
}
.dl-article-content p { margin: 0 0 1.2em; }
.dl-article-content a { color: #5566dd; text-decoration: underline; }
.dl-article-content strong { color: #0c0c18; }
.dl-article-content blockquote {
  border-left: 4px solid #8899FF;
  margin: 1.5em 0;
  padding: 1em 1.5em;
  background: #f0f4ff;
  border-radius: 0 12px 12px 0;
  color: #334155;
  font-style: italic;
}
.dl-article-content ul, .dl-article-content ol {
  padding-left: 1.5em;
  margin: 0 0 1.2em;
}
.dl-article-content li { margin-bottom: .4em; }

/* ── TABLEAU — Fix complet ── */
.dl-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: .9em;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(12,12,18,.08);
  border: 1px solid #e2e8f0;
}
.dl-article-content table thead {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #F8F6F0;
}
.dl-article-content table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: .85em;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #F8F6F0;
  border: none;
}
.dl-article-content table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: top;
  background: #fff;
}
.dl-article-content table tr:last-child td { border-bottom: none; }
.dl-article-content table tr:nth-child(even) td { background: #f8fafc; }
.dl-article-content table tr:hover td { background: #f0f4ff; transition: background .15s; }
/* Supprimer les carrés blancs (images vides dans tableau) */
.dl-article-content table img { display: none; }
.dl-article-content table td:empty, .dl-article-content table th:empty { display: none; }

/* ── Images dans l'article ── */
.dl-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5em 0;
  box-shadow: 0 4px 20px rgba(12,12,18,.1);
  display: block;
}
.dl-article-content figure { margin: 2em 0; }
.dl-article-content figcaption {
  text-align: center;
  color: #94a3b8;
  font-size: .82em;
  margin-top: 8px;
  font-style: italic;
}

/* ── Sidebar ToC ── */
.dl-article-sidebar {
  position: sticky;
  top: 88px;
}
.dl-article-toc {
  background: #f8f7f4;
  border-radius: 14px;
  padding: 20px 24px;
  border: 1px solid #e2e8f0;
}
.dl-article-toc h4 {
  font-size: .82em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #94a3b8;
  margin: 0 0 14px;
}
.dl-toc-list { list-style: none; padding: 0; margin: 0; }
.dl-toc-list li { margin-bottom: 6px; }
.dl-toc-list a {
  color: #475569;
  font-size: .88em;
  text-decoration: none;
  display: block;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all .15s;
  line-height: 1.4;
}
.dl-toc-list a:hover, .dl-toc-list a.active {
  background: #e0e7ff;
  color: #5566dd;
}

/* ── CTA bas d'article ── */
.dl-article-cta {
  background: linear-gradient(135deg, #8899FF, #6677ee);
  border-radius: 20px;
  padding: 36px 40px;
  text-align: center;
  margin: 3rem 0 2rem;
}
.dl-article-cta h3 { color: #fff; font-size: 1.3em; margin: 0 0 10px; }
.dl-article-cta p { color: rgba(255,255,255,.85); margin: 0 0 20px; }
.dl-article-cta a {
  display: inline-block;
  background: #fff;
  color: #5566dd;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: .95em;
  transition: transform .15s;
}
.dl-article-cta a:hover { transform: translateY(-2px); }

/* ── Articles liés ── */
.dl-related-posts {
  background: #f8f7f4;
  padding: 4rem 0;
}
.dl-related-posts h3 {
  font-size: 1.3em;
  font-weight: 700;
  color: #0c0c18;
  margin: 0 0 28px;
}
.dl-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}


/* ── Cacher le breadcrumb du thème sur les articles ── */
body.single-post .breadcrumb,
body.single-post .breadcrumbs,
body.single-post #breadcrumbs,
body.single-post .yoast-breadcrumb,
body.single-post .wpseo-breadcrumb,
body.single-post nav[aria-label="Breadcrumb"]:not([class*="art-"]),
body.single-post .site-breadcrumb { display: none !important; }

/* ── Garantir la police Instrument Serif sur les titres art- ── */
.art-title { font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif !important; font-weight: 400 !important; }
.art-content h2 { font-family: 'Instrument Serif', Georgia, serif !important; }
