/* ============================================================
   centre social st loup — Custom child theme stylesheet
   Design system: Gothique Edgar Poe
   Fonts: IM Fell DW Pica (headings) + Cardo (body)
   Palette: burgundy + crimson on cream parchment
   ============================================================ */

/* -- 1. Google Fonts (loaded via wp_enqueue_style normally — fallback here) -- */
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+DW+Pica:ital@0;1&family=Cardo:ital,wght@0,400;0,700;1,400&display=swap');

/* -- 2. Root tokens -- */
:root {
  --e5e-primary:    #5A0F0A;
  --e5e-accent:     #d01131;
  --e5e-text:       #1A0A0A;
  --e5e-text-soft:  #4A3F35;
  --e5e-bg:         #F0E5CC;
  --e5e-surface:    #E5DCC5;
  --e5e-line:       #8C7050;
  --e5e-cream-deep: #d8c8a8;
  --e5e-font-head: 'IM Fell DW Pica', 'Cardo', Georgia, serif;
  --e5e-font-body: 'Cardo', Georgia, 'Times New Roman', serif;
  --e5e-radius:    6px;
  --e5e-shadow-sm: 0 2px 8px rgba(26,10,10,0.08);
  --e5e-shadow-md: 0 6px 18px rgba(26,10,10,0.12);
  --e5e-shadow-lg: 0 14px 38px rgba(26,10,10,0.18);
}

/* -- 3. Reset light & base -- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, .e5e-body {
  margin: 0;
  background: var(--e5e-bg);
  color: var(--e5e-text);
  font-family: var(--e5e-font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
main, .e5e-main { padding-top: 0 !important; margin-top: 0 !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--e5e-primary); text-decoration: none; }
a:hover { color: var(--e5e-accent); text-decoration: underline; }
h1,h2,h3,h4,h5 {
  font-family: var(--e5e-font-head);
  color: var(--e5e-text);
  letter-spacing: .01em;
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 400;
}
h1 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); border-bottom: 1px solid var(--e5e-line); padding-bottom: .3em; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
p  { margin: 0 0 1em; }

.e5e-container, .eea-container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* -- 4. Brand wordmark (Style C: lowercase) -- */
.e5e-brand-name {
  font-family: var(--e5e-font-head);
  text-transform: lowercase;
  letter-spacing: 0;
  font-size: 1.35rem;
  color: var(--e5e-primary);
  font-weight: 400;
}
.e5e-brand-logo { display: block; width: auto; }

/* -- 5. Header layout: logo-left + menu-center + cta-right -- */
.e5e-header {
  background: var(--e5e-bg);
  border-bottom: 1px solid var(--e5e-line);
  position: relative;
  z-index: 200;
}
.e5e-header-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: .9rem 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
}
.e5e-brand-link { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.e5e-brand-link img { max-height: 48px; }

/* Desktop nav (centered) */
.e5e-nav-desktop { display: none; }
.e5e-nav-desktop-list {
  display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; align-items: center;
  flex-wrap: nowrap;
}
.e5e-nav-desktop-list > li { position: relative; }
.e5e-nav-desktop-list a {
  font-family: var(--e5e-font-head);
  color: var(--e5e-text);
  font-size: 1rem;
  padding: .5rem .2rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
  display: inline-block;
}
.e5e-nav-desktop-list a:hover { color: var(--e5e-accent); border-bottom-color: var(--e5e-accent); text-decoration: none; }

/* Header CTA desktop */
.e5e-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .65rem 1.15rem; border-radius: var(--e5e-radius); border: 0; cursor: pointer; font-family: var(--e5e-font-head); font-size: .95rem; text-decoration: none; transition: background .2s, transform .2s; }
.e5e-btn--cta {
  background: var(--e5e-accent);
  color: var(--e5e-bg);
  font-weight: 700;
  letter-spacing: .02em;
}
.e5e-btn--cta:hover { background: var(--e5e-primary); color: var(--e5e-bg); text-decoration: none; transform: translate3d(0,-2px,0); }

.e5e-header-cta-desktop { flex-shrink: 0; }

