/*!
 * la toile electrique — custom child theme stylesheet
 * Design System: Shopping Deals Flash (adapted)
 * Fonts: Bowlby One (headings) + Manrope (body)
 * Palette: Frandroid electric blue #4266FF + teal-green accent #5EDBB8
 */

/* ============================================================================
 * 1. VARIABLES
 * ============================================================================ */
:root {
  --f2c-primary:      #4266FF;
  --f2c-primary-dark: #2E4CE3;
  --f2c-accent:       #5EDBB8;
  --f2c-accent-dark:  #3EB89A;
  --f2c-text:         #1E2434;
  --f2c-text-soft:    #43496A;
  --f2c-bg:           #FFFFFF;
  --f2c-surface:      #F5F6FF;
  --f2c-surface-2:    #ECEEFF;
  --f2c-line:         #DADCEA;
  --f2c-shadow:       0 4px 14px rgba(30, 36, 52, 0.08);
  --f2c-shadow-md:    0 10px 28px rgba(30, 36, 52, 0.12);
  --f2c-radius:       10px;
  --f2c-radius-lg:    16px;
  --f2c-font-h:       "Bowlby One", "Bowlby One SC", Impact, sans-serif;
  --f2c-font-b:       "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f2c-container:    1240px;
  --f2c-header-h:     72px;
}

/* ============================================================================
 * 2. RESET & BASE
 * ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.f2c-body {
  margin: 0;
  padding: 0;
  font-family: var(--f2c-font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--f2c-text);
  background: var(--f2c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--f2c-primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--f2c-primary-dark); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f2c-font-h);
  color: var(--f2c-text);
  letter-spacing: .01em;
  line-height: 1.15;
  margin: 0 0 .8rem;
  font-weight: 400;
}

h1 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-family: var(--f2c-font-b); font-weight: 800; }

p { margin: 0 0 1rem; }

.f2c-container { max-width: var(--f2c-container); margin: 0 auto; padding: 0 1.25rem; }

main.f2c-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
  min-height: 60vh;
}

/* ============================================================================
 * 3. BUTTONS (red_flash_promo variant adapted to electric-blue palette)
 * ============================================================================ */
.f2c-btn {
  display: inline-block;
  font-family: var(--f2c-font-b);
  font-weight: 700;
  font-size: .95rem;
  padding: .8rem 1.4rem;
  border-radius: var(--f2c-radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s;
  text-align: center;
}
.f2c-btn:hover { text-decoration: none; }

.f2c-btn--cta {
  background: var(--f2c-primary);
  color: #fff;
  border-color: var(--f2c-primary);
}
.f2c-btn--cta:hover {
  background: var(--f2c-primary-dark);
  color: #fff;
  border-color: var(--f2c-primary-dark);
}

.f2c-btn--ghost {
  background: transparent;
  color: var(--f2c-primary);
  border-color: var(--f2c-primary);
}
.f2c-btn--ghost:hover {
  background: var(--f2c-primary);
  color: #fff;
}

.f2c-btn--accent {
  background: var(--f2c-accent);
  color: var(--f2c-text);
  border-color: var(--f2c-accent);
}
.f2c-btn--accent:hover {
  background: var(--f2c-accent-dark);
  border-color: var(--f2c-accent-dark);
  color: var(--f2c-text);
}

/* ============================================================================
 * 4. HEADER (sticky-minimal)
 * ============================================================================ */
.f2c-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--f2c-line);
}

.f2c-header-inner {
  max-width: var(--f2c-container);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--f2c-header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.f2c-brand-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--f2c-text);
  flex-shrink: 0;
}
.f2c-brand-link:hover { text-decoration: none; color: var(--f2c-text); }
.f2c-brand-logo { max-height: 44px; width: auto; }
.f2c-brand-name {
  font-family: var(--f2c-font-h);
  font-size: 1.15rem;
  text-transform: lowercase;
  letter-spacing: 0;
  color: var(--f2c-text);
  white-space: nowrap;
}

