:root {
  --a0f-primary: #1f5567;
  --a0f-accent: #ffcf00;
  --a0f-bg: #ffffff;
  --a0f-surface: #fbfbfc;
  --a0f-text: #313131;
  --a0f-soft: #5a6468;
  --a0f-line: #d3d3d3;
  --a0f-warm: #fffaf5;
  --a0f-orange: #ff6b35;
  --a0f-green: #1a4d2e;
  --a0f-font-head: 'Outfit', sans-serif;
  --a0f-font-body: 'Manrope', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.a0f-body { margin: 0; background: var(--a0f-bg); color: var(--a0f-text); font-family: var(--a0f-font-body); line-height: 1.65; }
main, .a0f-main { padding-top: 0 !important; margin-top: 0 !important; }
a { color: var(--a0f-primary); text-decoration-thickness: .08em; text-underline-offset: .18em; }
img { max-width: 100%; height: auto; }
.a0f-container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.a0f-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--a0f-line); backdrop-filter: blur(16px); }
.a0f-header-inner { min-height: 82px; display: flex; align-items: center; gap: 2rem; width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.a0f-brand-link { display: inline-flex; align-items: center; gap: .8rem; color: var(--a0f-text); text-decoration: none; flex-shrink: 0; }
.a0f-brand-logo { display: block; width: auto; }
.a0f-brand-name { font-family: var(--a0f-font-head); font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; color: var(--a0f-text); text-transform: uppercase; }
.a0f-nav-desktop { display: none; }
.a0f-nav-desktop-list { display: flex; align-items: center; justify-content: center; gap: 1rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.a0f-nav-desktop-list a { display: block; color: #1a0f0a; text-decoration: none; font-weight: 800; font-size: .92rem; padding: .5rem .15rem; border-bottom: 2px solid transparent; }
.a0f-nav-desktop-list a:hover, .a0f-nav-desktop-list a:focus { border-bottom-color: var(--a0f-accent); color: var(--a0f-primary); }
.a0f-header-actions { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.a0f-burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; min-width: 46px; min-height: 46px; border: 2px solid rgba(255,207,0,.95); border-radius: 999px; background: var(--a0f-primary); color: var(--a0f-accent); cursor: pointer; z-index: 10000; flex-shrink: 0; box-shadow: 0 10px 22px rgba(31,85,103,.18); transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.a0f-burger:hover, .a0f-burger:focus-visible, .a0f-burger[aria-expanded="true"] { background: var(--a0f-accent); border-color: var(--a0f-primary); color: var(--a0f-primary); box-shadow: 0 12px 26px rgba(31,85,103,.24); }
.a0f-burger:focus-visible { outline: 3px solid rgba(31,85,103,.22); outline-offset: 3px; }
.a0f-burger-bars { display: flex; flex-direction: column; gap: 4px; width: 24px; height: 16px; }
.a0f-burger-bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.a0f-nav-mobile { display: none; }
.a0f-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.38); z-index: 9998; }
.a0f-drawer-overlay[hidden] { display: none; }
.a0f-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .85rem 1.25rem; font-weight: 800; text-decoration: none; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease; }
.a0f-btn:hover { transform: translateY(-2px); }
.a0f-btn--cta { background: var(--a0f-orange); color: #fff; box-shadow: 0 10px 25px rgba(255,107,53,.22); }
.a0f-btn--ghost { background: #fff; color: #1a0f0a; border-color: var(--a0f-line); }
.a0f-hero { position: relative; overflow: hidden; min-height: 70vh; display: flex; align-items: center; background: linear-gradient(90deg,#fffaf5 0%,#fff 52%,#f5fbf8 100%); }
.a0f-hero-bg { position: absolute; right: 0; top: 0; width: 52%; height: 100%; object-fit: cover; z-index: 0; }
.a0f-hero-inner { position: relative; z-index: 2; max-width: 680px; margin-left: calc((100vw - min(1160px, calc(100% - 40px))) / 2); padding: 5rem 0; }
.a0f-hero-kicker { display: inline-flex; background: #fff; border: 1px solid var(--a0f-line); border-radius: 999px; padding: .35rem .8rem; color: var(--a0f-primary); font-weight: 800; margin: 0 0 1rem; }
.a0f-hero-title { font-family: var(--a0f-font-head); font-size: clamp(2.6rem,5vw,5.5rem); line-height: .98; margin: 0 0 1.2rem; color: #1a0f0a; letter-spacing: 0; }
.a0f-hero-subtitle { font-size: 1.15rem; max-width: 620px; color: #4c4038; margin: 0 0 1.8rem; }
.a0f-hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.a0f-hero-video-wrap { position: absolute; inset: 0; pointer-events: none; }
.a0f-hero-video { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; }
.a0f-hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.65) 100%); }
.a0f-hero--has-video .a0f-hero-inner { color: #fff; }
.a0f-hero--has-video .a0f-hero-title, .a0f-hero--has-video .a0f-hero-subtitle { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.a0f-editorial { padding: 4.5rem 0; background: #fff; }
.a0f-editorial-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(280px,.8fr); gap: 2rem; align-items: start; }
.a0f-editorial-main, .a0f-editorial-aside { border: 1px solid var(--a0f-line); border-radius: 16px; background: var(--a0f-surface); padding: 2rem; }
.a0f-editorial h2, .a0f-editorial h3, .a0f-section-head h2, .a0f-tools-callout h2 { font-family: var(--a0f-font-head); line-height: 1.08; color: #1a0f0a; margin-top: 0; }
.a0f-editorial h2 { font-size: 2rem; }
.a0f-editorial-aside { background: #1f5567; color: #fff; }
.a0f-editorial-aside h3, .a0f-editorial-aside strong { color: #ffcf00; }
.a0f-editorial-aside p { color: #fff; }
.a0f-categories { padding: 4rem 0; background: var(--a0f-warm); }
.a0f-section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.a0f-section-head h2 { font-size: 2.1rem; margin: 0; }
.a0f-section-head p { margin: 0; color: var(--a0f-soft); max-width: 520px; }
.a0f-cat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.a0f-cat-card { background: #fff; border: 1px solid var(--a0f-line); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(31,85,103,.08); }
.a0f-cat-card a { display: block; color: #1a0f0a; text-decoration: none; }
.a0f-cat-card img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #1f5567; }
.a0f-cat-card span { display: block; padding: 1rem; font-family: var(--a0f-font-head); font-size: 1.15rem; font-weight: 800; }
.a0f-latest { padding: 4.5rem 0; background: #fff; }
.a0f-post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; }
.a0f-post-card { border: 1px solid var(--a0f-line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.05); }
.a0f-post-thumb { display: block; background: #f2f2f2; aspect-ratio: 16/10; overflow: hidden; }
.a0f-post-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.a0f-post-body { padding: 1rem; }
.a0f-post-body time { font-size: .82rem; color: var(--a0f-soft); font-weight: 800; }
.a0f-post-body h3 { font-family: var(--a0f-font-head); line-height: 1.2; margin: .35rem 0; }
.a0f-post-body h3 a { color: #1a0f0a; text-decoration: none; }
.a0f-post-body p { margin: 0; color: var(--a0f-soft); }
.a0f-empty { padding: 1.5rem; background: var(--a0f-warm); border: 1px solid var(--a0f-line); border-radius: 12px; }
.a0f-tools-callout { padding: 3rem 0; background: #1a4d2e; color: #fff; }
.a0f-tools-callout-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.a0f-tools-callout h2 { color: #fff; margin-bottom: .5rem; }
.a0f-tools-callout p { margin: 0; max-width: 760px; color: #f7fff9; }
.a0f-footer { background: #102f3a; color: #f8fbfc; padding: 3.5rem 0 0; }
.a0f-footer-inner { width: min(1160px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.a0f-footer-logo { max-width: 140px; }
.a0f-footer-title { font-family: var(--a0f-font-head); font-size: 1.05rem; color: #ffcf00; margin: 0 0 1rem; }
.a0f-footer-brand-pitch { margin: 0 0 1rem; color: #eef7f8; }
.a0f-footer-brand-cta { color: #ffcf00; font-weight: 800; }
.a0f-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.a0f-footer-links a { color: #fff; text-decoration: underline; }
.a0f-footer-bottom { margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.18); padding: 1rem 20px; text-align: center; color: #dce9ec; }
.a0f-persona-photo { float: right; width: min(320px,45%); margin: 0 0 1.25rem 1.5rem; border-radius: 16px; border: 1px solid var(--a0f-line); }
.a0f-contact-form { margin-top: 2rem; }
.a0f-cat-hero { position: relative; height: 320px; max-height: 350px; overflow: hidden; background: #102f3a; }
.a0f-cat-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.a0f-cat-hero .a0f-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,.75) 100%); padding-bottom: 2rem; }
.a0f-cat-hero h1 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
@keyframes rpLiquidPulse { 0% { box-shadow: 0 0 0 0 rgba(255,207,0,.35); } 70% { box-shadow: 0 0 0 16px rgba(255,207,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,207,0,0); } }
.a0f-btn--cta { animation: rpLiquidPulse 2.8s ease-in-out infinite; }
@keyframes rpLogoSlide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.a0f-logo-slider { animation: rpLogoSlide 28s linear infinite; }
@keyframes rpBookingGlow { 0%,100% { border-color: rgba(255,207,0,.35); } 50% { border-color: rgba(31,85,103,.75); } }
.a0f-appointment-box { animation: rpBookingGlow 3.2s ease-in-out infinite; }
@media (min-width: 1024px) {
  .a0f-nav-desktop { display: flex; flex: 1; justify-content: center; margin: 0 1.5rem; }
  .a0f-burger, .a0f-burger-wrap { display: none !important; }
  .a0f-drawer-cta { display: none !important; }
}
@media (max-width: 1023px) {
  .a0f-header-inner { min-height: 68px; justify-content: space-between; }
  .a0f-header-cta-desktop, [class*="-header"] [class*="-btn--cta"]:not([class*="-drawer-"]) { display: none !important; }
  .a0f-nav-desktop { display: none !important; }
  .a0f-header-actions, .a0f-burger-wrap, .a0f-header [class*="actions"] { display: flex !important; align-items: center !important; gap: 8px !important; flex-shrink: 0 !important; }
  .a0f-burger { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 46px !important; height: 46px !important; min-width: 46px !important; min-height: 46px !important; padding: 9px !important; background: var(--a0f-primary) !important; border: 2px solid rgba(255,207,0,.95) !important; border-radius: 999px !important; color: var(--a0f-accent) !important; cursor: pointer !important; z-index: 10000 !important; flex-shrink: 0 !important; position: relative !important; box-shadow: 0 10px 22px rgba(31,85,103,.18) !important; }
  .a0f-burger:hover, .a0f-burger:focus-visible, .a0f-burger[aria-expanded="true"] { background: var(--a0f-accent) !important; border-color: var(--a0f-primary) !important; color: var(--a0f-primary) !important; box-shadow: 0 12px 26px rgba(31,85,103,.24) !important; }
  .a0f-burger-bars, .a0f-burger > span { display: flex !important; flex-direction: column !important; gap: 4px !important; width: 24px !important; height: 16px !important; }
  .a0f-nav-mobile.is-open { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 86%; max-width: 380px; background: #fff; color: #111; padding: 4.5rem 1.5rem 2rem; z-index: 9999; overflow-y: auto; box-shadow: -10px 0 30px rgba(0,0,0,.3); }
  .a0f-nav-mobile-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
  .a0f-nav-mobile-list a { display: block; color: #111; text-decoration: none; font-weight: 800; padding: 1rem; border-bottom: 1px solid #e5e5e5; }
  .a0f-drawer-close { position: absolute; top: 1rem; right: 1rem; width: 42px; height: 42px; border: 1px solid #ddd; background: #fff; color: #111; border-radius: 8px; font-size: 1.5rem; }
  .a0f-drawer-cta { display: block !important; margin: 2rem 0 0 !important; padding: 1rem 1.5rem !important; text-align: center !important; background: var(--a0f-orange,#2563eb) !important; color: #fff !important; border-radius: 8px !important; font-weight: 600 !important; text-decoration: none !important; font-size: 1.05rem !important; }
  .a0f-hero { min-height: auto; }
  .a0f-hero-bg { position: relative; width: 100%; height: 280px; order: 2; }
  .a0f-hero-inner { margin: 0 auto; padding: 3rem 0; }
  .a0f-editorial-grid, .a0f-footer-inner { grid-template-columns: 1fr; }
  .a0f-tools-callout-inner { display: grid; }
  .a0f-cat-grid, .a0f-post-grid { grid-template-columns: 1fr 1fr; }
  .a0f-section-head { display: block; }
  .a0f-persona-photo { float: none; width: 100%; margin: 0 0 1rem; }
}
@media (max-width: 640px) {
  .a0f-container { width: min(100% - 28px, 1160px); }
  .a0f-brand-name { font-size: 1.1rem; }
  .a0f-hero-title { font-size: 2.45rem; }
  .a0f-cat-grid, .a0f-post-grid { grid-template-columns: 1fr; }
  .a0f-footer-inner { grid-template-columns: 1fr; }
  .a0f-editorial-main, .a0f-editorial-aside { padding: 1.25rem; }
  .a0f-hero-actions { display: grid; }
  .a0f-cat-hero { height: 260px; }
}


/* 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*="a0f-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(--a0f-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.
============================================================ */
.a0f-media-press {
  padding: 2.5rem 0;
  background: var(--a0f-bg-soft, var(--a0f-color-surface, #f9fafb));
  margin: 2rem 0;
}
.a0f-media-press > .a0f-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.a0f-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a0f-color-text-soft, var(--a0f-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.a0f-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.a0f-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%);
}
.a0f-media-press-item:hover,
.a0f-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.a0f-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .a0f-media-press { padding: 1.8rem 0; }
  .a0f-media-press-grid { gap: 1.4rem; }
  .a0f-media-press-item { max-width: 110px; min-height: 36px; }
  .a0f-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) */
.a0f-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);
}
.a0f-media-press .a0f-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;
}
.a0f-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(--a0f-muted, #666);
  flex: 0 0 auto;
}
.a0f-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;
}
.a0f-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;
}
.a0f-media-press-item:hover:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.a0f-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;
}
.a0f-media-press a:hover imga:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .a0f-media-press .a0f-container,
  section[class*="media-press"] [class*="container"] {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}



.a0f-cat-hero--align-left .a0f-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;
}
.a0f-cat-hero--align-center .a0f-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; }
}
