/* ═══════════════════════════════════════════════════════════════════════
   Randozone — Bootstrap 5 custom styles
   Tokens + Header + Footer + Layout 3 colonnes
   Pas de SCSS — valeurs réelles uniquement.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --rz-blue:          #1f7fc2;
  --rz-beige:         #ece2c8;
  --rz-beige-hover:   #e4d8ba;
  --rz-beige-active:  #ddd0ac;
  --rz-brown:         #6d5c4e;
  --rz-text:          #463d33;
  --rz-icon:          #312a22;
  --rz-sub:           #5a4a37;
  --rz-page:          #f6f6f5;
  --rz-dd-hover:      #f0efec;
  --rz-border:        #cfcabd;
  --rz-ink:           #3c3228;
  --rz-inksoft:       #6d5e4a;
  --rz-primary:       #1a6ab0;
  /* Surfaces generiques */
  --rz-surface:       #fff;
  --rz-surface-2:     #f0efec;
  /* Footer */
  --rz-s-bg:          #e8e0d0;
  --rz-s-panel:       #f2ecdf;
  --rz-s-ink:         #2e271e;
  --rz-s-muted:       #6d6051;
  --rz-s-head:        #5a4a36;
  --rz-s-rule:        #d6cab4;
  --rz-s-accent:      #b0683a;
  --rz-s-link:        #3f6593;
  --rz-s-bar:         #4a4036;
  --rz-s-barink:      #e7ddcc;

  /* ── Échelle primaire (contenu de page) ── */
  --rz-primary-dark:  #155d97;
  --rz-primary-bg:    color-mix(in oklch, var(--rz-primary) 8%,  white);
  --rz-primary-line:  color-mix(in oklch, var(--rz-primary) 20%, white);
  --rz-primary-hair:  color-mix(in oklch, var(--rz-primary) 38%, white);

  /* ── Sémantique difficulté / statut (fond clair + encre lisible) ── */
  --rz-easy:   #1f5d3c;  --rz-easy-bg:  #edf6f0;
  --rz-amber:  #8a5a14;  --rz-amber-bg: #fbf1df;
  --rz-hard:   #a3402c;  --rz-hard-bg:  #f8e6e2;
  --rz-danger: #dc3545;

  /* ── Ombres & voiles (bases uniques) ── */
  --rz-shadow-card: rgba(20,40,80,.5);
  --rz-veil-rgb:    8, 16, 28;
}

/* ── Icône SVG sprite (rz-icons.svg + sprite inline header) ── */
.rz-ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* ── Surtitre de section ── */
.eyebrow {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rz-inksoft);
  margin-bottom: .75rem;
}

/* ── Callouts (info / warn / tip) ── */
.callout {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--rz-border);
  background: var(--rz-surface);
}
.callout p { margin: 0; }
.callout .ci { flex-shrink:0; width:34px; height:34px; border-radius:9px; display:grid; place-items:center; font-size:1rem; }
.callout .ct { font-weight:700; font-size:.9rem; margin-bottom:.15rem; color:var(--rz-ink); }
.callout .cb { font-size:.88rem; color:var(--rz-inksoft); line-height:1.5; }
.callout.info { background:color-mix(in oklch,var(--rz-blue) 6%,white); border-color:color-mix(in oklch,var(--rz-blue) 22%,white); }
.callout.info .ci { background:color-mix(in oklch,var(--rz-blue) 14%,white); color:var(--rz-primary); }

/* ── Reset / base ── */
body { background-color: var(--rz-page); overflow-x: hidden; }
a    { color: var(--rz-primary); }
a:hover { color: var(--rz-s-accent); }

/* Empêche les blocs pub de créer un scroll horizontal (mobile).
   Le CSS de cadrage des régies (AdMySports .ams-ad, Google GAM .gam) vit dans les
   feuilles legacy BS3 (theme-rz*.css), non chargées en BS5 — sans ça l'iframe injectée
   déborde à droite. */
