/* =====================================================================
   Les Ateliers de Lily Blanche — child theme custom CSS
   Design System: Cuisine Japonaise Sushi (warm cream + olive + vermillion)
   Fonts: Shippori Mincho (headings) + Karla (body)
   ===================================================================== */

:root {
  --d0b-primary: #2d6e4e;
  --d0b-primary-dark: #224f37;
  --d0b-accent: #c8443d;
  --d0b-accent-dark: #a8362f;
  --d0b-text: #1a1a1a;
  --d0b-text-soft: #7a6a55;
  --d0b-bg: #faf8f3;
  --d0b-surface: #ffffff;
  --d0b-line: #d5c8ac;
  --d0b-line-soft: #e9e0c8;
  --d0b-radius: 10px;
  --d0b-radius-sm: 6px;
  --d0b-shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.04);
  --d0b-shadow-md: 0 8px 24px rgba(26, 26, 26, 0.08);
  --d0b-shadow-lg: 0 16px 40px rgba(26, 26, 26, 0.12);
  --d0b-fs-h1: clamp(2rem, 4.2vw, 3.4rem);
  --d0b-fs-h2: clamp(1.6rem, 3vw, 2.4rem);
  --d0b-fs-h3: clamp(1.25rem, 2vw, 1.6rem);
  --d0b-container: 1240px;
  --d0b-gutter: clamp(1rem, 2.5vw, 1.8rem);
  --d0b-font-h: 'Shippori Mincho', 'Cormorant Garamond', Georgia, serif;
  --d0b-font-b: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* -------- Base -------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, .d0b-body {
  margin: 0;
  font-family: var(--d0b-font-b);
  font-size: 17px;
  line-height: 1.65;
  color: var(--d0b-text);
  background: var(--d0b-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--d0b-font-h);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.22;
  color: var(--d0b-text);
  margin: 0 0 .6em;
}
h1 { font-size: var(--d0b-fs-h1); font-weight: 700; }
h2 { font-size: var(--d0b-fs-h2); }
h3 { font-size: var(--d0b-fs-h3); }
p { margin: 0 0 1em; }
a { color: var(--d0b-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--d0b-accent-dark); }
img { max-width: 100%; height: auto; display: block; }

main, .d0b-main { padding-top: 0 !important; margin-top: 0 !important; }

.d0b-container { max-width: var(--d0b-container); margin: 0 auto; padding: 0 var(--d0b-gutter); }

/* -------- Buttons -------- */
.d0b-btn, .d0b-btn--cta, .d0b-btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: var(--d0b-radius-sm);
  font-family: var(--d0b-font-b);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.d0b-btn--cta {
  background: var(--d0b-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 68, 61, 0.18);
}
.d0b-btn--cta:hover {
  background: var(--d0b-accent-dark);
  color: #fff;
  transform: translateY(-1px);
}
.d0b-btn--ghost {
  background: transparent;
  color: var(--d0b-text);
  border-color: var(--d0b-line);
}
.d0b-btn--ghost:hover {
  background: var(--d0b-surface);
  border-color: var(--d0b-primary);
  color: var(--d0b-primary);
}

/* -------- Header (sticky-minimal) -------- */
.d0b-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--d0b-line);
  padding: .8rem 0;
}
.d0b-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--d0b-container);
  margin: 0 auto;
  padding: 0 var(--d0b-gutter);
}
.d0b-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--d0b-text);
  flex-shrink: 0;
}
.d0b-brand-logo {
  width: auto;
  display: block;
}
.d0b-brand-name {
  font-family: var(--d0b-font-h);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--d0b-text);
  white-space: nowrap;
}

/* Navigation desktop horizontale */
.d0b-nav, .d0b-nav-desktop {
  display: none;
}
.d0b-nav-list, .d0b-nav-desktop-list {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.d0b-nav-list li, .d0b-nav-desktop-list li {
  margin: 0;
}
.d0b-nav-list a, .d0b-nav-desktop-list a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--d0b-text);
  text-decoration: none;
  font-family: var(--d0b-font-b);
  font-size: .96rem;
  font-weight: 500;
  padding: .45rem .1rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.d0b-nav-list a:hover, .d0b-nav-desktop-list a:hover {
  color: var(--d0b-primary);
  border-bottom-color: var(--d0b-accent);
}
.d0b-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Burger button */
.d0b-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(26, 26, 26, 0.18);
  border-radius: 8px;
  color: var(--d0b-text);
  cursor: pointer;
  z-index: 10000;
  flex-shrink: 0;
  position: relative;
}
.d0b-burger-bars, .d0b-burger > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 16px;
}
.d0b-burger-bars span,
.d0b-burger > span > span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--d0b-text);
  border-radius: 2px;
  transition: transform .2s;
}

