/* ═══════════════════════════════════════════════════════════════════════════
   FRBTP Guyane - VAGUE 2E - Actualites (archive mosaique/lettrine + article single)
   Scope : templates chargés par home.php (archive /actualites/) et templates/single-post.php
   Propriété exclusive de vague-2e. Ne redéfinit AUCUNE variable globale (--v2e-* namespaced).
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Tokens namespacés direction "FRBTP Clair" (voir .claude/rebranding/direction-clair/TOKENS.md)
     Prefixe --v2e- : zéro collision possible avec variables.css (propriété Vague 1A). */
  --v2e-bg:          #FFFFFF;
  --v2e-bg-2:        #F4F6FA;
  --v2e-bg-blue-tint:#E8EEF7;
  --v2e-ink:         #16202E;
  --v2e-muted:       #5A6675;
  --v2e-blue:        #04449B;
  --v2e-blue-deep:   #033475;
  --v2e-blue-line:   #CFE0F2;
  --v2e-orange:      #F39719;
  --v2e-orange-fill: #B5540A;
  --v2e-orange-text: #9A4A08;
  --v2e-line:        #E4E8EF;
  --v2e-shadow-card: 0 1px 0 #E4E8EF, 0 22px 40px -30px rgba(22,32,46,.22);
  --v2e-ease:        cubic-bezier(.22,.61,.36,1);
  --v2e-section-y:   6.5rem;
  --v2e-section-y-mobile: 3rem;
  --v2e-font-display: 'Satoshi', Corbel, 'Segoe UI', system-ui, -apple-system, sans-serif;
  --v2e-font-num:     'Satoshi', Bahnschrift, 'Segoe UI', sans-serif;
}

/* ── Chamfer signature (remplace le border-radius gadget) ─────────────────── */
.frbtp-actu-card,
.frbtp-actu-featured,
.frbtp-actu-sidebar__block,
.frbtp-article-callout,
.frbtp-actu-search__box {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

/* ── Hero Actualités ────────────────────────────────────────────────────────── */
.frbtp-actu-hero {
  background: linear-gradient(180deg, var(--v2e-bg-2) 0%, var(--v2e-bg) 100%);
  padding: var(--v2e-section-y) 0 var(--space-10);
  border-bottom: 1px solid var(--v2e-line);
}
.frbtp-actu-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--v2e-font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v2e-blue);
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-2);
}
.frbtp-actu-hero__kicker::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 42px; height: 3px;
  background: var(--v2e-orange);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.7s var(--v2e-ease);
}
.frbtp-actu-hero.is-visible .frbtp-actu-hero__kicker::after { transform: scaleX(1); }
.frbtp-actu-hero__title {
  font-family: var(--v2e-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.875rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--v2e-ink);
  margin: 0 0 var(--space-4);
  max-width: 20ch;
}
.frbtp-actu-hero__subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--v2e-muted);
  max-width: 58ch;
  margin: 0;
}

/* ── Layout : sidebar gauche + contenu (ACT2) ──────────────────────────────── */
.frbtp-actu-layout { padding: var(--v2e-section-y) 0; }
.frbtp-actu-layout__grid {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: var(--space-12);
  align-items: start;
}