ins.adsbygoogle { max-width: 100% !important; }
.ams-ad, .gam { max-width: 100%; overflow: hidden; text-align: center; }
.ams-ad iframe, .gam iframe { max-width: 100% !important; }
/* Réserve la hauteur (anti-layout-shift) + 20px sous les blocs rectangulaires (milieu / sidebar) */
#randozone_hm, #randozone_vt { min-height: 250px; margin-bottom: 20px; }
/* Bloc pub d'en-tête : aligné sur le contenu (via .rz-container dans le header)
   + 20px au-dessus/dessous pour ne pas coller au sous-menu (desktop & mobile). */
.rz-pub-top { min-height: 250px; margin-top: 20px; margin-bottom: 20px; max-width: 100%; overflow: hidden; }
.rz-pub-top:empty { display: none; min-height: 0; } /* pub désactivée → pas d'espace réservé */

/* ── Container ── */
.rz-container {
  width: 100%;
  max-width: 1280px; /* contenu = 1200px à ≥981px (2,5rem de padding) — largeur des pubs/photos larges */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 576px) {
  .rz-container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 992px) {
  .rz-container { padding-left: 2.5rem; padding-right: 2.5rem; }
}

/* ══════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════ */
.rz-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  border-top: 3px solid var(--rz-blue);
}

/* ── Barre logo desktop ── */
.rz-header-top {
  display: none;
}
@media (min-width: 992px) {
  .rz-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 135px;
    position: relative;
  }
}

/* Nav links gauche / droite */
.rz-nav-group {
  display: flex;
  align-items: center;
  gap: 1.75rem; /* 28px */
}
.rz-nav-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem; /* 8px icône ↔ texte */
  padding: 0.35rem 0.4rem;
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  line-height: 1;
  color: var(--rz-text);
  text-decoration: none;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.rz-nav-link:hover {
  color: var(--rz-blue);
  background: var(--rz-dd-hover);
}
.rz-nav-ico {
  width: 1.25rem;  /* 20px */
  height: 1.25rem; /* 20px */
  flex-shrink: 0;
  fill: var(--rz-icon);
  transition: fill .15s;
}
.rz-nav-link:hover .rz-nav-ico { fill: var(--rz-blue); }

/* Logo centré (absolu) */
.rz-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  line-height: 0;
}
.rz-logo img {
  display: block;
  height: 118px;
  width: auto;
}

/* ── Barre menu beige (desktop) ── */
.rz-menubar {
  display: none;
  background: var(--rz-beige);
}
@media (min-width: 992px) { .rz-menubar { display: block; } }

.rz-menubar-inner {
  display: flex;
  align-items: stretch;
  min-height: 42px;
}
.rz-menubar-right {
  margin-left: auto;
  display: flex;
  align-items: stretch;
}

.rz-menu-link,
.rz-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rz-sub);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
  height: 100%;
}
.rz-menu-link:hover,
.rz-menu-btn:hover {
  background: var(--rz-beige-hover);
  color: var(--rz-text);
}
.rz-caret {
  width: 0.7rem;
  height: 0.7rem;
  fill: var(--rz-sub);
  transition: transform .2s;
}

/* Wrapper pour liens sans dropdown (assure la même hauteur/centrage que .rz-dd) */
.rz-menu-wrap {
  display: flex;
  align-items: stretch;
}

/* Dropdown */
.rz-dd { position: relative; display: flex; align-items: stretch; }
.rz-dd-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2000;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--rz-border);
  border-top: 3px solid var(--rz-blue);
  box-shadow: 0 4px 12px rgba(0,0,0,.10);
  padding: 0.25rem 0;
}
.rz-dd:hover .rz-dd-panel,
.rz-dd.open .rz-dd-panel { display: block; }

.rz-dd-item {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  color: var(--rz-text);
  text-decoration: none;
  transition: background .12s;
}
.rz-dd-item:hover {
  background: var(--rz-dd-hover);
  color: var(--rz-blue);
}

/* ── Mobile : barre compact ── */
.rz-header-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 1rem;
  background: var(--rz-beige);
}
@media (min-width: 992px) { .rz-header-mobile { display: none; } }

.rz-mobile-logo img {
  display: block;
  height: 54px;
  width: auto;
}
.rz-burger {
  width: 3rem;
  height: 42px;
  border: 1px solid #b7ab8c;
  border-radius: 5px;
  background: rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #4a4030;
  flex-shrink: 0;
}
.rz-burger svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

