/* =============================================================================
   victime-licenciement.fr — custom style.css
   Design System: Culturel Mexicain Aztèque (DB pick) — fonts Cinzel + Mulish
   Palette: navy / amber / cream — inspired by juritravail.com competitor analysis
   ============================================================================= */

/* ----- VARIABLES ----- */
:root {
  --b46-color-primary: #0FA4EF;
  --b46-color-primary-dark: #0c8bc9;
  --b46-color-accent: #FCA41F;
  --b46-color-accent-dark: #e8911a;
  --b46-color-text: #15253D;
  --b46-color-text-soft: #505E6B;
  --b46-color-bg: #FFFFFF;
  --b46-color-surface: #F2F4F5;
  --b46-color-line: #E1E5EA;
  --b46-color-warm: #D5BC95;
  --b46-color-cream: #FAF0DC;
  --b46-color-dark: #15253D;

  --b46-font-headings: 'Cinzel', Georgia, 'Times New Roman', serif;
  --b46-font-body: 'Mulish', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --b46-radius: 8px;
  --b46-radius-lg: 12px;
  --b46-container: 1280px;
}

/* ----- RESET / BASE ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--b46-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--b46-color-text);
  background: var(--b46-color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main, .b46-main { padding-top: 0 !important; margin-top: 0 !important; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--b46-font-headings);
  color: var(--b46-color-text);
  line-height: 1.25;
  letter-spacing: 0.01em;
  font-weight: 600;
}
h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1em; }
a { color: var(--b46-color-primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--b46-color-primary-dark); text-decoration: underline; }
.b46-container {
  max-width: var(--b46-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- BUTTONS ----- */
.b46-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--b46-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--b46-radius);
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.b46-btn--primary {
  background: var(--b46-color-primary);
  color: #fff !important;
}
.b46-btn--primary:hover {
  background: var(--b46-color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 164, 239, .25);
}
.b46-btn--ghost {
  background: transparent;
  color: var(--b46-color-primary) !important;
  border: 1.5px solid var(--b46-color-primary);
}
.b46-btn--ghost:hover {
  background: var(--b46-color-primary);
  color: #fff !important;
}
.b46-btn--cta {
  background: var(--b46-color-accent);
  color: var(--b46-color-text) !important;
}
.b46-btn--cta:hover {
  background: var(--b46-color-accent-dark);
}

/* ----- HEADER (sticky-minimal) ----- */
.b46-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--b46-color-line);
  transition: box-shadow .2s;
}
.b46-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(21, 37, 61, 0.06);
}
.b46-header-inner {
  max-width: var(--b46-container);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.b46-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.b46-brand:hover { text-decoration: none; }
.b46-brand-logo {
  width: auto;
}
.b46-brand-name {
  font-family: var(--b46-font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--b46-color-text);
  text-transform: uppercase;
  white-space: nowrap;
}
.b46-brand-tagline {
  display: none;
}

/* Desktop nav */
.b46-nav-desktop { display: none; }
.b46-nav-desktop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.b46-nav-desktop-list li { display: inline-flex; align-items: center; }
.b46-nav-desktop-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--b46-color-text);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 0.45rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  text-decoration: none;
}
.b46-nav-desktop-list a:hover,
.b46-nav-desktop-list .current-cat > a,
.b46-nav-desktop-list .current-menu-item > a {
  color: var(--b46-color-primary);
  border-bottom-color: var(--b46-color-accent);
  text-decoration: none;
}
.b46-nav-icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
  color: currentColor;
  flex-shrink: 0;
}

/* Header CTA (desktop only) */
.b46-header-cta-desktop {
  margin-left: auto;
  padding: 0.55rem 1.1rem !important;
  font-size: 0.9rem !important;
  white-space: nowrap;
}

/* Burger button (mobile only) */
.b46-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 8px;
  margin-left: auto;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(0,0,0,0.18);
  border-radius: 8px;
  color: var(--b46-color-text);
  cursor: pointer;
  z-index: 10000;
  flex-shrink: 0;
  position: relative;
}
.b46-burger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 16px;
}
.b46-burger-bars span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--b46-color-text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* Drawer mobile (hidden default — only visible when .is-open) */
.b46-nav-mobile { display: none; }
.b46-nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.b46-nav-mobile-list li { border-bottom: 1px solid var(--b46-color-line); }
.b46-nav-mobile-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0.2rem;
  color: var(--b46-color-text);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}
