/* ============================================================
   CABINET CHEBLI — Custom theme CSS
   Design system: Business Consulting McKinsey (DB pick)
   Fonts: Roboto Slab (headings) + Roboto (body)
   Palette: bleu corporate + surfaces claires (McKinsey)
   Layout header: logo-left / menu-center / cta-right (CTA masqué : HEADER_CTA=no)
   Hero style: latest-edition (une-magazine)
   Category layout: sandwich (intro + articles + outro)
   Animations: progress_bar_cta / interactive_map_pin / discount_corner_ribbon
   ============================================================ */

:root {
  --dee-primary:      #003366;
  --dee-primary-70:   rgba(0, 51, 102, 0.7);
  --dee-primary-10:   rgba(0, 51, 102, 0.10);
  --dee-accent:       #0080FF;
  --dee-accent-70:    rgba(0, 128, 255, 0.7);
  --dee-bg:           #FFFFFF;
  --dee-surface:      #F5F7FA;
  --dee-text:         #001F4A;
  --dee-text-soft:    #5A6580;
  --dee-line:         #D5DCE5;
  --dee-radius:       6px;
  --dee-radius-lg:    10px;
  --dee-shadow-sm:    0 1px 3px rgba(0, 31, 74, 0.08);
  --dee-shadow-md:    0 6px 20px rgba(0, 31, 74, 0.10);
  --dee-shadow-lg:    0 14px 40px rgba(0, 31, 74, 0.14);
  --dee-container:    1200px;
  --dee-container-lg: 1360px;
  --dee-gap:          1.5rem;
  --dee-header-h:     78px;
  --dee-font-heading: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  --dee-font-body:    'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body.dee-body {
  margin: 0;
  padding: 0;
  font-family: var(--dee-font-body);
  color: var(--dee-text);
  background: var(--dee-bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--dee-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--dee-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dee-font-heading);
  color: var(--dee-primary);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .8em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.05rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
p { margin: 0 0 1em; color: var(--dee-text); }
p, li { font-size: 1.03rem; }

main, .dee-main { padding-top: 0 !important; margin-top: 0 !important; }

.dee-container {
  width: 100%;
  max-width: var(--dee-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.dee-container--lg { max-width: var(--dee-container-lg); }

/* ============================================================
   HEADER — layout logo-left-menu-center-cta-right
   HEADER_CTA=no → pas de CTA desktop, header épuré
   ============================================================ */
.dee-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--dee-line);
  box-shadow: var(--dee-shadow-sm);
}
.dee-header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem 1.5rem;
  max-width: var(--dee-container-lg);
  margin: 0 auto;
  min-height: var(--dee-header-h);
}
.dee-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.dee-brand-logo { height: auto; width: auto; max-height: 48px; }
.dee-brand-name {
  font-family: var(--dee-font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dee-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.dee-nav-desktop { display: none; }
.dee-nav-desktop-list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.dee-nav-desktop-list > li { margin: 0; }
.dee-nav-desktop-list a {
  color: var(--dee-text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.dee-nav-desktop-list a:hover,
.dee-nav-desktop-list .current-menu-item > a,
.dee-nav-desktop-list .current-cat > a {
  color: var(--dee-primary);
  border-bottom-color: var(--dee-accent);
}

/* Burger — visible sur mobile uniquement */
.dee-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--dee-line);
  border-radius: var(--dee-radius);
  color: var(--dee-primary);
  cursor: pointer;
  margin-left: auto;
  padding: 0;
}
.dee-burger svg { width: 22px; height: 22px; }

/* Drawer mobile — display:none par défaut */
.dee-nav-mobile { display: none; }
.dee-nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dee-nav-mobile-list li {
  border-bottom: 1px solid var(--dee-line);
}
.dee-nav-mobile-list a {
  display: block;
  padding: 1rem 0.5rem;
  color: #0a0a0a;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
}
.dee-nav-mobile-list a:hover { color: var(--dee-primary); }
.dee-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #0a0a0a;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  line-height: 1;
}
.dee-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 31, 74, 0.55);
  z-index: 9998;
}
.dee-drawer-overlay.is-open { display: block; }
.dee-drawer-cta {
  display: none;
}