/* Desktop nav */
.f2c-nav-desktop { display: none; }
.f2c-nav-desktop-list {
  display: flex;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.f2c-nav-desktop-list a {
  color: var(--f2c-text);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  padding: .5rem .2rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.f2c-nav-desktop-list a:hover {
  color: var(--f2c-primary);
  border-bottom-color: var(--f2c-primary);
  text-decoration: none;
}

@media (min-width: 1024px) {
  .f2c-nav-desktop { display: flex; flex: 1; justify-content: center; margin: 0 1rem; }
  .f2c-burger { display: none !important; }
}

/* Burger button (mobile) */
.f2c-burger {
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--f2c-line);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--f2c-text);
}
.f2c-burger:hover { background: var(--f2c-surface); }
.f2c-burger svg { width: 22px; height: 22px; }

/* Header CTA desktop only */
.f2c-header-cta-desktop { display: none; }
@media (min-width: 1024px) {
  .f2c-header-cta-desktop {
    display: inline-block;
    padding: .55rem 1rem;
    font-size: .9rem;
    background: var(--f2c-primary);
    color: #fff;
    border-radius: 8px;
    border: 2px solid var(--f2c-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all .18s;
    flex-shrink: 0;
  }
  .f2c-header-cta-desktop:hover { background: var(--f2c-primary-dark); color: #fff; text-decoration: none; }
}
@media (max-width: 1023px) {
  .f2c-header-cta-desktop { display: none !important; }
}

/* ============================================================================
 * 5. MOBILE DRAWER (hidden by default; visible when .is-open on mobile)
 * ============================================================================ */
.f2c-nav-mobile { display: none; }

.f2c-nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 36, 52, 0.55);
  backdrop-filter: blur(2px);
  z-index: 9998;
}
.f2c-nav-mobile-overlay.is-open { display: block; }

@media (max-width: 1023px) {
  .f2c-nav-mobile.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 88%;
    max-width: 380px;
    background: #ffffff;
    padding: 4.5rem 1.5rem 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .28);
  }
}

.f2c-nav-mobile-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 40px;
  height: 40px;
  background: var(--f2c-surface);
  border: 1px solid var(--f2c-line);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--f2c-text);
}
.f2c-nav-mobile-close:hover { background: var(--f2c-line); }
.f2c-nav-mobile-close svg { width: 20px; height: 20px; }

.f2c-nav-mobile-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}
.f2c-nav-mobile-list li { border-bottom: 1px solid var(--f2c-line); }
.f2c-nav-mobile-list a {
  display: block;
  padding: .95rem .5rem;
  color: #0a0a0a;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
}
.f2c-nav-mobile-list a:hover { color: var(--f2c-primary); background: var(--f2c-surface); }

/* Drawer CTA at bottom */
.f2c-drawer-cta {
  display: block !important;
  margin: 2rem 0 1.5rem !important;
  padding: 1rem 1.5rem !important;
  text-align: center !important;
  background: var(--f2c-primary) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
}
.f2c-drawer-cta:hover { background: var(--f2c-primary-dark) !important; color: #fff !important; }

@media (min-width: 1024px) {
  .f2c-drawer-cta { display: none !important; }
}

/* ============================================================================
 * 6. HERO (latest-articles-slider)
 * ============================================================================ */
.f2c-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E2434 55%, #24325A 100%);
  color: #fff;
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.f2c-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 20%, rgba(66,102,255,.35) 0, transparent 40%),
              radial-gradient(circle at 88% 82%, rgba(94,219,184,.28) 0, transparent 45%);
  pointer-events: none;
}
.f2c-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--f2c-container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .f2c-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.f2c-hero-title {
  font-family: var(--f2c-font-h);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  margin: .8rem 0 1rem;
  color: #fff;
}
/* RANKO WHITE-HEADINGS 2026-07-24 : beats customizer inline h1/h3 !important */
h1.f2c-hero-title { color: #ffffff !important; }
h3.f2c-cat-card-name { color: #ffffff !important; }
.f2c-hero-subtitle {
  font-size: 1.1rem;
  color: #C7CBE2;
  line-height: 1.55;
  margin: 0 0 1.6rem;
  max-width: 46ch;
}
.f2c-hero-eyebrow {
  display: inline-block;
  padding: .35rem .9rem;
  background: rgba(94,219,184,.15);
  color: var(--f2c-accent);
  border: 1px solid rgba(94,219,184,.4);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.f2c-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Hero slider — latest articles */
.f2c-hero-slider {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--f2c-radius-lg);
  padding: 1.2rem;
  backdrop-filter: blur(6px);
}
.f2c-hero-slider-title {
  font-family: var(--f2c-font-b);
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
  color: var(--f2c-accent);
  letter-spacing: .1em;
  margin: 0 0 .9rem;
}
.f2c-hero-slide-item {
  display: flex;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  align-items: center;
}
.f2c-hero-slide-item:last-child { border-bottom: none; }
.f2c-hero-slide-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
}
.f2c-hero-slide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.f2c-hero-slide-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--f2c-accent);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .2rem;
}
.f2c-hero-slide-title {
  color: #fff;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.35;
  text-decoration: none;
}
.f2c-hero-slide-title:hover { color: var(--f2c-accent); text-decoration: none; }

