:root {
  --f91-primary: #C8102E;
  --f91-accent: #0F5132;
  --f91-bg: #FFF8E5;
  --f91-surface: #FFFFFF;
  --f91-text: #2A0A14;
  --f91-soft: #7A4555;
  --f91-line: #F0DC95;
  --f91-heading: "Lobster", cursive;
  --f91-body-font: "Karla", system-ui, sans-serif;
  --f91-radius: 8px;
  --f91-shadow: 0 18px 45px rgba(42, 10, 20, .12);
}

* { box-sizing: border-box; }
body.f91-body {
  margin: 0;
  background: var(--f91-bg);
  color: var(--f91-text);
  font-family: var(--f91-body-font);
  line-height: 1.65;
}
body.f91-menu-open { overflow: hidden; }
main, .f91-main { padding-top: 0 !important; margin-top: 0 !important; }
a { color: var(--f91-accent); }
img { max-width: 100%; height: auto; }
.f91-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.f91-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(255, 248, 229, .96);
  border-bottom: 1px solid var(--f91-line);
  backdrop-filter: blur(14px);
}
.f91-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}
.f91-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--f91-text);
  flex-shrink: 0;
}
.f91-brand-logo { width: auto; height: auto; max-width: 76px; display: block; }
.f91-brand-name {
  font-family: var(--f91-heading);
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
  color: var(--f91-primary);
  text-transform: lowercase;
  letter-spacing: 0;
  white-space: nowrap;
}
.f91-nav-desktop { display: none; }
.f91-nav-desktop-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.f91-nav-desktop-list a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .48rem .4rem;
  color: var(--f91-text);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.f91-nav-desktop-list a:hover,
.f91-nav-desktop-list a:focus {
  color: var(--f91-primary);
  border-bottom-color: currentColor;
}
.f91-nav-desktop-list svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.f91-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.f91-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .72rem 1rem;
  border-radius: var(--f91-radius);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
  border: 1px solid transparent;
}
.f91-btn--cta {
  background: var(--f91-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(200, 16, 46, .22);
}
.f91-btn--ghost {
  background: #fff;
  color: var(--f91-text);
  border-color: var(--f91-line);
}
.f91-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 8px;
  background: rgba(255,255,255,.94);
  border: 1.5px solid rgba(42,10,20,.24);
  border-radius: 8px;
  color: var(--f91-text);
  cursor: pointer;
  z-index: 10000;
  flex-shrink: 0;
  position: relative;
}
.f91-burger-bars,
.f91-burger > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 16px;
}
.f91-burger-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}
.f91-nav-mobile { display: none; }
.f91-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 10, 20, .45);
  z-index: 9200;
}
.f91-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--f91-line);
  background: #fff;
  color: var(--f91-text);
  font-size: 1.6rem;
  line-height: 1;
}
.f91-nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.f91-nav-mobile-list a {
  display: block;
  padding: 1rem 0;
  color: #1a1a1a;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid #ead9aa;
}
.f91-drawer-cta {
  display: block !important;
  margin: 2rem 0 0 !important;
  padding: 1rem 1.5rem !important;
  text-align: center !important;
  background: var(--f91-primary) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
}

.f91-hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #fff;
}
.f91-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.f91-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 9rem) 0 4rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.f91-hero-kicker {
  display: inline-block;
  margin: 0 0 .75rem;
  padding: .35rem .7rem;
  background: rgba(15, 81, 50, .9);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
}
.f91-hero-title {
  margin: 0;
  max-width: 820px;
  font-family: var(--f91-heading);
  font-size: clamp(4rem, 12vw, 8.2rem);
  line-height: .9;
  letter-spacing: 0;
  text-transform: lowercase;
}
.f91-hero-subtitle {
  max-width: 680px;
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
}
.f91-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
  text-shadow: none;
}