/* ── Sidebar ────────────────────────────────────────────────────────────────── */
.frbtp-actu-sidebar {
  position: sticky;
  top: calc(var(--space-16) + 16px);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.frbtp-actu-sidebar__block {
  background: var(--v2e-bg);
  border: 1px solid var(--v2e-line);
  box-shadow: var(--v2e-shadow-card);
  padding: var(--space-6);
}
.frbtp-actu-sidebar__label {
  font-family: var(--v2e-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v2e-muted);
  margin: 0 0 var(--space-4);
}

/* Search */
.frbtp-actu-search__box {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--v2e-line);
  background: var(--v2e-bg-2);
}
.frbtp-actu-search__box svg {
  position: absolute;
  left: var(--space-3);
  color: var(--v2e-muted);
  pointer-events: none;
}
.frbtp-actu-search__input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: var(--space-3) var(--space-3) var(--space-3) calc(var(--space-8) + 2px);
  font-size: 0.9375rem;
  color: var(--v2e-ink);
  outline: none;
}
.frbtp-actu-search__submit {
  border: 0;
  background: var(--v2e-blue);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  font-family: var(--v2e-font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s var(--v2e-ease);
}
.frbtp-actu-search__submit:hover { background: var(--v2e-blue-deep); }

/* Category list - espacee (ACT2) */
.frbtp-actu-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.frbtp-actu-cats__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid transparent;
  color: var(--v2e-ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  background: transparent;
  transition: background 0.2s var(--v2e-ease), border-color 0.2s var(--v2e-ease), color 0.2s var(--v2e-ease), transform 0.2s var(--v2e-ease);
}
.frbtp-actu-cats__link:hover {
  background: var(--v2e-bg-blue-tint);
  color: var(--v2e-blue-deep);
  text-decoration: none;
  transform: translateX(2px);
}
.frbtp-actu-cats__link.is-active {
  background: var(--v2e-bg-blue-tint);
  border-left-color: var(--v2e-blue);
  color: var(--v2e-blue-deep);
  font-weight: 700;
}
.frbtp-actu-cats__count {
  font-family: var(--v2e-font-num);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  color: var(--v2e-muted);
  background: var(--v2e-bg-2);
  border-radius: var(--radius-full);
  padding: 2px 8px;
}
.frbtp-actu-cats__link.is-active .frbtp-actu-cats__count { background: #fff; color: var(--v2e-blue); }

/* Mobile filter drawer trigger (sidebar devient un panneau sur petit écran) */
.frbtp-actu-filter-toggle { display: none; }

/* ── Résultats / meta ───────────────────────────────────────────────────────── */
.frbtp-actu-content__meta {
  font-size: 0.875rem;
  color: var(--v2e-muted);
  margin: 0 0 var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--v2e-line);
}
.frbtp-actu-content__meta strong { color: var(--v2e-ink); }

/* ── Featured "lettrine" (ACT3) ─────────────────────────────────────────────── */
.frbtp-actu-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--v2e-bg);
  border: 1px solid var(--v2e-line);
  box-shadow: var(--v2e-shadow-card);
  margin-bottom: var(--space-16);
  text-decoration: none;
  overflow: hidden;
}
.frbtp-actu-featured__media {
  position: relative;
  min-height: 340px;
  background: var(--v2e-blue);
  overflow: hidden;
}
.frbtp-actu-featured__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.1s var(--v2e-ease);
}
.frbtp-actu-featured:hover .frbtp-actu-featured__media img { transform: scale(1); }
.frbtp-actu-featured__media-reveal {
  position: absolute; inset: 0;
  background: var(--v2e-blue);
  transform-origin: right center;
  z-index: 2;
}
.frbtp-actu-featured.is-revealed .frbtp-actu-featured__media-reveal {
  animation: v2eMaskReveal 0.9s var(--v2e-ease) forwards;
}
@keyframes v2eMaskReveal { to { transform: scaleX(0); } }
.frbtp-actu-featured__badge {
  position: absolute;
  top: var(--space-5); left: var(--space-5);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--v2e-orange);
  color: var(--v2e-ink);
  font-family: var(--v2e-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-3);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.frbtp-actu-featured__body {
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.frbtp-actu-featured__cat {
  font-family: var(--v2e-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v2e-blue);
  margin-bottom: var(--space-3);
}
.frbtp-actu-featured__title {
  font-family: var(--v2e-font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--v2e-ink);
  margin: 0 0 var(--space-4);
}
.frbtp-actu-featured__title a { color: inherit; text-decoration: none; }
.frbtp-actu-featured__excerpt {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--v2e-muted);
  margin: 0 0 var(--space-6);
}
/* Lettrine - capitale ouvragee editoriale */
.frbtp-actu-featured__excerpt::first-letter {
  float: left;
  font-family: var(--v2e-font-display);
  font-size: 3.6em;
  font-weight: 700;
  line-height: 0.78;
  color: var(--v2e-blue);
  padding: 0.02em 0.08em 0 0;
}
.frbtp-actu-featured__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.875rem;
  color: var(--v2e-muted);
  margin-bottom: var(--space-6);
}
.frbtp-actu-featured__meta span { display: inline-flex; align-items: center; gap: 6px; }
.frbtp-actu-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  background: var(--v2e-blue);
  color: #fff;
  font-family: var(--v2e-font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: var(--space-3) var(--space-6);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: background 0.2s var(--v2e-ease), transform 0.2s var(--v2e-ease);
}
.frbtp-actu-featured__cta:hover { background: var(--v2e-blue-deep); transform: translateX(2px); color:#fff; text-decoration:none; }

/* ── Layout hero 2 lignes (Vague 4 - ACT point final, 2026-07-23) ──────────── */
/* Ligne 1 : featured (grand, 2 col) + normal (1 col) cote a cote
   Ligne 2 : 3 miniatures (1 col chacune) */
.frbtp-actu-grid-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}
.frbtp-actu-card--featured {
  grid-column: span 2;
  grid-row: 1;
}
.frbtp-actu-card--normal {
  grid-column: span 1;
  grid-row: 1;
}
.frbtp-actu-card--mini {
  grid-column: span 1;
  grid-row: 2;
}