@media (max-width: 1023px) {
  .dee-header-cta-desktop { display: none !important; }
  .dee-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, 31, 74, 0.3);
  }
  .dee-drawer-cta {
    display: block !important;
    margin: 2rem 0 0 !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    background: var(--dee-accent) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
  }
}

@media (min-width: 1024px) {
  .dee-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1.5rem;
  }
  .dee-burger { display: none !important; }
  .dee-drawer-cta { display: none !important; }
}

/* ============================================================
   HERO — style "latest-edition" (une magazine)
   ============================================================ */
.dee-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #f4f7fb 0%, #eaf0f7 100%);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--dee-line);
}
.dee-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--dee-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.dee-hero-content { max-width: 640px; }
.dee-hero-eyebrow {
  display: inline-block;
  font-family: var(--dee-font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dee-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  background: rgba(0, 128, 255, 0.10);
  border-radius: 4px;
}
.dee-hero-title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  color: var(--dee-primary);
  line-height: 1.1;
  margin: 0 0 1rem;
  font-weight: 700;
}
.dee-hero-subtitle {
  font-size: 1.15rem;
  color: var(--dee-text-soft);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 560px;
}
.dee-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.dee-hero-image {
  position: relative;
  border-radius: var(--dee-radius-lg);
  overflow: hidden;
  box-shadow: var(--dee-shadow-md);
  aspect-ratio: 3 / 2;
  background: var(--dee-surface);
}
.dee-hero-image img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .dee-hero-inner {
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
  }
}

/* Boutons */
.dee-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--dee-radius);
  font-family: var(--dee-font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
}
.dee-btn--cta {
  background: var(--dee-primary);
  color: #ffffff;
  border-color: var(--dee-primary);
  position: relative;
  overflow: hidden;
}
.dee-btn--cta:hover { background: #002347; color: #ffffff; transform: translateY(-1px); }
.dee-btn--outline {
  background: transparent;
  color: var(--dee-primary);
  border: 1px solid var(--dee-primary);
}
.dee-btn--outline:hover { background: var(--dee-primary); color: #ffffff; }
.dee-btn--ghost { background: transparent; color: var(--dee-primary); }

/* Animation CTA — progress_bar_cta : barre de progression accent qui balaie */
@keyframes dee-cta-progress-bar {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.dee-btn--cta::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--dee-accent-70) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: dee-cta-progress-bar 3.6s ease-in-out infinite;
  pointer-events: none;
}

/* ============================================================
   SECTIONS génériques
   ============================================================ */
.dee-section {
  padding: 3.5rem 0;
}
.dee-section--surface { background: var(--dee-surface); }
.dee-section-title {
  font-family: var(--dee-font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: var(--dee-primary);
  margin: 0 0 0.4rem;
}
.dee-section-lead {
  color: var(--dee-text-soft);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 0 2.2rem;
}
.dee-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.dee-section-head .dee-section-title { margin-bottom: 0; }

/* ============================================================
   CATEGORIES grid
   ============================================================ */
.dee-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--dee-gap);
}
.dee-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--dee-line);
  border-radius: var(--dee-radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  min-height: 260px;
  text-decoration: none;
}
.dee-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--dee-shadow-md);
  border-color: var(--dee-accent);
}
.dee-cat-card-img {
  display: block;
  width: 100%;
  height: 155px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--dee-primary) 0%, var(--dee-accent) 100%);
  border-bottom: 1px solid var(--dee-line);
}
.dee-cat-card-body { padding: 1rem 1.15rem 1.3rem; }
.dee-cat-card-title {
  font-family: var(--dee-font-heading);
  font-size: 1.15rem;
  color: var(--dee-primary);
  margin: 0 0 0.35rem;
  font-weight: 700;
}
.dee-cat-card-desc {
  color: var(--dee-text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Animation CTR — interactive_map_pin : pin qui pulse + halo au hover carte */
@keyframes dee-ctr-pin-pulse {
  0%   { box-shadow: 0 0 0 0 var(--dee-accent-70); }
  70%  { box-shadow: 0 0 0 12px rgba(0, 128, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 128, 255, 0); }
}
.dee-cat-card::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 12px;
  height: 12px;
  background: var(--dee-accent);
  border: 2px solid #ffffff;
  border-radius: 50%;
  z-index: 3;
  animation: dee-ctr-pin-pulse 2.4s infinite;
  opacity: 0.9;
}

/* ============================================================
   ARTICLE CARDS grid
   ============================================================ */
.dee-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--dee-gap);
}
.dee-article-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--dee-line);
  border-radius: var(--dee-radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dee-article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--dee-shadow-md);
}
.dee-article-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--dee-surface);
}
.dee-article-thumb img,
.dee-article-thumb .dee-thumb-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dee-article-card:hover .dee-article-thumb img { transform: scale(1.04); }
.dee-thumb-fallback {
  background: linear-gradient(135deg, var(--dee-primary) 0%, var(--dee-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--dee-font-heading);
  font-size: 2.6rem;
  font-weight: 700;
}
.dee-article-body {
  padding: 1.15rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dee-article-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dee-accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.5rem;
}
.dee-article-title {
  font-family: var(--dee-font-heading);
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--dee-primary);
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.dee-article-title a { color: inherit; }
.dee-article-title a:hover { color: var(--dee-accent); }
.dee-article-excerpt {
  color: var(--dee-text-soft);
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0 0 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dee-article-meta {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--dee-text-soft);
  padding-top: 0.5rem;
  border-top: 1px solid var(--dee-line);
}

/* Grille adaptative pour 24 articles home */
.dee-articles--home-24 {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
@media (min-width: 1200px) {
  .dee-articles--home-24 { grid-template-columns: repeat(4, 1fr); }
}

/* Empty state */
.dee-empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--dee-text-soft);
  background: var(--dee-surface);
  border-radius: var(--dee-radius-lg);
  border: 1px dashed var(--dee-line);
}
.dee-empty-state a { font-weight: 600; }