.f2c-hero-slide-empty {
  padding: 1.2rem;
  color: #C7CBE2;
  text-align: center;
  font-size: .95rem;
}

/* ============================================================================
 * 7. EDITORIAL INTRO (after-hero placement)
 * ============================================================================ */
.f2c-editorial-intro {
  padding: 4rem 0 3rem;
  background: var(--f2c-bg);
}
.f2c-editorial-intro-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.f2c-editorial-intro h2 {
  font-family: var(--f2c-font-h);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--f2c-text);
  text-align: center;
  margin-bottom: 1.5rem;
}
.f2c-editorial-intro-lead {
  font-size: 1.15rem;
  color: var(--f2c-text-soft);
  line-height: 1.75;
  text-align: center;
  margin-bottom: 2.5rem;
}
.f2c-editorial-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.f2c-editorial-section {
  background: var(--f2c-surface);
  border: 1px solid var(--f2c-line);
  border-radius: var(--f2c-radius);
  padding: 1.4rem 1.5rem;
}
.f2c-editorial-section h3 {
  font-family: var(--f2c-font-b);
  font-size: 1.05rem;
  color: var(--f2c-primary);
  margin: 0 0 .6rem;
}
.f2c-editorial-section p {
  color: var(--f2c-text-soft);
  font-size: .95rem;
  margin: 0;
  line-height: 1.65;
}
.f2c-editorial-line {
  background: linear-gradient(90deg, var(--f2c-primary) 0%, var(--f2c-accent) 100%);
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: var(--f2c-radius-lg);
  margin-top: 1rem;
}
.f2c-editorial-line h3 {
  font-family: var(--f2c-font-h);
  color: #fff;
  margin: 0 0 .5rem;
  font-size: 1.3rem;
}
.f2c-editorial-line p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

/* ============================================================================
 * 8. CATEGORIES GRID
 * ============================================================================ */
