/* Article page (works with your header_footer.css + main_only.css)
   Desktop: right column sticks and follows the scroll (no empty column).
   Gallery: app-like fullscreen lightbox with swipe + pinch-to-zoom (JS).
*/

:root {
  --a-bg: #ffffff;
  --a-card: #ffffff;
  --a-text: var(--text, #1a1a1a);
  --a-muted: rgba(26,26,26,.72);
  --a-border: rgba(11,18,32,.14);
  --a-shadow: 0 14px 36px rgba(0,0,0,.10);
  --a-radius: 14px;
  --a-radius-sm: 12px;
  --a-radius-xs: 10px;
  --a-border-soft: rgba(11,18,32,.08);
  --a-bg-soft: rgba(11,18,32,.03);
  --sticky-top: 92px;
  --creamy: #F6F1E6;
  --creamy-border: rgba(122, 98, 60, .18);
}

main.article-page .container{padding:1rem}

.article-page{
  background: #fff;
  padding: 0;
}

.article-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

@media (min-width: 900px){
  .article-page{ padding: 0; }
  .article-layout{
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
  }
}

/* Core article card */
.article{
  background: var(--a-card);
  overflow: clip;
}

.breadcrumbs{
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 14px 16px 0;
  font-size: .9rem;
  color: var(--a-muted);
}

.breadcrumbs span[aria-hidden="true"]{ opacity: .6; }

.article-hero{
  padding: 10px 16px 0;
}

.article-kicker{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 6px;
}

.chip{
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 .7rem;
  border-radius: var(--a-radius-sm);
  font-weight: 800;
  font-size: .78rem;
  background: rgba(39,101,238,.14);
  color: #173b90;
  border: 1px solid rgba(39,101,238,.22);
}

.chip-soft{
  background: rgba(255,79,163,.10);
  border-color: rgba(255,79,163,.20);
  color: #7b184a;
}

.article-title{
  margin: 10px 0 8px;
  font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-family:'GothamPro';
  font-weight:600;
}

.article-meta{
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .65rem;
  align-items: center;
  color: var(--a-muted);
  font-size: .92rem;
}

.article-anchor{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-actions{
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 12px 0 14px;
}

.btn-primary, .btn-ghost{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.12);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary{
  background: var(--blue, #2765ee);
  border-color: rgba(39,101,238,.35);
  color: #fff;
}

.btn-primary:hover{ filter: brightness(1.05); }

.btn-ghost{
  background: rgba(11,18,32,.03);
  color: var(--a-text);
}

.btn-ghost:hover{ background: rgba(11,18,32,.07); }

.article-cover{
  margin: 0;
  border-top: 1px solid rgba(11,18,32,.08);
  border-bottom: 1px solid rgba(11,18,32,.08);
  background: rgba(11,18,32,.02);
}

.article-cover img{
  width: 100%;
  height: min(52vh, 420px);
  object-fit: cover;
}

.article-cover figcaption{
  padding: 10px 16px 12px;
  color: rgba(26,26,26,.70);
  font-size: .9rem;
}

.article-body {
  padding: 18px 16px 16px;
  margin-inline: auto;
  text-wrap: pretty;
  hyphens: auto;
  overflow-wrap: break-word;
}

.article-body p, .article-body li{
  line-height: 1.65;
  font-size: 1.02rem;
}

.article-body p{ margin: 0 0 14px; }
.article-body h2{ margin: 26px 0 10px; font-size: 1.45rem; letter-spacing: -.01em; }
.article-body h3{ margin: 18px 0 8px; font-size: 1.12rem; }

.article-body h2, .article-body h3 {
  scroll-margin-top: calc(var(--sticky-top) + 18px);
  text-wrap: balance;
}

.lead{
  font-size: 1.08rem;
  color: rgba(26,26,26,.82);
}

.callout{
  border: 1px solid rgba(39,101,238,.22);
  background: rgba(39,101,238,.06);
  border-radius: 16px;
  padding: 14px 14px 12px;
  margin: 14px 0 18px;
}

.callout-title{
  font-weight: 950;
  margin-bottom: 8px;
}

.callout-list{
  margin: 0;
  padding-left: 18px;
}

.grid-two{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0;
}

@media (min-width: 700px){
  .grid-two{ grid-template-columns: 1fr 1fr; }
}

.mini-card{
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
  border-radius: 16px;
  padding: 12px;
}

.mini-card h3{
  margin: 0 0 6px;
}

.read-more{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

@media (min-width: 700px){
  .read-more{
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.read-card{
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
}

.read-card:hover{ background: rgba(11,18,32,.04); }

.read-title{ font-weight: 950; }
.read-meta{ color: var(--a-muted); font-size: .9rem; }

/* Thumbnails */
.thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 10px;
}

.thumb {
  cursor: pointer;
  border-radius: 0;
  border: 1px solid rgba(11,18,32,.16);
  background: #fff;
  padding: 4px;
  box-shadow: 0 8px 16px rgba(0,0,0,.08);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .25s ease;
  border-radius: 0;
}

/* ========================================
   COMMENTAIRES
   ======================================== */

.comments {
    margin: 36px 14px;
    min-width: 0;
}

/* En-tête */
.comments-header {
    margin-bottom: 20px;
}

.comments-header h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 10px;
    font-size: 25px;
    line-height: 1.3;
}

.comments-header h2 > i {
    color: var(--blue, #2765ee);
    font-size: 24px;
}

.comments-header p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    background: #edf3ff;
    color: var(--blue, #2765ee);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

/* Formulaire */
.comments .comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e7e2db;
    border-radius: 18px;
}

.comments .comment-form h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.comment-form label:not(.check) {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.comment-form label:not(.check) > span {
    color: #444;
    font-size: 14px;
    font-weight: 500;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    background: #fafbfc;
    border: 1px solid #dce1e9;
    border-radius: 10px;
    color: #222;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.comment-form textarea {
    min-height: 110px;
    resize: vertical;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: #858b94;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    background: #fff;
    border-color: var(--blue, #2765ee);
    box-shadow: 0 0 0 3px rgba(39,101,238,.10);
    outline: none;
}

/* Confidentialité */
.comments .comment-privacy {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: -5px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.4;
}

.comment-privacy i {
    font-size: 12px;
}

/* Actions du formulaire */
.comment-form .form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.comment-form .check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.comment-form .check input {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--blue, #2765ee);
    cursor: pointer;
}

.comment-form .check span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.comments .comment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto;
    min-height: 44px;
    padding: 12px 20px;
    background: var(--blue, #2765ee);
    border: none;
    border-radius: 999px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
}

@media (hover: hover) {
    .comments .comment-submit:hover {
        background: #1954d5;
        filter: none;
    }
}

/* Liste des commentaires */
.comments .comment-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 28px;
}

.comment-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7e2db;
}

.comment-list-header strong {
    font-size: 16px;
    font-weight: 600;
}

.comment-list-header span {
    color: #777;
    font-size: 13px;
}

/* Commentaire individuel */
.comments .comment {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    margin: 0;
    padding: 22px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e7e2db;
    border-radius: 0;
}

.comments .comment:last-child {
    border-bottom: none;
}

/* Avatars */
.comments .c-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #e5edff;
    border: none;
    border-radius: 50%;
    color: var(--blue, #2765ee);
    font-size: 18px;
    font-weight: 600;
}

.comments .c-avatar--pink {
    background: #fce7f1;
    color: #b42366;
}

.comments .c-avatar--official {
    background: var(--blue, #2765ee);
    color: #fff;
}

/* Contenu */
.comment-content {
    flex: 1;
    min-width: 0;
}

.comments .comment-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 0 0 8px;
    overflow-wrap: anywhere;
}

.comment-head strong {
    color: #222;
    font-size: 16px;
    font-weight: 700;
}

.comments .comment-date {
    color: #777;
    font-size: 13px;
    font-weight: 400;
}

.comments .comment-content > p {
    margin: 8px 0 12px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Répondre */
.comments .comment-reply {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 5px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--blue, #2765ee);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s ease;
}

.comments .comment-reply i {
    font-size: 12px;
}

@media (hover: hover) {
    .comments .comment-reply:hover {
        background: transparent;
        opacity: .7;
    }
}

/* Réponses imbriquées */
.comment-replies {
    margin-top: 18px;
    padding-left: 16px;
    border-left: 2px solid #dce6fb;
}

.comments .comment-replies .comment {
    padding: 4px 0;
    border-bottom: none;
}

.comments .comment-replies .c-avatar {
    width: 36px;
    height: 36px;
    font-size: 15px;
}

.comment-official {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--blue, #2765ee);
    font-size: 12px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .comments {
        margin: 30px 14px;
    }

    .comments-header h2 {
        font-size: 23px;
    }

    .comments .comment-form {
        padding: 18px;
    }
}

@media (max-width: 600px) {
    .comments-header h2 {
        font-size: 21px;
        gap: 8px;
    }

    .comments-header h2 > i {
        font-size: 20px;
    }

    .comments-header p {
        font-size: 14px;
    }

    .comments .comment-form {
        padding: 16px;
        gap: 14px;
        border-radius: 14px;
    }

    .comment-form .form-row {
        grid-template-columns: 1fr;
    }

    .comment-form .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .comments .comment-submit {
        width: 100%;
    }

    .comments .comment {
        gap: 10px;
        padding: 18px 0;
    }

    .comments .c-avatar {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .comments .comment-content > p {
        font-size: 15px;
    }

    .comments .comment-date {
        font-size: 12px;
    }

    .comment-replies {
        padding-left: 10px;
        margin-top: 14px;
    }

    .comments .comment-replies .c-avatar {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
}

/* Aside (right column) */
.article-aside{
  order: 2;
}


.aside-stack{
  display: grid;
  gap: 12px;
}

.aside-card{
  border: 1px solid rgba(11,18,32,.10);
  border-radius: 18px;
  padding: 14px;
  background: rgba(11,18,32,.02);
}

.aside-card h3{
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

.aside-muted{ margin: 0 0 10px; color: rgba(26,26,26,.72); }

.aside-links{
  display: grid;
  gap: 8px;
}

.aside-links a{
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(11,18,32,.08);
}

.aside-links a:hover{ background: rgba(255,255,255,.85); }

.aside-links span{
  color: rgba(26,26,26,.65);
  font-size: .9rem;
}

.aside-form{
  display: flex;
  gap: 0;
}

.aside-form input{
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  border-radius: 12px 0 0 12px;
  border: 1px solid rgba(11,18,32,.14);
  border-right: 0;
  padding: 0 12px;
  font: inherit;
  background: #fff;
}

.aside-form button{
  height: 44px;
  border-radius: 0 12px 12px 0;
  border: 1px solid rgba(11,18,32,.14);
  padding: 0 14px;
  background: #111;
  color: #fff;
  font-weight: 950;
  cursor: pointer;
  min-width: 56px;
}

.aside-form button:hover{ filter: brightness(1.08); }

/* Sticky behavior on desktop */
@media (min-width: 900px){
  .article-aside {
      scrollbar-width: thin;
      position: sticky;
      align-self: start;
      max-height: none;
      overflow: visible;
      top: calc(var(--sticky-top-base, var(--sticky-top)) + 16px);
  }
}

/* =========================
   App-like Lightbox (Gallery)
   ========================= */

html.lg-lock,
html.lg-lock body{
  overflow: hidden;
}

.lg{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 99999;
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility 0s linear .18s;
}

.lg.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .22s ease, visibility 0s;
}

.lg-top{
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 10px 10px;
  color: rgba(255,255,255,.92);
}

.lg-counter{
  justify-self: center;
  font-weight: 900;
  letter-spacing: .02em;
}

.lg-spacer{ width: 44px; height: 1px; }

.lg-btn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lg-btn:hover{ background: rgba(255,255,255,.14); }

.lg-close{
  font-size: 26px;
  line-height: 1;
}

.lg-viewport{
  position: relative;
  overflow: hidden;
  touch-action: pan-y; /* we handle horizontal swipes */
}

.lg-track{
  height: 100%;
  display: flex;
  will-change: transform;
}

.lg-slide{
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  padding: 10px;
}

.lg-img{
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 210px);
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0,0,0,.50);
  transform-origin: center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none; /* needed for pinch */
}

/* On small screens, use the full viewport more */
@media (max-width: 899px){
  .lg-img{
    max-height: calc(100vh - 180px);
    border-radius: 16px;
  }
}

.lg-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-size: 30px;
  line-height: 1;
}

.lg-prev{ left: 10px; }
.lg-next{ right: 10px; }

@media (max-width: 899px){
  .lg-nav{ display: none; }
}

/* Bottom strip */
.lg-strip{
  display: flex;
  gap: 8px;
  padding: 10px 10px 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.lg-strip::-webkit-scrollbar{ display: none; }

.lg-thumb{
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  opacity: .72;
  outline: 2px solid transparent;
}

.lg-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lg-thumb.is-active{
  opacity: 1;
  outline-color: rgba(255,255,255,.65);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .lg{ transition: none !important; }
}

  	
/* ===== Sommaire dans l'article ===== */
.toc-card{
  margin: 14px 0 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
  border-radius: 18px;
  padding: 12px 12px 10px;
}
.toc-head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.toc-title{
  font-weight: 950;
  letter-spacing: -.01em;
}
.toc{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}
.toc a {
  text-decoration: underline;
  text-underline-offset: 3px;
  position: relative;
}

/* ===== Post cards (avec photo) ===== */
.post-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 10px;
}
@media (min-width: 700px){
  .post-grid{ grid-template-columns: 1fr 1fr 1fr; }
}
.post-card{
  display:grid;
  gap: 10px;
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
  overflow: hidden;
}
.post-card:hover{ background: rgba(11,18,32,.04); }
.post-img{
  aspect-ratio: 16 / 10;
  background: rgba(11,18,32,.05);
}
.post-img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.post-body{ padding: 10px 12px 12px; display:grid; gap: 4px; }
.post-title{ font-weight: 950; letter-spacing: -.01em; line-height: 1.2; display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;}
.post-meta{ color: rgba(26,26,26,.68); font-size: .9rem; display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;}

/* ===== Sidebar mini posts (avec photo) ===== */
.post-mini-list{
  display:grid;
  gap: 10px;
}
.post-mini{
  display:grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(11,18,32,.08);
}
.post-mini:hover{ background: rgba(255,255,255,.85); }
.post-mini img{
  width:64px;
  height:64px;
  border-radius: 14px;
  object-fit: cover;
}
.post-mini-title{
  font-weight: 500;
  line-height: 1.15;
}
.post-mini-meta{
  color: rgba(26,26,26,.65);
  font-size: .9rem;
  margin-top: 2px;
}

/* ===== Blocs réutilisables ===== */
.box{
  border-radius: 18px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
  margin: 12px 0;
}
.box-title{ font-weight: 950; margin-bottom: 6px; }
.box--tip{
  border-color: rgba(39,101,238,.22);
  background: rgba(39,101,238,.06);
}
.box--note{
  border-color: rgba(11,18,32,.14);
  background: rgba(255,255,255,.7);
}
.box--warn{
  border-color: rgba(255,79,163,.24);
  background: rgba(255,79,163,.10);
}
.pullquote {
  margin: 14px 0;
  padding: 14px 14px 12px;
  border-left: 4px solid rgba(39,101,238,.55);
  font-size: 1.05rem;
}
.pullquote cite{
  display:block;
  margin-top: 8px;
  font-style: normal;
  color: rgba(26,26,26,.65);
  font-size: .95rem;
}
.feature-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0 14px;
}
@media (min-width: 700px){
  .feature-grid{ grid-template-columns: 1fr 1fr 1fr; }
}
.feature{
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
  padding: 12px;
}
.feature-k{ color: rgba(26,26,26,.65); font-size: .9rem; }
.feature-v{ font-weight: 950; font-size: 1.15rem; margin-top: 2px; }

.checklist-card, .steps-card{
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
  padding: 12px;
  margin: 12px 0;
}
.checklist-title, .steps-title{ font-weight: 950; margin-bottom: 8px; }
.checklist{
  list-style: none;
  margin: 0;
  padding: 0;
  display:grid;
  gap: 8px;
}
.checklist li{
  display:flex;
  align-items:center;
  gap: 10px;
}
.checklist li::before {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-weight: 950;
  flex: 0 0 auto;
}
.steps{
  margin: 0;
  padding-left: 18px;
  display:grid;
  gap: 8px;
}
.table-wrap {
  margin: 12px 0 14px;
  border-radius: 18px;
  overflow: hidden;
}
.data-table{
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.data-table th, .data-table td{
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(11,18,32,.08);
  font-size: .98rem;
}
.data-table thead th{
  background: rgba(11,18,32,.02);
  font-weight: 950;
}
.inline-hint{
  color: rgba(26,26,26,.80);
}
.hl{
  padding: .05em .35em;
  border-radius: 8px;
  background: rgba(255,211,0,.30);
}

/* ===== Author box (dans l'article) ===== */
.author-box {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  margin: 16px 0 18px;
}
@media (min-width: 700px){
  .author-box{ grid-template-columns: 84px 1fr; }
}
.author-photo{
  width: 72px;
  height: 72px;
  border-radius: 72px;
  object-fit: cover;
}
@media (min-width: 700px){
  .author-photo{ width: 84px; height: 84px; border-radius: 84px; }
}
.author-top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
}
.author-name{
  font-weight: 950;
  font-size: 1.05rem;
}
.author-role{
  color: rgba(26,26,26,.65);
  font-size: .92rem;
  margin-top: 2px;
}
.author-bio{
  margin: 10px 0 10px;
  color: rgba(26,26,26,.80);
}
.badge-pill{
  display:inline-flex;
  align-items:center;
  height: 28px;
  padding: 0 .7rem;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.75);
  font-weight: 900;
  font-size: .82rem;
}

/* Creamy block + extra reusable components */

.box--creamy{
  background: var(--creamy);
  border-color: var(--creamy-border);
}
.mini-bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.icon-note{
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.75);
  margin: 12px 0;
}
.icon-note-ico{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(11,18,32,.04);
  border: 1px solid rgba(11,18,32,.08);
  font-size: 18px;
}
.icon-note-title{
  font-weight: 950;
  margin-bottom: 3px;
}
.icon-note-text{
  margin: 0;
  color: rgba(26,26,26,.78);
}
.faq{
  margin: 12px 0 14px;
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
  padding: 12px;
}
.faq-title{
  font-weight: 950;
  margin-bottom: 8px;
}
.faq details{
  border-radius: 14px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,18,32,.08);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.faq summary{
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq details[open] summary{
  margin-bottom: 8px;
}
.faq p{
  margin: 0;
  color: rgba(26,26,26,.78);
}

/* === Tweaks (Feb 2026) === */

/* Author bio: smaller + tighter (override .article-body p) */
.author-box .author-bio{
  font-size: .88rem;
  line-height: 1.45;
  margin: 8px 0 0;
  color: rgba(26,26,26,.76);
}

/* Gallery thumbs: framed, square corners, mobile-first (2/row), desktop (3/row) */

@media (min-width: 900px){
  .thumbs{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


.thumb:hover{
  box-shadow: 0 12px 22px rgba(0,0,0,.12);
}
.thumb:hover img{ transform: scale(1.03); }

/* ===== Share bar (end of article) ===== */
.share-section{
  padding: 0 16px 18px;
}
.share-title{
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -.01em;
}
.share-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.share-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-radius: 4px; /* rectangle arrondi */
  border: 1px solid rgba(0,0,0,.10);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, outline-color .15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.share-btn svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.share-btn:focus-visible{
  outline: 3px solid rgba(39,101,238,.35);
  outline-offset: 2px;
}
.share-note{
  margin: 10px 0 0;
  color: rgba(26,26,26,.65);
  font-size: .92rem;
}

/* Service colors */
.share-fb{ background: #1877F2; border-color: rgba(24,119,242,.35); }
.share-x{ background: #111111; border-color: rgba(255,255,255,.12); }
.share-wa{ background: #25D366; border-color: rgba(37,211,102,.35); }
.share-tg{ background: #229ED9; border-color: rgba(34,158,217,.35); }
.share-mail{ background: #6B7280; border-color: rgba(107,114,128,.35); }
.share-copy{ background: #2765ee; border-color: rgba(39,101,238,.35); }

/* Hover */

/* ===== Reading comfort (mobile-first) ===== */

/* Let some blocks use full available width within the article card */
.thumbs,
.map-card,
.post-grid,
.table-wrap{
  max-width: none;
}

/* ===== TOC app-like (active section highlight) ===== */
.toc-card{
  border-left: 4px solid rgba(39,101,238,.55);
}

.toc a.is-active{
  font-weight: 950;
}
.toc a.is-active::before{
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(39,101,238,.85);
}

/* ===== Top article actions (refined) ===== */

.article-actions .btn-primary{
  box-shadow: none;
}


.fav-ico{
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}
.fav-ico svg{
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ===== TLDR ===== */
.tldr{
  margin: 14px 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
  padding: 12px;
}
.tldr-title{ font-weight: 950; margin-bottom: 8px; }
.tldr-list{ margin: 0; padding-left: 18px; display: grid; gap: 6px; }

/* ===== Practical info ===== */
.practical{
  margin: 14px 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.75);
  padding: 12px;
}
.practical-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.practical-title{
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -.01em;
}
.practical-chip{
  display:inline-flex;
  align-items:center;
  height: 28px;
  padding: 0 .7rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: .82rem;
  background: rgba(39,101,238,.12);
  border: 1px solid rgba(39,101,238,.22);
  color: #173b90;
}
.practical-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 700px){
  .practical-grid{ grid-template-columns: repeat(3, 1fr); }
}
.practical-item{
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
  padding: 10px;
}
.practical-k{ color: rgba(26,26,26,.65); font-size: .9rem; }
.practical-v{ font-weight: 950; margin-top: 2px; }
.practical-note{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(246,241,230,.95);
  border: 1px solid rgba(122,98,60,.18);
}

/* ===== Last updated ===== */
.updated{
  margin: 14px 0 18px;
  border-radius: 18px;
  border: 1px dashed rgba(11,18,32,.18);
  background: rgba(11,18,32,.02);
  padding: 12px;
}
.updated-title{ font-weight: 950; margin-bottom: 8px; }
.updated-row{
  display:flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: rgba(26,26,26,.78);
}
.updated-link{
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Map module ===== */
.map-card{
  margin: 14px 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
  padding: 12px;
}
.map-head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.map-title{
  margin: 0;
  font-size: 1.2rem;
}
.map-figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
}
.map-figure img{ width: 100%; height: 260px; object-fit: cover; display:block; }
@media (min-width: 700px){
  .map-figure img{ height: 320px; }
}
.map-figure figcaption{
  padding: 10px 12px;
  color: rgba(26,26,26,.68);
  font-size: .92rem;
  background: rgba(255,255,255,.85);
}
.map-points{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 8px;
}
.map-points li{
  display:flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.75);
}
.pt{
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  font-weight: 950;
  background: rgba(39,101,238,.14);
  border: 1px solid rgba(39,101,238,.22);
  color: #173b90;
  flex: 0 0 auto;
}
.map-row.is-active .pt{ background: rgba(239,68,68,.16); border-color: rgba(239,68,68,.35); color: #7f1d1d; }

/* ===== Budget & timeline ===== */
.budget{
  margin: 14px 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.75);
  padding: 12px;
}
.budget-title{ font-weight: 950; margin-bottom: 8px; }
.budget-rows{ display:grid; gap: 8px; }
.budget-row{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
}
.budget-total{
  background: rgba(239,68,68,.12);
  border-color: rgba(39,101,238,.22);
  font-weight: 950;
}

.timeline{
  margin: 14px 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.02);
  padding: 12px;
}
.timeline-title{ font-weight: 950; margin-bottom: 10px; }
.timeline-items{
  display:grid;
  gap: 10px;
}
.tl-item{
  display:grid;
  grid-template-columns: 56px 10px 1fr;
  gap: 10px;
  align-items: center;
}
.tl-time{
  font-weight: 950;
  color: rgba(26,26,26,.72);
}
.tl-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(39,101,238,.75);
}
.tl-text{
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.75);
}

/* ===== Mistakes box variant ===== */
.box--mistakes{
  border-color: rgba(255,79,163,.22);
  background: rgba(255,79,163,.08);
}

/* ===== Author box accent ===== */
.author-box--accent {
  background: rgba(246,241,230,.75);
  border-color: rgba(122,98,60,.18);
}
.author-more{
  display:inline-block;
  margin-top: 10px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.author-stats{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.stat-pill{
  display:inline-flex;
  align-items:center;
  height: 28px;
  padding: 0 .7rem;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.75);
  font-weight: 900;
  font-size: .82rem;
}

/* ===== Back to top button ===== */
.to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.to-top.is-visible{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.to-top button {
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
  font-weight: 950;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
}
.to-top svg{
  width: 18px;
  height: 18px;
}


/* ===== Map interactivity ===== */
.map-figure{
  position: relative;
}
.map-hotspots{
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-pin{
  pointer-events: auto;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: rgba(39,101,238,.85);
  box-shadow: 0 12px 22px rgba(0,0,0,.18);
  transform: translate(-50%, -50%);
}
.map-pin::after{
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 2px solid rgba(39,101,238,.28);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .18s ease, transform .18s ease;
}
.map-pin.is-active{ background: #ef4444; }
.map-pin.is-active::after{
  opacity: 1;
  transform: scale(1);
}
.map-row{
  width: 100%;
  display:flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.75);
  cursor: pointer;
  text-align: left;
}
.map-row:hover{
  background: rgba(255,255,255,.90);
}
.map-row:focus-visible{ outline: 3px solid rgba(239,68,68,.25); outline-offset: 2px; }
.map-row.is-active{
  border-color: rgba(239,68,68,.35);
  background: rgba(239,68,68,.12);
}

/* =========================================================
   Flat / airy theme (less borders, slightly less rounding)
   (Replaces the old !important override block)
   ========================================================= */

/* Common blocks: consistent radius */
.toc-card,
.tldr,
.practical,
.updated,
.map-card,
.budget,
.timeline,
.box,
.checklist-card,
.steps-card,
.table-wrap,
.icon-note,
.faq,
.mini-card,
.read-card,
.aside-card,
.post-card{
  border-radius: var(--a-radius);
}

/* Remove many borders (keep spacing + subtle bg) */
.toc-card,
.tldr,
.practical,
.map-card,
.budget,
.timeline,
.box,
.checklist-card,
.steps-card,
.icon-note,
.faq,
.mini-card,
.read-card,
.aside-card,
.post-card{
  border: 0;
  background: var(--a-bg-soft);
}

/* Keep some structure with light separators where useful */
.table-wrap{
  border: 1px solid var(--a-border-soft);
  background: #fff;
}
.map-figure{
  border-radius: var(--a-radius);
  border: 1px solid var(--a-border-soft);
}

/* “Cards inside cards”: tone them down */
.practical-item,
.map-row,
.map-points li,
.budget-row,
.tl-text,
.feature,
.post-mini,
.aside-links a{
  border-radius: var(--a-radius-xs);
  border-color: var(--a-border-soft);
}

/* Pullquote: keep the left accent, remove the frame feel */
.pullquote{
  border-radius: var(--a-radius);
  border: 0;
  background: var(--a-bg-soft);
}

/* Author: keep it special but less “boxy” */
.author-box{
  border-radius: var(--a-radius);
  border: 0;
  background: rgba(246,241,230,.75);
}
.author-box--accent{
  border-left: 4px solid rgba(39,101,238,.55);
}

/* Back-to-top: less pill */
.to-top button{ border-radius: var(--a-radius-sm); }

/* ===== Article actions: lighter, less “grossier” ===== */
.article-actions .btn-primary,
.article-actions .btn-ghost {
  border-radius: var(--radius-ui, 10px);
  height: 36px;
  padding: 0 .9rem;
  letter-spacing: 0;
  font-weight: 650;
}
.article-actions .btn-ghost{
  background: rgba(11,18,32,.02);
}
@media (hover:hover){
  .article-actions .btn-ghost:hover{
    background: rgba(11,18,32,.05);
  }
  .article-actions .btn-primary:hover{
    filter: brightness(1.03);
  }
}

/* Clickable card hack (like homepage): link on title, whole card clickable */

/* Hover states (on the whole card) */

@media (hover:hover){
  .post-mini:hover{
    background: rgba(11,18,32,.04);
    box-shadow: 0 14px 28px rgba(0,0,0,.10);
    transform: translateY(-1px);
  }
  .post-card:hover{
    background: rgba(11,18,32,.04);
    box-shadow: 0 14px 28px rgba(0,0,0,.10);
    transform: translateY(-1px);
  }
}
.post-mini:hover .post-mini-title a,
.post-card:hover .post-title{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Simple tone boxes (magazine-friendly): colored background + left border */
.tone-box{
  margin: 14px 0;
  padding: 12px 12px 10px;
  border-radius: 12px;
  border-left: 3px solid rgba(11,18,32,.25);
  background: rgba(11,18,32,.03);
}
.tone-box-title{
  font-weight: 900;
  margin-bottom: 6px;
}
.tone-box--creamy{
  background: rgba(246,241,230,.95);
  border-left-color: rgba(122,98,60,.55);
}
.tone-box--blue{
  background: rgba(39,101,238,.08);
  border-left-color: rgba(39,101,238,.75);
}
.tone-box--mint{
  background: rgba(37,211,102,.10);
  border-left-color: rgba(37,211,102,.65);
}
.tone-box--rose{
  background: rgba(255,79,163,.10);
  border-left-color: rgba(255,79,163,.70);
}

/* ===== Refinements (requested) ===== */

/* Clickable card hack: ensure overlay really sits above content */

/* ===== Tweaks (requested): softer hovers ===== */

/* Share buttons: no huge shadow; keep white icons/text */
.share-btn,
.share-btn:visited,
.share-btn:hover,
.share-btn:active{
  color:#fff !important;
}
@media (hover:hover){
  .share-btn:hover{
    box-shadow: none !important;
    transform: none !important;
    filter: brightness(1.08);
    outline: 2px solid rgba(255,255,255,.22);
    outline-offset: -2px;
  }
}

/* Mobile: reduce side gutters a bit */
@media (max-width: 520px){
  main.article-page .container{ padding-left: .75rem; padding-right: .75rem; } /* 12px */
}

/* Checklist: use a checkbox icon instead of a check badge */
.checklist li::before{
  content: "✓";
  background: transparent;
  border: 1px solid rgba(11,18,32,.18);
  color: rgba(26,26,26,.55);
  font-size: 14px;
  border-radius: 7px;
}

/* Clickable cards fix v2: ensure overlay covers image too */
.post-mini > *, .post-card > :not(.post-img){
  position: static !important;
  z-index: auto !important;
}
.post-mini, .post-card {
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  z-index: 0;
  position: relative;
}
.post-mini-title a, .post-card .post-title {
  text-decoration: none;
  z-index: 3;
  position: static !important;
  pointer-events: auto;
}
.post-mini-title a::after,
.post-card .post-title::after {
  border-radius: inherit;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  background: transparent;
}

/* Hover on clickable article cards: blue link + image zoom (no underline) */
@media (hover:hover){
  .post-mini:hover .post-mini-title a,
  .post-card:hover .post-title{
    text-decoration: none !important;
    color: var(--benaki-color-link-hover);
  }
  .post-mini img,
  .post-card .post-img img{
    transition: transform .18s ease;
    will-change: transform;
  }
  .post-mini:hover img,
  .post-card:hover .post-img img{
    transform: scale(1.06);
  }
}


.custom-social-links {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.custom-social-links .wp-social-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
}

.custom-social-links .wp-social-link-facebook a {
    color: #1877f2;
}

.custom-social-links .wp-social-link-instagram a {
    color: #e4405f;
}

.custom-social-links svg {
    width: 26px;
    height: 26px;
}

.contenu-article .wp-block-heading {
    margin: 1.6em 0 0.7em;
    line-height: 1.25;
    font-weight: 700;
}

.contenu-article .wp-block-heading:first-child {
    margin-top: 0;
}

.contenu-article .wp-block-quote {
    margin: 1.5em 0;
    padding: 0.8em 1.2em;
    border-left: 4px solid #ddd;
    font-style: italic;
}

.contenu-article .wp-block-quote p {
    margin: 0 0 0.8em;
}

.contenu-article .wp-block-quote p:last-child {
    margin-bottom: 0;
}

.contenu-article .wp-block-quote cite {
    display: block;
    margin-top: 0.8em;
    font-size: 0.9em;
    font-style: normal;
    opacity: 0.75;
}

.contenu-article .wp-block-list {
    margin: 1em 0 1.4em 1.4em;
    padding-left: 1.2em;
}

.contenu-article .wp-block-list li {
    margin: 0.35em 0;
}

.contenu-article .wp-block-list ul,
.contenu-article .wp-block-list ol {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

.contenu-article p {
    margin: 0 0 1em;
    line-height: 1.6;
}


/* ==========================================
   BENAKI - BOUTON FAVORIS PAGE ARTICLE
   ========================================== */

/* Bouton */
.fav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

/* Icône */
.fav-btn .fav-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Cœur vide par défaut */
.fav-btn .heart-svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: rgba(11,18,32,.65);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill .2s ease, stroke .2s ease;
}

/* Cœur plein rose quand sélectionné */
.fav-toggle:checked + .fav-btn .heart-svg {
    fill: var(--pink);
    stroke: var(--pink);
}

/* Texte par défaut */
.fav-btn .fav-label-add {
    display: inline;
}

.fav-btn .fav-label-remove {
    display: none;
}

/* Texte quand sélectionné */
.fav-toggle:checked + .fav-btn .fav-label-add {
    display: none;
}

.fav-toggle:checked + .fav-btn .fav-label-remove {
    display: inline;
}

/* Conserver la couleur normale du texte */
.fav-toggle:checked + .fav-btn {
    color: inherit;
}

/* Navigation au clavier */
.fav-toggle:focus-visible + .fav-btn {
    outline: 2px solid var(--pink);
    outline-offset: 3px;
    border-radius: 8px;
}
