/* ==========================================================================
   chirurgie-obesite-cancerologie.com — custom child theme styles
   Design System: Minimaliste Cream Blush (DB)
   Couleurs: hybride DB cream + competitor wine red / muted teal
   ========================================================================== */

:root {
  --efd-primary:    #8c071c;
  --efd-primary-dk: #6b0515;
  --efd-accent:     #6e8a87;
  --efd-accent-dk:  #4f6f6c;
  --efd-text:       #252e2d;
  --efd-text-soft:  #576e6b;
  --efd-bg:         #FAF1EA;
  --efd-surface:    #FFFFFF;
  --efd-line:       #E5D0C5;
  --efd-shadow-sm:  0 1px 2px rgba(140, 7, 28, 0.06);
  --efd-shadow-md:  0 4px 14px rgba(58, 31, 31, 0.08);
  --efd-shadow-lg:  0 14px 40px rgba(58, 31, 31, 0.14);
  --efd-radius:     6px;
  --efd-radius-lg:  10px;
  --efd-font-h:     "Yeseva One", Georgia, "Times New Roman", serif;
  --efd-font-b:     "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --efd-container:  1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--efd-bg);
  color: var(--efd-text);
  font-family: var(--efd-font-b);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main, .efd-main { padding-top: 0 !important; margin-top: 0 !important; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--efd-font-h);
  font-weight: 400;
  color: var(--efd-text);
  margin: 0 0 .6em;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }

p { margin: 0 0 1em; color: var(--efd-text); }
p.lead { font-size: 1.15rem; color: var(--efd-text-soft); }

a { color: var(--efd-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--efd-primary-dk); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.efd-container, .eea-container {
  max-width: var(--efd-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER — logo-left-menu-right (blush_thin)
   ========================================================================== */
.efd-header {
  background: var(--efd-surface);
  border-bottom: 1px solid var(--efd-line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--efd-shadow-sm);
}
.efd-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: flex-start;
  padding: 1rem 1.5rem;
  max-width: var(--efd-container);
  margin: 0 auto;
}
.efd-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.efd-brand-link { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.efd-brand-link:hover { text-decoration: none; }
.efd-brand-logo { width: auto; }
.efd-brand-name {
  font-family: var(--efd-font-h);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--efd-text);
  text-transform: lowercase;
  letter-spacing: 0;
  line-height: 1;
}

/* DESKTOP NAV */
.efd-nav-desktop { display: none; }
.efd-nav-desktop-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.efd-nav-desktop-list a {
  color: var(--efd-text);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: .4rem .2rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.efd-nav-desktop-list a:hover {
  color: var(--efd-primary);
  border-bottom-color: var(--efd-primary);
}

/* BURGER (mobile only) */
.efd-burger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 8px !important;
  background: rgba(255,255,255,0.92) !important;
  border: 1.5px solid var(--efd-line) !important;
  border-radius: 8px !important;
  color: var(--efd-text) !important;
  cursor: pointer !important;
  z-index: 10000 !important;
  flex-shrink: 0 !important;
  position: relative !important;
  margin-left: auto;
}
.efd-burger-bars {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 24px !important;
  height: 16px !important;
}
.efd-burger-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* DRAWER mobile */
.efd-nav-mobile { display: none; }
.efd-nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(37,46,45,0.45);
  z-index: 9998;
}
.efd-nav-mobile-overlay.is-open { display: block; }
.efd-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(--efd-surface);
  padding: 4.5rem 1.5rem 2rem;
  z-index: 9999;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(58, 31, 31, 0.18);
}
.efd-nav-mobile-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--efd-text);
}
.efd-nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.efd-nav-mobile-list li { border-bottom: 1px solid var(--efd-line); }
.efd-nav-mobile-list a {
  display: block;
  padding: 1rem .25rem;
  color: var(--efd-text);
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: none;
}
.efd-nav-mobile-list a:hover { color: var(--efd-primary); }

/* CTA drawer (always rendered, hidden desktop) */
.efd-drawer-cta {
  display: block !important;
  margin: 2rem 0 0 !important;
  padding: 1rem 1.5rem !important;
  text-align: center !important;
  background: var(--efd-primary) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
}
@media (min-width: 1024px) {
  .efd-drawer-cta { display: none !important; }
}