.rz-mobile-search {
  width: 3rem;
  height: 42px;
  border: 1px solid #b7ab8c;
  border-radius: 5px;
  background: rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rz-icon);
  text-decoration: none;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.rz-mobile-search:hover { background: rgba(255,255,255,.55); color: var(--rz-blue); }
.rz-mobile-search svg  { width: 1.25rem; height: 1.25rem; fill: currentColor; }

/* Drawer mobile */
.rz-drawer {
  background: #fff;
  border-top: 1px solid var(--rz-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.rz-drawer.open { max-height: 80vh; overflow-y: auto; }
@media (min-width: 992px) { .rz-drawer { display: none; } }

/* Accordéon mobile */
.rz-acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .85rem 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--rz-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rz-border);
  cursor: pointer;
  text-decoration: none;
  text-align: left;
}
.rz-acc-head:hover { background: var(--rz-dd-hover); }
.rz-acc-caret {
  width: .75rem;
  height: .75rem;
  fill: var(--rz-sub);
  transition: transform .2s;
  flex-shrink: 0;
}
.rz-acc.open .rz-acc-caret { transform: rotate(180deg); }
.rz-acc-body {
  display: none;
  background: var(--rz-dd-hover);
  border-bottom: 1px solid var(--rz-border);
}
.rz-acc.open .rz-acc-body { display: block; }
.rz-acc-link {
  display: block;
  padding: .55rem 1.25rem .55rem 2rem;
  font-size: .85rem;
  color: var(--rz-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(207,202,189,.4);
}
.rz-acc-link:last-child { border-bottom: none; }
.rz-acc-link:hover { color: var(--rz-blue); }

/* ══════════════════════════════════════════════════════
   LAYOUT 3 COLONNES
   ══════════════════════════════════════════════════════ */
.rz-3col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
.rz-3col-toc { display: none; }
@media (min-width: 768px) {
  .rz-3col {
    grid-template-columns: 1fr 280px;
    grid-template-areas: "main side";
  }
  .rz-3col-main { grid-area: main; }
  .rz-3col-side { grid-area: side; }
}
@media (min-width: 992px) {
  .rz-3col {
    grid-template-columns: 200px 1fr 280px;
    grid-template-areas: "toc main side";
  }
  .rz-3col-toc { display: block; grid-area: toc; }
  .rz-3col-main { grid-area: main; }
  .rz-3col-side { grid-area: side; }
}

/* Layout 2 colonnes (contenu + sidebar) */
.rz-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  /* Sidebar fixée à 300px ; la colonne principale prend le reste.
     Elle ne rétrécit jamais en-dessous de 300px — c'est la colonne principale
     et la gouttière qui absorbent la réduction de largeur. */
  .rz-2col { grid-template-columns: 1fr 300px; }
}
/* À partir de ~1160px : contenu verrouillé à 750px (largeur des images
   éditoriales), large gouttière de 130px, sidebar entre 300px et 320px.
   À pleine largeur : 750 + 130 + 320 = 1200px.
   La sidebar ne descend jamais sous 300px (minmax(300px,…)) ;
   en-dessous de 1160px : main fluide (images en max-width:100%). */
@media (min-width: 1160px) {
  /* gap interpolé linéairement : 2rem à 1160px → 8.125rem à 1280px
     (la gouttière absorbe ~82 % du rétrécissement, la colonne gauche ~18 %) */
  .rz-2col {
    grid-template-columns: minmax(0, 750px) minmax(300px, 320px);
    gap: clamp(2rem, calc((100vw - 1160px) * 0.817 + 2rem), 8.125rem);
  }
}

/* Un enfant de grille a min-width:auto par défaut : il refuse de rétrécir sous la
   largeur intrinsèque de son contenu. Sans ça, un bloc large (pub/iframe AdSense dans
   l'aside, tableau, mot insécable) force sa colonne au-delà du viewport → débordement
   horizontal sur mobile. min-width:0 autorise la colonne à rétrécir et à clipper. */
.rz-2col > *, .rz-3col > * { min-width: 0; }