/* Mobile drawer */
.d0b-nav-mobile {
  display: none;
}
.d0b-nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.d0b-nav-mobile-list li {
  border-bottom: 1px solid var(--d0b-line-soft);
}
.d0b-nav-mobile-list a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem .3rem;
  color: var(--d0b-text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
}
.d0b-nav-mobile-list a:hover {
  color: var(--d0b-primary);
}
.d0b-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--d0b-line);
  border-radius: 8px;
  cursor: pointer;
  color: var(--d0b-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.d0b-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.5);
  z-index: 9998;
}
.d0b-drawer-overlay.is-visible {
  display: block;
}
.d0b-drawer-cta {
  display: none;
}

/* DESKTOP layout */
@media (min-width: 1024px) {
  .d0b-nav, .d0b-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1.5rem;
  }
  .d0b-burger, .d0b-burger-wrap {
    display: none !important;
  }
}

/* MOBILE drawer behavior */
@media (max-width: 1023px) {
  .d0b-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(0, 0, 0, 0.3);
  }
  .d0b-nav-mobile.is-open .d0b-drawer-cta {
    display: block !important;
    margin: 2rem 0 1rem !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    background: var(--d0b-accent) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
  }
  body.d0b-no-scroll {
    overflow: hidden;
  }
}

/* -------- Hero (mosaic-categories style) -------- */
.d0b-hero {
  position: relative;
  background: var(--d0b-bg);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
  overflow: hidden;
}
.d0b-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--d0b-container);
  margin: 0 auto;
  padding: 0 var(--d0b-gutter);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.d0b-hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--d0b-text);
  margin-bottom: 1rem;
}
.d0b-hero-text h1 em {
  font-style: italic;
  color: var(--d0b-accent);
}
.d0b-hero-subtitle {
  font-size: 1.15rem;
  color: var(--d0b-text-soft);
  margin-bottom: 1.8rem;
  max-width: 540px;
}
.d0b-hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

.d0b-hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: .8rem;
  height: 460px;
}
.d0b-hero-tile {
  position: relative;
  border-radius: var(--d0b-radius);
  overflow: hidden;
  background-color: var(--d0b-line-soft);
  background-size: cover;
  background-position: center;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  transition: transform .35s ease;
}
.d0b-hero-tile:hover {
  transform: translateY(-3px);
}
.d0b-hero-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.d0b-hero-tile:nth-child(2) { grid-column: span 1; grid-row: span 1; }
.d0b-hero-tile:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.d0b-hero-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 26, 0.75) 100%);
  z-index: 1;
}
.d0b-hero-tile-label {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 1rem 1.2rem;
  font-family: var(--d0b-font-h);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.d0b-hero-tile:nth-child(1) .d0b-hero-tile-label {
  font-size: 1.45rem;
}

/* -------- Editorial section (400-700 words SEO block) -------- */
.d0b-editorial {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--d0b-surface);
  border-top: 1px solid var(--d0b-line);
  border-bottom: 1px solid var(--d0b-line);
}
.d0b-editorial-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--d0b-gutter);
}
.d0b-editorial h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: var(--d0b-text);
  margin-bottom: 1.4rem;
  text-align: center;
}
.d0b-editorial h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--d0b-accent);
  margin: .8rem auto 0;
}
.d0b-editorial h3 {
  font-size: 1.4rem;
  margin: 2rem 0 .8rem;
  color: var(--d0b-primary);
}
.d0b-editorial p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--d0b-text);
  margin-bottom: 1.1rem;
}
.d0b-editorial p a {
  color: var(--d0b-primary);
  border-bottom: 1px solid var(--d0b-line);
}
.d0b-editorial p a:hover {
  color: var(--d0b-accent);
  border-color: var(--d0b-accent);
}
.d0b-editorial-line {
  margin: 2.4rem 0 1.6rem;
  padding: 1.2rem 1.6rem;
  background: var(--d0b-bg);
  border-left: 4px solid var(--d0b-accent);
  color: var(--d0b-text-soft);
  font-style: italic;
  border-radius: 0 var(--d0b-radius-sm) var(--d0b-radius-sm) 0;
}

