/*!
 * loupiot france — custom theme (child of Blocksy)
 * Design System: Floral Cerisiers Sakura (DB) × competitor palette (consobaby)
 * Prefix: .lpf-
 * Fonts: Shippori Mincho (headings) + Noto Sans JP (body)
 */

/* ============================================================
   1. ROOT TOKENS
   ============================================================ */
:root {
  --lpf-primary:    #284764;
  --lpf-accent:     #F86265;
  --lpf-text:       #1A2A3A;
  --lpf-text-soft:  #606B7A;
  --lpf-bg:         #FFFFFF;
  --lpf-surface:    #FEF8F3;
  --lpf-line:       #E0E0E0;

  --lpf-sakura:     #F8C9D4;
  --lpf-sakura-deep:#E8A5B5;

  --lpf-font-heading: 'Shippori Mincho', 'Noto Serif JP', 'Cormorant Garamond', Georgia, serif;
  --lpf-font-body:    'Noto Sans JP', 'Inter', system-ui, -apple-system, sans-serif;

  --lpf-radius-sm: 6px;
  --lpf-radius:    12px;
  --lpf-radius-lg: 18px;

  --lpf-shadow-sm: 0 2px 8px rgba(40,71,100,0.06);
  --lpf-shadow:    0 8px 24px rgba(40,71,100,0.10);
  --lpf-shadow-lg: 0 16px 48px rgba(40,71,100,0.16);

  --lpf-container: 1200px;
  --lpf-gap:       1.5rem;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lpf-body {
  margin: 0;
  font-family: var(--lpf-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--lpf-text);
  background: var(--lpf-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lpf-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--lpf-accent); }

h1, h2, h3, h4 {
  font-family: var(--lpf-font-heading);
  font-weight: 700;
  color: var(--lpf-primary);
  line-height: 1.25;
  margin: 0 0 .8rem;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }

p { margin: 0 0 1rem; }

main, .lpf-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
  min-height: 60vh;
}

/* No backwards-compat margin/padding leak */
.lpf-container {
  max-width: var(--lpf-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   3. BUTTONS
   ============================================================ */
.lpf-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-family: var(--lpf-font-body);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .25s cubic-bezier(.2,.9,.3,1.4);
}
.lpf-btn--primary {
  background: var(--lpf-primary);
  color: #fff;
}
.lpf-btn--primary:hover {
  background: #1a3450;
  color: #fff;
  transform: translateY(-1px);
}
.lpf-btn--cta {
  background: var(--lpf-accent);
  color: #fff;
}
.lpf-btn--cta:hover { color: #fff; }
.lpf-btn--ghost {
  background: transparent;
  color: var(--lpf-primary);
  border-color: var(--lpf-primary);
}
.lpf-btn--ghost:hover {
  background: var(--lpf-primary);
  color: #fff;
}

/* ============================================================
   4. HEADER — sticky-minimal
   ============================================================ */
.lpf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--lpf-line);
}
.lpf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .85rem 1.25rem;
  max-width: var(--lpf-container);
  margin: 0 auto;
}
.lpf-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}
.lpf-brand-logo {
  width: auto;
}
.lpf-brand-name {
  font-family: var(--lpf-font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--lpf-primary);
  text-transform: lowercase;
  letter-spacing: 0;
}

/* Desktop nav (categories) — visible ≥1024px */
.lpf-nav-desktop { display: none; }
.lpf-nav-desktop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.lpf-nav-desktop-list a {
  font-family: var(--lpf-font-body);
  font-weight: 500;
  font-size: .92rem;
  color: var(--lpf-text);
  padding: .35rem .15rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.lpf-nav-desktop-list a:hover {
  color: var(--lpf-accent);
  border-bottom-color: var(--lpf-accent);
}

/* Burger button (mobile only) */
.lpf-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(0,0,0,0.18);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  z-index: 10000;
  position: relative;
}
.lpf-burger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 16px;
}
.lpf-burger-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--lpf-primary);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.lpf-burger.is-active .lpf-burger-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.lpf-burger.is-active .lpf-burger-bars span:nth-child(2) { opacity: 0; }
.lpf-burger.is-active .lpf-burger-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Header CTA desktop only */
.lpf-header-cta-desktop {
  flex-shrink: 0;
}