/* Fil d'Ariane */
.rz-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  color: var(--rz-inksoft);
  margin-bottom: 1rem;
}
.rz-breadcrumb a { color: var(--rz-inksoft); text-decoration: none; }
.rz-breadcrumb a:hover { color: var(--rz-primary); }
.rz-breadcrumb-sep {
  width: .6rem; height: .6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ══════════════════════════════════════════════════════
   FOOTER — variante Sentier
   ══════════════════════════════════════════════════════ */
.rz-footer {
  margin-top: 3rem;
  background: var(--rz-s-bg);
  color: var(--rz-s-ink);
}
.rz-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 52px 0 0;
}
@media (min-width: 576px) {
  .rz-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .rz-footer-grid { grid-template-columns: 1.9fr 1.25fr 1.2fr 1.45fr; }
}
.rz-ft-h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rz-s-head);
  margin-bottom: .875rem;
}
.rz-ft-h3-sm {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--rz-s-head);
  margin-bottom: .75rem;
}
.rz-ft-rule {
  display: inline-block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--rz-s-accent);
  flex-shrink: 0;
}
.rz-ft-nav-link {
  display: block;
  font-size: .84rem;
  color: var(--rz-s-link);
  text-decoration: none;
}
.rz-ft-nav-link:hover { color: var(--rz-s-accent); text-decoration: underline; }

.rz-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--rz-s-panel);
  border: 1px solid var(--rz-s-rule);
  color: var(--rz-s-ink);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.rz-social-btn:hover {
  background: var(--rz-s-accent);
  color: #fff;
  border-color: var(--rz-s-accent);
}

/* Footer — section alphabet villes */
.rz-alpha-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.rz-alpha-btn {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 6px;
  border: 1px solid var(--rz-s-rule);
  background: var(--rz-s-panel);
  font-size: 13px;
  font-weight: 600;
  color: var(--rz-s-head);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.rz-alpha-btn:hover {
  background: var(--rz-s-accent);
  color: #fff;
  border-color: var(--rz-s-accent);
}

/* Newsletter card */
.rz-newsletter {
  border-radius: 12px;
  border: 1px solid var(--rz-s-rule);
  background: var(--rz-s-panel);
  padding: 22px 22px 24px;
}

/* Footer divider section */
.rz-footer-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  border-top: 1px solid var(--rz-s-rule);
  padding: 30px 0 44px;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .rz-footer-bottom { grid-template-columns: 1fr 1fr; }
}

/* Barre légale */
.rz-footer-bar {
  background: var(--rz-s-bar);
  color: var(--rz-s-barink);
}
.rz-footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  padding: 1rem;
  font-size: 13.5px;
}
.rz-footer-bar a {
  color: #d9b48c;
  text-decoration: none;
}
.rz-footer-bar a:hover { color: #fff; }
.rz-footer-bar-sep { opacity: .45; }

/* ══════════════════════════════════════════════════════
   BLOC ACTUALITÉS (last-actus-images.php)
   ══════════════════════════════════════════════════════ */
.rz-more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--rz-primary);
  text-decoration: none;
  white-space: nowrap;
}
.rz-more:hover { color: var(--rz-blue); }

.rz-actus-band {
  margin-top: 4rem;
  margin-bottom: -3rem;
  background: var(--rz-surface-2);
  border-top: 1px solid var(--rz-border);
  border-bottom: 1px solid var(--rz-border);
}
.rz-actus { padding-top: 2.75rem; padding-bottom: 3rem; }
@media (min-width: 768px) {
  .rz-actus { padding-top: 3.5rem; padding-bottom: 3.75rem; }
}
.rz-actus-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.rz-actus h2 {
  font-weight: 600;
  letter-spacing: -.01em;
  font-size: 1.5rem;
  color: var(--rz-ink);
  margin: .375rem 0 0;
}
@media (min-width: 768px) { .rz-actus h2 { font-size: 1.75rem; } }
.rz-actus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 576px) { .rz-actus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .rz-actus-grid { grid-template-columns: repeat(4, 1fr); } }

