/* ============================================================
   BILAN MEDIA — ARTICLE PAGE (premium long-form layout)
   ============================================================ */

/* Page wrapper */
.article-page{
  background: #fff;
}

/* ============================================================
   HERO — full-bleed image + overlay + title
   ============================================================ */
.article-hero{
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  padding-top: var(--header-h, 175px);
}
.article-hero__media{
  position: absolute;
  inset: 0;
  z-index: 1;
}
.article-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 18s ease-out forwards;
}
.article-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(8,65,92,.15) 0%,
      rgba(8,65,92,.45) 45%,
      rgba(8,16,24,.85) 100%);
  pointer-events: none;
}

.article-hero__inner{
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 4rem clamp(1.5rem, 4vw, 3rem) 5rem;
  width: 100%;
}

.article-hero__meta{
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.5rem;
  font-size: .82rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .95;
  animation: fadeUp .8s ease .1s backwards;
}
.article-hero__category{
  background: var(--accent-1);
  color: #fff;
  padding: .5rem 1rem;
  letter-spacing: .25em;
  font-weight: 600;
  text-decoration: none;
  transition: background .3s ease;
}
.article-hero__category:hover{
  background: var(--accent-2);
}
.article-hero__dot{
  opacity: .5;
}
.article-hero__date{
  color: rgba(255,255,255,.85);
}

.article-hero__title{
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 2rem;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,.45);
  max-width: 22ch;
  animation: fadeUp 1s ease .25s backwards;
}

.article-hero__deck{
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  max-width: 720px;
  opacity: .95;
  margin: 0 0 2.5rem;
  animation: fadeUp 1s ease .45s backwards;
}

.article-hero__byline{
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .92rem;
  opacity: .9;
  animation: fadeUp 1s ease .65s backwards;
}
.article-hero__author{
  display: flex;
  align-items: baseline;
  gap: .4rem;
}
.article-hero__author-label{
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .7;
}
.article-hero__author-name{
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--accent-2);
  font-size: 1.05rem;
}
.article-hero__location{
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .8;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255,255,255,.3);
}

/* ============================================================
   ARTICLE BODY
   ============================================================ */
.article-body{
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem clamp(1.5rem, 4vw, 2rem) 3rem;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.13rem;
  line-height: 1.85;
  color: #2a2a2a;
}

.article-body p{
  margin-bottom: 1.6rem;
}
.article-body strong{
  color: var(--heading);
  font-weight: 700;
}

/* Lead paragraph with dropcap */
.article-lead{
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--heading);
  font-weight: 400;
  margin-bottom: 2.5rem;
}
.article-lead::first-letter{
  float: left;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: italic;
  font-size: 5.5rem;
  line-height: .85;
  margin: .35rem .7rem 0 -.3rem;
  color: var(--accent-1);
  text-shadow: 0 4px 14px rgba(20,112,175,.25);
}

/* H2 inside article */
.article-h2{
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  color: var(--heading);
  margin: 3rem 0 1.5rem;
  letter-spacing: -.01em;
  position: relative;
  padding-left: 1.5rem;
}
.article-h2::before{
  content: none;
}

/* Section divider — three dots */
.article-divider{
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3.5rem 0;
}
.article-divider span{
  width: 6px;
  height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  opacity: .6;
}
.article-divider span:nth-child(2){
  background: var(--accent-1);
  opacity: 1;
  transform: scale(1.2);
}

