/* ==========================================================================
   Dr Plasqui — Custom theme (child of Kadence)
   Design System: Culturel Nordique Islande (Tenor Sans + Public Sans)
   Palette: vert santé #047857 + orange chaleureux #ffac3d (héritée du concurrent)
   ========================================================================== */

/* ----- 1. CSS VARIABLES ----- */
:root {
  --b0d-primary: #047857;
  --b0d-primary-dark: #035e44;
  --b0d-accent: #ffac3d;
  --b0d-accent-dark: #e8951a;
  --b0d-text: #161922;
  --b0d-text-soft: #5A6A75;
  --b0d-bg: #F0F2F5;
  --b0d-surface: #FFFFFF;
  --b0d-line: #D5DCE2;

  --b0d-font-headings: "Tenor Sans", Georgia, "Times New Roman", serif;
  --b0d-font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --b0d-container-max: 1180px;
  --b0d-radius: 10px;
  --b0d-shadow-sm: 0 2px 8px rgba(10,31,42,.06);
  --b0d-shadow-md: 0 6px 20px rgba(10,31,42,.08);
  --b0d-shadow-lg: 0 12px 40px rgba(10,31,42,.12);

  --b0d-transition: .25s cubic-bezier(.65,0,.35,1);
}

/* ----- 2. RESET & BASE ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.b0d-body {
  margin: 0;
  font-family: var(--b0d-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--b0d-text);
  background: var(--b0d-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--b0d-font-headings);
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--b0d-text);
  line-height: 1.2;
  margin: 0 0 .8rem;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1rem; }
a { color: var(--b0d-primary); text-decoration: underline; text-underline-offset: 3px; transition: color var(--b0d-transition); }
a:hover { color: var(--b0d-accent-dark); }

.b0d-container { max-width: var(--b0d-container-max); margin: 0 auto; padding: 0 1.25rem; }
.b0d-section-title { text-align: center; margin-bottom: .5rem; }
.b0d-section-intro { text-align: center; color: var(--b0d-text-soft); margin-bottom: 2.5rem; font-size: 1.05rem; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.b0d-skip-link { position: absolute; left: -9999px; }
.b0d-skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; padding: .5rem 1rem; background: var(--b0d-primary); color: #fff; }

main, .b0d-main { padding-top: 0 !important; margin-top: 0 !important; }

/* ----- 3. BUTTON CTA + ANIMATION arrow_slide ----- */
@keyframes b0d-arrow-slide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
.b0d-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-family: var(--b0d-font-body); font-size: 1rem; border: none; cursor: pointer; transition: background var(--b0d-transition), transform var(--b0d-transition); }
.b0d-btn--cta { background: var(--b0d-accent); color: #fff; box-shadow: 0 4px 12px rgba(255,172,61,.35); }
.b0d-btn--cta:hover { background: var(--b0d-accent-dark); transform: translateY(-1px); color: #fff; }
.b0d-btn--cta::after { content: "→"; display: inline-block; animation: b0d-arrow-slide 1.8s ease-in-out infinite; font-size: 1.1em; }

/* ----- 4. HEADER (logo-center-menu-split) ----- */
.b0d-header {
  background: var(--b0d-surface);
  border-bottom: 1px solid var(--b0d-line);
  position: sticky; top: 0;
  z-index: 500;
  box-shadow: var(--b0d-shadow-sm);
}
.b0d-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: var(--b0d-container-max);
  margin: 0 auto;
  padding: .85rem 1.25rem;
  position: relative;
}

.b0d-brand-link { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--b0d-text); flex-shrink: 0; }
.b0d-brand-link:hover { color: var(--b0d-text); }
.b0d-brand-logo { height: auto; max-height: 48px; width: auto; }
.b0d-brand-name {
  font-family: var(--b0d-font-headings);
  font-size: 1.45rem;
  letter-spacing: .02em;
  color: var(--b0d-text);
  line-height: 1;
}

.b0d-nav-desktop { display: none; }
.b0d-nav-desktop-list {
  display: flex; flex-wrap: wrap; gap: 1.4rem; list-style: none; margin: 0; padding: 0; align-items: center;
}
.b0d-nav-desktop-list a {
  color: var(--b0d-text);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: .4rem .15rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--b0d-transition), color var(--b0d-transition);
}
.b0d-nav-desktop-list a:hover { color: var(--b0d-primary); border-bottom-color: var(--b0d-accent); }