/* DESKTOP NAV VISIBLE / BURGER MASQUÉ */
@media (min-width: 1024px) {
  .efd-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    margin: 0 1.5rem;
  }
  .efd-burger { display: none !important; }
  .efd-nav-mobile { display: none !important; }
}

/* ==========================================================================
   HERO — latest-edition style
   ========================================================================== */
.efd-hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  background: var(--efd-bg);
}
.efd-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.efd-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--efd-container);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70vh;
}
.efd-hero-eyebrow {
  display: inline-block;
  font-family: var(--efd-font-b);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--efd-primary);
  background: rgba(255,255,255,0.86);
  padding: .55rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
  backdrop-filter: blur(8px);
}
.efd-hero-title {
  font-family: var(--efd-font-h);
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 760px;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.efd-hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(255,255,255,0.92);
  max-width: 620px;
  margin: 0 0 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.efd-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.efd-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  font-family: var(--efd-font-b);
  font-weight: 600;
  font-size: .98rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  line-height: 1.2;
}
.efd-btn--primary {
  background: var(--efd-primary);
  color: #fff;
  border-color: var(--efd-primary);
}
.efd-btn--primary:hover {
  background: var(--efd-primary-dk);
  border-color: var(--efd-primary-dk);
  color: #fff;
}
.efd-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.efd-btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* CTA = border_draw_button animation */
.efd-btn--cta {
  position: relative;
  background: transparent;
  color: var(--efd-primary);
  border: 2px solid var(--efd-primary);
  overflow: hidden;
}
.efd-btn--cta::before,
.efd-btn--cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--efd-accent);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
.efd-btn--cta::before { animation: efd-border-draw-h 2.4s ease-in-out infinite; }
.efd-btn--cta::after  { animation: efd-border-draw-v 2.4s ease-in-out infinite; animation-delay: 1.2s; }
.efd-btn--cta:hover {
  background: var(--efd-primary);
  color: #fff;
  border-color: var(--efd-primary);
}
@keyframes efd-border-draw-h {
  0%   { clip-path: inset(0 100% 100% 0); opacity: 0; }
  20%  { opacity: 1; }
  50%  { clip-path: inset(0 0 0 0); opacity: 1; }
  80%  { opacity: 1; }
  100% { clip-path: inset(100% 0 0 100%); opacity: 0; }
}
@keyframes efd-border-draw-v {
  0%   { clip-path: inset(100% 0 0 100%); opacity: 0; }
  20%  { opacity: 1; }
  50%  { clip-path: inset(0 0 0 0); opacity: 1; }
  80%  { opacity: 1; }
  100% { clip-path: inset(0 100% 100% 0); opacity: 0; }
}

/* ==========================================================================
   ÉDITORIAL HOME — bloc SEO 400-700 mots
   ========================================================================== */
.efd-editorial {
  background: var(--efd-bg);
  padding: 4.5rem 0;
}
.efd-editorial-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.efd-editorial h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--efd-text);
}
.efd-editorial h3 {
  font-size: 1.3rem;
  margin: 2rem 0 .7rem;
  color: var(--efd-primary);
}
.efd-editorial p {
  color: var(--efd-text);
  line-height: 1.75;
  font-size: 1.05rem;
}
.efd-editorial a {
  color: var(--efd-primary);
  text-decoration: underline;
  text-decoration-color: var(--efd-accent);
  text-underline-offset: 3px;
}
.efd-editorial-line {
  background: var(--efd-surface);
  border-left: 3px solid var(--efd-primary);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 var(--efd-radius) var(--efd-radius) 0;
}
.efd-editorial-line h3 { margin-top: 0; }

/* ==========================================================================
   SECTION GENERIC
   ========================================================================== */