/* Adaptations tailles selon variante */
.frbtp-actu-card--featured .frbtp-actu-card__media {
  aspect-ratio: 16/9;
}
.frbtp-actu-card--featured .frbtp-actu-card__title {
  font-size: 1.625rem;
  line-height: 1.2;
}
.frbtp-actu-card--featured .frbtp-actu-card__excerpt {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.frbtp-actu-card--normal .frbtp-actu-card__media {
  aspect-ratio: 4/3;
}
.frbtp-actu-card--normal .frbtp-actu-card__title {
  font-size: 1.25rem;
  line-height: 1.25;
}
.frbtp-actu-card--normal .frbtp-actu-card__excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.frbtp-actu-card--mini .frbtp-actu-card__media {
  aspect-ratio: 16/10;
}
.frbtp-actu-card--mini .frbtp-actu-card__title {
  font-size: 1rem;
  line-height: 1.3;
}
.frbtp-actu-card--mini .frbtp-actu-card__excerpt {
  font-size: 0.875rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Mosaïque (ACT3) ────────────────────────────────────────────────────────── */
.frbtp-actu-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: var(--space-6);
}
/* VAGUE 4 (2026-07-23) : grid-column: span 3 vivait ici, non scope, donc
   s'appliquait a TOUTE .frbtp-actu-card - y compris les cartes
   featured/normal/mini du nouveau layout .frbtp-actu-grid-hero (home.php),
   qui declarent leur PROPRE grid-column (span 2 / span 1 / span 1) plus
   haut dans ce fichier. Meme specificite (une classe) + cette regle plus
   bas dans le fichier => elle gagnait la cascade et cassait le layout 2
   lignes (trouve en QA visuelle navigateur reelle, pas en relisant le
   code). Remis a sa place : uniquement pour les cartes DANS .frbtp-actu-mosaic
   (single-post.php, grille 6 colonnes), sans toucher au reste du style de
   base (flex/fond/bordure/ombre/reveal) qui, lui, reste bien partage par
   toutes les .frbtp-actu-card. */
.frbtp-actu-mosaic .frbtp-actu-card {
  grid-column: span 3;
}
.frbtp-actu-card {
  display: flex;
  flex-direction: column;
  background: var(--v2e-bg);
  border: 1px solid var(--v2e-line);
  border-left: 3px solid var(--v2e-blue);
  box-shadow: var(--v2e-shadow-card);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--v2e-ease), box-shadow 0.3s var(--v2e-ease);
  opacity: 0;
  transform: translateY(22px);
}
.frbtp-actu-card.v2e-in { opacity: 1; transform: translateY(0); }
.frbtp-actu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 #E4E8EF, 0 30px 46px -28px rgba(22,32,46,.3);
}
.frbtp-actu-mosaic .frbtp-actu-card--wide { grid-column: span 4; }
.frbtp-actu-mosaic .frbtp-actu-card--narrow { grid-column: span 2; }