.b46-nav-mobile-list a:hover { color: var(--b46-color-primary); }

/* Drawer CTA bottom */
.b46-drawer-cta {
  display: block;
  margin: 2rem 0 0;
  padding: 1rem 1.5rem;
  text-align: center;
  background: var(--b46-color-accent);
  color: var(--b46-color-text) !important;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}

/* Drawer overlay */
.b46-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(21, 37, 61, 0.55);
  z-index: 9998;
}
.b46-drawer-overlay.is-open { display: block; }

/* Drawer close button */
.b46-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 0;
  color: var(--b46-color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Burger + drawer responsive */
@media (max-width: 1023px) {
  .b46-burger { display: inline-flex !important; }
  .b46-header-cta-desktop { display: none !important; }
  .b46-nav-desktop { display: none !important; }
  .b46-nav-mobile.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 380px;
    background: #ffffff;
    padding: 4.5rem 1.5rem 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(21, 37, 61, 0.25);
  }
}
@media (min-width: 1024px) {
  .b46-burger { display: none !important; }
  .b46-nav-desktop { display: flex; flex: 1; justify-content: center; margin: 0 1.5rem; }
  .b46-drawer-cta { display: none !important; }
  .b46-nav-mobile { display: none !important; }
}

/* ----- HERO (parallax-scroll) ----- */
.b46-hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  background-color: var(--b46-color-text);
}
.b46-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  will-change: transform;
  transform: translateZ(0) scale(1.08);
}
.b46-hero--parallax .b46-hero-bg {
  transition: transform 0.05s linear;
}
.b46-hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--b46-container);
  margin: 0 auto;
  padding: 7rem 1.5rem 6rem;
  color: #fff;
  display: flex;
  align-items: center;
  min-height: 72vh;
}
.b46-hero-content {
  max-width: 720px;
}
.b46-hero-eyebrow {
  display: inline-block;
  font-family: var(--b46-font-headings);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--b46-color-accent);
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--b46-color-accent);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.b46-hero-title {
  font-family: var(--b46-font-headings);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  margin: 0 0 1rem;
  font-weight: 700;
}
.b46-hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  margin: 0 0 2rem;
  line-height: 1.6;
}
.b46-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.b46-hero-actions .b46-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5);
}
.b46-hero-actions .b46-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ----- EDITORIAL INTRO (SEO 400-700 mots) ----- */
.b46-editorial {
  background: var(--b46-color-surface);
  padding: 4rem 1.5rem;
}
.b46-editorial-inner {
  max-width: 980px;
  margin: 0 auto;
}
.b46-editorial h2 {
  font-family: var(--b46-font-headings);
  color: var(--b46-color-text);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin: 0 0 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}
.b46-editorial h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--b46-color-accent);
}
.b46-editorial h3 {
  font-family: var(--b46-font-headings);
  color: var(--b46-color-primary);
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
}
.b46-editorial p {
  color: var(--b46-color-text);
  font-size: 1.02rem;
  line-height: 1.7;
}
.b46-editorial .b46-editorial-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.b46-editorial .b46-pillar {
  background: #fff;
  border: 1px solid var(--b46-color-line);
  border-left: 4px solid var(--b46-color-accent);
  border-radius: var(--b46-radius);
  padding: 1.25rem;
}
.b46-editorial .b46-pillar h4 {
  font-family: var(--b46-font-headings);
  color: var(--b46-color-primary);
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.b46-editorial .b46-pillar p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--b46-color-text-soft);
}

