
:root {
  --c0c-primary: #2e2e30;
  --c0c-accent: #df5858;
  --c0c-bg: #fefefe;
  --c0c-surface: #ffffff;
  --c0c-text: #0a0a0a;
  --c0c-text-soft: #5b5b62;
  --c0c-line: #ededed;
  --c0c-warm: #F5EDE0;
  --c0c-herb: #0F4A3C;
  --c0c-radius: 8px;
  --c0c-font-headings: 'Cormorant Garamond', Georgia, serif;
  --c0c-font-body: 'Be Vietnam Pro', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.c0c-body { margin: 0; background: var(--c0c-bg); color: var(--c0c-text); font-family: var(--c0c-font-body); line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
main, .c0c-main { padding-top: 0 !important; margin-top: 0 !important; }
.c0c-container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.c0c-header { position: sticky; top: 0; z-index: 9990; background: rgba(254,254,254,.96); border-bottom: 1px solid var(--c0c-line); backdrop-filter: blur(16px); }
.c0c-header-inner { min-height: 74px; display: flex; align-items: center; gap: 2rem; width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.c0c-brand-link { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; color: var(--c0c-text); }
.c0c-brand-logo { width: auto; }
.c0c-brand-name { font-family: var(--c0c-font-headings); font-style: italic; font-size: clamp(1.35rem, 2vw, 2rem); text-transform: lowercase; letter-spacing: 0; color: var(--c0c-primary); white-space: nowrap; }
.c0c-nav-desktop { display: none; }
.c0c-nav-desktop-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem 1.05rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.c0c-nav-desktop-list a { display: inline-flex; color: var(--c0c-text); text-decoration: none; font-weight: 650; font-size: .92rem; padding: .45rem .2rem; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.c0c-nav-desktop-list a:hover, .c0c-nav-desktop-list a:focus { color: var(--c0c-accent); border-bottom-color: var(--c0c-accent); outline: none; }
.c0c-header-actions { margin-left: auto; display: flex; align-items: center; flex-shrink: 0; }
.c0c-burger { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; min-width: 42px; min-height: 42px; padding: 8px; background: #fff; border: 1.5px solid rgba(0,0,0,.18); border-radius: 8px; color: #1a1a1a; cursor: pointer; z-index: 10000; flex-shrink: 0; }
.c0c-burger-bars { display: flex; flex-direction: column; gap: 4px; width: 24px; height: 16px; }
.c0c-burger-bars span { display: block; height: 2px; width: 24px; background: currentColor; border-radius: 2px; }
.c0c-nav-mobile { display: none; }
.c0c-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.38); z-index: 9997; }
.c0c-drawer-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border: 1px solid var(--c0c-line); background: #fff; color: #111; border-radius: 8px; font-size: 1.8rem; line-height: 1; }
.c0c-nav-mobile-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.c0c-nav-mobile-list a { display: block; padding: 1rem 0; color: #111; text-decoration: none; border-bottom: 1px solid #e5e5e5; font-weight: 700; }
.c0c-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .75rem 1.15rem; border-radius: 8px; font-weight: 800; text-decoration: none; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.c0c-btn:hover { transform: translateY(-1px); }
.c0c-btn--cta { color: #fff; background: var(--c0c-accent); border-color: var(--c0c-accent); }
.c0c-btn--ghost { color: var(--c0c-primary); background: #fff; border-color: var(--c0c-line); }
@keyframes rpNeonPulse{0%,100%{box-shadow:0 0 0 rgba(223,88,88,0)}50%{box-shadow:0 0 22px rgba(223,88,88,.42)}}
@keyframes rpFadeInfo{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes rpTestimonialPop{0%{opacity:0;transform:scale(.94)}100%{opacity:1;transform:scale(1)}}
.c0c-btn--cta{animation:rpNeonPulse 2.8s ease-in-out infinite;}
.c0c-info-box{animation:rpFadeInfo .65s ease both;}
.c0c-testimonial-popup{animation:rpTestimonialPop .25s ease-out both;}
.c0c-hero { min-height: 70vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr); background: linear-gradient(90deg, #F5EDE0 0%, #fff 100%); border-bottom: 1px solid var(--c0c-line); overflow: hidden; }
.c0c-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 7vw, 96px) clamp(24px, 7vw, 92px); }
.c0c-hero-kicker { margin: 0 0 1rem; color: var(--c0c-accent); font-weight: 800; letter-spacing: 0; text-transform: none; }
.c0c-hero h1 { margin: 0; max-width: 760px; font-family: var(--c0c-font-headings); font-style: italic; font-size: clamp(3rem, 7vw, 6.8rem); line-height: .92; color: var(--c0c-primary); letter-spacing: 0; }
.c0c-hero p { max-width: 660px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--c0c-text-soft); }
.c0c-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.c0c-hero-media { min-height: 420px; position: relative; display: flex; align-items: stretch; }
.c0c-hero-bg { width: 100%; height: 100%; object-fit: cover; }
.c0c-editorial { padding: 72px 0; background: #fff; }
.c0c-editorial-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); gap: 28px; align-items: stretch; }
.c0c-editorial-main { padding: clamp(24px, 4vw, 46px); background: #F5EDE0; border: 1px solid #D5C8AC; border-radius: 8px; }
.c0c-editorial h2, .c0c-editorial h3, .c0c-section-head h2, .c0c-tools-band h2 { font-family: var(--c0c-font-headings); font-style: italic; color: var(--c0c-primary); line-height: 1; letter-spacing: 0; }
.c0c-editorial h2 { font-size: clamp(2.2rem, 4vw, 4.2rem); margin: 0 0 1rem; }
.c0c-editorial-side { padding: 28px; background: var(--c0c-primary); color: #fff; border-radius: 8px; }
.c0c-editorial-side h3 { color: #fff; font-size: 2rem; margin-top: 0; }
.c0c-editorial-side p { color: #f3f3f3; }
.c0c-editorial-side a { color: #fff; text-decoration: underline; font-weight: 800; }
.c0c-topic-strip { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.c0c-topic-strip div { padding: 20px; border: 1px solid var(--c0c-line); border-radius: 8px; background: #fff; }
.c0c-topic-strip h3 { margin: 0 0 .4rem; font-size: 1.55rem; }
.c0c-topic-strip p { margin: 0; color: var(--c0c-text-soft); font-size: .95rem; }
.c0c-categories { padding: 72px 0; background: #fafafa; }
.c0c-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.c0c-section-head h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 4.6rem); }
.c0c-section-head p { max-width: 480px; margin: 0; color: var(--c0c-text-soft); }
.c0c-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.c0c-cat-card { background: #fff; border: 1px solid var(--c0c-line); border-radius: 8px; overflow: hidden; min-height: 300px; }
.c0c-cat-card a { display: grid; text-decoration: none; color: var(--c0c-text); }
.c0c-cat-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--c0c-primary); }
.c0c-cat-card span { display: block; padding: 16px 16px 0; font-family: var(--c0c-font-headings); font-style: italic; font-size: 2rem; color: var(--c0c-primary); line-height: 1; }
.c0c-cat-card p { padding: 0 16px 18px; margin: .65rem 0 0; color: var(--c0c-text-soft); }
.c0c-latest { padding: 72px 0; background: #fff; }
.c0c-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c0c-post-card { border: 1px solid var(--c0c-line); border-radius: 8px; overflow: hidden; background: #fff; min-height: 280px; }
.c0c-post-card a { color: var(--c0c-text); text-decoration: none; display: block; height: 100%; }
.c0c-post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #eee; }
.c0c-post-date { display: block; padding: 14px 16px 0; color: var(--c0c-accent); font-size: .84rem; font-weight: 800; }
.c0c-post-card h3 { padding: 0 16px; margin: .35rem 0; font-size: 1.18rem; line-height: 1.25; color: var(--c0c-primary); }
.c0c-post-card p { padding: 0 16px 18px; color: var(--c0c-text-soft); margin: 0; }
.c0c-empty { padding: 24px; background: #F5EDE0; border-radius: 8px; }
.c0c-tools-band { padding: 64px 0; background: var(--c0c-primary); color: #fff; }
.c0c-tools-band .c0c-container { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.c0c-tools-band h2 { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 4rem); }
.c0c-tools-band p { max-width: 700px; color: #f3f3f3; }
.c0c-footer { background: #111214; color: #f7f7f7; padding: 56px 0 0; }
.c0c-footer-inner { width: min(1160px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1.25fr .8fr .9fr .9fr; gap: 28px; }
.c0c-footer-logo { max-width: 150px; }
.c0c-footer-title { margin: 0 0 1rem; color: #fff; font-family: var(--c0c-font-headings); font-style: italic; font-size: 1.7rem; }
.c0c-footer-brand-pitch { color: #e8e8e8; margin: 0 0 1rem; }
.c0c-footer-brand-cta { color: #fff; font-weight: 800; text-decoration: underline; }
.c0c-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.c0c-footer-links a { color: #f5f5f5; text-decoration: underline; text-underline-offset: 3px; }
.c0c-footer-bottom { margin-top: 42px; border-top: 1px solid rgba(255,255,255,.16); padding: 18px 16px; text-align: center; color: #e2e2e2; }
.c0c-cat-hero { position: relative; height: 320px; max-height: 350px; overflow: hidden; background: var(--c0c-primary); }
.c0c-cat-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.c0c-cat-hero .c0c-container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%); }
.c0c-cat-hero h1 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.7); font-family: var(--c0c-font-headings); font-style: italic; font-size: clamp(2.5rem, 6vw, 5rem); margin: 0 0 28px; }
.c0c-persona-photo { width: min(320px, 100%); border-radius: 8px; border: 1px solid var(--c0c-line); margin-bottom: 1rem; }
.c0c-contact-form { margin-top: 2rem; }
@media (min-width: 1024px) {
  .c0c-nav-desktop { display: flex; flex: 1; justify-content: center; margin: 0 1.5rem; }
  .c0c-burger, .c0c-burger-wrap { display: none !important; }
  .c0c-drawer-cta { display: none !important; }
}
@media (max-width: 1023px) {
  .c0c-header-inner { min-height: 66px; justify-content: space-between; gap: 1rem; }
  .c0c-brand-name { font-size: 1.45rem; }
  .c0c-header-cta-desktop, [class*="-header"] [class*="-btn--cta"]:not([class*="-drawer-"]) { display: none !important; }
  .c0c-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 rgba(0,0,0,0.18) !important; border-radius: 8px !important; color: #1a1a1a !important; cursor: pointer !important; z-index: 10000 !important; flex-shrink: 0 !important; position: relative !important; }
  .c0c-burger-bars, .c0c-burger > span { display: flex !important; flex-direction: column !important; gap: 4px !important; width: 24px !important; height: 16px !important; }
  .c0c-header-cta-wrap, .c0c-header-actions, .c0c-burger-wrap, .c0c-header > div:has(> .c0c-burger), .c0c-header [class*="cta"], .c0c-header [class*="actions"] { display: flex !important; align-items: center !important; gap: 8px !important; flex-shrink: 0 !important; }
  .c0c-burger-label { display: none !important; }
  .c0c-nav-mobile.is-open { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 86%; max-width: 380px; background: #fff; padding: 4.5rem 1.5rem 2rem; z-index: 9999; overflow-y: auto; box-shadow: -10px 0 30px rgba(0,0,0,0.3); }
  .c0c-drawer-cta { display: block !important; margin: 2rem 0 1.5rem !important; padding: 1rem 1.5rem !important; text-align: center !important; background: var(--c0c-accent, #df5858) !important; color: #fff !important; border-radius: 8px !important; font-weight: 700 !important; text-decoration: none !important; font-size: 1.05rem !important; }
  .c0c-hero { grid-template-columns: 1fr; min-height: auto; }
  .c0c-hero-media { min-height: 300px; order: -1; }
  .c0c-editorial-grid, .c0c-tools-band .c0c-container { grid-template-columns: 1fr; }
  .c0c-topic-strip, .c0c-cat-grid, .c0c-post-grid, .c0c-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .c0c-container, .c0c-header-inner, .c0c-footer-inner { width: min(100% - 24px, 1160px); }
  .c0c-hero-copy { padding: 34px 20px; }
  .c0c-section-head { display: block; }
  .c0c-topic-strip, .c0c-cat-grid, .c0c-post-grid, .c0c-footer-inner { grid-template-columns: 1fr; }
  .c0c-editorial, .c0c-categories, .c0c-latest { padding: 46px 0; }
}
@media (hover: none) { .c0c-btn:hover { transform: none; } }


/* Extra rules */
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*="c0c-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(--c0c-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.
============================================================ */
.c0c-media-press {
  padding: 2.5rem 0;
  background: var(--c0c-bg-soft, var(--c0c-color-surface, #f9fafb));
  margin: 2rem 0;
}
.c0c-media-press > .c0c-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.c0c-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c0c-color-text-soft, var(--c0c-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.c0c-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.c0c-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%);
}
.c0c-media-press-item:hover,
.c0c-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.c0c-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .c0c-media-press { padding: 1.8rem 0; }
  .c0c-media-press-grid { gap: 1.4rem; }
  .c0c-media-press-item { max-width: 110px; min-height: 36px; }
  .c0c-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) */
.c0c-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);
}
.c0c-media-press .c0c-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;
}
.c0c-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(--c0c-muted, #666);
  flex: 0 0 auto;
}
.c0c-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;
}
.c0c-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;
}
.c0c-media-press-item:hover:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.c0c-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;
}
.c0c-media-press a:hover imga:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .c0c-media-press .c0c-container,
  section[class*="media-press"] [class*="container"] {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}



.c0c-cat-hero--align-left .c0c-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;
}
.c0c-cat-hero--align-center .c0c-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: flex-start !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: 14px !important; }
  [class*="-burger-bars"] > *:nth-child(2), [class*="-burger"] > span > *:nth-child(2) { width: 20px !important; }
  [class*="-burger-bars"] > *:nth-child(3), [class*="-burger"] > span > *:nth-child(3) { width: 24px !important; }
}

/* === USER FIX 2026-06-27 : Des outils pour passer a l action => blanc === */
.c0c-tools-band h2 { color: #FFFFFF !important; }