/* Pull quote */
.article-pullquote{
  margin: 3rem -2rem;
  padding: 2.5rem 2.5rem 2.5rem 3.5rem;
  background: linear-gradient(135deg, #f5f8fb 0%, #e9eff5 100%);
  border-left: 5px solid var(--accent-1);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 8px 28px rgba(8,65,92,.08);
}
.article-pullquote--right{
  border-left: 0;
  border-right: 5px solid var(--accent-1);
  text-align: right;
  padding: 2.5rem 3.5rem 2.5rem 2.5rem;
}
.article-pullquote::before{
  content: "\201C";
  position: absolute;
  top: -.4rem;
  left: 1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 6rem;
  line-height: 1;
  color: var(--accent-1);
  opacity: .25;
}
.article-pullquote--right::before{
  left: auto;
  right: 1rem;
  content: "\201D";
}
.article-pullquote blockquote{
  margin: 0 0 1.2rem;
  padding: 0;
}
.article-pullquote blockquote p{
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.4;
  color: var(--heading);
  margin: 0;
  letter-spacing: -.005em;
}
.article-pullquote figcaption{
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-style: normal;
}
.article-pullquote--right figcaption{
  align-items: flex-end;
}
.article-pullquote figcaption strong{
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--accent-1);
  font-size: 1rem;
  letter-spacing: .02em;
}
.article-pullquote figcaption span{
  font-family: 'Roboto', sans-serif;
  font-size: .82rem;
  color: var(--text-light);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Placards aside (protest signs) */
.article-placards{
  margin: 3rem -2rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-1-dark) 100%);
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(20,112,175,.3);
  position: relative;
  overflow: hidden;
}
.article-placards::before{
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.article-placards__title{
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin: 0 0 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.article-placards__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.article-placards__list li{
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  position: relative;
  padding-left: 2rem;
  color: #fff;
}
.article-placards__mark{
  position: absolute;
  left: 0;
  top: -.3rem;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent-2);
  line-height: 1;
}

/* Closing question — boxed */
.article-closing{
  margin: 3.5rem 0 2.5rem;
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 2px solid var(--accent-1);
  border-bottom: 2px solid var(--accent-1);
}
.article-closing__lede{
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.article-closing__question{
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  color: var(--accent-1);
  margin: 0;
  letter-spacing: -.01em;
}

/* Signature */
.article-signature{
  margin: 3rem 0 2rem;
  text-align: center;
  font-family: 'Roboto', sans-serif;
}
.article-signature__line{
  display: none;
}
.article-signature p{
  margin: .25rem 0;
  font-size: .92rem;
  color: var(--text);
}
.article-signature strong{
  color: var(--heading);
  font-weight: 700;
}
.article-signature__credit{
  font-size: .8rem !important;
  letter-spacing: .05em;
  color: var(--text-light) !important;
  text-transform: uppercase;
}

/* ============================================================
   ARTICLE FOOTER — tags + share
   ============================================================ */
.article-footer{
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.5rem, 4vw, 2rem) 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-top: 1px solid var(--border);
}
.article-tags{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
}
.article-tags__label{
  font-family: 'Roboto', sans-serif;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-right: .5rem;
}
.article-tags a{
  display: inline-block;
  padding: .35rem .8rem;
  background: var(--bg);
  color: var(--accent-1);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: background .3s ease, color .3s ease, transform .3s ease;
  text-decoration: none;
}
.article-tags a:hover{
  background: var(--accent-1);
  color: #fff;
  transform: translateY(-2px);
}

.article-share{
  display: flex;
  align-items: center;
  gap: .75rem;
}
.article-share__label{
  font-family: 'Roboto', sans-serif;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-right: .5rem;
}
.article-share a{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--accent-1);
  border-radius: 50%;
  transition: background .3s ease, transform .3s ease, color .3s ease;
}
.article-share a:hover{
  background: var(--accent-1);
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================================
   RELATED ARTICLES
   ============================================================ */
.article-related{
  padding: 6rem 0 5rem;
  background: var(--bg);
}
.article-related__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.article-related__cta{
  text-align: center;
  margin-top: 3rem;
}
@media (max-width: 900px){
  .article-related__grid{
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   READING PROGRESS BAR (top of page)
   ============================================================ */
.reading-progress{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(20,112,175,.12);
  z-index: 200;
  pointer-events: none;
}
.reading-progress span{
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  transition: width .15s linear;
  box-shadow: 0 0 12px rgba(20,112,175,.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px){
  .article-hero{
    min-height: 70vh;
  }
  .article-hero__inner{
    padding: 3rem 1.25rem 3.5rem;
  }
  .article-hero__title{
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    max-width: none;
  }
  .article-hero__deck{
    font-size: 1rem;
  }
  .article-hero__location{
    border-left: 0;
    padding-left: 0;
  }
  .article-body{
    padding: 3rem 1.25rem 2rem;
    font-size: 1.05rem;
    line-height: 1.75;
  }
  .article-lead{
    font-size: 1.15rem;
  }
  .article-lead::first-letter{
    font-size: 4rem;
  }
  .article-pullquote{
    margin: 2rem -.5rem;
    padding: 2rem 1.5rem 2rem 2.5rem;
  }
  .article-pullquote--right{
    padding: 2rem 2.5rem 2rem 1.5rem;
  }
  .article-placards{
    margin: 2rem -.5rem;
    padding: 2rem 1.5rem;
  }
  .article-footer{
    padding: 2rem 1.25rem 4rem;
  }
  .article-related{
    padding: 4rem 0 3rem;
  }
}
h1#bravada-article-title.animated-title{
  font-family:'Playfair Display',Georgia,serif !important;
  font-style:italic !important;
  font-weight:900 !important;
  font-size:clamp(2rem,5vw,4rem) !important;
  line-height:1.1 !important;
  letter-spacing:-.01em !important;
  color:#fff !important;
  text-align:center;
  text-shadow:0 2px 20px rgba(0,0,0,.5);
}


h1#bravada-article-title .caption-title-word > span:nth-child(3n)   span.cry-double.animated-letter{ color: var(--un-blue) !important; }

h1#bravada-article-title .caption-title-word > span:nth-child(n){animation-duration:1.2s;}
h1#bravada-article-title .caption-title-word > span:nth-child(2n){animation-duration:.4s;}
h1#bravada-article-title .caption-title-word > span:nth-child(3n){animation-duration:2.8s;}
h1#bravada-article-title .caption-title-word > span:nth-child(4n){animation-duration:.8s;}
h1#bravada-article-title .caption-title-word > span:nth-child(5n){animation-duration:3.6s;}
h1#bravada-article-title .caption-title-word span.cry-single{position:relative;display:inline-block;color:#fff;transition:color .5s ease-out;}
h1#bravada-article-title .caption-title-word span.cry-double{position:absolute;top:0;left:0;opacity:0;display:inline-block;transition:color .5s ease-out;}
h1#bravada-article-title .caption-title-word > span:nth-child(n) span.cry-single.animated-letter{animation:1.5s .25s animation-slideLeftHide ease-in-out forwards;}
h1#bravada-article-title .caption-title-word > span:nth-child(2n) span.cry-single.animated-letter{animation:1.5s .25s animation-slideRightHide ease-in-out forwards;}
h1#bravada-article-title .caption-title-word > span:nth-child(n) span.cry-double.animated-letter{animation:1s animation-slideRightShow ease-in-out forwards;}
h1#bravada-article-title .caption-title-word > span:nth-child(2n) span.cry-double.animated-letter{animation:1s animation-slideLeftShow ease-in-out forwards;}

@media (max-width:720px){
  h1#bravada-article-title.animated-title{font-size:clamp(1.4rem,7vw,2.2rem) !important;}
  h1#bravada-article-title .caption-title-word span.cry-double{display:none;}
  h1#bravada-article-title .caption-title-word span.cry-single{opacity:1 !important;}
}
/* ============================================================
   Article — Reveal on scroll
   ============================================================ */
.article-body .reveal{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
  will-change: opacity, transform;
}

.article-body .reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Stagger optionnel : éléments successifs apparaissent légèrement décalés */
.article-body .reveal:nth-child(2n).is-visible{ transition-delay: 0.08s; }
.article-body .reveal:nth-child(3n).is-visible{ transition-delay: 0.15s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .article-body .reveal{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* ============================================================
   FIX — Article page layout & visibility
   ============================================================ */

/* HERO — title visible immediately, then animated */
.article-hero{
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 3rem;
}
.article-hero__media{
  position: absolute; inset: 0; z-index: 0;
}
.article-hero__media img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.article-hero__overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.article-hero__content{
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
  padding: 4rem clamp(1.25rem, 4vw, 3rem);
  color: #fff;
  width: 100%;
}
.article-hero__category{
  display: inline-block;
  background: #1470af; color: #fff;
  padding: 0.4rem 0.9rem;
  font-family: 'Roboto', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

/* Title — force visible + colors for dark background */
h1#bravada-article-title.animated-title{
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic !important;
  font-weight: 900 !important;
  font-size: clamp(2rem, 5vw, 4rem) !important;
  line-height: 1.1 !important;
  color: #fff !important;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6) !important;
  margin: 0 0 1.5rem !important;
  text-align: left !important;
  max-width: 22ch;
}
h1#bravada-article-title .caption-title-word > span{
  opacity: 1 !important;   /* always visible, even if JS doesn't run */
  animation: showwords 1.2s ease forwards;
}
h1#bravada-article-title .caption-title-word span.cry-single{
  color: #fff !important;
}
h1#bravada-article-title .caption-title-word > span:nth-child(3n+1) span.cry-double.animated-letter{ color: #cfd8e3 !important; }
h1#bravada-article-title .caption-title-word > span:nth-child(3n+2) span.cry-double.animated-letter{ color: #5B92E5 !important; }
h1#bravada-article-title .caption-title-word > span:nth-child(3n)   span.cry-double.animated-letter{ color: #9ec5e8 !important; }

.article-hero__deck{
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-style: italic;
  line-height: 1.55;
  color: #f0f0f0;
  max-width: 60ch;
  margin: 0 0 1.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.article-hero__byline{
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  color: #e0e0e0;
}
.article-hero__byline .byline__sep{ margin: 0 0.6rem; opacity: 0.6; }
.article-hero__byline .byline__author{ font-weight: 700; color: #fff; }

/* BODY */
.article-body{
  max-width: 720px;
  margin: 0 auto 4rem;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.075rem;
  line-height: 1.85;
  color: #2a2a2a;
}
.article-body p{
  margin: 0 0 1.5em;
}
.article-body p.lead{
  font-size: 1.25rem;
  line-height: 1.7;
  color: #162521;
}
.article-body p.lead::first-letter{
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 4.2rem;
  line-height: 0.9;
  float: left;
  padding: 0.3rem 0.7rem 0 0;
  color: #1470af;
}
.article-body h2{
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  color: #162521;
  margin: 3rem 0 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid #1470af;
}
.article-body hr.section-divider{
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ccc, transparent);
  margin: 3rem auto;
  width: 60%;
}
.article-body blockquote.pullquote{
  position: relative;
  margin: 2.5rem -1rem;
  padding: 1.75rem 2rem 1.75rem 3.5rem;
  background: #f5f8fb;
  border-left: 5px solid #1470af;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: #162521;
  border-radius: 0 6px 6px 0;
}
.article-body blockquote.pullquote::before{
  content: "\201C";
  position: absolute;
  left: 0.8rem; top: -0.4rem;
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  line-height: 1;
  color: #1470af;
  opacity: 0.85;
}
.article-body blockquote.pullquote cite{
  display: block;
  margin-top: 1rem;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 500;
  color: #707070;
  letter-spacing: 0.02em;
}
.article-body p.signature{
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #707070;
  text-align: center;
}

/* TAGS */
.article-tags{
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin: 2.5rem 0 1.5rem;
}
.article-tags .tag{
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: #f0f4f8;
  color: #1470af;
  font-family: 'Roboto', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.article-tags .tag:hover{ background: #1470af; color: #fff; }

/* SHARE */
.article-share{
  display: flex; align-items: center; gap: 0.75rem;
  margin: 1.5rem 0 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.article-share .share-label{
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #707070;
  margin-right: 0.5rem;
}
.article-share a{
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #f0f4f8;
  color: #1470af;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.article-share a:hover{ background: #1470af; color: #fff; transform: translateY(-2px); }

/* RELATED ARTICLES */
.related-articles{
  background: #f5f8fb;
  padding: 4rem clamp(1.25rem, 4vw, 3rem);
  margin: 0;
}
.related-articles__title{
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #162521;
  text-align: center;
  margin: 0 0 2.5rem;
}
.related-articles__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}
.related-card{
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.related-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.related-card__media{
  width: 100%; aspect-ratio: 16 / 10;
  overflow: hidden; background: #e9eff5;
}
.related-card__media img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.related-card__body{
  padding: 1.25rem 1.5rem 1.75rem;
}
.related-card__cat{
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #1470af;
  margin-bottom: 0.6rem;
}
.related-card h3{
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #162521;
  margin: 0;
}

/* FOOTER */
/* READING PROGRESS BAR */
.reading-progress{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(0,0,0,0.08);
  z-index: 9999;
}
.reading-progress span{
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1470af, #5B92E5);
  transition: width 0.1s linear;
}

/* RESPONSIVE */
@media (max-width: 720px){
  .article-hero{ min-height: 60vh; }
  .article-hero__content{ padding: 2.5rem 1.25rem; }
  h1#bravada-article-title.animated-title{ font-size: clamp(1.5rem, 7vw, 2.4rem) !important; }
  .article-body{ font-size: 1rem; line-height: 1.75; }
  .article-body p.lead{ font-size: 1.1rem; }
  .article-body p.lead::first-letter{ font-size: 3.2rem; }
  .article-body blockquote.pullquote{
    margin: 2rem 0;
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    font-size: 1.1rem;
  }
}
/* Share buttons — icons */
.article-share{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin:2.5rem 0 1.5rem;padding-top:1.5rem;border-top:1px solid rgba(0,0,0,.08);}
.article-share .share-label{font-family:'Roboto',sans-serif;font-size:.85rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#555;margin-right:.5rem;}
.article-share .share-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#1470af;color:#fff;text-decoration:none;transition:transform .2s ease,background .2s ease;}
.article-share .share-btn:hover{transform:translateY(-2px);background:#0e5a87;}
.article-share .share-btn svg{display:block;}
.article-share .share-btn--x{background:#000;}
.article-share .share-btn--x:hover{background:#333;}
.article-share .share-btn--fb{background:#1877f2;}
.article-share .share-btn--fb:hover{background:#0d5fbf;}
.article-share .share-btn--li{background:#0a66c2;}
.article-share .share-btn--li:hover{background:#074a8f;}
.article-share .share-btn--mail{background:#555;}
.article-share .share-btn--mail:hover{background:#333;}
.article-hero__title,
.article-hero__title .caption-title-word,
.article-hero__title .caption-title-word > span {
  opacity: 1 !important;
  visibility: visible !important;
}
.article-hero__title .caption-title-word {
  display: inline-block;
  margin-right: 0.3em;
}
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.article-share__label {
  font-weight: 600;
  margin-right: 8px;
  font-size: 0.95rem;
  color: #333;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
  flex-shrink: 0;
}
.share-btn:hover { transform: translateY(-2px); opacity: .9; }
.share-btn svg { width: 18px; height: 18px; display: block; }
.share-btn--x    { background: #000; }
.share-btn--fb   { background: #1877f2; }
.share-btn--li   { background: #0a66c2; }
.share-btn--mail { background: #d93025; }
.related-articles {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.related-articles__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #c8102e;
  padding-bottom: .5rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.related-card__cat {
  display: block;
  padding: .75rem 1rem 0;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #c8102e;
  font-weight: 700;
}
.related-card__title {
  display: block;
  padding: .5rem 1rem 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #1a1a1a;
}
/* ============================================================
   FIX MOBILE DÉFINITIF — header, menu burger, titre Bravada
   (DOIT rester en toute fin de fichier)
   ============================================================ */
@media (max-width: 768px){

  /* --- MENU fermé : hors écran, fond opaque garanti --- */
  body nav#primary-nav.site-nav,
  body .site-nav{
    position: fixed !important;
    top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
    width: 100vw !important; max-width: 100vw !important;
    height: 100vh !important;
    transform: translateX(100%) !important;
    visibility: hidden !important;
    background-color: #ffffff !important;     /* fond opaque garanti */
    background-image: none !important;
    opacity: 1 !important;
    padding: 0 !important;
    z-index: 99999 !important;                /* au-dessus de TOUT, même le hero */
    overflow-y: auto !important;
    transition: transform .35s ease, visibility .35s ease !important;
    -webkit-overflow-scrolling: touch;
  }

  /* --- MENU ouvert --- */
  body nav#primary-nav.site-nav.is-open,
  body .site-nav.is-open{
    transform: translateX(0) !important;
    visibility: visible !important;
  }

  /* Liste : items empilés, alignés à gauche, séparés par des filets */
  .site-nav ul{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 5.5rem 0 2rem !important;       /* espace en haut pour le X */
    list-style: none !important;
  }
  .site-nav li{
    border-bottom: 1px solid #ececec !important;
  }
  .site-nav a{
    display: block !important;
    color: #162521 !important;               /* texte foncé sur fond blanc */
    font-family: 'Playfair Display', serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    padding: 1.1rem 1.5rem !important;
    text-align: left !important;
    white-space: nowrap !important;
  }
  .site-nav a.is-current,
  .site-nav a:hover{
    color: var(--accent-1, #1470af) !important;
    background: #f5f8fb !important;
  }

  /* --- BURGER → devient le X en haut à droite --- */
  .site-header__burger{
    display: flex !important;
    position: relative !important;
    z-index: 1003 !important;
  }
  .site-header__burger[aria-expanded="true"]{
    position: fixed !important;
    top: 1.4rem !important;
    right: 1.4rem !important;
    z-index: 100001 !important;              /* au-dessus du menu (99999) */
    display: flex !important;
  }
  .site-header__burger[aria-expanded="true"] span{
    background: #162521 !important;          /* X foncé, visible sur fond blanc */
  }

  /* --- TITRE BRAVADA : on désactive le dédoublement, lettres simples lisibles --- */
  .animated-title .cry-double, .bravada-title .cry-double{
    display: none !important; opacity: 0 !important; animation: none !important;
  }
  .animated-title .cry-single, .bravada-title .cry-single{
    position: static !important; opacity: 1 !important;
  }
  .animated-title .caption-title-word > span{
    opacity: 1 !important; animation: none !important;
  }

   /* --- ANIMATION MOBILE : révélation premium des lettres --- */
  .animated-title .cry-single,
  .bravada-title  .cry-single{
    animation: mobileReveal 1.2s ease-out both !important;
  }
  .animated-title .caption-title-word > span:nth-child(1)  .cry-single{ animation-delay: 0s   !important; }
  .animated-title .caption-title-word > span:nth-child(2)  .cry-single{ animation-delay: .1s  !important; }
  .animated-title .caption-title-word > span:nth-child(3)  .cry-single{ animation-delay: .2s  !important; }
  .animated-title .caption-title-word > span:nth-child(4)  .cry-single{ animation-delay: .3s  !important; }
  .animated-title .caption-title-word > span:nth-child(5)  .cry-single{ animation-delay: .4s  !important; }
  .animated-title .caption-title-word > span:nth-child(6)  .cry-single{ animation-delay: .5s  !important; }
  .animated-title .caption-title-word > span:nth-child(7)  .cry-single{ animation-delay: .6s  !important; }
  .animated-title .caption-title-word > span:nth-child(8)  .cry-single{ animation-delay: .7s  !important; }
  .animated-title .caption-title-word > span:nth-child(9)  .cry-single{ animation-delay: .8s  !important; }

  html, body{ overflow-x: hidden !important; }
}

/* --- Keyframe de l'animation mobile (HORS media query) --- */
@keyframes mobileReveal{
  0%   { opacity: 0; transform: translateY(14px); filter: blur(4px); letter-spacing: .08em; }
  60%  { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); letter-spacing: normal; }
}


/* --- Anti-débordement horizontal — verrou global robuste --- */
html{
  overflow-x: hidden !important;
  max-width: 100%;
}
body{
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
}
.bilan-news, .praise, .slider-section, .pre-footer, .pre-footer--inline,
.title-band, .about-award, .programmes, main#main,
.news3d, .praise3d, .news3d__stage, .praise3d__stage{
  overflow-x: clip !important;
  max-width: 100% !important;
}
/* ============================================================
   ARTICLE PAGES — header toujours blanc opaque
   ============================================================ */
.article-page .site-header,
.article-page .site-header[data-theme="transparent"]{
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 12px rgba(8,65,92,.08);
  border-bottom: 1px solid rgba(20,112,175,.08);
}
.article-page .site-header .site-nav a,
.article-page .site-header .submenu-toggle{
  color: var(--heading) !important;
}
.article-page .site-header .site-header__burger span{
  background: var(--heading) !important;
}
/* Le hero article démarre sous le header fixe */
.article-page .article-hero{
  padding-top: var(--header-h) !important;
}
/* ============================================================
   BRAVADA TITLE — VERSION UNIFIÉE (remplace tous les blocs
   précédents ciblant h1#bravada-article-title / .article-hero__title)
   DOIT RESTER EN TOUT DERNIER DANS LE FICHIER
   ============================================================ */

/* Sécurité : le titre et ses enfants sont toujours visibles,
   même si le JS d'animation ne se déclenche pas */
.article-hero__title,
.article-hero__title .caption-title-word,
.article-hero__title .caption-title-word > span{
  opacity: 1 !important;
  visibility: visible !important;
}

/* Structure des deux variantes de lettre */
h1#bravada-article-title .caption-title-word span.cry-single{
  position: relative;
  display: inline-block;
  color: #fff;
  transition: color .5s ease-out;
}
h1#bravada-article-title .caption-title-word span.cry-double{
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  display: inline-block;
  transition: color .5s ease-out;
}

/* Palette finale (celle qui est actuellement appliquée) */
h1#bravada-article-title .caption-title-word > span:nth-child(3n+1) span.cry-double.animated-letter{ color:#cfd8e3 !important; }
h1#bravada-article-title .caption-title-word > span:nth-child(3n+2) span.cry-double.animated-letter{ color:#5B92E5 !important; }
h1#bravada-article-title .caption-title-word > span:nth-child(3n)   span.cry-double.animated-letter{ color:#9ec5e8 !important; }

/* Timings et animations de base (inchangés) */
h1#bravada-article-title .caption-title-word > span:nth-child(n){ animation-duration: 1.2s; }
h1#bravada-article-title .caption-title-word > span:nth-child(2n){ animation-duration: .4s; }
h1#bravada-article-title .caption-title-word > span:nth-child(3n){ animation-duration: 2.8s; }
h1#bravada-article-title .caption-title-word > span:nth-child(4n){ animation-duration: .8s; }
h1#bravada-article-title .caption-title-word > span:nth-child(5n){ animation-duration: 3.6s; }

h1#bravada-article-title .caption-title-word > span:nth-child(n) span.cry-single.animated-letter{ animation: 1.5s .25s animation-slideLeftHide ease-in-out forwards; }
h1#bravada-article-title .caption-title-word > span:nth-child(2n) span.cry-single.animated-letter{ animation: 1.5s .25s animation-slideRightHide ease-in-out forwards; }
h1#bravada-article-title .caption-title-word > span:nth-child(n) span.cry-double.animated-letter{ animation: 1s animation-slideRightShow ease-in-out forwards; }
h1#bravada-article-title .caption-title-word > span:nth-child(2n) span.cry-double.animated-letter{ animation: 1s animation-slideLeftShow ease-in-out forwards; }

/* ============================================================
   FIX — Espacement excessif entre les mots des titres animés
   (le mot ET le séparateur d'espace recevaient chacun un
   margin-right de 0.3em, en plus de l'espace insécable déjà
   présent dans le séparateur → double, voire triple espacement)
   DOIT RESTER TOUT À LA FIN DU FICHIER
   ============================================================ */
h1.animated-title .caption-title-word{
  margin-right: 0 !important;
}
h1.animated-title .caption-title-word--space{
  display: inline-block !important;
  width: 0.28em !important;      /* largeur contrôlée de l'espace entre les mots */
  margin-right: 0 !important;
  overflow: hidden;
}
@media (max-width: 720px){
  h1.animated-title .caption-title-word--space{
    width: 0.22em !important;
  }
}
