/* =====================================================================
   Le Blog du Tennis — style.css
   Design system : Auto Sportscar Lamborghini (Saira Stencil One / Saira)
   Palette adaptée du concurrent HSN : orange sport #ff6000 + vert court #39b54a
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. Variables
   --------------------------------------------------------------------- */
:root {
  --e1f-primary:      #ff6000;
  --e1f-primary-dark: #b34300;
  --e1f-accent:       #39b54a;
  --e1f-accent-dark:  #268034;
  --e1f-text:         #1a1a1a;
  --e1f-text-soft:    #6b7280;
  --e1f-text-mute:    #9ca3af;
  --e1f-bg:           #ffffff;
  --e1f-surface:      #fafafa;
  --e1f-surface-2:    #f4f4f4;
  --e1f-line:         #e5e7eb;
  --e1f-line-strong:  #d1d5db;
  --e1f-shadow-sm:    0 2px 6px rgba(0,0,0,0.06);
  --e1f-shadow-md:    0 8px 20px rgba(0,0,0,0.08);
  --e1f-shadow-lg:    0 20px 40px rgba(0,0,0,0.12);
  --e1f-radius-sm:    4px;
  --e1f-radius-md:    8px;
  --e1f-radius-lg:    14px;
  --e1f-container:    1240px;
  --e1f-font-head:    "Saira Stencil One", "Saira", Impact, "Arial Black", sans-serif;
  --e1f-font-body:    "Saira", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------------------------------------------------------------------
   1. Reset / base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--e1f-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--e1f-text);
  background: var(--e1f-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--e1f-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--e1f-primary-dark); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--e1f-font-head);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--e1f-text);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { margin: 0 0 1.1em; }
main, .e1f-main { padding-top: 0 !important; margin-top: 0 !important; }

.e1f-container {
  max-width: var(--e1f-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------------------------------------------------------------------
   2. Boutons
   --------------------------------------------------------------------- */
.e1f-btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  font-family: var(--e1f-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 0;
  border-radius: var(--e1f-radius-md);
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.e1f-btn--primary,
.e1f-btn--cta {
  background: var(--e1f-primary);
  color: #ffffff !important;
  box-shadow: 0 6px 0 0 var(--e1f-primary-dark), 0 8px 12px rgba(255,96,0,0.35);
}
.e1f-btn--primary:hover,
.e1f-btn--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 0 var(--e1f-primary-dark), 0 12px 18px rgba(255,96,0,0.45);
}
.e1f-btn--primary:active,
.e1f-btn--cta:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 0 var(--e1f-primary-dark), 0 2px 4px rgba(255,96,0,0.35);
}
.e1f-btn--ghost {
  background: transparent;
  color: var(--e1f-text) !important;
  border: 2px solid var(--e1f-text);
}
.e1f-btn--ghost:hover { background: var(--e1f-text); color: #ffffff !important; }
.e1f-btn--accent {
  background: var(--e1f-accent);
  color: #ffffff !important;
  box-shadow: 0 6px 0 0 var(--e1f-accent-dark), 0 8px 12px rgba(57,181,74,0.35);
}

/* ---------------------------------------------------------------------
   3. Header
   --------------------------------------------------------------------- */
.e1f-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #ffffff;
  border-bottom: 1px solid var(--e1f-line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.e1f-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: var(--e1f-container);
  margin: 0 auto;
  gap: 1.5rem;
}
.e1f-brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--e1f-text);
  flex-shrink: 0;
}
.e1f-brand-logo { display: block; max-height: 44px; width: auto; }
.e1f-brand-name {
  font-family: var(--e1f-font-head);
  font-size: 1.35rem;
  color: var(--e1f-text);
  letter-spacing: 0.01em;
  /* Title Case style B : pas de text-transform */
}
.e1f-brand-tagline {
  display: none;
  font-size: 0.85rem;
  color: var(--e1f-text-soft);
}

/* --- Nav desktop --- */
.e1f-nav-desktop { display: none; }
.e1f-nav-desktop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.e1f-nav-desktop-list > li { position: relative; }
.e1f-nav-desktop-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--e1f-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--e1f-text);
  padding: 1.2rem 0;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.e1f-nav-desktop-list > li > a:hover,
.e1f-nav-desktop-list > li:focus-within > a {
  color: var(--e1f-primary);
  border-bottom-color: var(--e1f-primary);
}
.e1f-nav-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

