/* Blog - Charte graphique override (structure conservée) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* Masquer flèche bas */
.arrow-up, .scroll-arrows-2 {
  display: none !important;
}

/* Navbar pleine */
.nav-new {
  background: #0B3D2E !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
}

/* Masquer breadcrumbs */
.breadcrumb-nav,
nav[aria-label="Fil d'Ariane"] {
  display: none !important;
}

/* Header fond vert profond + image */
.mainContainer-blog {
  background: linear-gradient(rgba(11,61,46,0.97), rgba(11,61,46,0.97)), url('/static/img/blog/hero.png') center/cover no-repeat !important;
}

/* Titre centré + polices du site */
.jumbotron-text-part-blog {
  text-align: center !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
.jumbotron-text-part-blog h1 {
  color: white !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 3rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  margin-bottom: 30px !important;
  text-align: center !important;
  width: 100% !important;
}
@media screen and (max-width: 767px) {
  .jumbotron-text-part-blog h1 {
    font-size: 2rem !important;
  }
}
.jumbotron-text-part-blog h1 b {
  font-weight: 400 !important;
}

/* Masquer image header */
.jumbotron-img-part-blog {
  display: none !important;
}

/* Recherche */
.blog-search-form {
  width: 60% !important;
  max-width: 60% !important;
  margin: 0 auto !important;
}
.blog-search-form .blog-form {
  color: white !important;
  border-width: 1px !important;
  width: 100% !important;
}
.blog-search-form .blog-form::placeholder {
  color: rgba(255,255,255,0.5) !important;
}
.blog-search-form .blog-form:focus {
  border-color: rgba(201,169,110,0.5) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Masquer ancien bloc newsletter */
.container-offre-icon-newsletter {
  display: none !important;
}
.mini-container-newsletter h5,
.mc_embed_signup_scroll h5 {
  font-family: 'Inter', sans-serif !important;
}
#mc_embed_signup .button,
#mc-embedded-subscribe {
  background: rgba(201,169,110,0.75) !important;
  color: white !important;
  border: none !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}
#mc_embed_signup .button:hover,
#mc-embedded-subscribe:hover {
  background: white !important;
  color: #0B3D2E !important;
}

/* Cards - polices */
.blog-card-topic {
  color: #57B890 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.72rem !important;
}
.blog-card-title {
  font-family: 'Playfair Display', serif !important;
  color: #0B3D2E !important;
}
.blog-card-meta {
  font-family: 'Inter', sans-serif !important;
}

/* ========== DETAIL PAGE ========== */
.detail-window {
  margin-top: 175px !important;
}
@media (max-width: 767px) {
  .detail-window {
    padding: 0 10px !important;
  }
  .detail-window .row-detail {
    padding: 0 16px !important;
  }
  .detail-window .article-detail {
    flex: 0 0 96% !important;
    max-width: 96% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .detail-window .social-container {
    display: none !important;
  }
}
/* Header vert profond */
/* H1 vert profond */
.carre-detail,
.carre-detail b {
  color: #0B3D2E !important;
  font-size: 2.2rem !important;
}

/* Label partage réseaux */
/* Header pleine largeur */
#jumbotron-blog-detail {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (max-width: 1000px) {
  .detail-window .row-detail {
    padding: 0 25px !important;
  }
}
.social-container .social-icons::before {
  content: "Partager l'article";
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0B3D2E;
  margin-bottom: 10px;
  text-align: center;
}

/* ========== TYPO STYLE EXPERTISE SUR ARTICLES ========== */
/* H2 articles avec numérotation et trait doré */
.article-detail {
  counter-reset: blog-h2-counter !important;
}
.article-detail h2 {
  font-family: 'Playfair Display', serif !important;
  color: #0B3D2E !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  padding-bottom: 14px !important;
  padding-left: 60px !important;
  position: relative !important;
  margin-top: 3.5rem !important;
  margin-bottom: 20px !important;
  counter-increment: blog-h2-counter !important;
  text-transform: none !important;
}
.article-detail h2::before {
  content: counter(blog-h2-counter, decimal-leading-zero) !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 2rem !important;
  font-weight: 400 !important;
  color: #C9A96E !important;
  line-height: 1 !important;
}
.article-detail h2::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 60px !important;
  width: 35px !important;
  height: 2px !important;
  background: #C9A96E !important;
}
/* H3 articles avec petites capitales et traits dorés */
.article-detail h3 {
  font-family: 'Inter', sans-serif !important;
  color: #0B3D2E !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  font-variant: small-caps !important;
  letter-spacing: 0.05em !important;
  margin-top: 3rem !important;
  margin-bottom: 1.5rem !important;
  text-align: center !important;
  text-transform: none !important;
  position: relative !important;
  padding: 0 80px !important;
}
.article-detail h3::before,
.article-detail h3::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  width: 50px !important;
  height: 2px !important;
  background: #C9A96E !important;
}
.article-detail h3 {
  counter-reset: blog-h4-counter !important;
}
.article-detail h3::before {
  left: 0 !important;
}
.article-detail h3::after {
  right: 0 !important;
}
/* H4 articles numérotés */
.article-detail {
  counter-reset: blog-h2-counter !important;
}
.article-detail h4 {
  font-family: 'Inter', sans-serif !important;
  color: #0B3D2E !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-transform: none !important;
  border-bottom: 2px solid rgba(0,0,0,0.25) !important;
  padding-bottom: 8px !important;
  display: block !important;
  padding-left: 0 !important;
  position: relative !important;
  counter-increment: blog-h4-counter !important;
  margin-top: 1.5rem !important;
}
.article-detail h4::before {
  content: counter(blog-h4-counter, upper-alpha) '.\00a0\00a0\00a0' !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 1rem !important;
  color: #0B3D2E !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
/* Texte article */
.article-detail p {
  font-family: 'Inter', sans-serif !important;
  line-height: 1.9 !important;
  color: #2a2a2a !important;
}
.article-detail strong {
  color: #0B3D2E !important;
}
.article-detail a {
  color: #0B3D2E !important;
  border-bottom: 1px solid #0B3D2E !important;
  text-decoration: none !important;
}
.article-detail a:hover {
  color: #C9A96E !important;
  border-bottom-color: #C9A96E !important;
}
/* Listes articles */
.article-detail li {
  font-family: 'Inter', sans-serif !important;
  color: #2a2a2a !important;
  margin-bottom: 0.5rem !important;
}
/* Blockquotes style pull quote */
.article-detail blockquote {
  margin: 2.5rem 0 !important;
  padding: 30px 40px 30px 50px !important;
  background: transparent !important;
  border-left: 3px solid #C9A96E !important;
  position: relative !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 1.15rem !important;
  font-style: italic !important;
  color: #0B3D2E !important;
  line-height: 1.8 !important;
}
.article-detail blockquote::before {
  content: '\201C' !important;
  position: absolute !important;
  top: 10px !important;
  left: 15px !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 3rem !important;
  color: #C9A96E !important;
  line-height: 1 !important;
}
/* Lettrine */
.article-detail > p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif !important;
  font-size: 3.5rem !important;
  float: left !important;
  line-height: 0.8 !important;
  padding-right: 10px !important;
  padding-top: 5px !important;
  color: #0B3D2E !important;
  font-weight: 700 !important;
}