/* ----- CATEGORIES GRID ----- */
.b46-categories {
  padding: 5rem 1.5rem 4rem;
}
.b46-categories-inner {
  max-width: var(--b46-container);
  margin: 0 auto;
}
.b46-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.b46-section-header h2 {
  font-family: var(--b46-font-headings);
  font-size: clamp(1.7rem, 2.7vw, 2.3rem);
  margin: 0 0 0.5rem;
}
.b46-section-header p {
  color: var(--b46-color-text-soft);
  margin: 0;
  font-size: 1.05rem;
}
.b46-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.b46-cat-card {
  display: block;
  position: relative;
  border-radius: var(--b46-radius-lg);
  overflow: hidden;
  text-decoration: none !important;
  color: #fff;
  background: var(--b46-color-text);
  aspect-ratio: 4 / 5;
  transition: transform .25s, box-shadow .25s;
  border: 1.5px solid var(--b46-color-line);
}
.b46-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(21, 37, 61, 0.18);
}
.b46-cat-card-img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.b46-cat-card:hover .b46-cat-card-img {
  transform: scale(1.08);
}
.b46-cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,37,61,0.05) 0%, rgba(21,37,61,0.85) 100%);
}
.b46-cat-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.25rem;
  z-index: 2;
}
.b46-cat-card-title {
  font-family: var(--b46-font-headings);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.b46-cat-card-count {
  display: inline-block;
  background: var(--b46-color-accent);
  color: var(--b46-color-text);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

/* ----- LATEST ARTICLES ----- */
.b46-latest {
  padding: 4rem 1.5rem 5rem;
  background: var(--b46-color-cream);
}
.b46-latest-inner {
  max-width: var(--b46-container);
  margin: 0 auto;
}
.b46-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 980px) {
  .b46-articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .b46-articles-grid { grid-template-columns: 1fr; }
}
.b46-article-card {
  background: #fff;
  border: 1px solid var(--b46-color-line);
  border-radius: var(--b46-radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.b46-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(21, 37, 61, 0.12);
}
.b46-article-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--b46-color-surface);
  display: block;
}
.b46-article-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.b46-article-card-cat {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--b46-color-primary);
  margin-bottom: 0.5rem;
  text-decoration: none;
}
.b46-article-card-title {
  font-family: var(--b46-font-headings);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  line-height: 1.3;
  color: var(--b46-color-text);
}
.b46-article-card-title a {
  color: inherit;
  text-decoration: none;
}
.b46-article-card-title a:hover {
  color: var(--b46-color-primary);
}
.b46-article-card-excerpt {
  color: var(--b46-color-text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  flex: 1;
}
.b46-article-card-meta {
  font-size: 0.83rem;
  color: var(--b46-color-text-soft);
  border-top: 1px solid var(--b46-color-line);
  padding-top: 0.7rem;
}
.b46-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--b46-color-text-soft);
  font-style: italic;
}

