/* Blog index refonte (refonte.md AXE 1 / 3) */
.blog-refonte-hero {
   text-align: center;
   padding-bottom: 0.5rem;
}
.blog-refonte-hero .hero-cta-row {
   margin-top: 1.35rem;
}
.blog-index-section {
   margin-top: 2.75rem;
}
.blog-index-section__title {
   font-size: 1.35rem;
   font-weight: 700;
   color: #222;
   margin-bottom: 1.1rem;
   letter-spacing: -0.02em;
}
.blog-index-grid {
   display: grid;
   gap: 1.35rem;
   grid-template-columns: 1fr;
}
@media (min-width: 768px) {
   .blog-index-grid--2 {
      grid-template-columns: repeat(2, 1fr);
   }
   .blog-index-grid--3 {
      grid-template-columns: repeat(2, 1fr);
   }
   .blog-index-themes {
      grid-template-columns: repeat(3, 1fr);
   }
}
@media (min-width: 1100px) {
   .blog-index-grid--3 {
      grid-template-columns: repeat(3, 1fr);
   }
}
.blog-index-card {
   display: flex;
   flex-direction: column;
   height: 100%;
   background: #fff;
   border: 1px solid #e8e8ec;
   border-radius: 14px;
   overflow: hidden;
   box-shadow: 0 4px 18px rgba(17, 24, 39, 0.05);
   transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.blog-index-card:hover {
   box-shadow: 0 10px 28px rgba(17, 24, 39, 0.1);
   transform: translateY(-2px);
   border-color: #e0e3eb;
}
.blog-index-card__media {
   display: block;
   background: #f4f5f7;
   aspect-ratio: 16 / 9;
   overflow: hidden;
}
.blog-index-card__media img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}
.blog-index-card--compact .blog-index-card__media {
   aspect-ratio: 16 / 10;
   max-height: 140px;
}
.blog-index-card__body {
   padding: 1rem 1.15rem 1.15rem;
   display: flex;
   flex-direction: column;
   flex: 1;
}
.blog-index-card__cat {
   margin: 0 0 0.4rem;
   font-size: 0.72rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   color: #e22c65;
}
.blog-index-card__title {
   margin: 0 0 0.5rem;
   font-size: 1.05rem;
   line-height: 1.35;
   font-weight: 700;
   color: #1a1a1a;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
   min-height: 2.7em;
   overflow-wrap: anywhere;
   word-break: break-word;
}
.blog-index-card__title a {
   color: inherit;
   text-decoration: none;
}
.blog-index-card__title a:hover {
   color: #e22c65;
}
.blog-index-card__excerpt {
   margin: 0 0 0.75rem;
   font-size: 0.92rem;
   line-height: 1.55;
   color: #555;
   flex: 1;
   display: -webkit-box;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
   overflow: hidden;
}
.blog-index-card__meta {
   font-size: 0.82rem;
   color: #888;
   margin-bottom: 0.65rem;
}
.blog-index-card__dot {
   margin: 0 0.25rem;
}
.blog-index-card__cta {
   font-size: 0.88rem;
   font-weight: 600;
   color: #e22c65;
   text-decoration: none;
   margin-top: auto;
}
.blog-index-card__cta:hover {
   text-decoration: underline;
}
.blog-index-theme-col h3 {
   font-size: 1.05rem;
   font-weight: 700;
   margin: 0 0 0.85rem;
   color: #333;
}
.blog-index-theme-col .blog-index-grid {
   gap: 0.85rem;
}
.blog-index-pagination {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: center;
   gap: 0.5rem 0.75rem;
   margin-top: 2rem;
}
.blog-index-pagination a,
.blog-index-pagination span {
   display: inline-block;
   padding: 0.45rem 0.75rem;
   border-radius: 8px;
   font-size: 0.9rem;
   text-decoration: none;
   color: #444;
   border: 1px solid #e0e0e0;
   background: #fff;
}
.blog-index-pagination a:hover {
   border-color: #e22c65;
   color: #e22c65;
}
.blog-index-pagination .is-current {
   background: #e22c65;
   color: #fff;
   border-color: #e22c65;
   font-weight: 600;
}
.blog-index-pagination .is-muted {
   opacity: 0.45;
   pointer-events: none;
}
/* Article refonte: breadcrumb + layout */
.blog-article-breadcrumb {
   font-size: 0.88rem;
   margin-bottom: 0.75rem;
}
.blog-article-breadcrumb a {
   color: rgba(255, 255, 255, 0.92);
   text-decoration: underline;
}
.blog-article-breadcrumb span {
   color: rgba(255, 255, 255, 0.65);
   margin: 0 0.35rem;
}
.blog-article-meta-row {
   color: rgba(255, 255, 255, 0.88);
   font-size: 0.92rem;
   margin-top: 0.5rem;
}
.blog-sidebar-card {
   position: sticky;
   top: 1rem;
   padding: 1.25rem;
   border-radius: 14px;
   border: 1px solid #e8e8ec;
   background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
   box-shadow: 0 6px 22px rgba(17, 24, 39, 0.06);
}
.blog-sidebar-card h3 {
   font-size: 1.05rem;
   margin: 0 0 0.5rem;
   color: #222;
   font-weight: 700;
}
.blog-sidebar-card p {
   font-size: 0.9rem;
   color: #555;
   line-height: 1.55;
   margin: 0 0 1rem;
}
.blog-sidebar-card .btn {
   width: 100%;
   text-align: center;
}
.blog-sidebar-trust {
   margin-top: 0.85rem;
   font-size: 0.8rem;
   color: #777;
   line-height: 1.45;
}