.frbtp-actu-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--v2e-bg-2); }
.frbtp-actu-card--narrow .frbtp-actu-card__media { aspect-ratio: 4/3; }
.frbtp-actu-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--v2e-ease); }
.frbtp-actu-card:hover .frbtp-actu-card__media img { transform: scale(1.06); }
.frbtp-actu-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.75rem;
  background: var(--v2e-bg-blue-tint);
}
.frbtp-actu-card__category {
  position: absolute;
  top: var(--space-3); left: var(--space-3);
  background: var(--v2e-orange);
  color: var(--v2e-ink);
  font-family: var(--v2e-font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}
.frbtp-actu-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.frbtp-actu-card__meta {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: 0.8125rem; color: var(--v2e-muted);
}
.frbtp-actu-card__meta svg { flex-shrink: 0; }
.frbtp-actu-card__title {
  font-family: var(--v2e-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--v2e-ink);
  margin: 0;
}
.frbtp-actu-card--wide .frbtp-actu-card__title { font-size: 1.3125rem; }
.frbtp-actu-card__excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--v2e-muted);
  margin: 0;
  flex: 1;
}
.frbtp-actu-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px solid var(--v2e-line);
  font-size: 0.8125rem;
}
.frbtp-actu-card__author { display: flex; align-items: center; gap: var(--space-2); color: var(--v2e-muted); }
.frbtp-actu-card__avatar { border-radius: var(--radius-full); }
.frbtp-actu-card__more { color: var(--v2e-blue-deep); font-weight: 700; }

/* ── Pagination ─────────────────────────────────────────────────────────────── */
.frbtp-actu-pagination { margin-top: var(--v2e-section-y); }
.frbtp-actu-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; justify-content: center; }
.frbtp-actu-pagination a, .frbtp-actu-pagination span.current {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 var(--space-3);
  border: 1px solid var(--v2e-line);
  color: var(--v2e-ink);
  font-family: var(--v2e-font-num);
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s var(--v2e-ease), color 0.2s var(--v2e-ease), border-color 0.2s var(--v2e-ease);
}
.frbtp-actu-pagination a:hover { background: var(--v2e-bg-blue-tint); border-color: var(--v2e-blue-line); text-decoration:none; }
.frbtp-actu-pagination span.current { background: var(--v2e-blue); border-color: var(--v2e-blue); color: #fff; font-weight: 700; }

/* ── Empty state ────────────────────────────────────────────────────────────── */
.frbtp-actu-empty {
  text-align: center;
  padding: var(--space-20) var(--space-6);
  background: var(--v2e-bg-2);
  border: 1px dashed var(--v2e-line);
}
.frbtp-actu-empty h2 { font-family: var(--v2e-font-display); color: var(--v2e-ink); margin: var(--space-4) 0 var(--space-2); }
.frbtp-actu-empty p { color: var(--v2e-muted); margin: 0 0 var(--space-6); }

/* ── Reveal utility (JS ajoute .v2e-in) ─────────────────────────────────────── */
.v2e-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--v2e-ease), transform 0.7s var(--v2e-ease); }
.v2e-reveal.v2e-in { opacity: 1; transform: translateY(0); }

/* Word reveal stagger (signature 1D-D1, animation 1) */
[data-v2e-split] { overflow: hidden; }
.v2e-word { display: inline-block; overflow: hidden; vertical-align: top; }
.v2e-word-inner {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.9s var(--v2e-ease);
  will-change: transform;
}
.v2e-word-inner.v2e-word-in { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .v2e-reveal, .frbtp-actu-card, .frbtp-actu-featured__media-reveal, .v2e-word-inner { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ACT4 - Article single, editorial premium
   ═══════════════════════════════════════════════════════════════════════════ */
.frbtp-article-premium { background: var(--v2e-bg); }

.frbtp-article-premium .frbtp-breadcrumb {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--v2e-line);
  background: var(--v2e-bg-2);
}
.frbtp-article-premium .frbtp-breadcrumb__list {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  margin: 0; padding: 0; font-size: 0.8125rem; color: var(--v2e-muted);
}
.frbtp-article-premium .frbtp-breadcrumb__list a { color: var(--v2e-muted); text-decoration: none; }
.frbtp-article-premium .frbtp-breadcrumb__list a:hover { color: var(--v2e-blue-deep); }
.frbtp-article-premium .frbtp-breadcrumb__list li:not(:last-child)::after { content: '/'; margin-left: var(--space-2); color: var(--v2e-line); }

.frbtp-article-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background: var(--v2e-blue);
  overflow: hidden;
}
.frbtp-article-hero__media { position: absolute; inset: 0; }
.frbtp-article-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.frbtp-article-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,68,155,.35) 0%, rgba(3,52,117,.92) 100%);
}
.frbtp-article-hero__content { position: relative; z-index: 2; padding: var(--space-16) 0 var(--space-10); width: 100%; }
.frbtp-article-hero__badges { display: flex; gap: var(--space-2); margin-bottom: var(--space-5); flex-wrap: wrap; }
.frbtp-article-hero__badges a {
  background: var(--v2e-orange); color: var(--v2e-ink);
  font-family: var(--v2e-font-display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
}
.frbtp-article-hero__title {
  font-family: var(--v2e-font-display);
  font-size: clamp(1.875rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
  max-width: 20ch;
  margin: 0 0 var(--space-6);
}
.frbtp-article-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5);
  color: #DCE6F5; font-size: 0.9375rem;
}
.frbtp-article-hero__meta .frbtp-card__author { display: flex; align-items: center; gap: var(--space-2); }
.frbtp-article-hero__meta .frbtp-card__avatar { border-radius: var(--radius-full); border: 2px solid rgba(255,255,255,.5); }