/* Burger (mobile) — bouton rond Gothique Edgar Poe : burgundy + crimson */
.e5e-burger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  padding: 12px !important;
  background: var(--e5e-primary) !important;
  border: 2.5px solid var(--e5e-accent) !important;
  border-radius: 50% !important;
  color: var(--e5e-bg) !important;
  cursor: pointer !important;
  z-index: 10000 !important;
  flex-shrink: 0 !important;
  position: relative !important;
  margin-left: auto;
  box-shadow: 0 6px 18px rgba(90, 15, 10, 0.45), inset 0 0 0 1.5px rgba(240, 229, 204, 0.18) !important;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease !important;
}
.e5e-burger:hover,
.e5e-burger:focus-visible {
  background: var(--e5e-accent) !important;
  border-color: var(--e5e-primary) !important;
  transform: scale(1.06) !important;
  box-shadow: 0 8px 22px rgba(208, 17, 49, 0.5) !important;
  outline: none !important;
}
.e5e-burger:active {
  transform: scale(0.95) !important;
}
.e5e-burger-bars {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 4px !important;
  width: 24px !important;
  height: 17px !important;
  pointer-events: none !important;
}
.e5e-burger-bars span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--e5e-bg);
  border-radius: 2px;
}

.e5e-header-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; flex-shrink: 0; }

/* Mobile nav drawer hidden by default */
.e5e-nav-mobile { display: none; }

@media (max-width: 1023px) {
  .e5e-header-cta-desktop { display: none !important; }
  .e5e-burger { display: inline-flex !important; }
  .e5e-nav-desktop { display: none !important; }
  .e5e-nav-mobile.is-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 88%; max-width: 380px;
    background: #ffffff;
    padding: 4.5rem 1.5rem 1.5rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }
  .e5e-nav-mobile-list { list-style: none; margin: 0; padding: 0; }
  .e5e-nav-mobile-list li { border-bottom: 1px solid #e5e5e5; }
  .e5e-nav-mobile-list a {
    display: block;
    padding: 1rem .25rem;
    color: #1A0A0A;
    font-family: var(--e5e-font-head);
    font-size: 1.1rem;
    text-decoration: none;
  }
  .e5e-nav-mobile-list a:hover { color: var(--e5e-accent); }
  .e5e-drawer-cta {
    display: block !important;
    margin: 2rem 0 1rem !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    background: var(--e5e-accent) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
    font-family: var(--e5e-font-head);
  }
  .e5e-nav-mobile-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: transparent;
    border: 0;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #1A0A0A;
  }
  .e5e-nav-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,10,10,0.55);
    z-index: 9998;
    display: none;
  }
  .e5e-nav-mobile-overlay.is-open { display: block; }
}

@media (min-width: 1024px) {
  .e5e-nav-desktop { display: flex; flex: 1; justify-content: center; margin: 0 1.25rem; }
  .e5e-burger { display: none !important; }
  .e5e-drawer-cta { display: none !important; }
  .e5e-header-actions { gap: 0; }
}

/* -- 6. Hero (latest-edition style) -- */
.e5e-hero {
  position: relative;
  background: var(--e5e-surface);
  padding: 4rem 1.25rem 4.5rem;
  border-bottom: 1px solid var(--e5e-line);
  overflow: hidden;
}
.e5e-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) {
  .e5e-hero-inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 3rem; }
}
.e5e-hero-eyebrow {
  font-family: var(--e5e-font-head);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .82rem;
  color: var(--e5e-accent);
  margin-bottom: 1rem;
  border-top: 2px solid var(--e5e-accent);
  padding-top: .5rem;
  display: inline-block;
}
.e5e-hero-title {
  font-family: var(--e5e-font-head);
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-style: italic;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  color: var(--e5e-primary);
}
.e5e-hero-subtitle {
  font-size: 1.15rem;
  color: var(--e5e-text-soft);
  margin: 0 0 1.75rem;
  font-style: italic;
}
.e5e-hero-cta { display: inline-flex; gap: .75rem; flex-wrap: wrap; }
.e5e-hero-figure {
  position: relative;
  border-radius: var(--e5e-radius);
  overflow: hidden;
  box-shadow: var(--e5e-shadow-md);
  border: 1px solid var(--e5e-line);
}
.e5e-hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }

/* Edition stamp (latest-edition signature) */
.e5e-hero-edition {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--e5e-bg);
  border: 1px solid var(--e5e-line);
  padding: .4rem .8rem;
  font-family: var(--e5e-font-head);
  font-size: .85rem;
  border-radius: var(--e5e-radius);
  color: var(--e5e-primary);
  letter-spacing: .04em;
}

/* -- 7. Editorial intro block (after-hero) -- */
.e5e-editorial {
  background: var(--e5e-bg);
  padding: 3rem 1.25rem;
  border-bottom: 1px solid var(--e5e-line);
}
.e5e-editorial-inner { max-width: 880px; margin: 0 auto; }
.e5e-editorial h2 { font-style: italic; color: var(--e5e-primary); border-bottom: 1px solid var(--e5e-line); padding-bottom: .4em; }
.e5e-editorial h3 { color: var(--e5e-primary); margin-top: 1.5rem; }
.e5e-editorial p { color: var(--e5e-text); }
.e5e-editorial a { color: var(--e5e-accent); text-decoration: underline; }
.e5e-editorial .e5e-pull {
  border-left: 4px solid var(--e5e-accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--e5e-surface);
  font-style: italic;
  color: var(--e5e-text);
}

/* -- 8. Categories grid (Rubriques) -- */
.e5e-categories {
  padding: 3rem 1.25rem;
  background: var(--e5e-surface);
  border-bottom: 1px solid var(--e5e-line);
}
.e5e-categories-inner { max-width: 1180px; margin: 0 auto; }
.e5e-section-title {
  font-family: var(--e5e-font-head);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-style: italic;
  color: var(--e5e-primary);
  text-align: center;
  margin: 0 0 .5rem;
}
.e5e-section-kicker {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .8rem;
  color: var(--e5e-accent);
  margin: 0 0 2rem;
  font-family: var(--e5e-font-head);
}
.e5e-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.e5e-cat-card {
  display: flex;
  flex-direction: column;
  background: var(--e5e-bg);
  border: 1px solid var(--e5e-line);
  border-radius: var(--e5e-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .3s, box-shadow .3s;
  min-height: 280px;
}
.e5e-cat-card:hover { transform: translateY(-4px); box-shadow: var(--e5e-shadow-lg); text-decoration: none; }
.e5e-cat-card-img {
  display: block;
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--e5e-primary);
}
.e5e-cat-card-body { padding: 1.1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.e5e-cat-card-name { font-family: var(--e5e-font-head); font-size: 1.35rem; color: var(--e5e-primary); margin: 0 0 .35rem; font-style: italic; }
.e5e-cat-card-desc { font-size: .94rem; color: var(--e5e-text-soft); margin: 0; flex: 1; }
.e5e-cat-card-arrow { display: inline-block; margin-top: .75rem; color: var(--e5e-accent); font-family: var(--e5e-font-head); }

/* -- 9. Latest posts (Derniers articles) -- */
.e5e-latest {
  padding: 3rem 1.25rem;
  background: var(--e5e-bg);
  border-bottom: 1px solid var(--e5e-line);
}
.e5e-latest-inner { max-width: 1180px; margin: 0 auto; }
.e5e-latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
@media (min-width: 1024px) {
  .e5e-latest-grid { grid-template-columns: repeat(3, 1fr); }
}
.e5e-post-card {
  background: var(--e5e-surface);
  border: 1px solid var(--e5e-line);
  border-radius: var(--e5e-radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.e5e-post-card:hover { transform: translateY(-3px); box-shadow: var(--e5e-shadow-md); }
.e5e-post-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--e5e-cream-deep); }
.e5e-post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.e5e-post-card:hover .e5e-post-card-thumb img { transform: scale(1.05); }
.e5e-post-card-body { padding: 1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.e5e-post-card-cat {
  font-family: var(--e5e-font-head);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  color: var(--e5e-accent);
  margin-bottom: .3rem;
}
.e5e-post-card-title { font-family: var(--e5e-font-head); font-size: 1.2rem; color: var(--e5e-text); margin: 0 0 .4rem; font-style: italic; }
.e5e-post-card-title a { color: inherit; }
.e5e-post-card-title a:hover { color: var(--e5e-accent); text-decoration: none; }
.e5e-post-card-excerpt { font-size: .9rem; color: var(--e5e-text-soft); margin: 0; flex: 1; }
.e5e-post-card-meta { margin-top: .8rem; font-size: .82rem; color: var(--e5e-text-soft); }

.e5e-empty-state {
  padding: 2rem;
  text-align: center;
  background: var(--e5e-surface);
  border: 1px dashed var(--e5e-line);
  border-radius: var(--e5e-radius);
  color: var(--e5e-text-soft);
}

/* -- 10. Footer -- */
.e5e-footer {
  background: #1A0A0A;
  color: #F0E5CC;
  padding: 3.5rem 1.25rem 1.5rem;
  font-family: var(--e5e-font-body);
}
.e5e-footer-inner { max-width: 1180px; margin: 0 auto; }
.e5e-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px)  { .e5e-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; } }
.e5e-footer-col h3, .e5e-footer-title {
  font-family: var(--e5e-font-head);
  color: var(--e5e-bg);
  font-size: 1.1rem;
  letter-spacing: .04em;
  margin: 0 0 1rem;
  font-style: italic;
  border-bottom: 1px solid #5A0F0A;
  padding-bottom: .4rem;
}
.e5e-footer-logo { display: block; margin-bottom: 1rem; height: auto; max-height: 64px; filter: brightness(0) invert(1) opacity(0.92); }
.e5e-footer-brand-pitch { font-size: .94rem; line-height: 1.6; color: #d8c8a8; margin: 0 0 1.25rem; }
.e5e-footer-brand-cta { display: inline-block; padding: .55rem 1rem; background: var(--e5e-accent); color: #F0E5CC; border-radius: var(--e5e-radius); font-family: var(--e5e-font-head); font-size: .95rem; text-decoration: none; }
.e5e-footer-brand-cta:hover { background: #F0E5CC; color: var(--e5e-primary); text-decoration: none; }
.e5e-footer-links { list-style: none; margin: 0; padding: 0; }
.e5e-footer-links li { margin: .35rem 0; }
.e5e-footer-links a {
  color: #f5eccf;
  font-size: .94rem;
  text-decoration: underline;
  text-decoration-color: rgba(245,236,207,0.4);
  transition: color .2s;
}
.e5e-footer-links a:hover { color: #ffffff; text-decoration-color: #ffffff; }
.e5e-footer-bottom {
  border-top: 1px solid #5A0F0A;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: #d8c8a8;
}
.e5e-footer-social { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: .75rem; }
.e5e-footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #5A0F0A;
  border-radius: 50%;
  color: #F0E5CC;
  font-size: .9rem;
  transition: background .2s;
}
.e5e-footer-social a:hover { background: var(--e5e-accent); text-decoration: none; }

/* -- 11. Persona photo (a-propos) -- */
.e5e-persona-photo {
  float: right;
  width: 220px;
  height: 280px;
  object-fit: cover;
  border: 4px solid var(--e5e-bg);
  border-radius: var(--e5e-radius);
  box-shadow: var(--e5e-shadow-md);
  margin: 0 0 1rem 1.5rem;
}
@media (max-width: 640px) {
  .e5e-persona-photo { float: none; width: 100%; height: 320px; margin: 0 0 1.5rem; }
}

/* -- 12. Category page (intro-faq layout) -- */
.e5e-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--e5e-primary);
}
.e5e-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: .55;
}
.e5e-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem;
  background: linear-gradient(180deg, transparent 30%, rgba(26,10,10,0.78) 100%);
  color: #F0E5CC;
}
.e5e-cat-hero-inner h1 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.7); font-style: italic; }
.e5e-cat-intro {
  padding: 2.5rem 1.25rem;
  background: var(--e5e-bg);
  border-bottom: 1px solid var(--e5e-line);
}
.e5e-cat-intro-inner { max-width: 880px; margin: 0 auto; font-size: 1.05rem; }
.e5e-cat-faq {
  padding: 2rem 1.25rem 3rem;
  background: var(--e5e-surface);
  border-bottom: 1px solid var(--e5e-line);
}
.e5e-cat-faq-inner { max-width: 880px; margin: 0 auto; }
.e5e-cat-faq details {
  border: 1px solid var(--e5e-line);
  border-radius: var(--e5e-radius);
  padding: .75rem 1rem;
  margin-bottom: .75rem;
  background: var(--e5e-bg);
}
.e5e-cat-faq summary { font-family: var(--e5e-font-head); font-style: italic; cursor: pointer; color: var(--e5e-primary); }
.e5e-cat-faq details[open] summary { margin-bottom: .5rem; border-bottom: 1px solid var(--e5e-line); padding-bottom: .5rem; }