/* ----- BURGER ----- */
.b0d-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(0,0,0,0.18);
  border-radius: 8px;
  color: var(--b0d-text);
  cursor: pointer;
  z-index: 10000;
  flex-shrink: 0;
  position: relative;
  margin-left: auto;
}
.b0d-burger-bars {
  display: flex; flex-direction: column; gap: 4px; width: 24px; height: 16px;
}
.b0d-burger-bars span {
  display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
}

/* ----- 5. DESKTOP NAV (>= 1024px) ----- */
@media (min-width: 1024px) {
  .b0d-nav-desktop { display: flex; flex: 1 1 0; align-items: center; }
  .b0d-nav-desktop--left { justify-content: flex-end; }
  .b0d-nav-desktop--right { justify-content: flex-start; }
  .b0d-burger { display: none !important; }
}

/* ----- 6. DRAWER MOBILE (hidden by default) ----- */
.b0d-nav-mobile { display: none; }
.b0d-drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,31,42,.55);
  z-index: 9998;
}
.b0d-drawer-overlay.is-open { display: block; }

@media (max-width: 1023px) {
  .b0d-nav-mobile.is-open {
    display: flex !important;
    flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 86%; max-width: 380px;
    background: var(--b0d-surface);
    padding: 4.5rem 1.5rem 1.5rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -12px 0 32px rgba(10,31,42,.25);
    animation: b0d-drawer-in .3s ease-out;
  }
}
@keyframes b0d-drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

.b0d-drawer-close {
  position: absolute; top: 1rem; right: 1rem;
  background: transparent; border: 1.5px solid var(--b0d-line);
  border-radius: 8px; width: 38px; height: 38px;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  color: var(--b0d-text);
}
.b0d-nav-mobile-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.b0d-nav-mobile-list li { border-bottom: 1px solid var(--b0d-line); }
.b0d-nav-mobile-list li.b0d-nav-mobile-sep { margin-top: 1rem; border-top: 1px solid var(--b0d-line); }
.b0d-nav-mobile-list a {
  display: block;
  padding: .9rem .25rem;
  color: var(--b0d-text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
}
.b0d-nav-mobile-list a:hover { color: var(--b0d-primary); }

.b0d-drawer-cta {
  display: block !important;
  margin: 2rem 0 1rem !important;
  padding: 1rem 1.5rem !important;
  text-align: center !important;
  background: var(--b0d-accent) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
}
.b0d-drawer-cta::after { display: none; }

@media (max-width: 1023px) {
  .b0d-header-cta-desktop,
  .b0d-header [class*="-btn--cta"]:not(.b0d-drawer-cta) { display: none !important; }
}
@media (min-width: 1024px) {
  .b0d-drawer-cta { display: none !important; }
}

/* ----- 7. HERO zoom-on-scroll ----- */
.b0d-hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--b0d-text);
  background: var(--b0d-surface);
}
.b0d-hero-bg-wrap {
  position: absolute; inset: 0;
  z-index: 1;
}
.b0d-hero-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
  will-change: transform;
  /* Animation: zoom subtil au scroll (modern browsers) + fade-in initial */
  animation: b0d-hero-init 1.2s ease-out both;
}
@keyframes b0d-hero-init { from { transform: scale(1.06); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@supports (animation-timeline: scroll()) {
  .b0d-hero-bg {
    animation: b0d-hero-zoom linear both;
    animation-timeline: scroll();
    animation-range: 0 90vh;
  }
  @keyframes b0d-hero-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.2); }
  }
}

.b0d-hero-inner {
  position: relative; z-index: 3;
  max-width: 820px;
  padding: 4rem 1.5rem;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 14px;
  margin: 1.5rem;
}
.b0d-hero-eyebrow {
  display: inline-block;
  font-family: var(--b0d-font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--b0d-primary);
  background: rgba(4,120,87,.1);
  padding: .35rem .9rem;
  border-radius: 999px;
  margin: 0 0 1rem;
}
.b0d-hero-title {
  font-family: var(--b0d-font-headings);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--b0d-text);
}
.b0d-hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--b0d-text-soft);
  margin: 0 0 1.5rem;
}
.b0d-hero-actions { margin: 0; }