/* -------- Categories grid -------- */
.d0b-categories {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--d0b-bg);
}
.d0b-section-head {
  text-align: center;
  margin-bottom: 2.4rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--d0b-gutter);
}
.d0b-section-head h2 {
  margin-bottom: .6rem;
}
.d0b-section-head h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--d0b-accent);
  margin: .8rem auto 0;
}
.d0b-section-head p {
  color: var(--d0b-text-soft);
  font-size: 1.02rem;
}
.d0b-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
  max-width: var(--d0b-container);
  margin: 0 auto;
  padding: 0 var(--d0b-gutter);
}
.d0b-cat-card {
  position: relative;
  display: block;
  background: var(--d0b-surface);
  border: 1px solid var(--d0b-line);
  border-radius: var(--d0b-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--d0b-text);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  height: 280px;
}
.d0b-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--d0b-shadow-md);
  border-color: var(--d0b-primary);
}
.d0b-cat-card-img {
  display: block;
  width: 100%;
  height: 70%;
  background-color: var(--d0b-line-soft);
  background-size: cover;
  background-position: center;
}
.d0b-cat-card-body {
  padding: .9rem 1.1rem;
  background: var(--d0b-surface);
}
.d0b-cat-card-body h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--d0b-text);
}
.d0b-cat-card-body span {
  display: block;
  margin-top: .25rem;
  color: var(--d0b-text-soft);
  font-size: .88rem;
}

/* -------- Latest articles -------- */
.d0b-latest {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--d0b-surface);
}
.d0b-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  max-width: var(--d0b-container);
  margin: 0 auto;
  padding: 0 var(--d0b-gutter);
}
.d0b-card {
  display: flex;
  flex-direction: column;
  background: var(--d0b-bg);
  border: 1px solid var(--d0b-line);
  border-radius: var(--d0b-radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.d0b-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--d0b-shadow-md);
}
.d0b-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--d0b-line-soft);
  background-size: cover;
  background-position: center;
  display: block;
}
.d0b-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.d0b-card-body {
  padding: 1rem 1.2rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.d0b-card-cat {
  display: inline-block;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--d0b-accent);
  font-weight: 600;
  margin-bottom: .55rem;
  text-decoration: none;
}
.d0b-card-cat:hover { color: var(--d0b-accent-dark); }
.d0b-card h3 {
  font-size: 1.15rem;
  margin-bottom: .55rem;
  line-height: 1.35;
}
.d0b-card h3 a {
  color: var(--d0b-text);
  text-decoration: none;
}
.d0b-card h3 a:hover {
  color: var(--d0b-primary);
}
.d0b-card-excerpt {
  color: var(--d0b-text-soft);
  font-size: .95rem;
  flex: 1;
  margin-bottom: .8rem;
}
.d0b-card-meta {
  color: var(--d0b-text-soft);
  font-size: .82rem;
  border-top: 1px solid var(--d0b-line);
  padding-top: .7rem;
  margin-top: auto;
}

/* -------- Tool block on home -------- */
.d0b-tool-home {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--d0b-bg);
  border-top: 1px solid var(--d0b-line);
}
.d0b-tool-home-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--d0b-gutter);
}
.d0b-tool-home-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--d0b-text-soft);
  font-size: 1.05rem;
}
.d0b-tool-home-frame {
  background: var(--d0b-surface);
  border: 1px solid var(--d0b-line);
  border-radius: var(--d0b-radius);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--d0b-shadow-sm);
}

/* -------- About teaser -------- */
.d0b-about-teaser {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--d0b-surface);
  border-top: 1px solid var(--d0b-line);
}
.d0b-about-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  max-width: var(--d0b-container);
  margin: 0 auto;
  padding: 0 var(--d0b-gutter);
}
.d0b-about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--d0b-line-soft);
  background-size: cover;
  background-position: center;
  border-radius: var(--d0b-radius);
  box-shadow: var(--d0b-shadow-md);
}
.d0b-about-teaser h2 {
  margin-bottom: 1rem;
}
.d0b-about-teaser p {
  color: var(--d0b-text-soft);
  margin-bottom: 1.4rem;
}

/* -------- Trust badges (CTR animation) -------- */
.d0b-trust-row {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 1.6rem 0;
}
.d0b-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .85rem;
  background: #fff;
  border: 1px solid var(--d0b-line);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--d0b-text-soft);
  font-family: var(--d0b-font-b);
}