.actu-card {
  display: flex;
  flex-direction: column;
  background: var(--rz-surface);
  border: 1px solid var(--rz-border);
  border-radius: 14px;
  padding: 1.05rem 1.1rem;
  text-decoration: none;
  transition: border-color .15s, box-shadow .18s, transform .18s;
}
.actu-card:hover {
  border-color: color-mix(in oklch, var(--rz-blue) 55%, white);
  box-shadow: 0 14px 34px -22px rgba(20,40,80,.55);
  transform: translateY(-2px);
}
.actu-card .meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: monospace;
  font-size: .66rem;
  color: var(--rz-inksoft);
  margin-bottom: .6rem;
}
.actu-card .meta .cat { color: var(--rz-primary); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.actu-card h3 {
  font-weight: 600;
  letter-spacing: -.01em;
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--rz-ink);
  margin: 0;
}
.actu-card:hover h3 { color: var(--rz-blue); }

.actu-card.has-img { padding: 0; overflow: hidden; }
.actu-card.has-img .im { display: block; overflow: hidden; border-bottom: 1px solid var(--rz-border); }
.actu-card.has-img .im img {
  display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .45s ease;
}
.actu-card.has-img:hover .im img { transform: scale(1.06); }
.actu-card.has-img .bd { display: block; padding: .9rem 1.1rem 1.1rem; }


/* ═══ Sidebar — composants partagés ═══ */
.sb-card { background:var(--rz-surface); border:1px solid var(--rz-border); border-radius:16px; overflow:hidden; }
.sb-head { display:flex; align-items:center; gap:.6rem; padding:.85rem 1.15rem; border-bottom:1px solid var(--rz-border); }
.sb-head .rz-ico { color:var(--rz-blue); width:18px; height:18px; }
.sb-head .t { font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--rz-ink); }
.sb-links { display:flex; flex-direction:column; max-height:440px; overflow-y:auto; }
.sb-links a { display:block; text-decoration:none; color:var(--rz-primary); font-size:.88rem;
  font-weight:500; line-height:1.4; padding:.65rem 1.15rem; border-top:1px solid var(--rz-border);
  transition:background .15s, color .15s; }
.sb-links a:first-child { border-top:none; }
.sb-links a:hover { background:color-mix(in oklch,var(--rz-blue) 6%,white); color:var(--rz-blue); }
.sb-links a.active { color:var(--rz-blue); font-weight:700;
  background:color-mix(in oklch,var(--rz-blue) 9%,white); border-left:3px solid var(--rz-blue); }
.sb-links .active-row { display:flex; align-items:center; gap:.45rem; padding:.65rem 1.15rem;
  border-top:1px solid var(--rz-border); font-size:.88rem; font-weight:700;
  color:var(--rz-blue); background:color-mix(in oklch,var(--rz-blue) 9%,white); border-left:3px solid var(--rz-blue); }
.sb-links .active-row:first-child { border-top:none; }
.sb-links .active-row .rz-ico { width:11px; height:11px; flex-shrink:0; }

/* .sb-promo — carte promo avec photo 16/9 */
.sb-card.sb-promo { display:block; text-decoration:none; }
.sb-promo .ph { overflow:hidden; }
.sb-promo .ph img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; transition:transform .45s ease; }
.sb-promo:hover .ph img { transform:scale(1.04); }
.sb-promo .pbody { padding:.9rem 1.1rem 1.1rem; }
.sb-promo .pt { font-family:'Work Sans',system-ui,sans-serif; font-weight:600; font-size:1rem; line-height:1.2; color:var(--rz-ink); }
.sb-promo:hover .pt { color:var(--rz-primary); }
.sb-promo .pd { font-size:.8rem; color:var(--rz-inksoft); line-height:1.45; margin-top:.3rem; }

/* .sb-doss — liste dossiers avec thumbnails */
.sb-card.sb-doss a { display:flex; align-items:center; gap:.75rem; padding:.65rem 1.1rem;
  border-top:1px solid var(--rz-border); text-decoration:none; transition:background .15s; }
.sb-card.sb-doss a:first-child { border-top:none; }
.sb-card.sb-doss a:hover { background:color-mix(in oklch,var(--rz-blue) 5%,white); }
.sb-card.sb-doss .th { width:56px; height:40px; border-radius:7px; flex-shrink:0; object-fit:cover; display:block; }
.sb-card.sb-doss .dt { font-size:.84rem; font-weight:600; color:var(--rz-ink); line-height:1.25; }
.sb-card.sb-doss a:hover .dt { color:var(--rz-primary); }