/* ----- 8. EDITORIAL BLOCK (after-hero) ----- */
.b0d-editorial-block {
  background: var(--b0d-surface);
  padding: 4.5rem 0;
}
.b0d-editorial-block h2 {
  text-align: center;
  margin-bottom: 1.25rem;
}
.b0d-editorial-lead {
  max-width: 760px; margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--b0d-text-soft);
  line-height: 1.75;
}
.b0d-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.b0d-editorial-card {
  background: var(--b0d-bg);
  padding: 1.5rem 1.6rem;
  border-radius: var(--b0d-radius);
  border-left: 4px solid var(--b0d-primary);
}
.b0d-editorial-card h3 {
  font-family: var(--b0d-font-headings);
  font-size: 1.25rem;
  color: var(--b0d-primary);
  margin: 0 0 .6rem;
}
.b0d-editorial-card p { margin: 0; color: var(--b0d-text); }
.b0d-editorial-credo {
  background: var(--b0d-primary);
  color: #fff;
  padding: 2rem 2rem;
  border-radius: var(--b0d-radius);
  text-align: center;
}
.b0d-editorial-credo h3 { color: #fff; font-family: var(--b0d-font-headings); margin: 0 0 .8rem; }
.b0d-editorial-credo p { margin: 0; color: rgba(255,255,255,.92); line-height: 1.7; }

@media (max-width: 720px) {
  .b0d-editorial-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ----- 9. CATEGORIES GRID ----- */
.b0d-categories {
  background: var(--b0d-bg);
  padding: 4.5rem 0;
}
.b0d-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.b0d-cat-card {
  position: relative;
  display: block;
  border-radius: var(--b0d-radius);
  overflow: hidden;
  background: var(--b0d-surface);
  text-decoration: none;
  box-shadow: var(--b0d-shadow-sm);
  transition: transform var(--b0d-transition), box-shadow var(--b0d-transition);
  color: var(--b0d-text);
  aspect-ratio: 4 / 3;
}
.b0d-cat-card:hover { transform: translateY(-4px); box-shadow: var(--b0d-shadow-md); color: var(--b0d-text); }
.b0d-cat-card-img {
  display: block;
  width: 100%;
  height: 65%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--b0d-primary), var(--b0d-accent));
}
.b0d-cat-card-body {
  padding: .9rem 1rem 1rem;
}
.b0d-cat-card-title {
  font-family: var(--b0d-font-headings);
  font-size: 1.15rem;
  margin: 0 0 .15rem;
  color: var(--b0d-text);
}
.b0d-cat-card-count { font-size: .85rem; color: var(--b0d-text-soft); margin: 0; }
.b0d-cat-card--no-img { background: linear-gradient(135deg, var(--b0d-primary), var(--b0d-accent)); color: #fff; display: flex; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.b0d-cat-card--no-img .b0d-cat-card-title { color: #fff; }
.b0d-cat-card--no-img .b0d-cat-card-count { color: rgba(255,255,255,.85); }

@media (max-width: 1100px) { .b0d-categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .b0d-categories-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 440px)  { .b0d-categories-grid { grid-template-columns: 1fr; } }

/* ----- 10. LATEST ARTICLES GRID (18 = 3 columns x 6 rows ; use 3 cols for clean alignment) ----- */
.b0d-latest {
  background: var(--b0d-surface);
  padding: 4.5rem 0;
}
.b0d-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.b0d-card {
  background: var(--b0d-surface);
  border: 1px solid var(--b0d-line);
  border-radius: var(--b0d-radius);
  overflow: hidden;
  transition: transform var(--b0d-transition), box-shadow var(--b0d-transition);
}
.b0d-card:hover { transform: translateY(-3px); box-shadow: var(--b0d-shadow-md); }
.b0d-card-link { display: block; text-decoration: none; color: var(--b0d-text); }
.b0d-card-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--b0d-bg); }
.b0d-card-thumb .b0d-card-img,
.b0d-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.b0d-card:hover .b0d-card-img,
.b0d-card:hover .b0d-card-thumb img { transform: scale(1.04); }
.b0d-card-body { padding: 1.1rem 1.2rem 1.4rem; }
.b0d-card-cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--b0d-primary);
  background: rgba(4,120,87,.08);
  padding: .2rem .6rem;
  border-radius: 4px;
  margin-bottom: .5rem;
}
.b0d-card-title { font-family: var(--b0d-font-headings); font-size: 1.2rem; margin: 0 0 .5rem; line-height: 1.3; }
.b0d-card-excerpt { color: var(--b0d-text-soft); font-size: .95rem; margin: 0 0 .8rem; line-height: 1.6; }
.b0d-card-date { font-size: .8rem; color: var(--b0d-text-soft); margin: 0; }
.b0d-empty { text-align: center; padding: 3rem 1rem; color: var(--b0d-text-soft); font-size: 1.05rem; }