/* --- Mega menu (layout B : grid 3 colonnes) --- */
.e1f-megamenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(880px, 92vw);
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--e1f-line);
  border-radius: var(--e1f-radius-lg);
  box-shadow: var(--e1f-shadow-lg);
  z-index: 950;
}
.e1f-nav-desktop-list > li:hover > .e1f-megamenu,
.e1f-nav-desktop-list > li:focus-within > .e1f-megamenu {
  display: block;
}
.e1f-megamenu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.e1f-megamenu-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: var(--e1f-text);
  background: var(--e1f-surface);
  border-radius: var(--e1f-radius-md);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid transparent;
}
.e1f-megamenu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--e1f-shadow-md);
  border-color: var(--e1f-primary);
}
.e1f-megamenu-thumb { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--e1f-surface-2); }
.e1f-megamenu-thumb img { width: 100%; height: 100%; object-fit: cover; }
.e1f-megamenu-body { padding: 0.7rem 0.85rem 0.9rem; }
.e1f-megamenu-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--e1f-text);
  line-height: 1.35;
  margin-bottom: 0.3rem;
}
.e1f-megamenu-date {
  font-size: 0.78rem;
  color: var(--e1f-text-soft);
}
.e1f-megamenu-fallback {
  padding: 1.5rem;
  text-align: center;
}
.e1f-megamenu-fallback a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--e1f-primary);
  color: #ffffff !important;
  border-radius: var(--e1f-radius-md);
  font-weight: 600;
}

/* --- CTA desktop --- */
.e1f-header-cta-desktop {
  flex-shrink: 0;
}

/* --- Burger --- */
.e1f-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--e1f-line);
  border-radius: var(--e1f-radius-md);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.e1f-burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--e1f-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.e1f-burger.is-active .e1f-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.e1f-burger.is-active .e1f-burger-bar:nth-child(2) { opacity: 0; }
.e1f-burger.is-active .e1f-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Drawer mobile --- */
.e1f-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 995;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.e1f-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.e1f-nav-mobile { display: none; }
.e1f-nav-mobile.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 380px;
  background: #ffffff;
  padding: 4.5rem 1.25rem 2rem;
  z-index: 996;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}
.e1f-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border: 1px solid var(--e1f-line);
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--e1f-text);
  padding: 0;
}
.e1f-nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.e1f-nav-mobile-list li {
  border-bottom: 1px solid var(--e1f-line);
}
.e1f-nav-mobile-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0.5rem;
  color: #0a0a0a !important;
  font-weight: 600;
  font-family: var(--e1f-font-body);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}
.e1f-nav-mobile-list a:hover { color: var(--e1f-primary) !important; }
.e1f-drawer-cta {
  display: block !important;
  margin: 2rem 0 1rem !important;
  padding: 1rem 1.5rem !important;
  text-align: center;
  background: var(--e1f-primary) !important;
  color: #ffffff !important;
  border-radius: var(--e1f-radius-md);
  font-weight: 700;
  text-decoration: none !important;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------------
   4. Hero — style « manifesto » + vidéo YouTube background
   --------------------------------------------------------------------- */
.e1f-hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  background: #0a0a0a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.e1f-hero-video-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.e1f-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;
  pointer-events: none;
}
.e1f-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 2;
}
.e1f-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.e1f-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 960px;
  padding: 5rem 1.5rem;
  text-align: center;
}
.e1f-hero-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(255,96,0,0.15);
  border: 1px solid rgba(255,96,0,0.55);
  color: #ffdcb8;
  font-family: var(--e1f-font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.e1f-hero--has-video .e1f-hero-title,
.e1f-hero-title {
  font-family: var(--e1f-font-head);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0,0,0,0.55);
  margin-bottom: 1.2rem;
  letter-spacing: 0.015em;
}
.e1f-hero-subtitle {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.e1f-hero-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.e1f-hero-cta-row .e1f-btn { font-size: 1rem; }

/* ---------------------------------------------------------------------
   5. Section « À propos » home
   --------------------------------------------------------------------- */
.e1f-home-about {
  background: #f9f7f4;
  padding: 4rem 1rem;
  margin: 0 !important;
}
.e1f-hero + .e1f-home-about { margin-top: 0 !important; }
.e1f-hero { margin-bottom: 0 !important; }
.e1f-home-about-inner {
  max-width: var(--e1f-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}
.e1f-home-about-media img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
  border: 3px solid #ffffff;
}
.e1f-home-about-eyebrow {
  display: inline-block;
  color: var(--e1f-primary);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
}
.e1f-home-about-title {
  color: #1a1a1a;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.e1f-home-about-bio {
  color: rgba(0,0,0,0.72);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.e1f-home-about-cta {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  background: var(--e1f-primary);
  color: #ffffff !important;
  border-radius: var(--e1f-radius-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  box-shadow: 0 6px 0 0 var(--e1f-primary-dark);
  transition: transform 0.18s;
}
.e1f-home-about-cta:hover { transform: translateY(-2px); color: #ffffff !important; }

/* ---------------------------------------------------------------------
   6. Section « Rubriques » (catégories)
   --------------------------------------------------------------------- */
.e1f-categories {
  padding: 4.5rem 1.25rem;
  max-width: var(--e1f-container);
  margin: 0 auto;
}
.e1f-section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.e1f-section-eyebrow {
  display: inline-block;
  color: var(--e1f-primary);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.7rem;
}
.e1f-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--e1f-text);
  margin-bottom: 0.6rem;
}
.e1f-section-sub {
  color: var(--e1f-text-soft);
  max-width: 620px;
  margin: 0 auto;
}
.e1f-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.e1f-cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--e1f-radius-lg);
  background: var(--e1f-surface-2);
  box-shadow: var(--e1f-shadow-sm);
  text-decoration: none !important;
  color: var(--e1f-text);
  min-height: 260px;
  transition: transform 0.35s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.35s ease;
  will-change: transform;
}
.e1f-cat-card-img {
  display: block;
  width: 100%;
  height: 65%;
  background-size: cover;
  background-position: center;
  background-color: var(--e1f-primary);
  position: absolute;
  inset: 0;
  z-index: 1;
}
.e1f-cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 2;
}
.e1f-cat-card-body {
  position: relative;
  z-index: 3;
  padding: 1.5rem;
  color: #ffffff;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.e1f-cat-card-title {
  font-family: var(--e1f-font-head);
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  transition: color 0.2s;
}
.e1f-cat-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------------------------
   7. Section « Derniers articles » (12 posts)
   --------------------------------------------------------------------- */
