/* =========================================================
   VisioFoot Daily — Design System: Underground Graffiti
   Palette: #0A0A0A (primary) / #FF00AA (accent) / #1F1F1F (bg)
   Fonts: Bungee Inline (headings) + Inter (body)
   Hero: dual-cta-banner with YouTube background video
   ========================================================= */

:root {
  --f5e-primary: #0A0A0A;
  --f5e-accent:  #FF00AA;
  --f5e-text:    #FFFFFF;
  --f5e-text-soft: #999999;
  --f5e-bg:      #1F1F1F;
  --f5e-surface: #0A0A0A;
  --f5e-line:    #FF00AA;
  --f5e-accent-soft: rgba(255,0,170,0.18);
  --f5e-accent-glow: rgba(255,0,170,0.45);
  --f5e-shadow: 0 8px 30px rgba(0,0,0,0.6);
  --f5e-radius: 6px;
  --f5e-container: 1240px;
  --f5e-font-heading: 'Bungee Inline', 'Impact', sans-serif;
  --f5e-font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, .f5e-body {
  margin: 0;
  background: var(--f5e-bg);
  color: var(--f5e-text);
  font-family: var(--f5e-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main, .f5e-main { padding-top: 0 !important; margin-top: 0 !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--f5e-accent); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { opacity: .85; }
h1, h2, h3, h4 {
  font-family: var(--f5e-font-heading);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.15;
  color: var(--f5e-text);
  margin: 0 0 1rem;
  text-transform: uppercase;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1rem; color: var(--f5e-text); }

.f5e-container {
  max-width: var(--f5e-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- HEADER ---------- */
.f5e-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--f5e-surface);
  border-bottom: 3px solid var(--f5e-accent);
  box-shadow: 0 4px 20px rgba(255,0,170,0.18);
}
.f5e-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  max-width: var(--f5e-container);
  margin: 0 auto;
  padding: 14px 1.5rem;
  min-height: 72px;
}
.f5e-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.f5e-brand-logo {
  width: auto;
  display: block;
}
.f5e-brand-name {
  font-family: var(--f5e-font-heading);
  font-size: 1.5rem;
  color: var(--f5e-text);
  letter-spacing: .04em;
  white-space: nowrap;
}
/* Title Case styling — no text-transform */
.f5e-brand-name { text-transform: none; }

.f5e-nav-desktop { display: none; }
.f5e-nav-desktop-list {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
}
.f5e-nav-desktop-list a {
  display: inline-block;
  color: var(--f5e-text);
  text-decoration: none;
  font-family: var(--f5e-font-body);
  font-weight: 600;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.f5e-nav-desktop-list a:hover,
.f5e-nav-desktop-list .current-menu-item > a {
  color: var(--f5e-accent);
  border-bottom-color: var(--f5e-accent);
}

/* Burger button */
.f5e-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 8px;
  margin-left: auto;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--f5e-accent);
  border-radius: 6px;
  color: var(--f5e-text);
  cursor: pointer;
  z-index: 10000;
  flex-shrink: 0;
  position: relative;
}
.f5e-burger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
  height: 16px;
  justify-content: center;
}
.f5e-burger-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--f5e-accent);
  border-radius: 1px;
}

/* Mobile drawer */
.f5e-nav-mobile { display: none; }
.f5e-nav-mobile-overlay { display: none; }

@media (max-width: 1023px) {
  .f5e-header-inner { justify-content: space-between; padding: 12px 1rem; }
  .f5e-brand-name { font-size: 1.2rem; }
  .f5e-nav-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    display: none;
  }
  .f5e-nav-mobile-overlay.is-open { display: block; }

  .f5e-nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 380px;
    background: var(--f5e-primary);
    padding: 4.5rem 1.5rem 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.6);
    border-left: 3px solid var(--f5e-accent);
  }
  .f5e-nav-mobile.is-open {
    display: flex;
    flex-direction: column;
  }
  .f5e-nav-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
  }
  .f5e-nav-mobile-list li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .f5e-nav-mobile-list a {
    display: block;
    padding: 16px 6px;
    color: var(--f5e-text);
    text-decoration: none;
    font-family: var(--f5e-font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .f5e-nav-mobile-list a:hover { color: var(--f5e-accent); }
  .f5e-nav-mobile-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1.5px solid var(--f5e-accent);
    color: var(--f5e-text);
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
  }

  /* CTA in drawer mobile */
  .f5e-drawer-cta {
    display: block !important;
    margin: 1rem 0 .5rem !important;
    padding: 14px 18px !important;
    text-align: center !important;
    background: var(--f5e-accent) !important;
    color: var(--f5e-primary) !important;
    border-radius: var(--f5e-radius) !important;
    font-weight: 800 !important;
    font-family: var(--f5e-font-heading) !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    text-decoration: none !important;
    font-size: 1rem !important;
  }
  /* Hide desktop CTA on mobile */
  .f5e-header-cta-desktop { display: none !important; }
}