/* Mobile drawer */
.lpf-nav-mobile { display: none; }
.lpf-nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lpf-nav-mobile-list li {
  border-bottom: 1px solid #E5E5E5;
}
.lpf-nav-mobile-list a {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #0a0a0a;
}
.lpf-nav-mobile-list a:hover { background: var(--lpf-surface); color: var(--lpf-accent); }

.lpf-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9998;
}
.lpf-drawer-overlay.is-open { display: block; }

.lpf-drawer-cta {
  display: block !important;
  margin: 2rem 1.5rem 1.5rem !important;
  padding: 1rem 1.5rem !important;
  text-align: center !important;
  background: var(--lpf-accent) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
}

/* ============================================================
   5. HERO — mosaic-categories
   ============================================================ */
.lpf-hero {
  position: relative;
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, var(--lpf-surface) 0%, #fff 100%);
  overflow: hidden;
}
.lpf-hero-inner {
  max-width: var(--lpf-container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.lpf-hero-text { z-index: 2; }
.lpf-hero-eyebrow {
  display: inline-block;
  font-family: var(--lpf-font-body);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--lpf-accent);
  margin-bottom: .9rem;
}
.lpf-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.lpf-hero-title em {
  font-style: italic;
  color: var(--lpf-accent);
  font-weight: 600;
}
.lpf-hero-subtitle {
  font-size: 1.1rem;
  color: var(--lpf-text-soft);
  max-width: 460px;
  margin-bottom: 1.5rem;
}
.lpf-hero-cta {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}

/* Mosaic on right */
.lpf-hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .9rem;
  height: 460px;
}
.lpf-hero-mosaic-cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--lpf-radius);
  background: var(--lpf-surface);
}
.lpf-hero-mosaic-cell:nth-child(1) { grid-row: span 2; }
.lpf-hero-mosaic-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.lpf-hero-mosaic-cell:hover img { transform: scale(1.06); }
.lpf-hero-mosaic-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(40,71,100,.55) 100%);
  pointer-events: none;
}
.lpf-hero-mosaic-cell-label {
  position: absolute;
  bottom: .85rem;
  left: .9rem;
  z-index: 2;
  color: #fff;
  font-family: var(--lpf-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-shadow: 0 2px 6px rgba(0,0,0,.4);
}

/* ============================================================
   6. EDITORIAL BLOCK (home, after-hero placement)
   ============================================================ */
.lpf-editorial {
  background: var(--lpf-bg);
  padding: 3.5rem 0 2.5rem;
}
.lpf-editorial-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.lpf-editorial h2 {
  text-align: center;
  margin-bottom: .5rem;
}
.lpf-editorial-lead {
  font-size: 1.15rem;
  text-align: center;
  color: var(--lpf-text-soft);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-style: italic;
  font-family: var(--lpf-font-heading);
}
.lpf-editorial-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.lpf-editorial-col h3 {
  font-size: 1.1rem;
  color: var(--lpf-accent);
  margin-bottom: .5rem;
  border-top: 2px solid var(--lpf-accent);
  padding-top: .85rem;
}
.lpf-editorial-col p { font-size: .95rem; color: var(--lpf-text); margin-bottom: .8rem; }
.lpf-editorial-col a { font-weight: 600; }

.lpf-editorial-callout {
  background: var(--lpf-surface);
  padding: 1.75rem 2rem;
  border-radius: var(--lpf-radius);
  border-left: 4px solid var(--lpf-accent);
  margin-top: 2rem;
}
.lpf-editorial-callout h3 {
  margin-top: 0;
  font-size: 1.15rem;
  border: none;
  padding: 0;
  color: var(--lpf-primary);
}
.lpf-editorial-callout p { margin: 0; color: var(--lpf-text); }

/* ============================================================
   7. CATEGORIES SECTION (rubriques on home)
   ============================================================ */
.lpf-rubriques {
  background: var(--lpf-surface);
  padding: 3.5rem 0;
}
.lpf-rubriques-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.lpf-rubriques-head h2 { margin-bottom: .5rem; }
.lpf-rubriques-head p { color: var(--lpf-text-soft); max-width: 540px; margin: 0 auto; }

.lpf-rubriques-grid {
  max-width: var(--lpf-container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.lpf-rubrique-card {
  position: relative;
  display: block;
  height: 220px;
  border-radius: var(--lpf-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--lpf-shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  text-decoration: none;
}
.lpf-rubrique-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lpf-shadow);
}
.lpf-rubrique-card-img {
  display: block;
  width: 100%;
  height: 65%;
  background-size: cover;
  background-position: center;
  background-color: var(--lpf-primary);
}
.lpf-rubrique-card-img--empty {
  background: linear-gradient(135deg, var(--lpf-primary) 0%, var(--lpf-accent) 100%);
}
.lpf-rubrique-card-body {
  padding: .9rem 1rem;
  background: #fff;
}
.lpf-rubrique-card-body h3 {
  margin: 0 0 .15rem;
  font-size: 1.05rem;
  color: var(--lpf-primary);
  transition: color .2s;
}
.lpf-rubrique-card:hover h3 { color: var(--lpf-accent); }
.lpf-rubrique-card-body span {
  font-size: .8rem;
  color: var(--lpf-text-soft);
}

/* ============================================================
   8. BY-CATEGORY HOME LAYOUT (mode: by-category)
   ============================================================ */
.lpf-bycat {
  background: #fff;
  padding: 3.5rem 0;
}
.lpf-bycat-section {
  max-width: var(--lpf-container);
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}
.lpf-bycat-section:last-child { margin-bottom: 0; }
.lpf-bycat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--lpf-line);
  padding-bottom: .85rem;
}
.lpf-bycat-head h2 {
  margin: 0;
  font-size: 1.7rem;
}
.lpf-bycat-head h2 a {
  color: var(--lpf-primary);
}
.lpf-bycat-head h2 a:hover { color: var(--lpf-accent); }
.lpf-bycat-head-more {
  font-size: .9rem;
  font-weight: 600;
  color: var(--lpf-accent);
}
.lpf-bycat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.lpf-bycat-empty {
  padding: 2rem;
  background: var(--lpf-surface);
  border-radius: var(--lpf-radius);
  text-align: center;
  color: var(--lpf-text-soft);
}