.efd-section {
  padding: 4.5rem 0;
}
.efd-section--alt { background: var(--efd-surface); }
.efd-section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.efd-section-head h2 {
  margin: 0 0 .6rem;
}
.efd-section-head p {
  color: var(--efd-text-soft);
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   BY-CATEGORY blocs (mode latest=by-category)
   ========================================================================== */
.efd-bycat {
  padding: 3rem 0;
  border-bottom: 1px solid var(--efd-line);
}
.efd-bycat:last-child { border-bottom: 0; }
.efd-bycat-inner {
  max-width: var(--efd-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.efd-bycat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 2px solid var(--efd-primary);
  padding-bottom: .85rem;
}
.efd-bycat-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.efd-bycat-head h2 a { color: var(--efd-text); text-decoration: none; }
.efd-bycat-head h2 a:hover { color: var(--efd-primary); }
.efd-bycat-more {
  font-size: .92rem;
  font-weight: 600;
  color: var(--efd-primary);
  text-decoration: none;
}
.efd-bycat-more:hover { text-decoration: underline; }
.efd-bycat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 720px) {
  .efd-bycat-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.efd-bycat-empty {
  background: var(--efd-bg);
  border: 1px dashed var(--efd-line);
  padding: 2rem;
  border-radius: var(--efd-radius);
  color: var(--efd-text-soft);
  text-align: center;
}
.efd-bycat-empty a { color: var(--efd-primary); font-weight: 600; }

/* ==========================================================================
   ARTICLE CARDS
   ========================================================================== */
.efd-card {
  background: var(--efd-surface);
  border-radius: var(--efd-radius-lg);
  overflow: hidden;
  box-shadow: var(--efd-shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.efd-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--efd-shadow-md);
}
.efd-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--efd-bg);
}
.efd-card-img-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--efd-primary) 0%, var(--efd-accent) 100%);
}
.efd-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.efd-card-title {
  font-family: var(--efd-font-h);
  font-size: 1.25rem;
  margin: 0 0 .5rem;
  color: var(--efd-text);
  line-height: 1.3;
}
.efd-card-title a {
  color: inherit;
  text-decoration: none;
}
.efd-card-title a:hover { color: var(--efd-primary); }
.efd-card-meta {
  font-size: .82rem;
  color: var(--efd-text-soft);
  margin: 0;
  letter-spacing: .02em;
}
.efd-card-excerpt {
  margin: .75rem 0 0;
  font-size: .94rem;
  color: var(--efd-text-soft);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER 4 cols (cream_serif_simple)
   ========================================================================== */
.efd-footer {
  background: #2a1a1a;
  color: #f3e6e0;
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}
.efd-footer-inner {
  max-width: var(--efd-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 980px) {
  .efd-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 580px) {
  .efd-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.efd-footer-logo {
  display: block;
  margin-bottom: 1.25rem;
  height: auto;
  max-width: 160px;
  filter: brightness(0) invert(1) opacity(0.95);
}
.efd-footer-brand-name {
  font-family: var(--efd-font-h);
  font-size: 1.3rem;
  text-transform: lowercase;
  color: #f3e6e0;
  margin: 0 0 .75rem;
}
.efd-footer-brand-pitch {
  font-size: .95rem;
  line-height: 1.65;
  color: #d9cac3;
  margin: 0 0 1.25rem;
  max-width: 36ch;
}
.efd-footer-brand-cta {
  display: inline-block;
  font-size: .9rem;
  font-weight: 600;
  color: #f3e6e0;
  border-bottom: 2px solid var(--efd-accent);
  padding-bottom: 2px;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.efd-footer-brand-cta:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.efd-footer-title {
  font-family: var(--efd-font-h);
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: #fff;
  margin: 0 0 1rem;
  text-transform: uppercase;
  font-weight: 400;
}
.efd-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.efd-footer-links li { margin-bottom: .6rem; }
.efd-footer-links a {
  color: #d9cac3;
  text-decoration: underline;
  text-decoration-color: rgba(217, 202, 195, 0.3);
  text-underline-offset: 3px;
  font-size: .92rem;
  transition: color .2s;
}
.efd-footer-links a:hover { color: #fff; text-decoration-color: var(--efd-accent); }
.efd-footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}
.efd-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(243, 230, 224, 0.3);
  border-radius: 50%;
  color: #f3e6e0;
  transition: all .25s;
}
.efd-footer-social a:hover {
  background: var(--efd-accent);
  border-color: var(--efd-accent);
  color: #fff;
}
.efd-footer-bottom {
  max-width: var(--efd-container);
  margin: 3rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(243, 230, 224, 0.18);
  text-align: center;
  font-size: .85rem;
  color: #b8a8a3;
}
.efd-footer-bottom a {
  color: #d9cac3;
  text-decoration: underline;
  margin: 0 .3rem;
}

/* ==========================================================================
   CATEGORY PAGES — single-bottom layout
   ========================================================================== */
.efd-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--efd-primary);
}
.efd-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.efd-cat-hero .eea-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.78) 100%);
}
.efd-cat-hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}
.efd-cat-archive {
  padding: 3rem 0;
}
.efd-cat-archive-inner {
  max-width: var(--efd-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.efd-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 980px) { .efd-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .efd-cat-grid { grid-template-columns: 1fr; } }
.efd-cat-description {
  background: var(--efd-surface);
  padding: 2.5rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--efd-line);
}
.efd-cat-description-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: var(--efd-text);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT PAGE & JOTFORM
   ========================================================================== */