@media (min-width: 1024px) {
  .f5e-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1.5rem;
  }
  .f5e-burger { display: none !important; }
  .f5e-nav-mobile { display: none !important; }
  .f5e-nav-mobile-overlay { display: none !important; }
  .f5e-drawer-cta { display: none !important; }
}

/* ---------- HERO (dual-cta-banner with YouTube bg) ---------- */
.f5e-hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  background: var(--f5e-surface);
  display: flex;
  align-items: center;
}
.f5e-hero-video-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.f5e-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
}
.f5e-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.f5e-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.f5e-hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  max-width: var(--f5e-container);
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  text-align: left;
}
.f5e-hero-eyebrow {
  display: inline-block;
  font-family: var(--f5e-font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--f5e-accent);
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1.5px solid var(--f5e-accent);
  border-radius: 2px;
  background: rgba(0,0,0,0.4);
  margin-bottom: 1.5rem;
}
.f5e-hero-title {
  font-family: var(--f5e-font-heading);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
  margin: 0 0 1.2rem;
  max-width: 18ch;
}
.f5e-hero-subtitle {
  font-family: var(--f5e-font-body);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 0 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.f5e-hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.f5e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--f5e-font-heading);
  font-size: .98rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  border-radius: var(--f5e-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.f5e-btn--primary {
  background: var(--f5e-accent);
  color: var(--f5e-primary);
  box-shadow: 0 4px 20px rgba(255,0,170,0.5);
}
.f5e-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,0,170,0.7);
  background: #fff;
}
.f5e-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.f5e-btn--ghost:hover {
  background: #fff;
  color: var(--f5e-primary);
  transform: translateY(-2px);
}
.f5e-btn--cta {
  background: var(--f5e-accent);
  color: var(--f5e-primary);
}
.f5e-btn--cta:hover {
  background: #fff;
  color: var(--f5e-primary);
}

/* ---------- EDITORIAL BLOCK (after hero, 400-700 mots) ---------- */
.f5e-editorial {
  background: var(--f5e-bg);
  padding: 4.5rem 0;
  border-bottom: 1px solid rgba(255,0,170,0.2);
}
.f5e-editorial-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.f5e-editorial h2 {
  font-size: 2.2rem;
  color: var(--f5e-accent);
  margin-bottom: .6rem;
}
.f5e-editorial h3 {
  color: #fff;
  font-size: 1.5rem;
  margin: 2.4rem 0 .8rem;
  border-left: 4px solid var(--f5e-accent);
  padding-left: 14px;
}
.f5e-editorial p {
  color: rgba(255,255,255,0.88);
  font-size: 1.04rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}
.f5e-editorial-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  border-bottom: 1px dashed rgba(255,0,170,0.4);
  padding-bottom: 1.5rem;
  margin-bottom: 1.8rem;
}
.f5e-editorial-pull {
  background: var(--f5e-surface);
  border-left: 4px solid var(--f5e-accent);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  position: relative;
}
.f5e-editorial-pull::before {
  content: '«';
  font-family: var(--f5e-font-heading);
  font-size: 3rem;
  color: var(--f5e-accent);
  position: absolute;
  top: -10px;
  left: 12px;
  line-height: 1;
}

/* ---------- CATEGORIES SECTION ---------- */
.f5e-section {
  padding: 5rem 0;
}
.f5e-section--surface { background: var(--f5e-surface); }
.f5e-section-title {
  font-size: 2.4rem;
  color: var(--f5e-text);
  margin-bottom: .5rem;
  position: relative;
  padding-bottom: 14px;
}
.f5e-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--f5e-accent);
  margin-top: 14px;
}
.f5e-section-intro {
  color: var(--f5e-text-soft);
  max-width: 62ch;
  margin-bottom: 2.6rem;
  font-size: 1.04rem;
}