/* -------- Footer -------- */
.d0b-footer {
  background: #1f1d18;
  color: #e3dac6;
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.6rem;
  border-top: 4px solid var(--d0b-accent);
}
.d0b-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.2rem;
  max-width: var(--d0b-container);
  margin: 0 auto;
  padding: 0 var(--d0b-gutter) 2.5rem;
  border-bottom: 1px solid rgba(213, 200, 172, 0.18);
}
.d0b-footer-col {
  display: flex;
  flex-direction: column;
}
.d0b-footer-title {
  font-family: var(--d0b-font-h);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: .02em;
}
.d0b-footer-logo {
  margin-bottom: 1rem;
  height: auto;
  filter: brightness(1.6) contrast(0.95);
}
.d0b-footer-brand-pitch {
  color: #cdc1a8;
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.d0b-footer-brand-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #ffd1a8;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 209, 168, 0.4);
  padding-bottom: .15rem;
  align-self: flex-start;
}
.d0b-footer-brand-cta:hover {
  color: #fff;
  border-color: #fff;
}
.d0b-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.d0b-footer-links a {
  color: #e3dac6;
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s;
}
.d0b-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.d0b-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--d0b-container);
  margin: 0 auto;
  padding: 1.6rem var(--d0b-gutter) 0;
  color: #b0a486;
  font-size: .85rem;
}
.d0b-footer-bottom a {
  color: #cdc1a8;
}
.d0b-footer-bottom a:hover {
  color: #fff;
}
.d0b-footer-social {
  display: flex;
  gap: .8rem;
}
.d0b-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(213, 200, 172, 0.3);
  color: #e3dac6;
  transition: background .2s, color .2s;
}
.d0b-footer-social a:hover {
  background: var(--d0b-accent);
  color: #fff;
  border-color: var(--d0b-accent);
}

/* -------- Persona photo (about page) -------- */
.d0b-persona-photo {
  width: 100%;
  max-width: 360px;
  border-radius: var(--d0b-radius);
  box-shadow: var(--d0b-shadow-md);
  margin: 1rem 0 2rem;
}

/* -------- Contact form wrapper -------- */
.d0b-contact-form {
  margin: 2rem 0;
  background: var(--d0b-surface);
  border: 1px solid var(--d0b-line);
  border-radius: var(--d0b-radius);
  overflow: hidden;
}

/* -------- Category page (tldr-detailed layout) -------- */
.d0b-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--d0b-line-soft);
}
.d0b-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.d0b-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--d0b-container);
  margin: 0 auto;
  padding: 0 var(--d0b-gutter);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(26, 26, 26, 0.75) 100%);
}
.d0b-cat-hero-inner h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  margin-bottom: 1.4rem;
}
.d0b-cat-intro {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: var(--d0b-surface);
}
.d0b-cat-intro-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--d0b-gutter);
}
.d0b-cat-intro-inner p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--d0b-text);
}
.d0b-cat-articles {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: var(--d0b-bg);
}
.d0b-cat-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  max-width: var(--d0b-container);
  margin: 0 auto;
  padding: 0 var(--d0b-gutter);
}

/* -------- CTA Animation (hero_center_cta) -------- */
@keyframes d0b-cta-hero-center {
  0%, 100% { transform: translateY(0); box-shadow: 0 6px 18px rgba(200, 68, 61, 0.18); }
  50% { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(200, 68, 61, 0.28); }
}
.d0b-hero .d0b-btn--cta {
  animation: d0b-cta-hero-center 3.2s ease-in-out infinite;
}