/* Barre de progression vert profond */
.progress-bar,
.progress-bar .bar {
  background: #0B3D2E !important;
}


.detail-info {
  margin-top: 50px !important;
}
@media (max-width: 980px) {
  .detail-info {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
  }
  .detail-info .topic {
    margin: 0 !important;
    padding: 0 !important;
  }
}
.article-detail .img-list-detail {
  margin-bottom: 15px !important;
}
/* Labels catégorie/auteur/date/temps */
.detail-window .topic i,
.detail-window .topic {
  color: rgba(0,0,0,0.5) !important;
}
.detail-window .topic span {
  color: #0B3D2E !important;
  font-weight: 700 !important;
}
/* CTA consultation - style expertise */
.consultation-box-end {
  background: #0B3D2E !important;
  border: none !important;
  border-radius: 16px !important;
  text-align: center !important;
  padding: 50px 30px !important;
}
.consultation-box-end h3 {
  color: white !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
  margin-bottom: 20px !important;
}
.consultation-box-end .blog-CTA {
  display: none !important;
}
.consultation-box-end .btn-position-detail-end {
  display: flex !important;
  justify-content: center !important;
}
.blog-cta-btn {
  display: inline-block !important;
  background: #C9A96E !important;
  color: #0B3D2E !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 16px 50px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s !important;
}
.blog-cta-btn:hover {
  background: white !important;
  color: #0B3D2E !important;
  text-decoration: none !important;
}
.consultation-box-end i,
.consultation-box-end .fas,
.consultation-box-end .far,
.consultation-box-end .fab {
  display: none !important;
}
/* Masquer commentaires Disqus */
.back-disqus,
#disqus_thread {
  display: none !important;
}
.article-detail a {
  color: #0B3D2E !important;
}

/* ========== DETAIL PAGE - Typos ========== */
.detail-window,
.detail-window *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.st-custom-button):not(.st-custom-button *) {
  font-family: 'Inter', sans-serif !important;
}
.detail-window h1,
.detail-window h2,
.detail-window h3,
.detail-window h4,
.carre-detail,
.carre-detail b {
  font-family: 'Playfair Display', serif !important;
}
.article-detail h2 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  text-transform: none !important;
}
.article-detail h3 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.article-detail h3 strong,
.article-detail h3 b {
  font-weight: 600 !important;
}
.consultation-box-end h3 {
  font-family: 'Playfair Display', serif !important;
}
/* Bloc auteur - photo */
.configuration-detail-box .img-avatar {
  border-radius: 8px !important;
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
}
/* Bloc auteur - typo et couleurs uniquement */
.configuration-detail-box h3,
.configuration-detail-box .titre-detail {
  font-family: 'Playfair Display', serif !important;
  color: #0B3D2E !important;
}
.configuration-detail-box h3 a {
  color: #0B3D2E !important;
}
.configuration-detail-box p {
  font-family: 'Inter', sans-serif !important;
  color: #444 !important;
}
/* Related articles section */
.related-section h2 {
  font-family: 'Playfair Display', serif !important;
  color: #0B3D2E !important;
}
.related-section div[style*="background:#57B890"] {
  background: #C9A96E !important;
}
.related-card-title {
  font-family: 'Playfair Display', serif !important;
  color: #0B3D2E !important;
}
.related-card-topic {
  color: #57B890 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}

/* Load more */
.blog-load-more-btn-new {
  border-color: #0B3D2E !important;
  color: #0B3D2E !important;
  font-family: 'Inter', sans-serif !important;
}
.blog-load-more-btn-new:hover {
  background: #0B3D2E !important;
  color: white !important;
}

@media (max-width: 992px) {
  .article-detail h3 {
    padding: 0 50px !important;
  }
  .article-detail h3::before,
  .article-detail h3::after {
    width: 30px !important;
  }
}
@media (max-width: 767px) {
  .carre-detail,
  .carre-detail b {
    font-size: 1.8rem !important;
  }
  .article-detail h3 {
    padding: 0 35px !important;
  }
  .article-detail h3::before,
  .article-detail h3::after {
    width: 20px !important;
  }
}