.f5e-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.f5e-cat-card {
  position: relative;
  display: block;
  background: var(--f5e-surface);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--f5e-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--f5e-text);
  min-height: 240px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.f5e-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--f5e-accent);
  box-shadow: 0 12px 36px rgba(255,0,170,0.3);
}
.f5e-cat-card-img {
  display: block;
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--f5e-accent);
  position: relative;
}
.f5e-cat-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
}
.f5e-cat-card-body {
  padding: 16px 18px 20px;
}
.f5e-cat-card-title {
  font-family: var(--f5e-font-heading);
  font-size: 1.25rem;
  color: var(--f5e-text);
  margin: 0 0 6px;
  text-transform: uppercase;
}
.f5e-cat-card-meta {
  color: var(--f5e-text-soft);
  font-size: .9rem;
}

/* ---------- LATEST ARTICLES GRID ---------- */
.f5e-latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .f5e-latest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .f5e-latest-grid { grid-template-columns: repeat(3, 1fr); }
}

.f5e-article-card {
  background: var(--f5e-surface);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--f5e-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
}
.f5e-article-card:hover {
  border-color: var(--f5e-accent);
  transform: translateY(-3px);
}
.f5e-article-card-thumb {
  display: block;
  height: 200px;
  background: var(--f5e-bg);
  position: relative;
  overflow: hidden;
}
.f5e-article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.f5e-article-card:hover .f5e-article-card-thumb img {
  transform: scale(1.05);
}
.f5e-article-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.f5e-article-card-cat {
  font-family: var(--f5e-font-body);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--f5e-accent);
  margin-bottom: 8px;
}
.f5e-article-card-title {
  font-family: var(--f5e-font-heading);
  font-size: 1.15rem;
  color: var(--f5e-text);
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.2;
}
.f5e-article-card-title a {
  color: inherit;
  text-decoration: none;
}
.f5e-article-card-title a:hover { color: var(--f5e-accent); }
.f5e-article-card-excerpt {
  color: var(--f5e-text-soft);
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 12px;
  flex: 1;
}
.f5e-article-card-date {
  color: var(--f5e-text-soft);
  font-size: .85rem;
  font-style: italic;
}

/* ---------- HOME TOOL EMBED ---------- */
.f5e-home-tool {
  background: var(--f5e-surface);
  padding: 5rem 0;
  border-top: 3px solid var(--f5e-accent);
  border-bottom: 3px solid var(--f5e-accent);
}
.f5e-home-tool-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.f5e-home-tool-inner h2 {
  font-size: 2.4rem;
  color: var(--f5e-accent);
}
.f5e-home-tool-intro {
  color: var(--f5e-text);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ---------- METRICS LINKS BLOCK ---------- */
.f5e-metrics {
  background: var(--f5e-bg);
  padding: 4rem 0;
  border-top: 1px solid rgba(255,0,170,0.2);
  border-bottom: 1px solid rgba(255,0,170,0.2);
}
.f5e-metrics-inner {
  max-width: var(--f5e-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

/* ---------- CATEGORY PAGE ---------- */
.f5e-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  border-bottom: 3px solid var(--f5e-accent);
}
.f5e-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.f5e-cat-hero-bg-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--f5e-primary) 0%, var(--f5e-accent) 100%);
  z-index: 1;
}
.f5e-cat-hero .f5e-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.8) 100%);
}
.f5e-cat-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  margin: 0;
}
.f5e-cat-intro {
  background: var(--f5e-bg);
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,0,170,0.2);
}
.f5e-cat-intro p {
  color: var(--f5e-text);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 75ch;
  margin: 0 0 1rem;
}
.f5e-cat-articles {
  padding: 4rem 0;
}

/* ---------- PERSONA PHOTO (a-propos) ---------- */
.f5e-persona-photo {
  max-width: 360px;
  width: 100%;
  border-radius: 8px;
  border: 3px solid var(--f5e-accent);
  margin: 1.5rem 0 2rem;
  box-shadow: 0 8px 30px rgba(255,0,170,0.3);
}

/* ---------- CONTACT FORM ---------- */
.f5e-contact-form {
  margin: 2rem 0 4rem;
  background: var(--f5e-surface);
  border: 1.5px solid var(--f5e-accent);
  border-radius: var(--f5e-radius);
  padding: 1.5rem;
}
.f5e-contact-form iframe {
  display: block;
  background: #fff;
  border-radius: 4px;
}