.f91-editorial {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--f91-bg);
}
.f91-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 2rem;
  align-items: start;
}
.f91-editorial h2,
.f91-section-head h2,
.f91-tools-promo h2 {
  margin: 0 0 1rem;
  font-family: var(--f91-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--f91-primary);
  line-height: 1;
}
.f91-editorial p { font-size: 1.08rem; color: var(--f91-text); }
.f91-editorial-note {
  background: var(--f91-accent);
  color: #fff;
  border-radius: var(--f91-radius);
  padding: 1.4rem;
  box-shadow: var(--f91-shadow);
}
.f91-editorial-note h3 {
  margin-top: 0;
  color: #fff;
  font-size: 1.35rem;
}
.f91-editorial-note p { color: #fff; }
.f91-editorial-strips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.f91-editorial-strips article {
  background: #fff;
  border: 1px solid var(--f91-line);
  border-radius: var(--f91-radius);
  padding: 1.25rem;
}
.f91-editorial-strips h3 {
  margin: 0 0 .4rem;
  color: var(--f91-accent);
}

.f91-category-runs {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: #fff;
}
.f91-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.f91-section-head p,
.f91-tools-promo p:first-child {
  margin: 0 0 .4rem;
  color: var(--f91-accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.f91-cat-run {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--f91-line);
}
.f91-cat-run-head {
  display: grid;
  grid-template-rows: 170px auto;
  overflow: hidden;
  border-radius: var(--f91-radius);
  background: var(--f91-bg);
  color: var(--f91-text);
  text-decoration: none;
  border: 1px solid var(--f91-line);
}
.f91-cat-run-head img {
  width: 100%;
  height: 170px;
  display: block;
  object-fit: cover;
}
.f91-cat-run-head span {
  padding: .9rem;
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  align-items: center;
}
.f91-cat-run-head strong {
  font-size: 1.3rem;
  color: var(--f91-primary);
}
.f91-cat-run-head em {
  color: var(--f91-accent);
  font-style: normal;
  font-weight: 800;
}
.f91-run-posts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}
.f91-card {
  background: #fff;
  border: 1px solid var(--f91-line);
  border-radius: var(--f91-radius);
  overflow: hidden;
  min-height: 100%;
}
.f91-card a {
  display: block;
  height: 100%;
  color: var(--f91-text);
  text-decoration: none;
}
.f91-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}
.f91-card-date {
  display: block;
  padding: .8rem .9rem 0;
  color: var(--f91-soft);
  font-size: .85rem;
  font-weight: 700;
}
.f91-card h3 {
  margin: .2rem 0 0;
  padding: 0 .9rem 1rem;
  font-size: 1.02rem;
  line-height: 1.25;
}
.f91-empty-run {
  margin: 0;
  padding: 1rem;
  background: var(--f91-bg);
  border-radius: var(--f91-radius);
}
.f91-empty-run a { font-weight: 900; color: var(--f91-accent); }

.f91-tools-promo {
  padding: 3rem 0;
  background: var(--f91-accent);
  color: #fff;
}
.f91-tools-promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.f91-tools-promo h2,
.f91-tools-promo p { color: #fff; }
.f91-tools-promo p:last-child { max-width: 680px; }

.f91-footer {
  background: #2A0A14;
  color: #fff;
  padding: 3rem 0 0;
}
.f91-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr .9fr .9fr .9fr;
  gap: 2rem;
}
.f91-footer-logo { max-width: 120px; }
.f91-footer-brand-pitch {
  color: #fff;
  margin: 0 0 1rem;
}
.f91-footer-brand-cta,
.f91-footer a {
  color: #FFE8A3;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.f91-footer-title {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.1rem;
}
.f91-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.f91-footer-links li { margin: .45rem 0; }
.f91-footer-bottom {
  margin-top: 2.4rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.16);
  text-align: center;
  color: #fff;
}

@keyframes rpUnderlineCta{0%{background-size:0 2px}100%{background-size:100% 2px}}
.f91-btn--cta{background-image:linear-gradient(currentColor,currentColor);background-position:0 100%;background-repeat:no-repeat;background-size:0 2px}
.f91-btn--cta:hover{animation:rpUnderlineCta .28s ease forwards}
@keyframes rpImageZoomCard{0%{transform:scale(1)}100%{transform:scale(1.05)}}
.f91-card:hover img,.f91-cat-run-head:hover img{animation:rpImageZoomCard .45s ease forwards}
@keyframes rpQuoteForm{0%{box-shadow:0 0 0 0 rgba(200,16,46,.2)}100%{box-shadow:0 0 0 12px rgba(200,16,46,0)}}
.f91-contact-form:focus-within{animation:rpQuoteForm .7s ease}
.f91-nav-desktop-list a svg,.f91-footer a svg{transition:transform .2s ease,filter .2s ease}
.f91-nav-desktop-list a:hover svg,.f91-footer a:hover svg{transform:scale(1.12);filter:drop-shadow(0 0 6px var(--f91-accent))}

@media (min-width: 1024px) {
  .f91-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1rem;
  }
  .f91-burger,
  .f91-burger-wrap { display: none !important; }
  .f91-drawer-cta { display: none !important; }
}

@media (max-width: 1023px) {
  .f91-header-inner {
    min-height: 70px;
    justify-content: space-between;
  }
  .f91-header-cta-desktop,
  [class*="-header"] [class*="-btn--cta"]:not([class*="-drawer-"]) {
    display: none !important;
  }
  .f91-header-actions,
  .f91-burger-wrap,
  .f91-header > div:has(> .f91-burger),
  .f91-header [class*="cta"],
  .f91-header [class*="actions"] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .f91-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;
  }
  .f91-burger-bars,
  .f91-burger > span {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 24px !important;
    height: 16px !important;
  }
  .f91-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,.3);
  }
  .f91-burger-label { display: none !important; }
}