/* -------- CTR badges fade in -------- */
@keyframes d0b-trust-badges-fadein {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.d0b-trust-badge {
  animation: d0b-trust-badges-fadein .8s ease-out both;
}
.d0b-trust-badge:nth-child(1) { animation-delay: .1s; }
.d0b-trust-badge:nth-child(2) { animation-delay: .2s; }
.d0b-trust-badge:nth-child(3) { animation-delay: .3s; }
.d0b-trust-badge:nth-child(4) { animation-delay: .4s; }

/* -------- CTO floating contact card -------- */
@keyframes d0b-floating-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.d0b-contact-card {
  position: relative;
  padding: 1.4rem 1.6rem;
  background: var(--d0b-surface);
  border: 1px solid var(--d0b-line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
  animation: d0b-floating-card 4s ease-in-out infinite;
}

/* -------- Responsive -------- */
@media (max-width: 1023px) {
  .d0b-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .d0b-hero-mosaic {
    height: 360px;
  }
  .d0b-latest-grid,
  .d0b-cat-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .d0b-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
  }
  .d0b-about-teaser-inner {
    grid-template-columns: 1fr;
  }
  .d0b-about-photo {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .d0b-hero-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 110px);
    height: auto;
  }
  .d0b-hero-tile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .d0b-hero-tile:nth-child(n+2) { grid-column: span 1; grid-row: span 1; }
  .d0b-latest-grid,
  .d0b-cat-articles-grid {
    grid-template-columns: 1fr;
  }
  .d0b-categories-grid {
    grid-template-columns: 1fr 1fr;
  }
  .d0b-footer-grid {
    grid-template-columns: 1fr;
  }
  .d0b-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .d0b-hero-text h1 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); }
}

/* -------- Print -------- */
@media print {
  .d0b-header, .d0b-footer, .d0b-hero-mosaic, .d0b-burger { display: none; }
  body { background: #fff; color: #000; }
}


/* === RP AGNOSTIC ANTI-FOOTPRINT FIXES === */
/* Auto-append par child_theme_builder pour garantir les regles anti-empreinte (cat-hero, burger, footer, etc.) meme quand Claude override le style.css custom. */
body section[class*="cat-hero"], body div[class*="cat-hero"] {
  position: relative !important;
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
  left: 0 !important; right: 0 !important;
  height: 360px !important; min-height: 360px !important; max-height: 360px !important;
  padding: 0 !important; overflow: hidden !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important;
  border: none !important; box-shadow: none !important; outline: none !important;
  box-sizing: border-box !important;
}
/* Aussi force le parent <main> a etre full-width pour eviter cap a 1024 */
body main, body [class*="lda-main"], body [class*="bdf-main"], body [class*="d0b-main"], body #content {
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
}
body [class*="cat-hero"] > img, body [class*="cat-hero-bg"], body [class*="cat-hero"] img {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  max-height: 360px !important;
  object-fit: cover !important; z-index: 0 !important;
  border: none !important;
}
body [class*="cat-hero"]::before, body [class*="cat-hero"]::after {
  content: none !important; display: none !important;
}
/* Overlay : absolute par-dessus l'image, juste pour le gradient sombre (fix 2026-06-17) */
body [class*="cat-hero-overlay"], body [class*="cat-hero"] > [class*="overlay"] {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important;
  max-width: none !important;
  display: block !important;
  z-index: 1 !important;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.55) 100%) !important;
  pointer-events: none !important;
  border: none !important;
}
/* Container / inner du titre : centré au-dessus de l'overlay (z-index 2) */
body [class*="cat-hero"] > [class*="container"],
body [class*="cat-hero"] > [class*="cat-hero-inner"],
body [class*="cat-hero"] > [class*="hero-inner"]:not([class*="overlay"]),
body [class*="cat-hero"] > div:not([class*="overlay"]):not([class*="-bg"]) {
  position: relative !important; z-index: 2 !important;
  text-align: center !important;
  max-width: 900px !important; margin: 0 auto !important;
  padding: 1.5rem 2rem !important;
  border: none !important; background: transparent !important;
}
body [class*="cat-hero"] h1 {
  color: #ffffff !important;
  font-size: clamp(2.4rem, 6vw, 4rem) !important;
  text-align: center !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;
  border: none !important; display: block !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;
}


/* [2026-06-17] PERSONA PHOTO — Force taille raisonnable.
   Sans contrainte, l'image 1024x1024 (Codex output) s'affiche en grand
   sur la page "À propos". On force max 280px avec auto height.
*/
body [class*="persona-photo"], body img[class*="persona"], body [class*="-persona"] img {
  max-width: 280px !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto !important;
}
@media (min-width: 768px) {
  body [class*="persona-photo"], body img[class*="persona"], body [class*="-persona"] img {
    max-width: 320px !important;
  }
}