/* ---------- PAGE WRAPPER (default WP pages) ---------- */
.f5e-page-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.f5e-page-wrap h1 {
  font-size: 2.6rem;
  color: var(--f5e-accent);
  margin-bottom: 2rem;
}
.f5e-page-wrap h2 {
  font-size: 1.8rem;
  color: var(--f5e-text);
  margin-top: 2.5rem;
  border-bottom: 2px solid var(--f5e-accent);
  padding-bottom: 8px;
}
.f5e-page-wrap h3 {
  font-size: 1.3rem;
  color: var(--f5e-accent);
  margin-top: 2rem;
}
.f5e-page-wrap p {
  color: var(--f5e-text);
  font-size: 1.04rem;
  line-height: 1.75;
}
.f5e-page-wrap a {
  color: var(--f5e-accent);
  border-bottom: 1px solid currentColor;
}

/* ---------- FOOTER ---------- */
.f5e-footer {
  background: var(--f5e-primary);
  color: var(--f5e-text);
  padding: 4rem 0 0;
  border-top: 4px solid var(--f5e-accent);
}
.f5e-footer-inner {
  max-width: var(--f5e-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.f5e-footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .f5e-footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.f5e-footer-col {
  display: flex;
  flex-direction: column;
}
.f5e-footer-logo {
  display: block;
  margin-bottom: 1rem;
  height: auto;
  max-width: 200px;
}
.f5e-footer-brand-pitch {
  color: rgba(255,255,255,0.8);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0 0 1.4rem;
}
.f5e-footer-brand-cta {
  display: inline-block;
  padding: 10px 18px;
  background: var(--f5e-accent);
  color: var(--f5e-primary);
  font-family: var(--f5e-font-heading);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: var(--f5e-radius);
  font-weight: 700;
  align-self: flex-start;
  transition: background .2s, color .2s;
}
.f5e-footer-brand-cta:hover { background: #fff; color: var(--f5e-primary); }
.f5e-footer-title {
  font-family: var(--f5e-font-heading);
  font-size: 1rem;
  color: var(--f5e-accent);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(255,0,170,0.4);
}
.f5e-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f5e-footer-links li { margin: 0 0 10px; }
.f5e-footer-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s ease;
}
.f5e-footer-links a:hover {
  color: var(--f5e-accent);
  text-decoration: underline;
}
.f5e-footer-bottom {
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255,0,170,0.3);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.6);
  font-size: .9rem;
}
.f5e-footer-bottom-tag {
  font-family: var(--f5e-font-heading);
  color: var(--f5e-accent);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.f5e-footer-social {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.f5e-footer-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--f5e-accent);
  border-radius: 50%;
  color: var(--f5e-text);
  transition: background .2s ease, color .2s ease;
}
.f5e-footer-social a:hover {
  background: var(--f5e-accent);
  color: var(--f5e-primary);
}

/* ---------- ANIMATIONS (CTA / CTR / CTO) ---------- */
@keyframes f5e-call-button-mobile {
  0%, 100% { transform: scale(1) rotate(0deg); box-shadow: 0 0 0 0 rgba(255,0,170,.55); }
  25% { transform: scale(1.06) rotate(-3deg); box-shadow: 0 0 0 8px rgba(255,0,170,0); }
  50% { transform: scale(1.02) rotate(3deg); box-shadow: 0 0 0 12px rgba(255,0,170,0); }
  75% { transform: scale(1.06) rotate(-2deg); }
}
.f5e-btn--cta { animation: f5e-call-button-mobile 2.4s ease-in-out infinite; }

@keyframes f5e-hotspot-image-marker {
  0%   { box-shadow: 0 0 0 0 rgba(255,0,170,.85); opacity: 1; }
  50%  { box-shadow: 0 0 0 12px rgba(255,0,170,.2), 0 0 0 22px rgba(255,0,170,0); opacity: .8; }
  100% { box-shadow: 0 0 0 24px rgba(255,0,170,0); opacity: 1; }
}
.f5e-hotspot, .f5e-ctr { position: relative; }
.f5e-hotspot::after, .f5e-ctr::after {
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 14px; height: 14px;
  background: var(--f5e-accent);
  border-radius: 50%;
  animation: f5e-hotspot-image-marker 1.8s ease-out infinite;
  pointer-events: none;
}