@media (max-width: 900px) {
  .f91-editorial-grid,
  .f91-editorial-strips,
  .f91-cat-run,
  .f91-tools-promo-inner,
  .f91-footer-inner {
    grid-template-columns: 1fr;
  }
  .f91-tools-promo-inner { display: grid; }
  .f91-run-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f91-section-head { display: block; }
  .f91-hero { min-height: 62vh; }
}

@media (max-width: 560px) {
  .f91-container,
  .f91-hero-inner,
  .f91-footer-inner {
    width: min(100% - 28px, 1180px);
  }
  .f91-brand-logo { max-width: 58px; }
  .f91-brand-name { font-size: 1.55rem; }
  .f91-hero-title { font-size: 3.5rem; }
  .f91-run-posts { grid-template-columns: 1fr; }
  .f91-card img { height: 170px; }
}

@media (hover:none) {
  .f91-nav-desktop-list a svg,.f91-footer a svg{transition:none}
}

/* === drawer mobile : casse stacking context du header sticky === */
.f91-header {
  isolation: auto !important;
  contain: none !important;
}
.f91-header,
.f91-header-inner,
.f91-header * {
  transform: none !important;
  will-change: auto !important;
  filter: none !important;
}

/* === drawer mobile safety net (z-index + visibility) === */
.f91-nav-mobile {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 86% !important;
  max-width: 380px !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 2147483646 !important; /* max - 1 */
  transform: translateX(100%);
  transition: transform .3s ease;
  visibility: hidden;
  background: #FFFFFF !important;
}
.f91-nav-mobile.is-open {
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow-y: auto !important;
  padding: 4.5rem 1.4rem 1.5rem !important;
  pointer-events: auto !important;
}
.f91-nav-mobile.is-open .f91-nav-mobile-list {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  pointer-events: auto !important;
}
.f91-nav-mobile.is-open .f91-nav-mobile-list li {
  display: list-item !important;
  visibility: visible !important;
  opacity: 1 !important;
  border-bottom: 1px solid #E5E0D5 !important;
  margin: 0 !important;
}
.f91-nav-mobile.is-open .f91-nav-mobile-list a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #1A1A2E !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  padding: 1rem 0.5rem !important;
  text-decoration: none !important;
  pointer-events: auto !important;
}
/* Overlay : z-index INFERIEUR au drawer + ne couvre PAS le drawer */
.f91-drawer-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(0,0,0,0.5) !important;
  z-index: 2147483640 !important; /* inferieur de 6 au drawer */
  display: none !important;
  pointer-events: none !important;
}
.f91-drawer-overlay.is-open {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
/* Mais quand le drawer est ouvert, l'overlay doit s'arreter a gauche du drawer */
.f91-nav-mobile.is-open + .f91-drawer-overlay.is-open,
.f91-drawer-overlay.is-open {
  right: 86% !important; /* l'overlay ne couvre que la zone gauche du viewport */
  width: 14% !important;
}


/* Site theme 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*="f91-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(--f91-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.
============================================================ */
.f91-media-press {
  padding: 2.5rem 0;
  background: var(--f91-bg-soft, var(--f91-color-surface, #f9fafb));
  margin: 2rem 0;
}
.f91-media-press > .f91-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.f91-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--f91-color-text-soft, var(--f91-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.f91-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.f91-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%);
}
.f91-media-press-item:hover,
.f91-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.f91-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .f91-media-press { padding: 1.8rem 0; }
  .f91-media-press-grid { gap: 1.4rem; }
  .f91-media-press-item { max-width: 110px; min-height: 36px; }
  .f91-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) */
.f91-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);
}
.f91-media-press .f91-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;
}
.f91-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(--f91-muted, #666);
  flex: 0 0 auto;
}
.f91-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;
}
.f91-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;
}
.f91-media-press-item:hover:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.f91-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;
}
.f91-media-press a:hover imga:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .f91-media-press .f91-container,
  section[class*="media-press"] [class*="container"] {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}



.f91-cat-hero--align-left .f91-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;
}
.f91-cat-hero--align-center .f91-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: 50% !important; padding: 8px !important;
    background: transparent !important; border: 1.5px solid currentColor !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: 24px !important; }
  [class*="-burger-bars"] > *:nth-child(3), [class*="-burger"] > span > *:nth-child(3) { width: 24px !important; }
}


/* Mouse effect : icon_hover_pulse */
.f91-nav-desktop-list a svg,.f91-footer a svg{transition:transform .2s ease,filter .2s ease}.f91-nav-desktop-list a:hover svg,.f91-footer a:hover svg{transform:scale(1.12);filter:drop-shadow(0 0 6px var(--f91-accent))}@media (hover:none){.f91-nav-desktop-list a svg,.f91-footer a svg{transition:none}}