/* [2026-06-17] BURGER MOBILE — Garantit l'affichage en mobile.
   Le CSS Claude met souvent display:none par defaut + media query qui
   n'est pas garantie. Force agnostique : tout selecteur contenant "burger"
   visible en mobile, invisible en desktop. Couvre tous prefixes
   (.d0b-, .bdf-, .lda-, etc.) via [class*="burger"].
*/
@media (max-width: 1023px) {
  body [class*="burger"], body button[class*="burger"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 42px !important;
    min-height: 42px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 100 !important;
  }
}
@media (min-width: 1024px) {
  body [class*="burger"], body button[class*="burger"] {
    display: none !important;
  }
}

/* [2026-06-17] BURGER PARENT FIX : si un wrapper du header contient un
   burger, force-le visible en mobile. Claude met parfois le burger DANS un
   wrapper "cta-wrap" qui est display:none en mobile -> burger invisible.
*/
/* [2026-06-17] FOOTER COLOR HERITAGE — Force le footer ENTIER à hériter
   de la couleur du body. Claude définit parfois color:var(--bg) sur le footer
   (utile si bg sombre, illisible si bg clair). On force color:inherit → texte
   reste lisible peu importe le bg footer.
*/
body footer, body [class*="footer"]:not([class*="logo"]):not([class*="brand-logo"]) {
  color: inherit !important;
}

/* [2026-06-17] FOOTER LINKS HERITAGE — Force les liens à hériter du texte.
   Claude définit parfois color: var(--bg) sur les liens footer (utile si bg
   sombre, mais illisible si bg clair). On force color:inherit qui suit le
   texte parent → toujours lisible. underline pour distinguer du texte normal.
*/
body footer ul li a, body footer ol li a,
body [class*="footer"] ul li a:not([class*="btn"]):not([class*="cta"]),
body footer [class*="link"]:not([class*="brand"]):not([class*="btn"]) {
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: currentColor !important;
  opacity: 0.85 !important;
  transition: opacity .2s ease !important;
}
body footer ul li a:hover, body footer ol li a:hover,
body [class*="footer"] ul li a:hover {
  opacity: 1 !important;
  text-decoration-thickness: 2px !important;
}