.f2c-categories {
  padding: 3.5rem 0;
  background: var(--f2c-surface);
}
.f2c-categories-inner {
  max-width: var(--f2c-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.f2c-section-title {
  font-family: var(--f2c-font-h);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--f2c-text);
  text-align: center;
  margin: 0 0 2rem;
}
.f2c-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.2rem;
}
.f2c-cat-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--f2c-radius);
  overflow: hidden;
  background: var(--f2c-primary);
  text-decoration: none;
  box-shadow: var(--f2c-shadow);
  transition: transform .25s, box-shadow .25s;
}
.f2c-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--f2c-shadow-md);
  text-decoration: none;
}
.f2c-cat-card-img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .4s;
}
.f2c-cat-card:hover .f2c-cat-card-img { transform: scale(1.06); }
.f2c-cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 36, 52, 0.05) 0%, rgba(30, 36, 52, 0.85) 100%);
}
.f2c-cat-card-name {
  position: absolute;
  bottom: 1rem;
  left: 1.1rem;
  right: 1.1rem;
  color: #ffffff;
  font-family: var(--f2c-font-h);
  font-size: 1.3rem;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

/* ============================================================================
 * 9. LATEST ARTICLES GRID
 * ============================================================================ */
.f2c-latest {
  padding: 4rem 0;
  background: var(--f2c-bg);
}
.f2c-latest-inner {
  max-width: var(--f2c-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.f2c-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .f2c-latest-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 560px) {
  .f2c-latest-grid { grid-template-columns: 1fr; }
}
.f2c-card {
  background: var(--f2c-bg);
  border: 1px solid var(--f2c-line);
  border-radius: var(--f2c-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.f2c-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--f2c-shadow);
}
.f2c-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--f2c-surface);
}
.f2c-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.f2c-card:hover .f2c-card-thumb img { transform: scale(1.05); }
.f2c-card-body {
  padding: 1rem 1.2rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.f2c-card-cat {
  color: var(--f2c-primary);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  margin-bottom: .35rem;
}
.f2c-card-cat:hover { color: var(--f2c-primary-dark); text-decoration: underline; }
.f2c-card-title {
  font-family: var(--f2c-font-b);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 .5rem;
}
.f2c-card-title a { color: var(--f2c-text); text-decoration: none; }
.f2c-card-title a:hover { color: var(--f2c-primary); text-decoration: none; }
.f2c-card-excerpt {
  color: var(--f2c-text-soft);
  font-size: .92rem;
  line-height: 1.55;
  margin: 0 0 .8rem;
  flex: 1;
}
.f2c-card-meta {
  display: flex;
  gap: .6rem;
  align-items: center;
  color: var(--f2c-text-soft);
  font-size: .78rem;
}

.f2c-latest-empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--f2c-text-soft);
  background: var(--f2c-surface);
  border-radius: var(--f2c-radius);
}

/* ============================================================================
 * 10. TRUST BADGES ROW (CTR animation)
 * ============================================================================ */
.f2c-trust-badges { overflow: hidden; padding: 1.5rem 0; background: #F5F6FF; border-top: 1px solid var(--f2c-line); border-bottom: 1px solid var(--f2c-line); }
.f2c-trust-badges-track { display: flex; gap: 3rem; animation: f2c-ctr-scroll 30s linear infinite; width: fit-content; }
.f2c-trust-badges-track:hover { animation-play-state: paused; }
.f2c-trust-badge { display: flex; align-items: center; gap: .7rem; color: var(--f2c-text-soft); font-weight: 600; white-space: nowrap; }
.f2c-trust-badge svg { width: 24px; height: 24px; color: var(--f2c-primary); flex-shrink: 0; }
@keyframes f2c-ctr-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================================
 * 11. CTA MAGNETIC BUTTON (CTA animation)
 * ============================================================================ */
@keyframes f2c-cta-magnetic {
  0%   { transform: translate(0,0) scale(1); box-shadow: 0 4px 14px rgba(66,102,255,.25); }
  50%  { transform: translate(0,-2px) scale(1.02); box-shadow: 0 8px 20px rgba(66,102,255,.35); }
  100% { transform: translate(0,0) scale(1); box-shadow: 0 4px 14px rgba(66,102,255,.25); }
}
.f2c-btn--cta { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .f2c-btn--cta { animation: f2c-cta-magnetic 3.5s ease-in-out infinite; }
}
.f2c-btn--cta:hover { animation-play-state: paused; }

/* ============================================================================
 * 12. FOOTER (promo_columns)
 * ============================================================================ */
.f2c-footer {
  background: #0F1424;
  color: #E1E4F0;
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
  border-top: 4px solid var(--f2c-primary);
}
.f2c-footer-inner {
  max-width: var(--f2c-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.f2c-footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 960px) {
  .f2c-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .f2c-footer-cols { grid-template-columns: 1fr; gap: 2rem; }
}
.f2c-footer-col h3.f2c-footer-title {
  font-family: var(--f2c-font-b);
  font-weight: 800;
  font-size: .9rem;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 1rem;
}
.f2c-footer-logo {
  display: block;
  margin-bottom: 1rem;
  height: auto;
  max-width: 120px;
  filter: brightness(1.05);
}
.f2c-footer-brand-pitch {
  color: #C7CBE2;
  font-size: .93rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.f2c-footer-brand-cta {
  display: inline-block;
  color: var(--f2c-accent);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  padding: .3rem 0;
  border-bottom: 1px solid rgba(94,219,184,.3);
}
.f2c-footer-brand-cta:hover { color: #fff; text-decoration: none; border-bottom-color: #fff; }

.f2c-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.f2c-footer-links li { margin-bottom: .55rem; }
.f2c-footer-links a {
  color: #E1E4F0;
  text-decoration: underline;
  text-decoration-color: transparent;
  font-size: .92rem;
  transition: color .18s, text-decoration-color .18s;
}
.f2c-footer-links a:hover {
  color: var(--f2c-accent);
  text-decoration-color: var(--f2c-accent);
}

.f2c-footer-social {
  display: flex;
  gap: .8rem;
  margin-top: .8rem;
}
.f2c-footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #E1E4F0;
  text-decoration: none;
  transition: all .18s;
}
.f2c-footer-social a:hover {
  background: var(--f2c-primary);
  color: #fff;
}
.f2c-footer-social svg { width: 18px; height: 18px; }

.f2c-footer-bottom {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #B1B5CE;
  font-size: .85rem;
}
.f2c-footer-copy a { color: #B1B5CE; text-decoration: underline; }
.f2c-footer-copy a:hover { color: #fff; }

/* ============================================================================
 * 13. CATEGORY PAGE (intro-faq layout)
 * ============================================================================ */
.f2c-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--f2c-primary);
}
.f2c-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.f2c-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--f2c-container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 20, 36, 0.75) 100%);
}
.f2c-cat-hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  font-family: var(--f2c-font-h);
  margin: 0;
}