/* Article card */
.lpf-card {
  background: #fff;
  border: 1px solid var(--lpf-line);
  border-radius: var(--lpf-radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.lpf-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lpf-shadow);
}
.lpf-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--lpf-surface);
  overflow: hidden;
}
.lpf-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.lpf-card:hover .lpf-card-thumb img { transform: scale(1.04); }
.lpf-card-body { padding: 1.1rem 1.2rem 1.3rem; }
.lpf-card-body h3 {
  margin: 0 0 .5rem;
  font-size: 1.1rem;
  line-height: 1.3;
}
.lpf-card-body h3 a { color: var(--lpf-primary); }
.lpf-card-body h3 a:hover { color: var(--lpf-accent); }
.lpf-card-meta {
  font-size: .8rem;
  color: var(--lpf-text-soft);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ============================================================
   9. TOOL EMBED ON HOME
   ============================================================ */
.lpf-home-tool {
  background: linear-gradient(135deg, var(--lpf-surface) 0%, #fff 100%);
  padding: 3.5rem 0;
  border-top: 1px solid var(--lpf-line);
  border-bottom: 1px solid var(--lpf-line);
}
.lpf-home-tool-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
}
.lpf-home-tool-head h2 { margin-bottom: .5rem; }
.lpf-home-tool-head p { color: var(--lpf-text-soft); }

/* ============================================================
   10. CATEGORY PAGE — sandwich layout
   ============================================================ */
.lpf-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--lpf-primary);
}
.lpf-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.lpf-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--lpf-container);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
}
.lpf-cat-hero-inner h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}
.lpf-cat-intro {
  background: var(--lpf-surface);
  padding: 2.5rem 0;
}
.lpf-cat-intro-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.25rem;
  font-size: 1.05rem;
  color: var(--lpf-text);
  line-height: 1.7;
}