.e1f-latest {
  background: var(--e1f-surface);
  padding: 5rem 1.25rem;
}
.e1f-latest-inner {
  max-width: var(--e1f-container);
  margin: 0 auto;
}
.e1f-latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.e1f-latest-card {
  background: #ffffff;
  border-radius: var(--e1f-radius-lg);
  overflow: hidden;
  box-shadow: var(--e1f-shadow-sm);
  text-decoration: none !important;
  color: var(--e1f-text);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.35s ease;
  will-change: transform;
}
.e1f-latest-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--e1f-surface-2);
  overflow: hidden;
}
.e1f-latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.e1f-latest-card:hover .e1f-latest-thumb img { transform: scale(1.05); }
.e1f-latest-body { padding: 1.25rem 1.35rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.e1f-latest-cat {
  display: inline-block;
  color: var(--e1f-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.e1f-latest-card-title {
  font-family: var(--e1f-font-head);
  font-size: 1.2rem;
  color: var(--e1f-text);
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.e1f-latest-excerpt {
  color: var(--e1f-text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.e1f-latest-meta {
  margin-top: auto;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--e1f-text-mute);
}
.e1f-latest-meta::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--e1f-primary);
  border-radius: 50%;
}

/* ---------------------------------------------------------------------
   8. Section « Présentation éditoriale » (H2 + H3 + 3 liens, avant footer)
   --------------------------------------------------------------------- */
.e1f-home-intro {
  background: #ffffff;
  padding: 5rem 1.25rem;
  border-top: 1px solid var(--e1f-line);
}
.e1f-home-intro-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: left;
}
.e1f-home-intro-title {
  font-family: var(--e1f-font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--e1f-text);
  margin-bottom: 1.2rem;
}
.e1f-home-intro-lead {
  font-size: 1.1rem;
  color: var(--e1f-text);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}
.e1f-home-intro-h3 {
  font-family: var(--e1f-font-head);
  font-size: 1.3rem;
  color: var(--e1f-primary);
  margin: 1.5rem 0 0.8rem;
  letter-spacing: 0.015em;
}
.e1f-home-intro-body {
  font-size: 1.02rem;
  color: rgba(0,0,0,0.78);
  line-height: 1.7;
}
.e1f-home-intro a {
  color: var(--e1f-primary);
  border-bottom: 1px dotted var(--e1f-primary);
  font-weight: 600;
}
.e1f-home-intro a:hover { border-bottom-style: solid; }

/* ---------------------------------------------------------------------
   9. Catégorie template (intro-faq layout)
   --------------------------------------------------------------------- */
.e1f-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--e1f-text);
}
.e1f-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.e1f-cat-hero-container {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--e1f-container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
}
.e1f-cat-hero-title {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  margin-bottom: 1.5rem;
}
.e1f-cat-intro {
  max-width: 860px;
  margin: 3rem auto;
  padding: 0 1.25rem;
  font-size: 1.05rem;
  color: var(--e1f-text);
  line-height: 1.7;
}
.e1f-cat-intro a { color: var(--e1f-primary); border-bottom: 1px dotted var(--e1f-primary); }
.e1f-cat-list {
  max-width: var(--e1f-container);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.e1f-cat-faq {
  background: var(--e1f-surface);
  padding: 4rem 1.25rem;
}
.e1f-cat-faq-inner { max-width: 860px; margin: 0 auto; }
.e1f-cat-faq details {
  background: #ffffff;
  border: 1px solid var(--e1f-line);
  border-radius: var(--e1f-radius-md);
  margin-bottom: 1rem;
  padding: 0;
  overflow: hidden;
}
.e1f-cat-faq summary {
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  color: var(--e1f-text);
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.e1f-cat-faq summary::-webkit-details-marker { display: none; }
.e1f-cat-faq summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--e1f-primary);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.e1f-cat-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.e1f-cat-faq details p { padding: 0 1.3rem 1.3rem; margin: 0; color: var(--e1f-text-soft); line-height: 1.65; }

/* ---------------------------------------------------------------------
   10. Contact / A-propos content
   --------------------------------------------------------------------- */
.e1f-page-content {
  max-width: 780px;
  margin: 3rem auto;
  padding: 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--e1f-text);
}
.e1f-page-content h2 { color: var(--e1f-primary); margin-top: 2rem; }
.e1f-page-content h3 { color: var(--e1f-text); margin-top: 1.8rem; }
.e1f-page-content a { color: var(--e1f-primary); border-bottom: 1px dotted var(--e1f-primary); }
.e1f-persona-photo {
  display: block;
  margin: 2rem auto;
  max-width: 320px;
  border-radius: var(--e1f-radius-lg);
  box-shadow: var(--e1f-shadow-md);
}
.e1f-contact-form { margin: 2rem 0; }
.e1f-contact-form iframe { display: block; width: 100%; }