/* ============================================================
   HOME EDITORIAL block (400-700 mots)
   ============================================================ */
.dee-editorial {
  background: #ffffff;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--dee-line);
}
.dee-editorial-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.dee-editorial-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dee-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}
.dee-editorial h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  margin-bottom: 1.2rem;
  color: var(--dee-primary);
}
.dee-editorial h3 {
  font-size: 1.25rem;
  color: var(--dee-primary);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}
.dee-editorial p {
  font-size: 1.06rem;
  color: var(--dee-text);
  line-height: 1.75;
  margin-bottom: 1.15rem;
}
.dee-editorial a {
  color: var(--dee-primary);
  border-bottom: 1px solid var(--dee-accent);
  font-weight: 500;
}
.dee-editorial a:hover { color: var(--dee-accent); border-bottom-color: var(--dee-primary); }
.dee-editorial-callout {
  background: var(--dee-surface);
  border-left: 4px solid var(--dee-accent);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  border-radius: 0 var(--dee-radius) var(--dee-radius) 0;
}
.dee-editorial-callout h3 { margin-top: 0; }

/* ============================================================
   PAGE CATEGORY — sandwich layout
   ============================================================ */
.dee-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dee-primary) 0%, #001F4A 100%);
}
.dee-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.dee-cat-hero-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.5rem 2rem;
  max-width: var(--dee-container);
  margin: 0 auto;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 20, 40, 0.75) 100%);
}
.dee-cat-hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  margin: 0;
}

.dee-cat-intro {
  padding: 2.5rem 0 2rem;
  background: #ffffff;
}
.dee-cat-intro-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.dee-cat-intro p { font-size: 1.05rem; line-height: 1.75; color: var(--dee-text); }