/* [2026-06-17] BURGER STYLE — 3 barres visibles + hover/animation.
   Le bouton burger Claude est souvent un <button> avec 3 <span> dedans qui
   représentent les barres, mais sans CSS la cible est un carré vide.
   Force ici un style propre, agnostique au prefixe.
*/
body [class*="burger"] {
  background: transparent !important;
  border: 1px solid currentColor !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  padding: 8px !important;
  color: inherit !important;
  transition: background .2s ease, border-color .2s ease !important;
}
body [class*="burger"]:hover, body [class*="burger"]:focus-visible {
  background: rgba(0,0,0,0.06) !important;
  border-color: var(--d0b-accent, currentColor) !important;
}
/* Container des 3 barres (peut s'appeler "bars", "lines", etc.) */
body [class*="burger"] > [class*="bar"],
body [class*="burger"] > [class*="line"],
body [class*="burger"] > span {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 22px !important;
  height: 16px !important;
  gap: 0 !important;
}
/* Les 3 barres elles-mêmes */
body [class*="burger"] [class*="bar"] > span,
body [class*="burger"] [class*="line"] > span,
body [class*="burger"] > span > span {
  display: block !important;
  width: 22px !important;
  height: 2.5px !important;
  background: currentColor !important;
  border-radius: 2px !important;
  margin: 2px 0 !important;
  transition: transform .25s ease, opacity .25s ease !important;
}
/* Etat ouvert : transforme en X */
body [class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(1),
body [class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(1),
body [class*="burger"][aria-expanded="true"] > span > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg) !important;
}
body [class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(2),
body [class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(2),
body [class*="burger"][aria-expanded="true"] > span > span:nth-child(2) {
  opacity: 0 !important;
}
body [class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(3),
body [class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(3),
body [class*="burger"][aria-expanded="true"] > span > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg) !important;
}

@media (max-width: 1023px) {
  body header [class*="cta-wrap"]:has([class*="burger"]),
  body header > div:has([class*="burger"]),
  body [class*="header"] [class*="-wrap"]:has([class*="burger"]),
  body [class*="header-inner"] > div:has([class*="burger"]) {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* [2026-06-19] FIX gap main padding-top (Claude met parfois padding-top: 30px sur .{prefix}-main qui casse le collage hero) */
html body main[class*="-main"],
html body main.d0b-main,
html body main#bdf-main, html body main#lda-main, html body main#a66-main,
html body main#b3b-main, html body main#e96-main, html body main#aaa-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* [2026-06-19] FIX drawer mobile height : force full viewport */
html body [class*="nav-mobile"]:not([class*="close"]):not([class*="overlay"]),
html body [class*="menu-mobile"]:not([class*="close"]),
html body [class*="drawer-mobile"]:not([class*="close"]) {
  height: 100vh !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  bottom: 0 !important;
  overflow-y: auto !important;
}

/* [2026-06-19] BURGER variation seedee : shape=crescendo (w1=16/w2=20/w3=24) + dimensions + couleur + angle X */
html body button[class*="burger"] > span > span,
html body button[class*="burger"] > span:not([class*="bar"]):not([class*="line"]),
html body button[class*="burger"] [class*="bar"] > span,
html body button[class*="burger"] [class*="line"] > span {
  height: 2px !important;
  border-radius: 2px !important;
  background: var(--d0b-text, currentColor) !important;
  display: block !important;
  margin: 0 !important;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease !important;
}
/* Widths individuelles seedees -> forme distincte par site */
html body button[class*="burger"] > span > span:nth-child(1),
html body button[class*="burger"] [class*="bar"] > span:nth-child(1),
html body button[class*="burger"] [class*="line"] > span:nth-child(1) {
  width: 16px !important;
}
html body button[class*="burger"] > span > span:nth-child(2),
html body button[class*="burger"] [class*="bar"] > span:nth-child(2),
html body button[class*="burger"] [class*="line"] > span:nth-child(2) {
  width: 20px !important;
}
html body button[class*="burger"] > span > span:nth-child(3),
html body button[class*="burger"] [class*="bar"] > span:nth-child(3),
html body button[class*="burger"] [class*="line"] > span:nth-child(3) {
  width: 24px !important;
}
/* En etat ouvert (X) : les 3 barres ont meme largeur pour X symetrique */
html body button[class*="burger"][aria-expanded="true"] > span > span,
html body button[class*="burger"][aria-expanded="true"] [class*="bar"] > span,
html body button[class*="burger"][aria-expanded="true"] [class*="line"] > span {
  width: 24px !important;
}
html body button[class*="burger"] > span:has(> span) {
  flex-direction: column !important;
  gap: 6px !important;
}
html body button[class*="burger"][aria-expanded="true"] > span > span:nth-child(1),
html body button[class*="burger"][aria-expanded="true"] > span:nth-child(1):not([class*="bar"]),
html body button[class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(1),
html body button[class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(1) {
  transform: translateY(8.0px) rotate(50deg) !important;
}
html body button[class*="burger"][aria-expanded="true"] > span > span:nth-child(2),
html body button[class*="burger"][aria-expanded="true"] > span:nth-child(2):not([class*="bar"]),
html body button[class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(2),
html body button[class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(2) {
  opacity: 0 !important;
}
html body button[class*="burger"][aria-expanded="true"] > span > span:nth-child(3),
html body button[class*="burger"][aria-expanded="true"] > span:nth-child(3):not([class*="bar"]),
html body button[class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(3),
html body button[class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(3) {
  transform: translateY(-8.0px) rotate(-50deg) !important;
}

/* [2026-06-19] FIX contraste boutons (anti bouton invisible) */
html body a[class*="btn--primary"], html body button[class*="btn--primary"],
html body a[class*="btn-primary"], html body button[class*="btn-primary"],
html body a[class*="-cta"]:not([class*="ghost"]):not([class*="link"]),
html body button[class*="-cta"]:not([class*="ghost"]):not([class*="link"]) {
  color: #ffffff !important;
}
html body a[class*="btn--ghost"], html body button[class*="btn--ghost"],
html body a[class*="btn--secondary"], html body button[class*="btn--secondary"],
html body a[class*="btn-secondary"], html body button[class*="btn-secondary"] {
  color: var(--d0b-text, #1a1a1a) !important;
}

/* [2026-06-19] PERSONA shape variation seedee : hexagon-soft (12px) */
html body img[class*="persona"],
html body img[class*="author"],
html body img[class*="author-photo"],
html body img[class*="persona-photo"],
html body img[class*="redaction"],
html body img[class*="about-photo"],
html body img[class*="team-photo"],
html body img[class*="profile"],
html body [class*="persona"] > img,
html body [class*="author"] > img:not([class*="logo"]),
html body [class*="about"] img:not([class*="logo"]):not([class*="brand"]) {
  border-radius: 12px !important;
}

/* 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; }