.lpf-cat-list {
  padding: 2.5rem 0;
  max-width: var(--lpf-container);
  margin: 0 auto;
}
.lpf-cat-list-inner {
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ============================================================
   11. FOOTER — hanami columns
   ============================================================ */
.lpf-footer {
  background: var(--lpf-primary);
  color: #FEF8F3;
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}
.lpf-footer a {
  color: #FEF8F3;
  text-decoration: underline;
  text-decoration-color: rgba(254,248,243,.3);
  text-underline-offset: 3px;
}
.lpf-footer a:hover {
  color: #F8C9D4;
  text-decoration-color: #F8C9D4;
}
.lpf-footer-grid {
  max-width: var(--lpf-container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.lpf-footer-col h3,
.lpf-footer-title {
  font-family: var(--lpf-font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #F8C9D4;
  margin: 0 0 1rem;
  letter-spacing: .03em;
}
.lpf-footer-logo {
  display: block;
  margin-bottom: 1rem;
  height: auto;
  filter: brightness(0) invert(1);
}
.lpf-footer-brand-pitch {
  font-size: .92rem;
  line-height: 1.65;
  color: #FEF8F3;
  margin: 0 0 1.25rem;
}
.lpf-footer-brand-cta {
  display: inline-block;
  padding: .55rem 1rem;
  background: var(--lpf-accent);
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s, transform .2s;
}
.lpf-footer-brand-cta:hover {
  background: #e34d50;
  color: #fff !important;
  transform: translateY(-1px);
}
.lpf-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lpf-footer-links li { margin-bottom: .55rem; }
.lpf-footer-links a {
  font-size: .92rem;
  display: inline-block;
}
.lpf-footer-bottom {
  max-width: var(--lpf-container);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
  border-top: 1px solid rgba(254,248,243,.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: rgba(254,248,243,.85);
}
.lpf-footer-social {
  display: flex;
  gap: .75rem;
}
.lpf-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(254,248,243,.1);
  color: #FEF8F3 !important;
  text-decoration: none !important;
}
.lpf-footer-social a:hover {
  background: var(--lpf-accent);
  color: #fff !important;
}

/* ============================================================
   12. ANIMATIONS (from JSON: CTA / CTR / CTO)
   ============================================================ */
@keyframes lpfMagneticGlow {
  0%,100% { box-shadow: 0 4px 16px rgba(248,98,101,0.25), 0 0 0 0 rgba(248,98,101,0.4); }
  50%     { box-shadow: 0 8px 24px rgba(248,98,101,0.45), 0 0 0 6px rgba(248,98,101,0); }
}
.lpf-btn--cta {
  animation: lpfMagneticGlow 2.8s ease-in-out infinite;
  will-change: transform;
}
.lpf-btn--cta:hover { transform: translateY(-2px) scale(1.03); }
.lpf-btn--cta:active { transform: translateY(0) scale(.99); }

@keyframes lpfRotateWords {
  0%,18%   { opacity: 0; transform: translateY(12px); }
  25%,42%  { opacity: 1; transform: translateY(0); }
  50%,100% { opacity: 0; transform: translateY(-12px); }
}
.lpf-rotate {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  min-width: 9ch;
  height: 1.1em;
  overflow: hidden;
}
.lpf-rotate > span {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  color: var(--lpf-accent);
  animation: lpfRotateWords 9s ease-in-out infinite;
}
.lpf-rotate > span:nth-child(1) { animation-delay: 0s; }
.lpf-rotate > span:nth-child(2) { animation-delay: 3s; }
.lpf-rotate > span:nth-child(3) { animation-delay: 6s; }

@keyframes lpfBadgePulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.04); }
}
@keyframes lpfShieldShine {
  0%      { background-position: -100% 0; }
  60%,100%{ background-position: 200% 0; }
}
.lpf-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e8f4ff 100%);
  border: 1px solid #cde5f2;
  border-radius: 999px;
  color: var(--lpf-primary);
  font-size: .85rem;
  font-weight: 600;
  animation: lpfBadgePulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.lpf-secure-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.6) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: lpfShieldShine 4s linear infinite;
  pointer-events: none;
}

/* ============================================================
   13. PERSONA & CONTACT FORM
   ============================================================ */
.e64-persona-photo {
  display: block;
  max-width: 280px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: var(--lpf-shadow);
  border: 4px solid var(--lpf-surface);
}
.e64-contact-form {
  max-width: 760px;
  margin: 2.5rem auto 0;
  background: #fff;
  border: 1px solid var(--lpf-line);
  border-radius: var(--lpf-radius);
  overflow: hidden;
  box-shadow: var(--lpf-shadow-sm);
}
.e64-contact-form iframe { display: block; width: 100% !important; }