.dee-cat-outro {
  padding: 3rem 0;
  background: var(--dee-surface);
  border-top: 1px solid var(--dee-line);
}
.dee-cat-outro-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.dee-cat-outro h2 { font-size: 1.6rem; margin-bottom: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.dee-footer {
  background: #001F4A;
  color: #E4EAF2;
  padding: 3.5rem 0 1.5rem;
}
.dee-footer a { color: #E4EAF2; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); }
.dee-footer a:hover { color: #ffffff; text-decoration-color: var(--dee-accent); }
.dee-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  max-width: var(--dee-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 720px) {
  .dee-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.dee-footer-col h3 {
  color: #ffffff;
  font-family: var(--dee-font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}
.dee-footer-logo {
  display: block;
  margin-bottom: 1rem;
  max-height: 56px;
  width: auto;
  height: auto;
  filter: brightness(0) invert(1);
}
.dee-footer-brand-pitch {
  color: #C9D3E0;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}
.dee-footer-brand-cta {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--dee-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--dee-accent);
  padding-bottom: 2px;
}
.dee-footer-brand-cta:hover { color: #ffffff; border-bottom-color: #ffffff; }
.dee-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dee-footer-links li { margin: 0 0 0.55rem; }
.dee-footer-links a {
  font-size: 0.93rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 3px;
}
.dee-footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.dee-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.dee-footer-social a:hover { background: var(--dee-accent); border-color: var(--dee-accent); }
.dee-footer-social svg { width: 18px; height: 18px; fill: currentColor; color: #E4EAF2; }
.dee-footer-social a:hover svg { color: #ffffff; }

.dee-footer-bottom {
  max-width: var(--dee-container);
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #A2AEC1;
}
.dee-footer-copyright { margin: 0; }
.dee-footer-tagline { font-style: italic; }

/* ============================================================
   TOOLS section (page outil) + FAQ
   ============================================================ */
.dee-tool-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.dee-tool-intro {
  padding: 1.5rem 0 2rem;
  color: var(--dee-text);
  font-size: 1.05rem;
  line-height: 1.7;
}
.dee-tool-card {
  background: var(--dee-surface);
  border: 1px solid var(--dee-line);
  border-radius: var(--dee-radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--dee-shadow-sm);
}
.dee-tool-card h3 { color: var(--dee-primary); margin-top: 0; }
.dee-tool-card label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--dee-primary);
  font-size: 0.95rem;
}
.dee-tool-card input,
.dee-tool-card select,
.dee-tool-card textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--dee-line);
  border-radius: var(--dee-radius);
  background: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--dee-text);
  margin-bottom: 1.2rem;
}
.dee-tool-card input:focus,
.dee-tool-card select:focus,
.dee-tool-card textarea:focus {
  outline: none;
  border-color: var(--dee-accent);
  box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.15);
}
.dee-tool-card button {
  background: var(--dee-primary);
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: var(--dee-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.dee-tool-card button:hover { background: #002347; }
.dee-tool-result {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  background: #ffffff;
  border-left: 4px solid var(--dee-accent);
  border-radius: 0 var(--dee-radius) var(--dee-radius) 0;
}
.dee-tool-result strong { color: var(--dee-primary); }

/* FAQ accordion */
.dee-faq { max-width: 820px; margin: 3rem auto 0; padding: 0 1.5rem; }
.dee-faq h2 { text-align: center; margin-bottom: 2rem; }
.dee-faq-item {
  background: #ffffff;
  border: 1px solid var(--dee-line);
  border-radius: var(--dee-radius);
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.dee-faq-item summary {
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--dee-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dee-faq-item summary::after {
  content: "+";
  color: var(--dee-accent);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.dee-faq-item[open] summary::after { transform: rotate(45deg); }
.dee-faq-item p {
  padding: 0 1.3rem 1.2rem;
  margin: 0;
  color: var(--dee-text-soft);
  line-height: 1.65;
}

/* ============================================================
   PAGE — a-propos + contact
   ============================================================ */
.dee-page {
  padding: 2.5rem 0 4rem;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.dee-page h1 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 1.5rem; }
.dee-page h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.8rem; color: var(--dee-primary); }
.dee-page p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.1rem; }
.dee-page a { color: var(--dee-primary); font-weight: 500; }
.dee-page a:hover { color: var(--dee-accent); }

.dee-persona-photo {
  float: right;
  margin: 0 0 1.5rem 2rem;
  width: 220px;
  height: 300px;
  object-fit: cover;
  border-radius: var(--dee-radius-lg);
  box-shadow: var(--dee-shadow-md);
  border: 4px solid #ffffff;
}
@media (max-width: 700px) {
  .dee-persona-photo {
    float: none;
    display: block;
    margin: 0 auto 1.5rem;
    width: 200px;
    height: 260px;
  }
}

.dee-contact-form {
  margin-top: 2rem;
  background: var(--dee-surface);
  padding: 1.5rem;
  border-radius: var(--dee-radius-lg);
  border: 1px solid var(--dee-line);
}
.dee-contact-form iframe {
  display: block;
  border: none;
  border-radius: var(--dee-radius);
}

/* ============================================================
   Animation CTO — discount_corner_ribbon
   ============================================================ */
@keyframes dee-cto-ribbon-shine {
  0%   { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(200%) rotate(45deg); }
}
.dee-cto-ribbon {
  position: absolute;
  top: 12px;
  left: -34px;
  padding: 4px 40px;
  background: var(--dee-accent);
  color: #ffffff;
  transform: rotate(-45deg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  overflow: hidden;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 128, 255, 0.3);
}
.dee-cto-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  animation: dee-cto-ribbon-shine 3.5s ease-in-out infinite;
}

/* ============================================================
   UTILS + responsive fine
   ============================================================ */
.dee-hidden-mobile { display: none; }
.dee-only-mobile { display: block; }

@media (min-width: 900px) {
  .dee-hidden-mobile { display: initial; }
  .dee-only-mobile { display: none; }
}

/* Print / prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .dee-btn--cta::after,
  .dee-cat-card::before,
  .dee-cto-ribbon::before { animation: none !important; }
  * { transition: none !important; }
}

/* Accessibility focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--dee-accent);
  outline-offset: 2px;
  border-radius: 3px;
}


/* Theme rules — appended */
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, body, body [class*="dee-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 */
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;
}



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;
  }
}


@media (max-width: 1023px) {
  /* FIX width:auto -> ne plus l'imposer (laisse child theme définir width).
     Sinon écrase le child et le burger devient 0 de large -> invisible. */
  body [class*="burger"], body button[class*="burger"] {
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    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;
  }
}



body footer, body [class*="footer"]:not([class*="logo"]):not([class*="brand-logo"]) {
  color: inherit !important;
}


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;
}


body [class*="burger"] {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
  cursor: pointer !important;
  padding: 8px;
  color: inherit;
  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);
  border-color: var(--dee-accent, currentColor);
}
/* 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;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 16px;
  gap: 0;
}
/* 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;
  width: 22px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  margin: 2px 0;
  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;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
  }
}


/* Mobile : 1 SEUL CTA visible (dans le burger).
   Sur mobile le CTA original du header est masque ; sur desktop le clone est hidden. */
@media (max-width: 1023px) {
  body [class*="header-cta"] [class*="btn--cta"],
  body [class*="header__cta"] [class*="btn--cta"],
  body [class*="header-cta"] > [class*="cta"],
  body [class*="header__cta"] > a {
    display: none !important;
  }
}


/* ============================================================
   Section 'On parle de nous' (media press)
   Logos grayscale par defaut, couleur au hover.
   Grid responsive 2-6 colonnes, gap auto.
============================================================ */
.dee-media-press {
  padding: 2.5rem 0;
  background: var(--dee-bg-soft, var(--dee-color-surface, #f9fafb));
  margin: 2rem 0;
}
.dee-media-press > .dee-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.dee-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dee-color-text-soft, var(--dee-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.dee-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.dee-media-press-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 160px;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
  opacity: .65;
  filter: grayscale(100%);
}
.dee-media-press-item:hover,
.dee-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.dee-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .dee-media-press { padding: 1.8rem 0; }
  .dee-media-press-grid { gap: 1.4rem; }
  .dee-media-press-item { max-width: 110px; min-height: 36px; }
  .dee-media-press-item img { max-height: 36px; }
}


/* FIX gap header->hero (parent theme override) + media-press compact centre */
body main, body.home main, body.archive main, body.single main,
body, body, body main[class*="-main"] {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* MEDIA PRESS : layout horizontal compact CENTRE (titre + logos cote a cote au centre) */
.dee-media-press section[class*="media-press"] {
  padding: 24px 0 !important;
  margin: 0 !important;
  background: #fafafa;
  border-block: 1px solid rgba(0,0,0,0.06);
}
.dee-media-press .dee-container,
section[class*="media-press"] [class*="container"] {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  flex-wrap: wrap;
  text-align: center;
}
.dee-media-press-title,
section[class*="media-press"] [class*="title"] {
  margin: 0 !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dee-muted, #666);
  flex: 0 0 auto;
}
.dee-media-press-grid,
section[class*="media-press"] [class*="grid"] {
  display: flex !important;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  flex: 0 1 auto;
  justify-content: center;
}
.dee-media-press-item,
section[class*="media-press"] [class*="item"] {
  display: inline-flex !important;
  align-items: center;
  opacity: 0.65;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.dee-media-press-item:hover:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.dee-media-press imgimg,
section[class*="media-press"] img {
  max-height: 48px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}
.dee-media-press a:hover imga:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .dee-media-press .dee-container,
  section[class*="media-press"] [class*="container"] {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}



.dee-cat-hero--align-left .dee-cat-hero-inner
section[class*="cat-hero--align-left"] [class*="cat-hero-inner"] {
  text-align: left !important;
  align-items: flex-start !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-left: 24px;
}
.dee-cat-hero--align-center .dee-cat-hero-inner
section[class*="cat-hero--align-center"] [class*="cat-hero-inner"] {
  text-align: center !important;
  align-items: center !important;
  margin: 0 auto !important;
}


@media (max-width: 1023.98px) {  [class*="-header-cta-wrap"],
  [class*="-header-actions"],
  [class*="-burger-wrap"],
  [class*="-header-right"],
  [class*="-header-actions-mobile"] {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    min-height: 42px !important;
    flex-shrink: 0 !important;
    z-index: 9999;
    pointer-events: auto !important;
    cursor: pointer !important;
  }  [class*="-burger"] > span,
  [class*="-burger-bars"] {
    display: flex !important;
    flex-direction: column !important;
    min-width: 24px !important;
    min-height: 16px !important;
  }  [class*="-burger-bars"] > *,
  [class*="-burger"] > span > * {
    display: block !important;
    min-width: 24px !important;
    min-height: 2px !important;
  }  [class*="-header-cta-desktop"] {
    display: none !important;
  }  [class*="-burger-label"] {
    display: none !important;
  }
}
@media (min-width: 1024px) {  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    display: none !important;
  }
}


/* Burger style */
@media (max-width: 1023.98px) {
  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    width: 42px !important; height: 42px !important;
    border-radius: 6px !important; padding: 8px !important;
     
  }
  [class*="-burger"] > span, [class*="-burger-bars"] {
    gap: 5px !important; width: 24px !important; height: 16px !important;
    align-items: center !important;
  }
  [class*="-burger-bars"] > *, [class*="-burger"] > span > * {
    height: 2px !important; border-radius: 1px !important;
  }
  [class*="-burger-bars"] > *:nth-child(1), [class*="-burger"] > span > *:nth-child(1) { width: 24px !important; }
  [class*="-burger-bars"] > *:nth-child(2), [class*="-burger"] > span > *:nth-child(2) { width: 16px !important; }
  [class*="-burger-bars"] > *:nth-child(3), [class*="-burger"] > span > *:nth-child(3) { width: 24px !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; }