@media (max-width: 960px)  { .b0d-articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .b0d-articles-grid { grid-template-columns: 1fr; } }

/* ----- 11. ABOUT TEASER (home) ----- */
.b0d-about-teaser {
  background: var(--b0d-bg);
  padding: 4.5rem 0;
}
.b0d-about-teaser-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
}
.b0d-about-teaser-img {
  width: 280px; height: 280px; object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--b0d-shadow-md);
}
.b0d-about-teaser-text h2 { margin-top: 0; }
@media (max-width: 720px) {
  .b0d-about-teaser-inner { grid-template-columns: 1fr; text-align: center; }
  .b0d-about-teaser-img { margin: 0 auto; width: 220px; height: 220px; }
}

/* ----- 12. PERSONA PHOTO (page À propos) ----- */
.b0d-persona-photo {
  width: 100%; max-width: 480px;
  height: auto;
  border-radius: var(--b0d-radius);
  margin: 0 auto 2rem;
  box-shadow: var(--b0d-shadow-md);
  display: block;
}

/* ----- 13. CONTACT FORM WRAPPER ----- */
.b0d-contact-form { margin: 2rem 0 3rem; }
.b0d-contact-form iframe { display: block; border-radius: var(--b0d-radius); }

/* ----- 14. FAQ ANIMATION (CTR = accordion_faq) ----- */
.b0d-faq { border-top: 1px solid var(--b0d-line); margin: 2rem 0; }
.b0d-faq-item { border-bottom: 1px solid var(--b0d-line); }
.b0d-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--b0d-text);
  list-style: none;
}
.b0d-faq-q::-webkit-details-marker { display: none; }
.b0d-faq-q::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--b0d-accent);
  transition: transform var(--b0d-transition);
  font-weight: 400;
}
.b0d-faq-item[open] .b0d-faq-q::after { transform: rotate(45deg); }
.b0d-faq-a { padding: 0 0 1.2rem; color: var(--b0d-text-soft); line-height: 1.65; }

/* ----- 15. STOCK BADGE (CTO = stock_remaining_badge) ----- */
@keyframes b0d-stock-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
.b0d-stock-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .25rem .6rem;
  background: rgba(255,172,61,.15);
  color: #b8651a;
  border: 1px solid rgba(255,172,61,.35);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}
.b0d-stock-badge::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--b0d-accent-dark);
  animation: b0d-stock-pulse 1.4s ease-in-out infinite;
}