/* Corps de lecture */
.frbtp-article-body { padding: var(--space-16) 0; }
.frbtp-article-body__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 240px;
  gap: var(--space-16);
  align-items: start;
}
.frbtp-article-toc {
  position: sticky;
  top: calc(var(--space-16) + 16px);
  border-left: 3px solid var(--v2e-blue-line);
  padding-left: var(--space-5);
}
.frbtp-article-toc__label {
  font-family: var(--v2e-font-display);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--v2e-muted); margin: 0 0 var(--space-4);
}
.frbtp-article-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); counter-reset: v2e-toc; }
.frbtp-article-toc li { counter-increment: v2e-toc; }
.frbtp-article-toc a {
  display: flex; gap: var(--space-2);
  font-size: 0.875rem; color: var(--v2e-ink); text-decoration: none; line-height: 1.4;
}
/* Numerotation limitee au sommaire (ol) : le selecteur large numerotait
   AUSSI les boutons de partage de l'aside (les "02" parasites, T2E-1). */
.frbtp-article-toc ol a::before {
  content: counter(v2e-toc, decimal-leading-zero);
  font-family: var(--v2e-font-num); color: var(--v2e-blue); font-weight: 700; flex-shrink: 0;
}
.frbtp-article-toc a:hover { color: var(--v2e-blue-deep); }
.frbtp-article-toc-share { display: flex; gap: var(--space-2); margin-top: var(--space-6); }

.frbtp-article-prose {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--v2e-ink);
  max-width: 72ch;
}
.frbtp-article-prose > *:first-child { margin-top: 0; }
.frbtp-article-prose p { margin: 0 0 var(--space-6); }
.frbtp-article-prose h2 {
  font-family: var(--v2e-font-display);
  font-size: 1.625rem; font-weight: 700; letter-spacing: -0.01em;
  color: var(--v2e-ink); margin: var(--space-12) 0 var(--space-5);
  padding-top: var(--space-2);
  border-top: 1px solid var(--v2e-line);
}
.frbtp-article-prose h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.frbtp-article-prose h3 {
  font-family: var(--v2e-font-display);
  font-size: 1.25rem; font-weight: 700;
  color: var(--v2e-ink); margin: var(--space-8) 0 var(--space-4);
}
.frbtp-article-prose ul, .frbtp-article-prose ol { margin: 0 0 var(--space-6); padding-left: 1.4em; }
.frbtp-article-prose li { margin-bottom: var(--space-2); }
.frbtp-article-prose a { color: var(--v2e-blue-deep); text-decoration-color: var(--v2e-blue-line); text-underline-offset: 3px; }
.frbtp-article-prose img { max-width: 100%; height: auto; margin: var(--space-8) 0; }
.frbtp-article-prose figure { margin: var(--space-8) 0; }
.frbtp-article-prose figcaption { font-size: 0.875rem; color: var(--v2e-muted); text-align: center; margin-top: var(--space-3); }
.frbtp-article-prose blockquote {
  margin: var(--space-8) 0;
  padding: var(--space-6) var(--space-8);
  background: var(--v2e-bg-2);
  border-left: 3px solid var(--v2e-orange);
  font-family: var(--v2e-font-display);
  font-size: 1.25rem;
  font-style: normal;
  color: var(--v2e-ink);
}