/* -- 13. Tool pages -- */
.e5e-tool-wrap { padding: 2.5rem 1.25rem 3.5rem; background: var(--e5e-bg); }
.e5e-tool-wrap-inner { max-width: 880px; margin: 0 auto; }
.e5e-tool-intro { background: var(--e5e-surface); padding: 1.5rem 1.75rem; border-radius: var(--e5e-radius); border-left: 4px solid var(--e5e-accent); margin: 0 0 2rem; }

/* -- 14. Contact wrapper -- */
.e5e-contact-form { margin: 2rem 0; }
.e5e-contact-form iframe { border-radius: var(--e5e-radius); border: 1px solid var(--e5e-line); }

/* -- 15. Utility -- */
.e5e-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.e5e-visually-hidden { @extend .e5e-sr-only; }

/* -- 16. Reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* === RP AGNOSTIC ANTI-FOOTPRINT FIXES === */
/* Auto-append par child_theme_builder pour garantir les regles anti-empreinte (cat-hero, burger, footer, etc.) meme quand Claude override le style.css custom. */
body section[class*="cat-hero"], body div[class*="cat-hero"] {
  position: relative !important;
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
  left: 0 !important; right: 0 !important;
  height: 360px !important; min-height: 360px !important; max-height: 360px !important;
  padding: 0 !important; overflow: hidden !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important;
  border: none !important; box-shadow: none !important; outline: none !important;
  box-sizing: border-box !important;
}
/* Aussi force le parent <main> a etre full-width pour eviter cap a 1024 */
body main, body [class*="lda-main"], body [class*="bdf-main"], body [class*="e5e-main"], body #content {
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
}
body [class*="cat-hero"] > img, body [class*="cat-hero-bg"], body [class*="cat-hero"] img {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  max-height: 360px !important;
  object-fit: cover !important; z-index: 0 !important;
  border: none !important;
}
body [class*="cat-hero"]::before, body [class*="cat-hero"]::after {
  content: none !important; display: none !important;
}
/* Overlay : absolute par-dessus l'image, juste pour le gradient sombre (fix 2026-06-17) */
body [class*="cat-hero-overlay"], body [class*="cat-hero"] > [class*="overlay"] {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important;
  max-width: none !important;
  display: block !important;
  z-index: 1 !important;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.55) 100%) !important;
  pointer-events: none !important;
  border: none !important;
}
/* Container / inner du titre : centré au-dessus de l'overlay (z-index 2) */
body [class*="cat-hero"] > [class*="container"],
body [class*="cat-hero"] > [class*="cat-hero-inner"],
body [class*="cat-hero"] > [class*="hero-inner"]:not([class*="overlay"]),
body [class*="cat-hero"] > div:not([class*="overlay"]):not([class*="-bg"]) {
  position: relative !important; z-index: 2 !important;
  text-align: center !important;
  max-width: 900px !important; margin: 0 auto !important;
  padding: 1.5rem 2rem !important;
  border: none !important; background: transparent !important;
}
body [class*="cat-hero"] h1 {
  color: #ffffff !important;
  font-size: clamp(2.4rem, 6vw, 4rem) !important;
  text-align: center !important;
  margin: 0 !important; font-weight: 800 !important;
  text-shadow: 0 3px 12px rgba(0,0,0,.85), 0 0 30px rgba(0,0,0,.5) !important;
  border: none !important; display: block !important;
}
body [class*="cat-hero"] [class*="breadcrumb"],
body [class*="cat-hero"] nav[aria-label*="riane"],
body [class*="cat-hero"] nav[aria-label*="readcrumb"] {
  display: none !important;
}



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) {
  
  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(--e5e-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;
  }
}