/* ----- 16. CATEGORY PAGE (layout: tldr-detailed) ----- */
.b0d-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--b0d-primary);
}
.b0d-cat-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.b0d-cat-hero-inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
  padding: 0 1.25rem 2rem;
  max-width: var(--b0d-container-max);
  margin: 0 auto;
}
.b0d-cat-hero-title {
  color: #fff;
  font-family: var(--b0d-font-headings);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  margin: 0;
}
.b0d-cat-intro {
  background: var(--b0d-surface);
  padding: 3rem 0;
}
.b0d-cat-intro p {
  max-width: 760px; margin: 0 auto 1.2rem;
  color: var(--b0d-text);
  line-height: 1.75;
  font-size: 1.05rem;
}
.b0d-cat-tldr {
  background: var(--b0d-primary);
  color: #fff;
  padding: 1.5rem 1.75rem;
  border-radius: var(--b0d-radius);
  max-width: 760px;
  margin: 0 auto 2rem;
}
.b0d-cat-tldr h2 { color: #fff; margin: 0 0 .8rem; font-size: 1.15rem; }
.b0d-cat-tldr ul { margin: 0; padding-left: 1.25rem; }
.b0d-cat-tldr li { margin: .35rem 0; color: rgba(255,255,255,.95); }

/* ----- 17. FOOTER (4 columns - aurora_columns style) ----- */
.b0d-footer {
  background: #0A1F2A;
  color: #f5f0e5;
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}
.b0d-footer-inner {
  max-width: var(--b0d-container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.b0d-footer-col { min-width: 0; }
.b0d-footer-logo { max-height: 56px; width: auto; }
.b0d-footer-brand-name {
  font-family: var(--b0d-font-headings);
  font-size: 1.3rem;
  color: #fff;
  display: block;
  margin-bottom: .5rem;
}
.b0d-footer-brand-pitch {
  color: #d0d8de;
  font-size: .92rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.b0d-footer-brand-cta {
  display: inline-block;
  color: var(--b0d-accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1.5px solid var(--b0d-accent);
  padding-bottom: 2px;
  transition: opacity var(--b0d-transition);
}
.b0d-footer-brand-cta:hover { color: var(--b0d-accent); opacity: .8; }

.b0d-footer-title {
  font-family: var(--b0d-font-headings);
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.b0d-footer-links { list-style: none; margin: 0; padding: 0; }
.b0d-footer-links li { margin: .55rem 0; }
.b0d-footer-links a {
  color: #d0d8de;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.2);
  font-size: .92rem;
  transition: color var(--b0d-transition);
}
.b0d-footer-links a:hover { color: var(--b0d-accent); text-decoration-color: var(--b0d-accent); }

.b0d-footer-social { margin-top: 1rem; display: flex; gap: .6rem; }
.b0d-footer-social a { color: #d0d8de; }
.b0d-footer-social a:hover { color: var(--b0d-accent); }

.b0d-footer-bottom {
  text-align: center;
  padding: 1.5rem 1.25rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #a0aab2;
  font-size: .85rem;
}
.b0d-footer-bottom p { margin: 0; }

@media (max-width: 980px) {
  .b0d-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 540px) {
  .b0d-footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ----- 18. MOUSE EFFECT: link_hover_underline ----- */
.b0d-article a,
.b0d-card-title a,
.b0d-cat-card a,
.b0d-editorial-block a,
.b0d-nav-desktop-list a {
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(var(--b0d-accent), var(--b0d-accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size .35s cubic-bezier(.65,0,.35,1), color var(--b0d-transition);
}
.b0d-article a:hover,
.b0d-card-title a:hover,
.b0d-cat-card a:hover,
.b0d-editorial-block a:hover,
.b0d-nav-desktop-list a:hover {
  background-size: 100% 2px;
}
@media (hover: none) {
  .b0d-article a,
  .b0d-editorial-block a {
    background-size: 100% 2px;
    opacity: .92;
  }
}

/* ----- 19. UTILITAIRES ----- */
.b0d-only-mobile { display: none; }
@media (max-width: 1023px) { .b0d-only-mobile { display: block; } }
.b0d-only-desktop { display: none; }
@media (min-width: 1024px) { .b0d-only-desktop { display: block; } }

/* ----- 20. CONTRAST SAFETY (forçage minimum) ----- */
.b0d-footer p, .b0d-footer span { color: #d0d8de; }
.b0d-footer h1, .b0d-footer h2, .b0d-footer h3 { color: #fff; }
.b0d-hero-inner p, .b0d-hero-inner h1 { color: var(--b0d-text); }

/* ----- 21. RESPONSIVE TYPO ----- */
@media (max-width: 720px) {
  body.b0d-body { font-size: 15.5px; }
  .b0d-hero { min-height: 60vh; }
  .b0d-hero-inner { padding: 2.5rem 1.25rem; margin: 1rem; }
  .b0d-editorial-block, .b0d-categories, .b0d-latest, .b0d-about-teaser { padding: 3rem 0; }
}


/* Mouse effect : link_hover_underline */
/* Link hover underline — un soulignement qui se révèle de gauche à droite au survol des liens éditoriaux */ .b0d-article a, .b0d-card-title a, .b0d-cat-card a, .b0d-footer a, .b0d-editorial-block a, .b0d-nav-desktop-list a { position: relative; text-decoration: none; background-image: linear-gradient(var(--b0d-accent), var(--b0d-accent)); background-position: 0 100%; background-repeat: no-repeat; background-size: 0% 2px; transition: background-size .35s cubic-bezier(.65,0,.35,1); } .b0d-article a:hover, .b0d-card-title a:hover, .b0d-cat-card a:hover, .b0d-footer a:hover, .b0d-editorial-block a:hover, .b0d-nav-desktop-list a:hover { background-size: 100% 2px; } @media (hover: none) { .b0d-article a, .b0d-card-title a, .b0d-cat-card a, .b0d-footer a { background-size: 100% 2px; opacity: .9; } }

/* 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; }