@keyframes f5e-best-value-badge {
  0%   { transform: rotate(-12deg) scale(1); filter: drop-shadow(0 0 0 rgba(255,0,170,0)); }
  50%  { transform: rotate(-12deg) scale(1.08); filter: drop-shadow(0 0 12px rgba(255,0,170,.7)); }
  100% { transform: rotate(-12deg) scale(1); filter: drop-shadow(0 0 0 rgba(255,0,170,0)); }
}
.f5e-cto-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--f5e-accent);
  color: var(--f5e-primary);
  font-family: var(--f5e-font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 4px;
  animation: f5e-best-value-badge 1.8s ease-in-out infinite;
}

/* ---------- MOUSE EFFECT: form_select_hover_border ---------- */
.f5e-form-fx input,
.f5e-form-fx select,
.f5e-form-fx textarea,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="search"],
input[type="url"],
select,
textarea {
  position: relative;
  transition: border-color .25s ease, box-shadow .25s ease, transform .15s ease;
}
input:hover:not([type="submit"]):not([type="button"]),
select:hover,
textarea:hover {
  border-color: var(--f5e-accent) !important;
  box-shadow: 0 0 0 3px rgba(255,0,170,.18), 0 0 14px rgba(255,0,170,.35);
  transform: translateY(-1px);
}
input:focus:not([type="submit"]):not([type="button"]),
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--f5e-accent) !important;
  box-shadow: 0 0 0 4px rgba(255,0,170,.28), 0 0 22px rgba(255,0,170,.6);
}
@keyframes f5e-fx-border-scan {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
input.f5e-fx-active,
select.f5e-fx-active,
textarea.f5e-fx-active {
  background-image: linear-gradient(90deg, transparent 0%, rgba(255,0,170,.08) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: f5e-fx-border-scan 1.6s linear infinite;
}
@media (hover: none) {
  input, select, textarea { transition: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .f5e-hero-inner { padding: 5rem 1.5rem 4rem; }
  .f5e-section { padding: 3rem 0; }
  .f5e-editorial { padding: 3rem 0; }
  .f5e-footer-bottom { flex-direction: column; text-align: center; }
}

/* Single article styling */
.f5e-single {
  background: var(--f5e-bg);
  padding: 3rem 0;
}
.f5e-single-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.f5e-single h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--f5e-text);
  margin-bottom: 1rem;
}
.f5e-single .post-meta {
  color: var(--f5e-text-soft);
  margin-bottom: 2rem;
  font-size: .92rem;
}
.f5e-single .post-content p { font-size: 1.05rem; line-height: 1.75; }
.f5e-single .post-content a { color: var(--f5e-accent); border-bottom: 1px solid currentColor; }

/* Accessibility focus visible */
:focus-visible {
  outline: 2px solid var(--f5e-accent);
  outline-offset: 3px;
}

/* Print rules */
@media print {
  .f5e-header, .f5e-footer, .f5e-nav-mobile { display: none; }
}


/* Mouse effect : form_select_hover_border */
/* Mouse effect: form_select_hover_border - border glow + neon scan on form fields hover */ .f5e-form-fx input, .f5e-form-fx select, .f5e-form-fx textarea, input[type="text"], input[type="email"], input[type="number"], input[type="tel"], input[type="search"], input[type="url"], select, textarea { position: relative; transition: border-color .25s ease, box-shadow .25s ease, transform .15s ease; } input:hover:not([type="submit"]):not([type="button"]), select:hover, textarea:hover { border-color: #FF00AA !important; box-shadow: 0 0 0 3px rgba(255,0,170,.18), 0 0 14px rgba(255,0,170,.35); transform: translateY(-1px); } input:focus:not([type="submit"]):not([type="button"]), select:focus, textarea:focus { outline: none; border-color: #FF00AA !important; box-shadow: 0 0 0 4px rgba(255,0,170,.28), 0 0 22px rgba(255,0,170,.6); } @keyframes f5e-fx-border-scan { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } } input.f5e-fx-active, select.f5e-fx-active, textarea.f5e-fx-active { background-image: linear-gradient(90deg, transparent 0%, rgba(255,0,170,.08) 50%, transparent 100%); background-size: 200% 100%; animation: f5e-fx-border-scan 1.6s linear infinite; } @media (hover: none) { input, select, textarea { transition: none; } }

/* 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; }