/* ----- ABOUT / PERSONA TEASER ----- */
.b46-about-teaser {
  padding: 5rem 1.5rem;
  background: #fff;
}
.b46-about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .b46-about-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.b46-about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--b46-radius-lg);
  box-shadow: 0 14px 35px rgba(21, 37, 61, 0.18);
}
.b46-about-text h2 {
  font-family: var(--b46-font-headings);
  font-size: 2rem;
  margin: 0 0 1rem;
}
.b46-about-text .b46-about-role {
  display: inline-block;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--b46-color-accent-dark);
  background: var(--b46-color-cream);
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* ----- METRICS / LINKS BLOCK (b46_render_metrics_links) ----- */
.b46-metrics {
  padding: 3rem 1.5rem;
  background: var(--b46-color-surface);
  border-top: 1px solid var(--b46-color-line);
  border-bottom: 1px solid var(--b46-color-line);
}
.b46-metrics-inner {
  max-width: var(--b46-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* ----- FOOTER ----- */
.b46-footer {
  background: var(--b46-color-text);
  color: #d8dde5;
  padding: 4rem 1.5rem 1.5rem;
  font-size: 0.94rem;
  line-height: 1.6;
}
.b46-footer-inner {
  max-width: var(--b46-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 980px) {
  .b46-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .b46-footer-inner { grid-template-columns: 1fr; }
}
.b46-footer a {
  color: #d8dde5;
  text-decoration: none;
  border-bottom: 1px dotted rgba(216, 221, 229, 0.35);
}
.b46-footer a:hover {
  color: var(--b46-color-accent);
  border-bottom-color: var(--b46-color-accent);
}
.b46-footer-logo {
  display: block;
  margin-bottom: 1rem;
  height: auto;
  width: 110px;
  filter: brightness(0) invert(1) drop-shadow(0 0 1px rgba(255,255,255,.3));
}
.b46-footer-col h3,
.b46-footer-title {
  font-family: var(--b46-font-headings);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 600;
}
.b46-footer-col h3::after,
.b46-footer-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--b46-color-accent);
  margin-top: 0.5rem;
}
.b46-footer-brand-pitch {
  color: #c5cbd4;
  margin: 0 0 1.25rem;
  font-size: 0.93rem;
}
.b46-footer-brand-cta {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  background: var(--b46-color-accent);
  color: var(--b46-color-text) !important;
  border-bottom: 0 !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}
.b46-footer-brand-cta:hover {
  background: var(--b46-color-accent-dark);
  border-bottom: 0 !important;
  color: var(--b46-color-text) !important;
}
.b46-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.b46-footer-links li {
  margin-bottom: 0.55rem;
}
.b46-footer-bottom {
  max-width: var(--b46-container);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.86rem;
  color: #a4abb6;
}
.b46-footer-bottom a { color: #c5cbd4; border-bottom: 0; }
.b46-footer-bottom a:hover { color: var(--b46-color-accent); }

/* ----- CATEGORY PAGE (single-bottom) ----- */
.b46-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--b46-color-text);
}
.b46-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.b46-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--b46-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 1.5rem;
  background: linear-gradient(180deg, transparent 30%, rgba(21,37,61,0.75) 100%);
}
.b46-cat-hero-title {
  color: #fff;
  font-family: var(--b46-font-headings);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
}
.b46-cat-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.b46-cat-description {
  color: var(--b46-color-text);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 2.5rem;
  border-left: 4px solid var(--b46-color-accent);
  padding-left: 1.25rem;
}
.b46-cat-posts {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
}
.b46-cat-post {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--b46-color-line);
}
.b46-cat-post:last-child { border-bottom: 0; }
@media (max-width: 600px) {
  .b46-cat-post { grid-template-columns: 1fr; }
}
.b46-cat-post-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--b46-radius);
  background: var(--b46-color-surface);
}
.b46-cat-post-title {
  font-family: var(--b46-font-headings);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.b46-cat-post-title a { color: var(--b46-color-text); text-decoration: none; }
.b46-cat-post-title a:hover { color: var(--b46-color-primary); }
.b46-cat-post-meta {
  font-size: 0.84rem;
  color: var(--b46-color-text-soft);
  margin-bottom: 0.5rem;
}
.b46-cat-outro {
  background: var(--b46-color-cream);
  border-radius: var(--b46-radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  border-left: 4px solid var(--b46-color-primary);
}
.b46-cat-outro h2 {
  font-family: var(--b46-font-headings);
  color: var(--b46-color-text);
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

/* ----- CONTACT PAGE ----- */
.b46-contact-form {
  margin-top: 2rem;
}

/* ----- PERSONA PHOTO (in about page content) ----- */
.b46-persona-photo {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--b46-radius-lg);
  box-shadow: 0 10px 25px rgba(21, 37, 61, 0.18);
  margin: 1.5rem 0 2rem;
  display: block;
}

/* ----- SINGLE POST (light styling) ----- */
.b46-single { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem; }
.b46-single h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 1rem; }
.b46-single .post-meta { color: var(--b46-color-text-soft); font-size: 0.9rem; margin-bottom: 2rem; }

/* ----- ANIMATIONS (CTA / CTR / CTO) ----- */
@keyframes b46-cta-progress {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.b46-btn--cta {
  background: linear-gradient(110deg, #FCA41F 0%, #FCA41F 45%, #ffd07a 50%, #FCA41F 55%, #FCA41F 100%);
  background-size: 200% 100%;
  animation: b46-cta-progress 3.6s linear infinite;
}

@keyframes b46-ctr-float {
  0%, 100% { transform: translateY(0); opacity: .92; }
  50%      { transform: translateY(-4px); opacity: 1; }
}
.b46-ctr-tooltip {
  display: inline-block;
  background: var(--b46-color-text);
  color: #fff;
  padding: .35rem .7rem;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 600;
  position: relative;
  margin-left: .5rem;
  animation: b46-ctr-float 2.4s ease-in-out infinite;
}
.b46-ctr-tooltip::before {
  content: '';
  position: absolute; left: -5px; top: 50%; transform: translateY(-50%);
  border-style: solid; border-width: 5px 5px 5px 0;
  border-color: transparent var(--b46-color-text) transparent transparent;
}

@keyframes b46-cto-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(252,164,31,0.55); }
  50%      { box-shadow: 0 0 0 10px rgba(252,164,31,0); }
}
.b46-cto-badge {
  display: inline-block;
  background: var(--b46-color-accent);
  color: var(--b46-color-text);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .35rem .8rem;
  border-radius: 999px;
  animation: b46-cto-pulse 1.8s ease-out infinite;
}

/* ----- RESPONSIVE FINAL TOUCHES ----- */
@media (max-width: 768px) {
  .b46-hero-inner { padding: 5rem 1.5rem 4rem; }
  .b46-categories { padding: 3.5rem 1rem 3rem; }
  .b46-latest { padding: 3rem 1rem 4rem; }
  .b46-editorial { padding: 3rem 1rem; }
  .b46-about-teaser { padding: 3rem 1rem; }
  .b46-footer { padding: 3rem 1rem 1.5rem; }
  .b46-footer-inner { gap: 2rem; }
}

/* ----- PRINT ----- */
@media print {
  .b46-header, .b46-footer, .b46-nav-mobile { display: none; }
}

/* Validator: cap hauteur hero cat v2 */
body section[class*="cat-hero"], body div[class*="cat-hero"], body section[class*="category-hero"], body div[class*="category-hero"] { position: relative !important; height: 320px !important; max-height: 320px !important; min-height: 200px !important; padding: 0 !important; overflow: hidden !important; display: flex !important; align-items: center !important; border: none !important; box-shadow: none !important; }
body [class*="cat-hero"] > img, body [class*="cat-hero-bg"], body [class*="cat-hero"] img, body [class*="category-hero"] img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-height: 320px !important; object-fit: cover !important; z-index: 0 !important; border: none !important; }
body [class*="cat-hero"] > [class*="container"], body [class*="cat-hero"] > [class*="wrap"], body [class*="cat-hero"] > [class*="inner"], body [class*="cat-hero"] > div { position: relative !important; z-index: 2 !important; max-width: 900px !important; margin: 0 auto !important; padding: 1.5rem 2rem !important; background: transparent !important; }
body [class*="cat-hero"] h1, body [class*="category-hero"] h1 { color: #ffffff !important; font-size: clamp(2rem, 5vw, 3.5rem) !important; margin: 0 !important; font-weight: 800 !important; text-shadow: 0 3px 12px rgba(0,0,0,.85), 0 0 30px rgba(0,0,0,.5) !important; }
body [class*="cat-hero"][style*="background-image"] { background-size: cover !important; background-position: center !important; }
body [class*="cat-hero"] [class*="breadcrumb"], body [class*="cat-hero"] nav[aria-label*="riane"], body [class*="cat-hero"] nav[aria-label*="readcrumb"] { display: none !important; }

/* Validator: nav-mobile drawer hidden by default v2 */
/* Drawer/burger menu mobile : hidden par defaut, visible mobile+is-open */
[class*="-nav-mobile"]:not(.is-open), [id*="-nav-mobile"]:not(.is-open), [class*="-drawer"]:not(.is-open), [class*="-burger-menu"]:not(.is-open), [class*="-mobile-menu"]:not(.is-open) { display: none !important; }
@media (max-width: 980px) {
  [class*="-nav-mobile"].is-open, [id*="-nav-mobile"].is-open, [class*="-drawer"].is-open, [class*="-burger-menu"].is-open, [class*="-mobile-menu"].is-open { display: flex !important; flex-direction: column !important; position: fixed !important; top: 0 !important; right: 0 !important; bottom: 0 !important; width: 86% !important; max-width: 380px !important; background: #fff !important; padding: 4.5rem 1.5rem 2rem !important; z-index: 9999 !important; overflow-y: auto !important; box-shadow: -10px 0 30px rgba(0,0,0,0.3) !important; }
}

/* Validator: drawer-mobile height fix v1 */
/* Force height:100vh sur le drawer ouvert : top:0;bottom:0 sans !important peut etre overrides par Claude → on impose 100vh. */
/* [2026-06-06] Broadening : ajout patterns supplementaires (X-nav sans 'mobile', X-side, X-menu-drawer, etc.) sinon le validator manque les sites comme artois-moto.com qui utilise fe8-nav (sans 'mobile' dans le nom). */
@media (max-width: 1023px) {
  [class*="-nav-mobile"].is-open, [id*="-nav-mobile"].is-open, [class*="-drawer"].is-open, [class*="-burger-menu"].is-open, [class*="-mobile-menu"].is-open, [class*="-side-nav"].is-open, [class*="-side-menu"].is-open, [class*="-offcanvas"].is-open, nav[aria-label*="mobile" i].is-open, nav[aria-label*="Menu mobile" i].is-open, nav[id*="nav"].is-open[class*="-nav"]:not([class*="desktop"]) { height: 100vh !important; min-height: 100vh !important; max-height: 100vh !important; }
}

/* Validator: footer logo no-filter v1 */
footer img, [class*="-footer"] img, [role="contentinfo"] img, footer [class*="logo"], [class*="-footer"] [class*="logo"] { filter: none !important; mix-blend-mode: normal !important; opacity: 1 !important; }
footer[class*="dark"] img, footer[class*="black"] img, [class*="-footer"][class*="dark"] img, [class*="-footer"][class*="black"] img { filter: brightness(0) invert(1) !important; }

/* Validator: header-hero gap fix v1 */
/* Bug recurrent : <main class="X-main"> a padding-top:30px qui creait un
 * gap entre header sticky et hero/cat-hero. Force padding-top:0 sur le
 * wrapper <main> + margin-top:0 sur le 1er hero enfant. */
body > main, body > [role="main"], main[class*="-main"], [id="main"] { padding-top: 0 !important; }
main > [class*="-hero"]:first-child, main > [class*="-cat-hero"]:first-child, main > [class*="-category-hero"]:first-child { margin-top: 0 !important; }
/* Fallback : si sibling direct du header */
header + section, header + [class*="-hero"], header + [class*="-cat-hero"], header + [class*="-category-hero"], [class*="-header"] + section, [class*="-header"] + [class*="-hero"], [class*="-header"] + [class*="-cat-hero"], [class*="-header"] + [class*="-category-hero"] { margin-top: 0 !important; padding-top: 0 !important; }
section[class*="-hero"]:first-of-type, section[class*="-cat-hero"]:first-of-type, section[class*="-category-hero"]:first-of-type { margin-top: 0 !important; }

/* Validator: contraste lisible header+menu-mobile+footer v2 */
[class*="-nav-mobile"], [id*="-nav-mobile"], [class*="-drawer"], [class*="-burger-menu"], [class*="-mobile-menu"], [class*="-side-nav"] { background: #ffffff !important; }
[class*="-nav-mobile"] *, [id*="-nav-mobile"] *, [class*="-drawer"] *, [class*="-burger-menu"] *, [class*="-mobile-menu"] *, [class*="-side-nav"] * { color: #0a0a0a !important; }
[class*="-nav-mobile"] a, [id*="-nav-mobile"] a, [class*="-drawer"] a, [class*="-burger-menu"] a, [class*="-mobile-menu"] a { color: #0a0a0a !important; font-weight: 600 !important; }
[class*="-nav-mobile"] a:hover, [class*="-drawer"] a:hover, [class*="-burger-menu"] a:hover, [class*="-mobile-menu"] a:hover { color: #000 !important; opacity: 0.7 !important; }
footer *, [class*="-footer"] *, [role="contentinfo"] * { color: #1a1a1a !important; }
footer a, [class*="-footer"] a, [role="contentinfo"] a { color: #1a1a1a !important; text-decoration: underline !important; text-decoration-color: currentColor !important; text-underline-offset: 3px !important; font-weight: 600 !important; }
footer a:hover, [class*="-footer"] a:hover, [role="contentinfo"] a:hover { color: #000 !important; opacity: 1 !important; }
footer h1, footer h2, footer h3, footer h4, footer h5, [class*="-footer"] h1, [class*="-footer"] h2, [class*="-footer"] h3, [class*="-footer"] h4, [class*="-footer"] h5 { color: #0a0a0a !important; font-weight: 700 !important; }
footer p, footer span, footer li, [class*="-footer"] p, [class*="-footer"] span, [class*="-footer"] li { color: #2a2a2a !important; }
footer[class*="dark"] *, footer[class*="black"] *, [class*="-footer"][class*="dark"] *, [class*="-footer"][class*="black"] *, footer[style*="background:#0"] *, footer[style*="background: #0"] *, footer[style*="background:#1"] *, footer[style*="background: #1"] *, footer[style*="background:#2"] *, footer[style*="background: #2"] * { color: #f5f5f5 !important; }
footer[class*="dark"] a, [class*="-footer"][class*="dark"] a, footer[style*="background:#0"] a, footer[style*="background:#1"] a { color: #ffffff !important; }
header a, [class*="-header"] a, [role="banner"] a { text-shadow: none !important; }
header a:hover, [class*="-header"] a:hover { opacity: 0.7 !important; }
[class*="-nav-mobile"] [class*="-btn"], [class*="-footer"] [class*="-btn"] { border: 1.5px solid currentColor !important; }

/* Validator: burger button always visible+clickable v2 */
/* === Burger button : VISIBLE + CLIQUABLE garanti === */
[class*="-burger"], [class*="burger-menu"], [class*="menu-toggle"], button[aria-controls*="nav"], button[aria-label*="menu" i] { color: #1a1a1a !important; pointer-events: auto !important; cursor: pointer !important; z-index: 100 !important; position: relative !important; user-select: none !important; -webkit-tap-highlight-color: transparent !important; background: rgba(255,255,255,0.92) !important; border-radius: 8px !important; border: 1.5px solid rgba(0,0,0,0.15) !important; box-shadow: 0 1px 3px rgba(0,0,0,0.12) !important; padding: 8px !important; }
[class*="-burger"] svg, [class*="burger-menu"] svg, [class*="menu-toggle"] svg, button[aria-controls*="nav"] svg { stroke: #1a1a1a !important; fill: none !important; pointer-events: none !important; stroke-width: 2.5 !important; width: 22px !important; height: 22px !important; }
[class*="-burger"] svg path, [class*="-burger"] svg line, [class*="-burger"] svg rect, [class*="-burger"] svg polyline { stroke: #1a1a1a !important; stroke-width: 2.5 !important; fill: none !important; }
[class*="-burger"]:hover, [class*="-burger"]:focus { background: rgba(255,255,255,1) !important; border-color: rgba(0,0,0,0.3) !important; outline: 2px solid rgba(0,0,0,0.15) !important; outline-offset: 1px !important; }
/* Si le header est sombre : inverse en clair (detection elargie) */
[class*="-header"][style*="background:#0"] [class*="-burger"], [class*="-header"][style*="background:#1"] [class*="-burger"], [class*="-header"][style*="background:#2"] [class*="-burger"], [class*="-header"][style*="background-color:#0"] [class*="-burger"], [class*="-header"][style*="background-color:#1"] [class*="-burger"], [class*="-header"][style*="background-color:#2"] [class*="-burger"], [class*="-header"][class*="dark"] [class*="-burger"], [class*="-header"][class*="black"] [class*="-burger"], [class*="-header"][class*="--dark"] [class*="-burger"], [class*="-header"][class*="-night"] [class*="-burger"] { color: #f5f5f5 !important; background: rgba(0,0,0,0.55) !important; border-color: rgba(255,255,255,0.4) !important; box-shadow: 0 1px 3px rgba(0,0,0,0.4) !important; }
[class*="-header"][style*="background:#0"] [class*="-burger"] svg, [class*="-header"][style*="background:#1"] [class*="-burger"] svg, [class*="-header"][class*="dark"] [class*="-burger"] svg, [class*="-header"][class*="black"] [class*="-burger"] svg { stroke: #f5f5f5 !important; }
@media (max-width: 1023px) {
  [class*="-burger"], button[aria-controls*="nav"] { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 44px !important; min-height: 44px !important; }
}
@media (min-width: 1024px) {
  [class*="-burger"], button[aria-controls*="nav"] { display: none !important; }
}

/* Validator: nav-mobile-list visible inside open drawer v1 */
/* Burger drawer ouvert : la UL des liens DOIT etre visible. */
[class*="-nav-mobile"].is-open ul, [id*="-nav-mobile"].is-open ul, [class*="-nav-mobile"].is-open [class*="-nav-mobile-list"], [class*="-drawer"].is-open ul, [class*="-burger-menu"].is-open ul { display: block !important; visibility: visible !important; height: auto !important; max-height: none !important; overflow: visible !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
[class*="-nav-mobile"].is-open ul li, [id*="-nav-mobile"].is-open ul li, [class*="-drawer"].is-open ul li, [class*="-burger-menu"].is-open ul li { display: list-item !important; height: auto !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
[class*="-nav-mobile"].is-open ul li a, [id*="-nav-mobile"].is-open ul li a, [class*="-drawer"].is-open ul li a, [class*="-burger-menu"].is-open ul li a { display: block !important; padding: 0.9rem 0 !important; text-decoration: none !important; border-bottom: 1px solid rgba(0,0,0,0.08) !important; font-size: 1rem !important; }