/* ============================================================
   14. RESPONSIVE — Mobile / Tablet
   ============================================================ */
@media (min-width: 1024px) {
  .lpf-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1.5rem;
  }
  .lpf-burger { display: none !important; }
  .lpf-drawer-cta { display: none !important; }
  .lpf-nav-mobile { display: none !important; }
}

@media (max-width: 1023px) {
  .lpf-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;
  }
  .lpf-burger-bars,
  .lpf-burger > span {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 24px !important;
    height: 16px !important;
  }
  .lpf-header-cta-desktop,
  .lpf-header [class*="-btn--cta"]:not([class*="-drawer-"]) {
    display: none !important;
  }
  .lpf-nav-mobile.is-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 86%;
    max-width: 380px;
    background: #fff;
    padding: 4.5rem 0 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }
}

@media (max-width: 980px) {
  .lpf-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .lpf-hero-mosaic { height: 360px; }
  .lpf-rubriques-grid { grid-template-columns: repeat(3, 1fr); }
  .lpf-bycat-grid { grid-template-columns: repeat(2, 1fr); }
  .lpf-cat-list-inner { grid-template-columns: repeat(2, 1fr); }
  .lpf-footer-grid { grid-template-columns: 1fr 1fr; }
  .lpf-editorial-cols { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 640px) {
  .lpf-hero { padding: 2rem 0 1.5rem; }
  .lpf-hero-mosaic { height: 280px; gap: .6rem; }
  .lpf-rubriques-grid { grid-template-columns: repeat(2, 1fr); }
  .lpf-bycat-grid { grid-template-columns: 1fr; }
  .lpf-cat-list-inner { grid-template-columns: 1fr; }
  .lpf-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lpf-footer-bottom { flex-direction: column; text-align: center; }
}


/* Site-specific styles */
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*="e64-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(--e64-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.
============================================================ */
.e64-media-press {
  padding: 2.5rem 0;
  background: var(--e64-bg-soft, var(--e64-color-surface, #f9fafb));
  margin: 2rem 0;
}
.e64-media-press > .e64-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.e64-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--e64-color-text-soft, var(--e64-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.e64-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.e64-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%);
}
.e64-media-press-item:hover,
.e64-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.e64-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .e64-media-press { padding: 1.8rem 0; }
  .e64-media-press-grid { gap: 1.4rem; }
  .e64-media-press-item { max-width: 110px; min-height: 36px; }
  .e64-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) */
.e64-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);
}
.e64-media-press .e64-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;
}
.e64-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(--e64-muted, #666);
  flex: 0 0 auto;
}
.e64-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;
}
.e64-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;
}
.e64-media-press-item:hover:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.e64-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;
}
.e64-media-press a:hover imga:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .e64-media-press .e64-container,
  section[class*="media-press"] [class*="container"] {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}



.e64-cat-hero--align-left .e64-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;
}
.e64-cat-hero--align-center .e64-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; }
}

/* 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; }

/* === USER FIX 2026-06-27 : mobile logo top-left === */
@media (max-width: 1023px) {
  /* Logo WordPress custom-logo : top-left sur mobile */
  .lpf-header .custom-logo-link,
  header .custom-logo-link {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    z-index: 100 !important;
  }
  .lpf-header img.custom-logo,
  header img.custom-logo {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    object-fit: contain !important;
  }
  /* Padding gauche du header pour eviter overlay sous le logo */
  .lpf-header,
  .lpf-header-inner {
    padding-left: 68px !important;
    min-height: 72px !important;
  }
}
/* RANKO FOOTER-WHITE-BATCH 2026-07-10 lpf */

body .lpf-footer { background: #ffffff !important; color: #1a1a1a !important; }
body .lpf-footer, body .lpf-footer *,
body .lpf-footer h1, body .lpf-footer h2, body .lpf-footer h3,
body .lpf-footer h4, body .lpf-footer h5, body .lpf-footer h6,
body .lpf-footer p, body .lpf-footer span, body .lpf-footer li,
body .lpf-footer a { color: #1a1a1a !important; }
body .lpf-footer a:hover { color: #444444 !important; }