.efd-contact-intro {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  color: var(--efd-text);
  line-height: 1.75;
}
.efd-contact-form {
  max-width: 820px;
  margin: 2rem auto 4rem;
}
.efd-contact-form iframe {
  background: var(--efd-surface);
  border-radius: var(--efd-radius-lg);
  box-shadow: var(--efd-shadow-md);
}

/* ==========================================================================
   PERSONA / ABOUT
   ========================================================================== */
.efd-persona-photo {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 50%;
  margin: 1rem auto 1.5rem;
  display: block;
  box-shadow: var(--efd-shadow-md);
  border: 4px solid var(--efd-surface);
}

/* ==========================================================================
   TOOLS pages
   ========================================================================== */
.efd-tool-page {
  padding: 3rem 0 5rem;
}
.efd-tool-page-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.efd-tool-intro {
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  color: var(--efd-text);
  line-height: 1.75;
}

/* CTR animation = countdown_bar */
.efd-ctr {
  position: relative;
  padding: 1rem 1.4rem;
  background: var(--efd-bg);
  border: 1px solid var(--efd-line);
  border-radius: var(--efd-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.efd-ctr::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--efd-primary), var(--efd-accent));
  animation: efd-countdown 12s linear infinite;
}
@keyframes efd-countdown {
  0%   { width: 0%; }
  100% { width: 100%; }
}

/* CTO animation = callback_request_widget */
.efd-cto-widget {
  position: relative;
  padding: 1.5rem;
  background: var(--efd-surface);
  border-radius: var(--efd-radius-lg);
  box-shadow: var(--efd-shadow-md);
}
.efd-cto-widget::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 1.5rem;
  width: 16px;
  height: 16px;
  background: var(--efd-primary);
  border-radius: 50%;
  animation: efd-cto-pulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(140, 7, 28, 0.5);
}
@keyframes efd-cto-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(140, 7, 28, 0.5); }
  50%      { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(140, 7, 28, 0); }
}

/* ==========================================================================
   METRICS LINKS BLOC (rendered by efd_render_metrics_links)
   ========================================================================== */
.efd-metrics-links {
  padding: 3.5rem 0;
  background: var(--efd-surface);
  border-top: 1px solid var(--efd-line);
  border-bottom: 1px solid var(--efd-line);
}
.efd-metrics-links-inner {
  max-width: var(--efd-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.efd-metrics-links h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--efd-text);
}
.efd-metrics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.efd-metrics-list a {
  display: inline-block;
  padding: .6rem 1.25rem;
  background: var(--efd-bg);
  color: var(--efd-primary);
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  border: 1px solid var(--efd-line);
}
.efd-metrics-list a:hover {
  background: var(--efd-primary);
  color: #fff;
  border-color: var(--efd-primary);
}

/* ==========================================================================
   MISC
   ========================================================================== */
.efd-mt-0 { margin-top: 0 !important; }
.efd-mt-md { margin-top: 2rem; }
.efd-mt-lg { margin-top: 3rem; }

@media (max-width: 980px) {
  .efd-hero-inner { padding: 4rem 1.5rem 3rem; min-height: 60vh; }
  .efd-section, .efd-editorial { padding: 3rem 0; }
}

/* SR only */
.efd-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* 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; }