/* ---------------------------------------------------------------------
   11. Footer
   --------------------------------------------------------------------- */
.e1f-footer {
  background: #0f0f0f;
  color: #e6e6e6;
  padding: 4rem 1.25rem 1.5rem;
  margin-top: 0;
}
.e1f-footer-inner {
  max-width: var(--e1f-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #2a2a2a;
}
.e1f-footer-col-title {
  font-family: var(--e1f-font-head);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
}
.e1f-footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.e1f-footer-logo {
  display: block;
  margin-bottom: 1rem;
  height: auto;
  max-width: 120px;
}
.e1f-footer-brand-pitch {
  color: #cfd3dc;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}
.e1f-footer-brand-cta {
  display: inline-block;
  color: var(--e1f-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  border-bottom: 2px solid var(--e1f-primary);
  padding-bottom: 0.25rem;
  align-self: flex-start;
}
.e1f-footer-brand-cta:hover { color: #ffdcb8; border-color: #ffdcb8; }
.e1f-footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.e1f-footer-list a {
  color: #e6e6e6;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.e1f-footer-list a:hover { color: var(--e1f-primary); }
.e1f-footer-bottom {
  max-width: var(--e1f-container);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: #a8aebc;
  font-size: 0.85rem;
}
.e1f-footer-social { display: flex; gap: 0.8rem; }
.e1f-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  color: #e6e6e6;
  transition: background 0.2s, border-color 0.2s;
}
.e1f-footer-social a:hover { background: var(--e1f-primary); border-color: var(--e1f-primary); color: #ffffff; }
.e1f-footer-social svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------------
   12. Animation CTA (3D press button)
   --------------------------------------------------------------------- */
@keyframes lbt-3d-press {
  0%, 100% { transform: translateY(0); box-shadow: 0 6px 0 0 var(--e1f-primary-dark), 0 8px 12px rgba(255,96,0,0.35); }
  50%     { transform: translateY(2px); box-shadow: 0 4px 0 0 var(--e1f-primary-dark), 0 4px 8px rgba(255,96,0,0.35); }
}

/* Review stars widget */
@keyframes lbt-star-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255,180,0,0)); }
  50%      { transform: scale(1.15); filter: drop-shadow(0 0 6px rgba(255,180,0,0.7)); }
}
.e1f-review-stars { display: inline-flex; gap: 0.15rem; align-items: center; }
.e1f-review-stars .e1f-star { width: 16px; height: 16px; color: #ffb400; animation: lbt-star-pulse 2.4s ease-in-out infinite; }
.e1f-review-stars .e1f-star:nth-child(2) { animation-delay: 0.15s; }
.e1f-review-stars .e1f-star:nth-child(3) { animation-delay: 0.30s; }
.e1f-review-stars .e1f-star:nth-child(4) { animation-delay: 0.45s; }
.e1f-review-stars .e1f-star:nth-child(5) { animation-delay: 0.60s; }

/* Multi-step form (CTO) */
@keyframes lbt-step-in {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.e1f-multistep { position: relative; padding: 1.5rem; border: 1px solid var(--e1f-line); border-radius: var(--e1f-radius-lg); background: #ffffff; max-width: 520px; }
.e1f-multistep-step { display: none; animation: lbt-step-in 0.4s ease-out; }
.e1f-multistep-step.is-active { display: block; }
.e1f-multistep-progress { display: flex; gap: 0.4rem; margin-bottom: 1.2rem; }
.e1f-multistep-progress span { flex: 1; height: 4px; background: var(--e1f-line); border-radius: 2px; transition: background 0.3s; }
.e1f-multistep-progress span.is-done { background: var(--e1f-primary); }

/* ---------------------------------------------------------------------
   13. Mouse effect — section_hover_micro_motion
   --------------------------------------------------------------------- */
@media (hover: hover) {
  .e1f-card:hover,
  .e1f-cat-card:hover,
  .e1f-latest-card:hover,
  .e1f-megamenu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--e1f-shadow-md), 0 18px 40px rgba(255,96,0,0.15);
  }
  .e1f-cat-card:hover .e1f-cat-card-title,
  .e1f-latest-card:hover .e1f-latest-card-title { color: var(--e1f-primary); }
}

/* ---------------------------------------------------------------------
   14. Responsive breakpoints
   --------------------------------------------------------------------- */
@media (min-width: 640px) {
  .e1f-home-about-inner {
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    text-align: left;
  }
  .e1f-home-about-media img { width: 200px; height: 200px; margin: 0; }
  .e1f-footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .e1f-footer-bottom { flex-direction: row; }
}

@media (min-width: 1024px) {
  .e1f-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1.5rem;
  }
  .e1f-burger { display: none !important; }
  .e1f-header-cta-desktop { display: inline-block; }
  .e1f-hero-inner { padding: 6rem 2rem; }
  .e1f-brand-tagline { display: block; margin-top: 0.15rem; }
  .e1f-home-about-media img { width: 220px; height: 220px; }
  .e1f-home-about-inner { grid-template-columns: 220px 1fr; gap: 3rem; }
}

@media (max-width: 1023px) {
  .e1f-header-cta-desktop,
  [class*="-header"] [class*="-btn--cta"]:not([class*="-drawer-"]) {
    display: none !important;
  }
  .e1f-nav-desktop { display: none !important; }
}

@media (min-width: 1024px) {
  .e1f-drawer-cta { display: none !important; }
}

@media (max-width: 768px) {
  .e1f-megamenu-grid { grid-template-columns: 1fr; }
  .e1f-latest-meta { flex-wrap: wrap; }
  .e1f-hero { min-height: 66vh; }
  .e1f-hero-inner { padding: 4rem 1.25rem; }
  .e1f-section-head { margin-bottom: 2rem; }
  .e1f-cat-grid { grid-template-columns: 1fr 1fr; }
  .e1f-cat-card { min-height: 200px; }
  .e1f-cat-card-title { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .e1f-cat-grid { grid-template-columns: 1fr; }
  .e1f-brand-name { font-size: 1.1rem; }
  .e1f-brand-logo { max-height: 36px; }
  .e1f-hero-title { font-size: 2.2rem; }
  .e1f-footer { padding: 3rem 1rem 1rem; }
}

/* ---------------------------------------------------------------------
   15. Accessibilité / focus visible
   --------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--e1f-primary);
  outline-offset: 2px;
}
.e1f-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--e1f-primary);
  color: #ffffff;
  font-weight: 700;
}
.e1f-skip-link:focus { left: 0; }

/* ---------------------------------------------------------------------
   16. Overrides fixes (contrast, spacing)
   --------------------------------------------------------------------- */
.e1f-hero-inner p { color: rgba(255,255,255,0.9); }
.e1f-latest-body a { color: inherit; }
.e1f-footer p { color: #cfd3dc; }


/* Theme overrides */
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*="e1f-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(--e1f-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.
============================================================ */
.e1f-media-press {
  padding: 2.5rem 0;
  background: var(--e1f-bg-soft, var(--e1f-color-surface, #f9fafb));
  margin: 2rem 0;
}
.e1f-media-press > .e1f-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.e1f-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--e1f-color-text-soft, var(--e1f-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.e1f-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.e1f-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%);
}
.e1f-media-press-item:hover,
.e1f-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.e1f-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .e1f-media-press { padding: 1.8rem 0; }
  .e1f-media-press-grid { gap: 1.4rem; }
  .e1f-media-press-item { max-width: 110px; min-height: 36px; }
  .e1f-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) */
.e1f-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);
}
.e1f-media-press .e1f-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;
}
.e1f-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(--e1f-muted, #666);
  flex: 0 0 auto;
}
.e1f-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;
}
.e1f-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;
}
.e1f-media-press-item:hover:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.e1f-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;
}
.e1f-media-press a:hover imga:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .e1f-media-press .e1f-container,
  section[class*="media-press"] [class*="container"] {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}