/* Article : bandeau confiance + sommaire (refonte AXE 4) */
.blog-article-proof-bar {
   background: linear-gradient(180deg, #f9fafc 0%, #fff 100%);
   border-bottom: 1px solid #eceef3;
   padding: 0.85rem 0 1rem;
}
.blog-article-proof-bar__kicker {
   margin: 0 0 0.25rem;
   font-size: 0.72rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.07em;
   color: #e22c65;
   text-align: center;
}
.blog-article-proof-bar__line {
   margin: 0 auto;
   max-width: 720px;
   text-align: center;
   font-size: 0.95rem;
   line-height: 1.55;
   color: #444;
}
.blog-article-toc {
   position: sticky;
   top: 0.75rem;
   z-index: 2;
   margin: 0 0 1.35rem;
   padding: 0.95rem 1.05rem;
   background: #fff;
   border: 1px solid #e8e8ec;
   border-radius: 12px;
   box-shadow: 0 4px 16px rgba(17, 24, 39, 0.06);
   max-height: min(62vh, 20rem);
   overflow-y: auto;
}
.blog-article-toc__title {
   font-size: 0.72rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   color: #888;
   margin: 0 0 0.55rem;
}
.blog-article-toc__list {
   margin: 0;
   padding-left: 1.15rem;
   font-size: 0.88rem;
   line-height: 1.45;
   color: #333;
}
.blog-article-toc__list li {
   margin-bottom: 0.4rem;
}
.blog-article-toc__list li:last-child {
   margin-bottom: 0;
}
.blog-article-toc__list a {
   color: #444;
   text-decoration: none;
   display: inline-block;
}
.blog-article-toc__list a:hover {
   color: #e22c65;
}
.blog-article-toc__list a.is-active {
   color: #e22c65;
   font-weight: 600;
}
@media (max-width: 991px) {
   .blog-article-toc {
      position: relative;
      top: auto;
      max-height: none;
   }
}

/* Blog POST — hero compact (Agent 1A) : gradient .bg-color-grad inchangé */
.blog-post-hero .blog-post-hero__band.section-large.reason-sec-back {
   height: auto !important;
   max-height: 320px;
   padding: 1.1rem 0 !important;
   box-sizing: border-box;
   display: flex;
   align-items: center;
   justify-content: center;
   background-attachment: scroll;
   background-size: 78%;
   background-position: center 88%;
}
@media (min-width: 992px) {
   .blog-post-hero .blog-post-hero__band.section-large.reason-sec-back {
      max-height: 420px;
      padding: 1.35rem 0 !important;
      background-size: 90%;
      background-position: center 82%;
   }
}
.blog-post-hero .blog-post-hero__title-wrap.title-center {
   padding-bottom: 0.5rem;
}
.blog-post-hero .blog-article-breadcrumb {
   margin-bottom: 0.3rem;
   font-size: 0.82rem;
}
.blog-post-hero .blog-post-hero__lang {
   margin: 0 0 0.35rem;
}
.blog-post-hero .blog-post-hero__lang a {
   color: rgba(255, 255, 255, 0.95);
   text-decoration: underline;
   font-size: 0.88rem;
}
.blog-post-hero .blog-post-hero__date.sub-heading-1 {
   font-size: 0.88rem;
   line-height: 1.3;
   margin-top: 0.15rem;
}
.blog-post-hero .title-center h1 {
   font-size: clamp(1.28rem, 4.2vw, 1.85rem);
   line-height: 1.18;
   margin: 0.3rem 0 0.15rem;
}
.blog-post-hero .blog-article-meta-row {
   margin-top: 0.2rem;
   font-size: 0.85rem;
}
.blog-post-hero .blog-post-hero__proof {
   color: rgba(255, 255, 255, 0.92);
   max-width: 520px;
   margin: 0.4rem auto 0;
   font-size: 0.88rem;
   line-height: 1.45;
}
.blog-post-hero .blog-post-hero__cta {
   margin-top: 0.5rem;
}
.blog-post-hero .blog-post-hero__btn.btn-prim-round {
   font-weight: 600;
   padding: 10px 20px;
   display: inline-block;
   text-decoration: none;
}
/* Chevauchement carte article adapté au hero plus bas */
.blog-post-hero ~ .blog-article-proof-bar ~ .container .reason-sec.blog-article-body {
   margin-top: -58px;
}
@media (min-width: 992px) {
   .blog-post-hero ~ .blog-article-proof-bar ~ .container .reason-sec.blog-article-body {
      margin-top: -92px;
   }
}