/* ═══ Barre de partage social (rzShareBar) ═══ */
.art-share { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem;
  margin:1.5rem 0; padding:.875rem 0;
  border-top:1px solid var(--rz-border); border-bottom:1px solid var(--rz-border);
  font-size:.875rem; }
.art-share-label { font-weight:600; margin-right:.25rem; }
.art-share-btn { display:inline-flex; align-items:center; justify-content:center;
  width:2rem; height:2rem; border:1px solid var(--rz-border);
  border-radius:.25rem; color:var(--rz-inksoft); text-decoration:none;
  background:none; padding:0; cursor:pointer; font:inherit;
  transition:border-color .12s, color .12s; }
.art-share-btn:hover { border-color:var(--rz-blue); color:var(--rz-blue); }
.art-share-btn.copied { border-color:var(--rz-blue); color:var(--rz-blue); }

/* ═══ Partial sb-facebook ═══ */
.sb-fb { display:flex; align-items:center; gap:.8rem; padding:1rem 1.15rem;
  text-decoration:none; background:#3B1F0E; color:#fff; border-radius:14px;
  transition:filter .15s; }
.sb-fb:hover { filter:brightness(1.1) }
.sb-fb .rz-ico { width:26px; height:26px; flex-shrink:0; color:#fff }
.sb-fb .l { font-size:.7rem; color:rgba(255,255,255,.7); letter-spacing:.04em }
.sb-fb .h { font-weight:700; font-size:1.02rem; line-height:1 }
.sb-fb .h .rz { color:oklch(0.78 0.09 230) }

/* ═══ Partial sources-preferees (source préférée Google) ═══ */
.rz-google-source {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1rem;
  background: var(--rz-surface);
  border: 1px solid var(--rz-border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .18s;
}
.rz-google-source:hover {
  border-color: color-mix(in oklch, var(--rz-primary) 40%, white);
  box-shadow: 0 4px 16px -4px rgba(20,40,80,.12);
}
.rz-google-source .rz-gs-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  flex: 1;
  min-width: 0;
}
.rz-google-source .rz-gs-text {
  font-size: .82rem;
  font-weight: 500;
  color: var(--rz-ink);
  line-height: 1.45;
}
.rz-google-source .rz-gs-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .74rem;
  font-weight: 700;
  color: var(--rz-ink);
  background: var(--rz-surface);
  border: 1px solid var(--rz-border);
  border-radius: 999px;
  padding: .15rem .52rem;
  white-space: nowrap;
  transition: background .15s;
}
.rz-google-source:hover .rz-gs-btn {
  background: var(--rz-surface-2);
}

/* ══════════════════════════════════════════════════════════════════
   HERO — FONDATION PARTAGÉE (chargée sur toutes les pages BS5)
   ------------------------------------------------------------------
   Deux familles de hero coexistent ; leur socle commun vit ici (une
   seule fois, mis en cache pour tout le site). Les fichiers de variante
   (hero1..5.css, hero-photo.css) ne contiennent QUE le style propre à
   chaque variante et s'appuient sur ce socle.

   • Système A — markup manuel, classes hv-* :
       .rz-hero-editorial (hero1), .rz-hero-topo (hero2),
       .rz-hero-split (hero3), .rz-hero-stats (hero4),
       .rz-hero-centered (hero5), .rz-hero-photo (hero-photo)
   • Système B — sortie de la fonction rzHero() :
       .rz-hero > (.rz-hero-topo svg, .rz-hero-inner > …, .stat-chip)
       → toutes les règles du Système B sont SCOPÉES sous .rz-hero pour
         éviter toute collision de noms avec le Système A.
   ══════════════════════════════════════════════════════════════════ */

/* ── Tokens hv-* (Système A) ── */
:root {
  --hv-ink:          var(--rz-ink);
  --hv-ink-soft:     var(--rz-inksoft);
  --hv-primary:      var(--rz-primary);
  --hv-primary-dark: #0f4f86;
  --hv-surface:      var(--rz-surface);
  --hv-surface-2:    var(--rz-surface-2);
  --hv-line:         var(--rz-border);
}