/* Encadre editorial (callout) - la premiere lettre du premier paragraphe en lettrine si l'article le permet */
.frbtp-article-prose > p:first-of-type::first-letter {
  float: left;
  font-family: var(--v2e-font-display);
  font-size: 3.4em;
  font-weight: 700;
  line-height: 0.78;
  color: var(--v2e-blue);
  padding: 0.02em 0.09em 0 0;
}

.frbtp-article-callout {
  background: var(--v2e-bg-blue-tint);
  border: 1px solid var(--v2e-blue-line);
  padding: var(--space-6);
  margin: var(--space-8) 0;
  display: flex;
  gap: var(--space-4);
}
.frbtp-article-callout__icon { flex-shrink: 0; color: var(--v2e-blue); }
.frbtp-article-callout__title { font-family: var(--v2e-font-display); font-weight: 700; color: var(--v2e-ink); margin: 0 0 var(--space-2); }
.frbtp-article-callout p { margin: 0; color: var(--v2e-ink); font-size: 1rem; }

.frbtp-article-reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--v2e-orange); z-index: var(--z-sticky, 200);
  transition: width 0.1s linear;
}

/* ── Responsive : sidebar -> filtre horizontal sur mobile ─────────────────────── */
@media (max-width: 960px) {
  .frbtp-actu-layout__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .frbtp-actu-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .frbtp-actu-sidebar__block { flex: 1 1 260px; }
  .frbtp-actu-featured { grid-template-columns: 1fr; }
  .frbtp-actu-featured__media { min-height: 220px; }
  .frbtp-article-body__grid { grid-template-columns: 1fr; }
  .frbtp-article-toc { position: static; border-left: 0; border-top: 3px solid var(--v2e-blue-line); padding-left: 0; padding-top: var(--space-5); order: 2; }
  /* Layout hero : passe en 2 colonnes sur tablette */
  .frbtp-actu-grid-hero { grid-template-columns: repeat(2, 1fr); }
  .frbtp-actu-card--featured { grid-column: span 2; }
  .frbtp-actu-card--normal { grid-column: span 2; grid-row: 2; }
  .frbtp-actu-card--mini { grid-column: span 1; grid-row: auto; }
}
@media (max-width: 767px) {
  .frbtp-actu-hero, .frbtp-actu-layout { padding-top: var(--v2e-section-y-mobile); padding-bottom: var(--v2e-section-y-mobile); }
  .frbtp-actu-mosaic { grid-template-columns: 1fr; }
  .frbtp-actu-mosaic .frbtp-actu-card,
  .frbtp-actu-mosaic .frbtp-actu-card--wide,
  .frbtp-actu-mosaic .frbtp-actu-card--narrow { grid-column: span 1; }
  .frbtp-actu-sidebar { flex-direction: column; }
  .frbtp-article-hero { min-height: 320px; }
  .frbtp-article-body__grid { gap: var(--space-10); }
  /* Layout hero : tout en 1 colonne sur mobile */
  .frbtp-actu-grid-hero { grid-template-columns: 1fr; }
  .frbtp-actu-card--featured,
  .frbtp-actu-card--normal,
  .frbtp-actu-card--mini { grid-column: span 1; grid-row: auto; }
  /* Sur mobile, ramener toutes les cards a une taille homogene */
  .frbtp-actu-card--featured .frbtp-actu-card__media,
  .frbtp-actu-card--normal .frbtp-actu-card__media,
  .frbtp-actu-card--mini .frbtp-actu-card__media { aspect-ratio: 16/10; }
  .frbtp-actu-card--featured .frbtp-actu-card__title,
  .frbtp-actu-card--normal .frbtp-actu-card__title { font-size: 1.125rem; }
  .frbtp-actu-card--mini .frbtp-actu-card__title { font-size: 1rem; }
}

/* T2E-2 (verif globale 2026-07-23) : les Articles similaires reutilisaient
   .frbtp-actu-mosaic avec un grid-template inline 3 colonnes -> cards
   ecrasees (~100px) sur mobile. Classe dediee, empilement sous 900px.
   (Ne pas re-brancher sur .frbtp-actu-mosaic : sa regle span 3 re-scopee
   sert le layout 2+3 de la home, voir note anti-collision.) */
.frbtp-actu-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) { .frbtp-actu-related { grid-template-columns: 1fr; } }