.f2c-cat-body {
  padding: 3rem 0;
}
.f2c-cat-body-inner {
  max-width: var(--f2c-container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}
@media (max-width: 900px) {
  .f2c-cat-body-inner { grid-template-columns: 1fr; }
}
.f2c-cat-intro { color: var(--f2c-text); font-size: 1.05rem; line-height: 1.75; }
.f2c-cat-intro p { margin-bottom: 1rem; }

.f2c-cat-faq { margin-top: 2rem; }
.f2c-cat-faq h2 {
  font-family: var(--f2c-font-h);
  font-size: 1.5rem;
  margin: 0 0 1rem;
}
.f2c-cat-faq details {
  background: var(--f2c-surface);
  border: 1px solid var(--f2c-line);
  border-radius: var(--f2c-radius);
  padding: 1rem 1.3rem;
  margin-bottom: .6rem;
}
.f2c-cat-faq details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--f2c-text);
  list-style: none;
}
.f2c-cat-faq details summary::-webkit-details-marker { display: none; }
.f2c-cat-faq details[open] { background: #fff; border-color: var(--f2c-primary); }
.f2c-cat-faq details p {
  color: var(--f2c-text-soft);
  margin: .7rem 0 0;
  line-height: 1.65;
}

.f2c-cat-articles { margin-top: 2rem; }
.f2c-cat-articles h2 {
  font-family: var(--f2c-font-h);
  font-size: 1.5rem;
  margin: 0 0 1.3rem;
}
.f2c-cat-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
}
@media (max-width: 720px) {
  .f2c-cat-articles-grid { grid-template-columns: 1fr; }
}

.f2c-cat-sidebar {
  background: var(--f2c-surface);
  border-radius: var(--f2c-radius);
  padding: 1.5rem;
  border: 1px solid var(--f2c-line);
  align-self: flex-start;
  position: sticky;
  top: calc(var(--f2c-header-h) + 1rem);
}
.f2c-cat-sidebar h3 {
  font-family: var(--f2c-font-b);
  font-weight: 800;
  font-size: 1rem;
  color: var(--f2c-primary);
  margin: 0 0 .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.f2c-cat-sidebar ul { list-style: none; margin: 0; padding: 0; }
.f2c-cat-sidebar li { margin-bottom: .5rem; }
.f2c-cat-sidebar a { color: var(--f2c-text); text-decoration: none; font-weight: 600; }
.f2c-cat-sidebar a:hover { color: var(--f2c-primary); }

/* ============================================================================
 * 14. PAGE / SINGLE / CONTACT / ABOUT
 * ============================================================================ */
.f2c-page {
  padding: 3rem 0 4rem;
}
.f2c-page-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.f2c-page h1 {
  font-family: var(--f2c-font-h);
  margin-bottom: 1.5rem;
  border-left: 6px solid var(--f2c-primary);
  padding-left: 1rem;
}
.f2c-page h2 {
  margin-top: 2rem;
  color: var(--f2c-primary);
}
.f2c-page p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--f2c-text);
}
.f2c-page a { color: var(--f2c-primary); }