/* ── Helpers hv-* partagés (Système A) ── */
.hv-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--hv-primary);
}
.hv-eyebrow.pill {
  background: color-mix(in oklch, var(--hv-primary) 10%, white);
  border: 1px solid color-mix(in oklch, var(--hv-primary) 20%, white);
  border-radius: 999px; padding: .36rem .8rem;
}
.hv-title {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-weight: 700; letter-spacing: -.022em; line-height: 1.02;
  font-size: clamp(2.1rem, 4.6vw, 3rem);
  color: var(--hv-ink); margin: .7rem 0 0;
}
.hv-sub {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-style: italic; font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.3; color: var(--hv-ink-soft); margin: .55rem 0 0;
}
.hv-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.hv-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .86rem; font-weight: 600; color: var(--hv-ink);
  background: var(--hv-surface); border: 1px solid var(--hv-line);
  border-radius: 999px; padding: .45rem .9rem;
}
.hv-chip i { color: var(--hv-primary); font-size: 1rem; }
.hv-chip .rz-ico { color: var(--hv-primary); }
.hv-chip .k { color: var(--hv-ink-soft); font-weight: 500; }
.hv-meta {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 600; color: var(--hv-ink-soft);
  background: var(--hv-surface-2); border: 1px solid var(--hv-line);
  border-radius: 999px; padding: .3rem .7rem; white-space: nowrap;
}
.hv-meta i { color: var(--hv-primary); }
.hv-meta .rz-ico { color: var(--hv-primary); }

/* ── Base rzHero() (Système B) — scopée sous .rz-hero ── */
.rz-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--rz-blue) 18%, white);
  border-radius: 22px;
  padding: 2.7rem 3rem;
  background: linear-gradient(
    118deg,
    color-mix(in oklch, var(--rz-blue) 10%, white),
    color-mix(in oklch, var(--rz-blue) 4%, white) 55%,
    white
  );
}
.rz-hero > .rz-hero-topo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.rz-hero > .rz-hero-lettrine {
  position: absolute; right: 2rem; bottom: -1.5rem;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-weight: 800; font-size: 12rem; line-height: 1;
  color: var(--rz-blue); opacity: .06; pointer-events: none; user-select: none;
}
.rz-hero .rz-hero-inner { position: relative; z-index: 1; }
.rz-hero .rz-hero-badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: var(--rz-blue);
  background: rgba(31,127,194,.1);
  border: 1px solid rgba(31,127,194,.22);
  border-radius: 999px; padding: .3rem .8rem; margin-bottom: 1rem;
}
.rz-hero .rz-hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--rz-blue);
  margin-bottom: .35rem;
}
.rz-hero .rz-hero-eyebrow .rz-ico { width: 1rem; height: 1rem; }
.rz-hero h1 {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-weight: 700; letter-spacing: -.022em; line-height: 1.04;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  color: var(--rz-ink); margin: .35rem 0 0;
}
.rz-hero h1 .lt { color: var(--rz-blue); }
.rz-hero .rz-hero-intro {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: clamp(1.02rem, 2.1vw, 1.22rem);
  line-height: 1.4; color: var(--rz-inksoft);
  margin: .65rem 0 0; max-width: 62ch;
}
.rz-hero .rz-hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.rz-hero .rz-hero-meta span {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 600; color: var(--rz-inksoft);
  background: var(--rz-surface-2); border: 1px solid var(--rz-border);
  border-radius: 999px; padding: .3rem .7rem; white-space: nowrap;
}
.rz-hero .rz-hero-stats { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.rz-hero .stat-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .86rem; font-weight: 500; color: var(--rz-ink);
  background: var(--rz-surface); border: 1px solid var(--rz-border);
  border-radius: 999px; padding: .45rem .9rem;
}
.rz-hero .stat-chip b { font-weight: 700; color: var(--rz-ink); }
.rz-hero .stat-chip .rz-ico { width: 1rem; height: 1rem; color: var(--rz-blue); flex-shrink: 0; }

@media (max-width: 760px) {
  .rz-hero { padding: 2rem 1.4rem; }
  .rz-hero > .rz-hero-lettrine { display: none; }
}
