.post-faq{
  margin-top: 28px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.post-faq-head{
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(15,23,42,.10);
}
.post-faq-title{
  font-size: 18px;
  color: rgba(15,23,42,.92);
  margin: 0 0 6px;
}
.post-faq-subtitle{
  font-size: 13px;
  color: rgba(15,23,42,.65);
}
.faq-item{
  border-bottom: 1px solid rgba(15,23,42,.10);
}
.faq-item:last-child{
  border-bottom: 0;
}
.faq-question{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.faq-number{
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 999px;
  border: 1px solid rgba(59,130,246,.45);
  color: rgba(30,64,175,.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.faq-question-text{
  font-size: 16px;
  color: rgba(15,23,42,.92);
  line-height: 1.45;
}
.faq-answer{
  display: none;
  padding: 0 18px 18px 62px;
  color: rgba(15,23,42,.78);
  line-height: 1.7;
  font-size: 15px;
}
.faq-item.open .faq-answer{
  display: block;
}
  :root{
    --ink: rgba(15,23,42,.92);
    --muted: rgba(15,23,42,.70);
    --soft: rgba(15,23,42,.10);
    --soft2: rgba(15,23,42,.08);

    --blue: rgba(30,64,175,.95);
    --blueBg: rgba(59,130,246,.08);
    --blueBd: rgba(59,130,246,.14);
    --blueBgHover: rgba(59,130,246,.12);
    --blueBgActive: rgba(59,130,246,.18);
    --blueBdActive: rgba(59,130,246,.30);

    --green: rgba(22,163,74,.92);
    --greenBd: rgba(22,163,74,.35);

    --radiusSm: 10px;
    --radiusMd: 14px;
    --radiusLg: 16px;

    --shadow: 0 10px 26px rgba(15,23,42,.06);
  }

  *{ box-sizing: border-box; }
  img, video, iframe{ max-width: 100%; height: auto; }
  .container{ max-width: 1200px; }

  .post-wrap{ padding: 26px 0 56px; }

  .post-grid{
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .post-aside{
    position: sticky;
    top: 92px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
  }

  .aside-card{
    background: #fff;
    border: 1px solid var(--soft);
    border-radius: var(--radiusMd);
    box-shadow: var(--shadow);
    padding: 16px;
    min-width: 0;
  }

  .aside-title{ font-size: 18px; color: var(--ink); margin-bottom: 10px; }

  .toc{
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }

  .toc-link{
    display: block;
    text-decoration: none;
    color: var(--blue);
    font-size: 13px;
    line-height: 1.4;
    padding: 8px 10px;
    border-radius: var(--radiusSm);
    background: var(--blueBg);
    border: 1px solid var(--blueBd);
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
  .toc-link:hover{ background: var(--blueBgHover); }
  .toc-link.active{
    background: var(--blueBgActive);
    border-color: var(--blueBdActive);
  }

  .aside-empty{ font-size: 13px; color: rgba(15,23,42,.65); }

  .aside-mini-title{ font-size: 14px; color: var(--ink); }
  .aside-mini-text{
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
  }
  .aside-mini-btn{
    display: inline-flex;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--radiusSm);
    text-decoration: none;
    background: var(--green);
    border: 1px solid var(--greenBd);
    color: #fff;
    font-size: 13px;
    line-height: 1;
  }

  .post-card{
    background: #fff;
    border: 1px solid var(--soft);
    border-radius: var(--radiusLg);
    box-shadow: var(--shadow);
    padding: 18px;
    min-width: 0;
  }

  /* HERO (dans l’article) */
  
  .post-hero {
    position: relative;
    min-height: 420px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: #0f172a;
}

.post-hero-media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.post-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.20));
    z-index: 1;
}

.post-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem;
}

.post-hero-title {
    color: #fff;
    margin: 0;
}
  

  .post-meta{
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--soft2);
    margin-bottom: 16px;
    color: rgba(15,23,42,.65);
    font-size: 12px;
  }
  .meta-left{
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    min-width: 0;
  }
  .meta-item{ color: rgba(15,23,42,.70); }
  .meta-sep{ opacity: .5; }

  .meta-right{
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    min-width: 0;
  }
  .share-label{ color: rgba(15,23,42,.55); }
  .share{
    font-size: 12px;
    color: var(--blue);
    text-decoration: none;
    border: 1px solid var(--soft);
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(15,23,42,.02);
    cursor: pointer;
    line-height: 1;
  }
  .share:hover{ background: rgba(15,23,42,.04); }
  .share.copy{ background: #fff; }

  .post-content{
    color: rgba(15,23,42,.82);
    line-height: 1.75;
    font-size: 15px;
    min-width: 0;
  }
  .post-content h2{
    margin-top: 26px;
    font-size: 20px;
    color: var(--ink);
    scroll-margin-top: 110px;
    text-wrap: balance;
  }
  .post-content p{ margin: 12px 0; }
  .post-content a{ color: var(--blue); }

  .post-sep{
    border: 0;
    border-top: 1px solid var(--soft2);
    margin: 22px 0;
  }

  .comments-title{
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--ink);
  }
  .comments-empty{
    color: rgba(15,23,42,.65);
    margin: 0 0 12px;
  }

  .notice{
    border: 1px solid var(--soft);
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    margin: 12px 0;
    font-size: 13px;
  }
  .notice.success{ border-color: rgba(22,163,74,.22); }
  .notice.error{ border-color: rgba(239,68,68,.22); }
  .notice ul{ margin: 8px 0 0; padding-left: 18px; }

  .comments-list{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0 18px;
  }
  .comment{
    border: 1px solid var(--soft);
    border-radius: var(--radiusMd);
    padding: 12px 14px;
    background: rgba(15,23,42,.02);
  }
  .comment-head{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
  }
  .comment-author{ color: var(--ink); font-size: 13px; }
  .comment-date{ color: rgba(15,23,42,.60); font-size: 12px; }
  .comment-body{
    margin-top: 8px;
    color: rgba(15,23,42,.80);
    font-size: 13px;
    line-height: 1.6;
  }

  .comment-form{
    border: 1px solid var(--soft);
    border-radius: var(--radiusMd);
    padding: 14px;
    background: #fff;
  }
  .form-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .field label{
    display: block;
    font-size: 12px;
    color: rgba(15,23,42,.75);
    margin: 0 0 6px;
  }
  .field input,
  .field textarea{
    width: 100%;
    border: 1px solid rgba(15,23,42,.12);
    border-radius: var(--radiusSm);
    padding: 10px 12px;
    outline: none;
    background: #fff;
  }
  .help{
    margin-top: 6px;
    font-size: 12px;
    color: rgba(15,23,42,.60);
  }

  .btn-comment{
    margin-top: 12px;
    border: 1px solid rgba(59,130,246,.35);
    background: rgba(59,130,246,.92);
    color: #fff;
    padding: 10px 12px;
    border-radius: var(--radiusSm);
    cursor: pointer;
  }

  .hp{
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  @media (max-width: 1100px){
    .post-grid{ grid-template-columns: 1fr; }
    .post-hero-title{ font-size: 28px; }
    .post-card{ grid-row: 1; }
    .post-aside{
      grid-row: 2;
      position: relative;
      top: auto;
      margin-top: 18px;
    }
  }

  @media (max-width: 720px){
    .post-hero-inner{ padding: 54px 16px 38px; }
    .post-hero-title{ font-size: 24px; }
    .post-card{ padding: 16px; }
    .post-hero{ margin: -16px -16px 16px; }
    .form-grid{ grid-template-columns: 1fr; }
    .toc{
      max-height: 45vh;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }
  }
  .article-cta{
  margin: 24px 0;
  padding: 22px 18px;
  border-radius: 18px;
  background: var(--cta-bg);
  border: 1px solid var(--cta-border);
  border-left: 6px solid var(--cta-border);
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.article-cta-title{
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--cta-title);
  font-weight: 600;
}

.article-cta-text{
  font-size: 15px;
  line-height: 1.8;
  color: var(--cta-text);
}

.article-cta-text p{
  margin: 0 0 12px;
}

.article-cta-text strong,
.article-cta-text b{
  font-weight: 700;
}

.article-cta-text a{
  color: inherit;
  text-decoration: underline;
}

.article-cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  background: var(--cta-btn-bg) !important;
  color: var(--cta-btn-text) !important;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 8px 18px rgba(15,23,42,.08);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.article-cta-btn:hover,
.article-cta-btn:focus,
.article-cta-btn:visited{
     background: var(--cta-btn-bg) !important;
  color: var(--cta-btn-text) !important;
  text-decoration: none;
}

.post-faq{
  margin-top: 28px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.post-faq-head{
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(15,23,42,.10);
}
.post-faq-title{
  font-size: 18px;
  color: rgba(15,23,42,.92);
  margin: 0 0 6px;
}
.post-faq-subtitle{
  font-size: 13px;
  color: rgba(15,23,42,.65);
}
.faq-item{
  border-bottom: 1px solid rgba(15,23,42,.10);
}
.faq-item:last-child{
  border-bottom: 0;
}
.faq-question{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.faq-number{
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 999px;
  border: 1px solid rgba(59,130,246,.45);
  color: rgba(30,64,175,.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.faq-question-text{
  font-size: 16px;
  color: rgba(15,23,42,.92);
  line-height: 1.45;
}
.faq-answer{
  display: none;
  padding: 0 18px 18px 62px;
  color: rgba(15,23,42,.78);
  line-height: 1.7;
  font-size: 15px;
}
.faq-item.open .faq-answer{
  display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}