.e1f-cat-hero--align-left .e1f-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;
}
.e1f-cat-hero--align-center .e1f-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: 24px !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: 14px !important; }
}


/* Mouse effect : section_hover_micro_motion */
.lbt-card, .lbt-cat-card, .lbt-latest-card { transition: transform 0.35s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.35s ease; will-change: transform; } @media (hover:hover) { .lbt-card:hover, .lbt-cat-card:hover, .lbt-latest-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 18px 40px rgba(255,96,0,0.15), 0 6px 12px rgba(0,0,0,0.08); } .lbt-card:hover .lbt-card-title, .lbt-cat-card:hover .lbt-cat-card-title, .lbt-latest-card:hover .lbt-latest-card-title { color: #ff6000; } }


/* rp-contrast-autofix-2026-07-31 */
/* AUTO-FIX contraste WCAG AA (validator_contrast.py) */
/* FOOTER : fond blanc + texte sombre partout */
.e1f-footer { background: #ffffff !important; color: #1a1a1a !important; border-top: 1px solid rgba(0,0,0,0.08) !important; }
.e1f-footer a { color: #1a1a1a !important; }
.e1f-footer a:hover { color: var(--e1f-accent, #333) !important; }
.e1f-footer-col h3,
.e1f-footer-col h4 { color: #1a1a1a !important; border-bottom: 1px solid rgba(0,0,0,0.12) !important; }
.e1f-footer-brand-pitch,
.e1f-brand-tagline { color: #4b5563 !important; }
.e1f-footer-bottom,
.e1f-copyright { border-top: 1px solid rgba(0,0,0,0.08) !important; color: #6b7280 !important; }
.e1f-footer-brand-cta { background: var(--e1f-accent, #1a1a1a) !important; color: #ffffff !important; }
.e1f-footer-brand-cta:hover { background: var(--e1f-primary, #000) !important; color: #ffffff !important; }

/* BOUTONS CTA : texte blanc force (garde-fou contre texte=fond) */
.e1f-btn--cta,
a.e1f-btn--cta,
button.e1f-btn--cta { color: #ffffff !important; }
.e1f-btn--cta:hover { color: #ffffff !important; }
.e1f-btn--ctr { color: #ffffff !important; }
.e1f-btn--ctr:hover { color: #ffffff !important; }

/* DRAWER MOBILE : fond blanc + texte sombre */
.e1f-drawer,
.e1f-nav-mobile,
.e1f-mobile-menu { background: #ffffff !important; }
.e1f-drawer a,
.e1f-nav-mobile a,
.e1f-mobile-menu a { color: #0a0a0a !important; }

/* CARDS BODY : texte lisible sur fond clair */
.e1f-card-body h3,
.e1f-card-body p { color: inherit; }

/* Validator: cap hauteur hero cat v2 */
body section[class*="cat-hero"], body div[class*="cat-hero"], body section[class*="category-hero"], body div[class*="category-hero"] { position: relative !important; height: 320px !important; max-height: 320px !important; min-height: 200px !important; padding: 0 !important; overflow: hidden !important; display: flex !important; align-items: center !important; border: none !important; box-shadow: none !important; }
body [class*="cat-hero"] > img, body [class*="cat-hero-bg"], body [class*="cat-hero"] img, body [class*="category-hero"] img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-height: 320px !important; object-fit: cover !important; z-index: 0 !important; border: none !important; }
body [class*="cat-hero"] > [class*="container"], body [class*="cat-hero"] > [class*="wrap"], body [class*="cat-hero"] > [class*="inner"], body [class*="cat-hero"] > div { position: relative !important; z-index: 2 !important; max-width: 900px !important; margin: 0 auto !important; padding: 1.5rem 2rem !important; background: transparent !important; }
body [class*="cat-hero"] h1, body [class*="category-hero"] h1 { color: #ffffff !important; font-size: clamp(2rem, 5vw, 3.5rem) !important; margin: 0 !important; font-weight: 800 !important; text-shadow: 0 3px 12px rgba(0,0,0,.85), 0 0 30px rgba(0,0,0,.5) !important; }
body [class*="cat-hero"][style*="background-image"] { background-size: cover !important; background-position: center !important; }
body [class*="cat-hero"] [class*="breadcrumb"], body [class*="cat-hero"] nav[aria-label*="riane"], body [class*="cat-hero"] nav[aria-label*="readcrumb"] { display: none !important; }

/* Validator: nav-mobile drawer hidden by default v2 */
/* Drawer/burger menu mobile : hidden par defaut, visible mobile+is-open */
[class*="-nav-mobile"]:not(.is-open), [id*="-nav-mobile"]:not(.is-open), [class*="-drawer"]:not(.is-open), [class*="-burger-menu"]:not(.is-open), [class*="-mobile-menu"]:not(.is-open) { display: none !important; }
@media (max-width: 980px) {
  [class*="-nav-mobile"].is-open, [id*="-nav-mobile"].is-open, [class*="-drawer"].is-open, [class*="-burger-menu"].is-open, [class*="-mobile-menu"].is-open { display: flex !important; flex-direction: column !important; position: fixed !important; top: 0 !important; right: 0 !important; bottom: 0 !important; width: 86% !important; max-width: 380px !important; background: #fff !important; padding: 4.5rem 1.5rem 2rem !important; z-index: 9999 !important; overflow-y: auto !important; box-shadow: -10px 0 30px rgba(0,0,0,0.3) !important; }
}

/* Validator: drawer-mobile height fix v1 */
/* Force height:100vh sur le drawer ouvert : top:0;bottom:0 sans !important peut etre overrides par Claude → on impose 100vh. */
/* [2026-06-06] Broadening : ajout patterns supplementaires (X-nav sans 'mobile', X-side, X-menu-drawer, etc.) sinon le validator manque les sites comme artois-moto.com qui utilise fe8-nav (sans 'mobile' dans le nom). */
@media (max-width: 1023px) {
  [class*="-nav-mobile"].is-open, [id*="-nav-mobile"].is-open, [class*="-drawer"].is-open, [class*="-burger-menu"].is-open, [class*="-mobile-menu"].is-open, [class*="-side-nav"].is-open, [class*="-side-menu"].is-open, [class*="-offcanvas"].is-open, nav[aria-label*="mobile" i].is-open, nav[aria-label*="Menu mobile" i].is-open, nav[id*="nav"].is-open[class*="-nav"]:not([class*="desktop"]) { height: 100vh !important; min-height: 100vh !important; max-height: 100vh !important; }
}

/* Validator: footer logo no-filter v1 */
footer img, [class*="-footer"] img, [role="contentinfo"] img, footer [class*="logo"], [class*="-footer"] [class*="logo"] { filter: none !important; mix-blend-mode: normal !important; opacity: 1 !important; }
footer[class*="dark"] img, footer[class*="black"] img, [class*="-footer"][class*="dark"] img, [class*="-footer"][class*="black"] img { filter: brightness(0) invert(1) !important; }

/* Validator: header-hero gap fix v1 */
/* Bug recurrent : <main class="X-main"> a padding-top:30px qui creait un
 * gap entre header sticky et hero/cat-hero. Force padding-top:0 sur le
 * wrapper <main> + margin-top:0 sur le 1er hero enfant. */
body > main, body > [role="main"], main[class*="-main"], [id="main"] { padding-top: 0 !important; }
main > [class*="-hero"]:first-child, main > [class*="-cat-hero"]:first-child, main > [class*="-category-hero"]:first-child { margin-top: 0 !important; }
/* Fallback : si sibling direct du header */
header + section, header + [class*="-hero"], header + [class*="-cat-hero"], header + [class*="-category-hero"], [class*="-header"] + section, [class*="-header"] + [class*="-hero"], [class*="-header"] + [class*="-cat-hero"], [class*="-header"] + [class*="-category-hero"] { margin-top: 0 !important; padding-top: 0 !important; }
section[class*="-hero"]:first-of-type, section[class*="-cat-hero"]:first-of-type, section[class*="-category-hero"]:first-of-type { margin-top: 0 !important; }

/* Validator: contraste lisible header+menu-mobile+footer v2 */
[class*="-nav-mobile"], [id*="-nav-mobile"], [class*="-drawer"], [class*="-burger-menu"], [class*="-mobile-menu"], [class*="-side-nav"] { background: #ffffff !important; }
[class*="-nav-mobile"] *, [id*="-nav-mobile"] *, [class*="-drawer"] *, [class*="-burger-menu"] *, [class*="-mobile-menu"] *, [class*="-side-nav"] * { color: #0a0a0a !important; }
[class*="-nav-mobile"] a, [id*="-nav-mobile"] a, [class*="-drawer"] a, [class*="-burger-menu"] a, [class*="-mobile-menu"] a { color: #0a0a0a !important; font-weight: 600 !important; }
[class*="-nav-mobile"] a:hover, [class*="-drawer"] a:hover, [class*="-burger-menu"] a:hover, [class*="-mobile-menu"] a:hover { color: #000 !important; opacity: 0.7 !important; }
footer *, [class*="-footer"] *, [role="contentinfo"] * { color: #1a1a1a !important; }
footer a, [class*="-footer"] a, [role="contentinfo"] a { color: #1a1a1a !important; text-decoration: underline !important; text-decoration-color: currentColor !important; text-underline-offset: 3px !important; font-weight: 600 !important; }
footer a:hover, [class*="-footer"] a:hover, [role="contentinfo"] a:hover { color: #000 !important; opacity: 1 !important; }
footer h1, footer h2, footer h3, footer h4, footer h5, [class*="-footer"] h1, [class*="-footer"] h2, [class*="-footer"] h3, [class*="-footer"] h4, [class*="-footer"] h5 { color: #0a0a0a !important; font-weight: 700 !important; }
footer p, footer span, footer li, [class*="-footer"] p, [class*="-footer"] span, [class*="-footer"] li { color: #2a2a2a !important; }
footer[class*="dark"] *, footer[class*="black"] *, [class*="-footer"][class*="dark"] *, [class*="-footer"][class*="black"] *, footer[style*="background:#0"] *, footer[style*="background: #0"] *, footer[style*="background:#1"] *, footer[style*="background: #1"] *, footer[style*="background:#2"] *, footer[style*="background: #2"] * { color: #f5f5f5 !important; }
footer[class*="dark"] a, [class*="-footer"][class*="dark"] a, footer[style*="background:#0"] a, footer[style*="background:#1"] a { color: #ffffff !important; }
header a, [class*="-header"] a, [role="banner"] a { text-shadow: none !important; }
header a:hover, [class*="-header"] a:hover { opacity: 0.7 !important; }
[class*="-nav-mobile"] [class*="-btn"], [class*="-footer"] [class*="-btn"] { border: 1.5px solid currentColor !important; }

/* Validator: burger button always visible+clickable v2 */
/* === Burger button : VISIBLE + CLIQUABLE garanti === */
[class*="-burger"], [class*="burger-menu"], [class*="menu-toggle"], button[aria-controls*="nav"], button[aria-label*="menu" i] { color: #1a1a1a !important; pointer-events: auto !important; cursor: pointer !important; z-index: 100 !important; position: relative !important; user-select: none !important; -webkit-tap-highlight-color: transparent !important; background: rgba(255,255,255,0.92) !important; border-radius: 8px !important; border: 1.5px solid rgba(0,0,0,0.15) !important; box-shadow: 0 1px 3px rgba(0,0,0,0.12) !important; padding: 8px !important; }
[class*="-burger"] svg, [class*="burger-menu"] svg, [class*="menu-toggle"] svg, button[aria-controls*="nav"] svg { stroke: #1a1a1a !important; fill: none !important; pointer-events: none !important; stroke-width: 2.5 !important; width: 22px !important; height: 22px !important; }
[class*="-burger"] svg path, [class*="-burger"] svg line, [class*="-burger"] svg rect, [class*="-burger"] svg polyline { stroke: #1a1a1a !important; stroke-width: 2.5 !important; fill: none !important; }
[class*="-burger"]:hover, [class*="-burger"]:focus { background: rgba(255,255,255,1) !important; border-color: rgba(0,0,0,0.3) !important; outline: 2px solid rgba(0,0,0,0.15) !important; outline-offset: 1px !important; }
/* Si le header est sombre : inverse en clair (detection elargie) */
[class*="-header"][style*="background:#0"] [class*="-burger"], [class*="-header"][style*="background:#1"] [class*="-burger"], [class*="-header"][style*="background:#2"] [class*="-burger"], [class*="-header"][style*="background-color:#0"] [class*="-burger"], [class*="-header"][style*="background-color:#1"] [class*="-burger"], [class*="-header"][style*="background-color:#2"] [class*="-burger"], [class*="-header"][class*="dark"] [class*="-burger"], [class*="-header"][class*="black"] [class*="-burger"], [class*="-header"][class*="--dark"] [class*="-burger"], [class*="-header"][class*="-night"] [class*="-burger"] { color: #f5f5f5 !important; background: rgba(0,0,0,0.55) !important; border-color: rgba(255,255,255,0.4) !important; box-shadow: 0 1px 3px rgba(0,0,0,0.4) !important; }
[class*="-header"][style*="background:#0"] [class*="-burger"] svg, [class*="-header"][style*="background:#1"] [class*="-burger"] svg, [class*="-header"][class*="dark"] [class*="-burger"] svg, [class*="-header"][class*="black"] [class*="-burger"] svg { stroke: #f5f5f5 !important; }
@media (max-width: 1023px) {
  [class*="-burger"], button[aria-controls*="nav"] { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 44px !important; min-height: 44px !important; }
}
@media (min-width: 1024px) {
  [class*="-burger"], button[aria-controls*="nav"] { display: none !important; }
}

/* Validator: nav-mobile-list visible inside open drawer v1 */
/* Burger drawer ouvert : la UL des liens DOIT etre visible. */
[class*="-nav-mobile"].is-open ul, [id*="-nav-mobile"].is-open ul, [class*="-nav-mobile"].is-open [class*="-nav-mobile-list"], [class*="-drawer"].is-open ul, [class*="-burger-menu"].is-open ul { display: block !important; visibility: visible !important; height: auto !important; max-height: none !important; overflow: visible !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
[class*="-nav-mobile"].is-open ul li, [id*="-nav-mobile"].is-open ul li, [class*="-drawer"].is-open ul li, [class*="-burger-menu"].is-open ul li { display: list-item !important; height: auto !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
[class*="-nav-mobile"].is-open ul li a, [id*="-nav-mobile"].is-open ul li a, [class*="-drawer"].is-open ul li a, [class*="-burger-menu"].is-open ul li a { display: block !important; padding: 0.9rem 0 !important; text-decoration: none !important; border-bottom: 1px solid rgba(0,0,0,0.08) !important; font-size: 1rem !important; }

/* rp-burger-v2-2026-07-31 : SVG icons swap, simple + propre + zero bug */
.e1f-burger {
  display: inline-flex !important;
  align-items: center !important; justify-content: center !important;
  width: 44px !important; height: 44px !important;
  background: transparent !important;
  border: 1.5px solid var(--e1f-line, rgba(0,0,0,0.12)) !important;
  border-radius: 10px !important;
  cursor: pointer !important; padding: 0 !important;
  color: var(--e1f-text, #1a1a1a) !important;
  flex-shrink: 0 !important;
  position: relative !important;
  transition: background .18s, border-color .18s, color .18s !important;
  gap: 0 !important;
}
.e1f-burger:hover {
  background: var(--e1f-primary, #ff6000) !important;
  border-color: var(--e1f-primary, #ff6000) !important;
  color: #fff !important;
}
.e1f-burger:focus-visible {
  outline: 2px solid var(--e1f-accent, #39b54a) !important;
  outline-offset: 2px !important;
}
.e1f-burger.is-active {
  background: var(--e1f-primary, #ff6000) !important;
  border-color: var(--e1f-primary, #ff6000) !important;
  color: #fff !important;
}
.e1f-burger .e1f-burger-icon {
  display: block !important;
  width: 26px !important; height: 26px !important;
  position: absolute !important;
  top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%) rotate(0deg) !important;
  transition: opacity .2s, transform .3s !important;
}
.e1f-burger .e1f-burger-icon--menu { opacity: 1 !important; }
.e1f-burger .e1f-burger-icon--close { opacity: 0 !important; transform: translate(-50%, -50%) rotate(-90deg) !important; }
.e1f-burger.is-active .e1f-burger-icon--menu { opacity: 0 !important; transform: translate(-50%, -50%) rotate(90deg) !important; }
.e1f-burger.is-active .e1f-burger-icon--close { opacity: 1 !important; transform: translate(-50%, -50%) rotate(0deg) !important; }
/* Cache les anciens spans si le HTML est reste avec 3 barres */
.e1f-burger-bar { display: none !important; }