.f2c-persona-photo {
  float: right;
  width: 220px;
  height: auto;
  margin: 0 0 1rem 2rem;
  border-radius: var(--f2c-radius-lg);
  box-shadow: var(--f2c-shadow);
}
@media (max-width: 720px) {
  .f2c-persona-photo { float: none; display: block; margin: 0 auto 1.5rem; width: 180px; }
}

.f2c-contact-form {
  margin: 2rem 0;
  background: var(--f2c-surface);
  border-radius: var(--f2c-radius);
  padding: 1rem;
  border: 1px solid var(--f2c-line);
}

/* ============================================================================
 * 15. TOOL PAGE WRAPPER
 * ============================================================================ */
.f2c-tool-page {
  padding: 3rem 0 4rem;
}
.f2c-tool-page-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.f2c-tool-page h1 {
  font-family: var(--f2c-font-h);
  margin-bottom: 1.2rem;
  border-left: 6px solid var(--f2c-primary);
  padding-left: 1rem;
}
.f2c-tool-desc {
  color: var(--f2c-text-soft);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-size: 1.02rem;
}
.f2c-tool-embed {
  background: var(--f2c-bg);
  border: 1px solid var(--f2c-line);
  border-radius: var(--f2c-radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 640px) {
  .f2c-tool-embed { padding: 1.2rem; }
}

/* ============================================================================
 * 16. UTILITIES
 * ============================================================================ */
.f2c-hidden { display: none !important; }
.f2c-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================================
 * 17. RESPONSIVE ADJUSTMENTS
 * ============================================================================ */
@media (max-width: 720px) {
  .f2c-header-inner { gap: .8rem; padding: 0 1rem; }
  .f2c-brand-logo { max-height: 38px; }
  .f2c-brand-name { font-size: 1rem; }
  .f2c-hero { padding: 2.2rem 0 2.5rem; }
  .f2c-categories, .f2c-latest { padding: 2.5rem 0; }
  .f2c-editorial-intro { padding: 3rem 0 2.5rem; }
}


/* Theme rules — appended */
body section[class*="cat-hero"], body div[class*="cat-hero"] {
  position: relative !important;
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
  left: 0 !important; right: 0 !important;
  height: 360px !important; min-height: 360px !important; max-height: 360px !important;
  padding: 0 !important; overflow: hidden !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important;
  border: none !important; box-shadow: none !important; outline: none !important;
  box-sizing: border-box !important;
}
/* Aussi force le parent <main> a etre full-width pour eviter cap a 1024 */
body main, body, body, body [class*="f2c-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(--f2c-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.
============================================================ */
.f2c-media-press {
  padding: 2.5rem 0;
  background: var(--f2c-bg-soft, var(--f2c-color-surface, #f9fafb));
  margin: 2rem 0;
}
.f2c-media-press > .f2c-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.f2c-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--f2c-color-text-soft, var(--f2c-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.f2c-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.f2c-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%);
}
.f2c-media-press-item:hover,
.f2c-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.f2c-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .f2c-media-press { padding: 1.8rem 0; }
  .f2c-media-press-grid { gap: 1.4rem; }
  .f2c-media-press-item { max-width: 110px; min-height: 36px; }
  .f2c-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) */
.f2c-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);
}
.f2c-media-press .f2c-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;
}
.f2c-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(--f2c-muted, #666);
  flex: 0 0 auto;
}
.f2c-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;
}
.f2c-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;
}
.f2c-media-press-item:hover:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.f2c-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;
}
.f2c-media-press a:hover imga:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .f2c-media-press .f2c-container,
  section[class*="media-press"] [class*="container"] {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}



.f2c-cat-hero--align-left .f2c-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;
}
.f2c-cat-hero--align-center .f2c-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: 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; }
