/* =====================================================================
   tour de france — Custom theme (Fitness Bodybuilding palette)
   Parent : blocksy / Prefix : .fb7-* / Casing : lowercase (style C)
   Palette : charbon #0A0A0A + or #C8B560 (esprit maillot jaune)
   Fonts   : Bebas Neue (headings) + Oswald (body) — Google Fonts
   ===================================================================== */

/* ----------------------------- VARIABLES ----------------------------- */
:root {
  --fb7-primary:    #0A0A0A;
  --fb7-accent:     #C8B560;
  --fb7-accent-hi:  #e2cd75;
  --fb7-bg:         #1A1A1A;
  --fb7-surface:    #0F0F0F;
  --fb7-text:       #F5F5F5;
  --fb7-text-soft:  #999999;
  --fb7-line:       #3A3A3A;
  --fb7-radius:     4px;
  --fb7-radius-lg:  8px;
  --fb7-shadow:     0 14px 40px rgba(0,0,0,.55);
  --fb7-shadow-sm:  0 4px 16px rgba(0,0,0,.4);
  --fb7-font-head:  'Bebas Neue', Impact, sans-serif;
  --fb7-font-body:  'Oswald', 'Helvetica Neue', Arial, sans-serif;
  --fb7-container:  1240px;
  --fb7-gutter:     1.5rem;
  --fb7-header-h:   78px;
}

/* ----------------------------- RESET BASE ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.fb7-body {
  margin: 0;
  font-family: var(--fb7-font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  background: var(--fb7-bg);
  color: var(--fb7-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fb7-accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--fb7-accent-hi); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fb7-font-head);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 .8rem;
  color: var(--fb7-text);
  line-height: 1.1;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

/* Tous les H2 du site en blanc */
h2,
h2 a,
h2 em,
h2 strong,
h2 span,
h2 small {
  color: #fff !important;
}
h4 { font-size: 1.15rem; letter-spacing: .06em; }
p  { margin: 0 0 1.1rem; }

/* Layout helpers */
.fb7-container { max-width: var(--fb7-container); margin: 0 auto; padding: 0 var(--fb7-gutter); }
main.fb7-main { padding-top: 0 !important; margin-top: 0 !important; min-height: 60vh; }
section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.fb7-eyebrow {
  display: inline-block; padding: .3rem .8rem;
  background: var(--fb7-accent); color: var(--fb7-primary);
  font-family: var(--fb7-font-head); letter-spacing: .15em;
  font-size: .82rem; text-transform: uppercase;
  margin-bottom: 1rem;
}
.fb7-sep {
  width: 60px; height: 3px; background: var(--fb7-accent);
  margin: 0 0 1.5rem;
}

/* ----------------------------- HEADER --------------------------------- */
.fb7-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--fb7-primary);
  border-bottom: 1px solid var(--fb7-line);
  backdrop-filter: blur(12px);
}
.fb7-header-inner {
  max-width: var(--fb7-container);
  margin: 0 auto;
  padding: 0 var(--fb7-gutter);
  height: var(--fb7-header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.fb7-brand {
  display: inline-flex; align-items: center; gap: .65rem;
  flex-shrink: 0;
}
.fb7-brand-link {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--fb7-text);
}
.fb7-brand-logo { display: block; width: auto; max-width: 48px; }
.fb7-brand-name {
  font-family: var(--fb7-font-head);
  text-transform: lowercase;
  letter-spacing: 0;
  font-size: 1.7rem;
  color: var(--fb7-text);
  line-height: 1;
}
.fb7-brand-name strong { color: var(--fb7-accent); font-weight: 400; }

.fb7-nav-desktop { display: none; }
.fb7-nav-desktop-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 1.8rem; align-items: center;
}
.fb7-nav-desktop-list a {
  font-family: var(--fb7-font-head); letter-spacing: .07em;
  text-transform: uppercase; font-size: 1rem;
  color: var(--fb7-text); text-decoration: none;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.fb7-nav-desktop-list a:hover,
.fb7-nav-desktop-list .current-menu-item a,
.fb7-nav-desktop-list .current-cat a {
  color: var(--fb7-accent);
  border-bottom-color: var(--fb7-accent);
}

.fb7-header-spacer { flex: 1; }

.fb7-burger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  background: var(--fb7-primary) !important;
  border: 1.5px solid var(--fb7-accent) !important;
  border-radius: var(--fb7-radius) !important;
  color: var(--fb7-accent) !important;
  cursor: pointer !important;
  z-index: 10000 !important;
  flex-shrink: 0 !important;
  position: relative !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35) !important;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease, box-shadow .25s ease !important;
}
.fb7-burger:hover,
.fb7-burger:focus-visible {
  background: var(--fb7-accent) !important;
  color: var(--fb7-primary) !important;
  border-color: var(--fb7-accent) !important;
  box-shadow: 0 4px 14px rgba(200, 181, 96, .45) !important;
  outline: none !important;
}
.fb7-burger:active {
  transform: scale(.95) !important;
}
.fb7-burger[aria-expanded="true"] {
  background: var(--fb7-accent) !important;
  color: var(--fb7-primary) !important;
  border-color: var(--fb7-accent) !important;
}
.fb7-burger-bars,
.fb7-burger > span {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 24px !important;
  height: auto !important;
  margin: 0 auto !important;
}
.fb7-burger-bars i {
  display: block !important;
  width: 22px !important;
  height: 2.5px !important;
  background: currentColor !important;
  border-radius: 2px !important;
  transition: transform .25s ease, opacity .2s ease, background-color .25s ease !important;
}
.fb7-burger-label { display: none !important; }

/* DESKTOP : nav visible, burger cache */
@media (min-width: 1024px) {
  .fb7-nav-desktop { display: flex; flex: 1; justify-content: center; margin: 0 1.5rem; }
  .fb7-burger, .fb7-burger-wrap { display: none !important; }
  .fb7-header-spacer { display: none; }
}

/* CACHER LE CTA HEADER DESKTOP (header_cta_enabled=no, anti-empreinte) */
@media (max-width: 1023px) {
  .fb7-header-cta-desktop,
  .fb7-header [class*="btn--cta"]:not(.fb7-drawer-cta) {
    display: none !important;
  }
}

/* ----------------------------- DRAWER MOBILE -------------------------- */
.fb7-nav-mobile {
  display: none;
}
.fb7-nav-mobile.is-open {
  display: flex; flex-direction: column;
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 86%; max-width: 380px;
  background: #ffffff; color: #1a1a1a;
  padding: 4.5rem 1.5rem 2rem;
  z-index: 9999;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0,0,0,.4);
  animation: fb7-drawer-in .25s ease-out;
}
@keyframes fb7-drawer-in {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
.fb7-nav-mobile-list {
  list-style: none; margin: 0; padding: 0;
}
.fb7-nav-mobile-list li { border-bottom: 1px solid #e5e5e5; }
.fb7-nav-mobile-list a {
  display: block;
  padding: 1rem .25rem;
  font-family: var(--fb7-font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0a0a0a;
  text-decoration: none;
  font-size: 1.1rem;
}
.fb7-nav-mobile-list a:hover { color: var(--fb7-accent); }
.fb7-drawer-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: transparent; border: 0;
  font-size: 1.6rem; color: #0a0a0a;
  cursor: pointer;
}
.fb7-drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
}
.fb7-drawer-overlay.is-open { display: block; }

.fb7-drawer-cta {
  display: block !important;
  margin: 2rem 0 1rem !important;
  padding: 1rem 1.5rem !important;
  text-align: center !important;
  background: var(--fb7-accent) !important;
  color: var(--fb7-primary) !important;
  border-radius: 6px !important;
  font-family: var(--fb7-font-head);
  font-weight: 700 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none !important;
  font-size: 1.05rem !important;
}
@media (min-width: 1024px) {
  .fb7-drawer-cta { display: none !important; }
}

/* ----------------------------- BUTTONS ------------------------------- */
.fb7-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.7rem;
  font-family: var(--fb7-font-head);
  font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--fb7-accent);
  border-radius: var(--fb7-radius);
  background: transparent; color: var(--fb7-accent);
  transition: background .25s, color .25s, transform .25s;
}
.fb7-btn:hover { background: var(--fb7-accent); color: var(--fb7-primary); }
.fb7-btn--primary { background: var(--fb7-accent); color: var(--fb7-primary); }
.fb7-btn--primary:hover { background: var(--fb7-accent-hi); border-color: var(--fb7-accent-hi); }
.fb7-btn--ghost { border-color: var(--fb7-line); color: var(--fb7-text); }
.fb7-btn--ghost:hover { background: var(--fb7-line); color: var(--fb7-text); }

/* ----------------------------- HERO mosaic-categories ---------------- */
.fb7-hero {
  position: relative;
  background: var(--fb7-primary);
  overflow: hidden;
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}
.fb7-hero--mosaic-categories .fb7-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.fb7-hero-headline {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.fb7-hero-title {
  font-family: var(--fb7-font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: .95;
  letter-spacing: .03em;
  margin: 0 0 1rem;
  color: #fff !important;
}
.fb7-hero-title em,
.fb7-hero-title strong,
.fb7-hero-title span,
.fb7-hero-title a {
  font-style: normal;
  color: #fff !important;
}
.fb7-hero-subtitle {
  font-size: 1.15rem;
  color: var(--fb7-text-soft);
  margin: 0 auto 1.75rem;
  max-width: 640px;
  line-height: 1.6;
}
.fb7-hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}
.fb7-hero-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 2rem var(--fb7-gutter) 0;
  max-width: var(--fb7-container);
}
.fb7-hero-tile {
  position: relative; overflow: hidden;
  border-radius: var(--fb7-radius);
  aspect-ratio: 4 / 3;
  background: var(--fb7-surface);
}
.fb7-hero-tile a {
  display: block; height: 100%; text-decoration: none; color: inherit;
}
.fb7-hero-tile-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .4s ease;
  filter: brightness(.6) saturate(1.05);
}
.fb7-hero-tile:hover .fb7-hero-tile-img {
  transform: scale(1.06);
  filter: brightness(.75) saturate(1.1);
}
.fb7-hero-tile-label {
  position: absolute; inset: auto 0 0 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(10,10,10,.85));
  color: #fff;
  font-family: var(--fb7-font-head);
  letter-spacing: .08em;
  font-size: 1.05rem;
  text-transform: uppercase;
}
.fb7-hero-tile-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(200,181,96,.18), rgba(10,10,10,.95));
  color: var(--fb7-accent);
  font-family: var(--fb7-font-head);
  font-size: 1.6rem; letter-spacing: .12em;
}
@media (min-width: 720px) {
  .fb7-hero-mosaic { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .fb7-hero-mosaic { grid-template-columns: repeat(4, 1fr); }
  .fb7-hero-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .fb7-hero-tile:nth-child(1) .fb7-hero-tile-label { font-size: 1.4rem; padding: 1.5rem 1.8rem; }
}

/* ----------------------------- EDITORIAL BLOCK (HOME) ---------------- */
.fb7-editorial-intro {
  background: var(--fb7-bg);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  border-top: 1px solid var(--fb7-line);
  border-bottom: 1px solid var(--fb7-line);
}
.fb7-editorial-intro-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--fb7-gutter);
}
.fb7-editorial-intro h2 {
  color: #fff;
  text-align: left;
  margin-bottom: 1.5rem;
}
.fb7-editorial-intro h3 {
  color: var(--fb7-text);
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: .75rem;
}
.fb7-editorial-intro p {
  color: var(--fb7-text);
  font-size: 1.05rem;
  line-height: 1.8;
}
.fb7-editorial-intro .fb7-line-block {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--fb7-accent);
  background: var(--fb7-surface);
}
.fb7-editorial-intro .fb7-line-block h3 {
  margin-top: 0;
  color: var(--fb7-accent);
  font-size: 1.1rem;
  letter-spacing: .08em;
}

/* ----------------------------- CATEGORIES SECTION -------------------- */
.fb7-categories {
  background: var(--fb7-primary);
}
.fb7-categories-header {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 720px; margin-left: auto; margin-right: auto;
  padding: 0 var(--fb7-gutter);
}
.fb7-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--fb7-container);
  margin: 0 auto;
  padding: 0 var(--fb7-gutter);
}
@media (min-width: 640px) {
  .fb7-categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .fb7-categories-grid { grid-template-columns: repeat(3, 1fr); }
}
.fb7-cat-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--fb7-surface);
  border: 1px solid var(--fb7-line);
  border-radius: var(--fb7-radius-lg);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.fb7-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--fb7-accent);
}
.fb7-cat-card-link { color: inherit; text-decoration: none; display: contents; }
.fb7-cat-card-img {
  display: block;
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--fb7-primary);
}
.fb7-cat-card-fallback {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--fb7-primary), var(--fb7-bg));
  color: var(--fb7-accent);
  font-family: var(--fb7-font-head);
  font-size: 1.75rem;
  letter-spacing: .08em;
}
.fb7-cat-card-body { padding: 1.25rem 1.4rem 1.5rem; }
.fb7-cat-card-title {
  font-family: var(--fb7-font-head);
  font-size: 1.3rem;
  letter-spacing: .07em;
  color: var(--fb7-accent);
  margin: 0 0 .55rem;
}
.fb7-cat-card-excerpt {
  color: var(--fb7-text-soft);
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 .8rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fb7-cat-card-more {
  font-family: var(--fb7-font-head);
  font-size: .9rem;
  letter-spacing: .08em;
  color: var(--fb7-accent);
  text-transform: uppercase;
}

/* --------------------- ARTICLES BY-CATEGORY (HOME) ------------------- */
.fb7-cat-block {
  background: var(--fb7-bg);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--fb7-line);
}
.fb7-cat-block:nth-child(even) {
  background: var(--fb7-primary);
}
.fb7-cat-block-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  max-width: var(--fb7-container);
  margin: 0 auto 2rem;
  padding: 0 var(--fb7-gutter);
}
.fb7-cat-block-thumb-link {
  flex-shrink: 0;
  display: block;
  width: 96px;
  height: 96px;
  border-radius: var(--fb7-radius);
  overflow: hidden;
  border: 1.5px solid var(--fb7-accent);
}
.fb7-cat-block-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
  filter: brightness(.85) saturate(1.05);
}
.fb7-cat-block-thumb-link:hover .fb7-cat-block-thumb {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}
.fb7-cat-block-head .fb7-cat-block-title {
  flex: 1;
}
@media (min-width: 640px) {
  .fb7-cat-block-thumb-link { width: 120px; height: 120px; }
}
.fb7-cat-block-title {
  font-family: var(--fb7-font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: .08em;
  color: #fff;
  margin: 0;
}
.fb7-cat-block-title a { color: #fff; text-decoration: none; }
.fb7-cat-block-title a:hover { color: var(--fb7-accent); }
.fb7-cat-block-title small {
  display: block; font-family: var(--fb7-font-body);
  font-weight: 300; font-size: .85rem;
  letter-spacing: .04em; text-transform: none;
  color: var(--fb7-text-soft);
  margin-top: .25rem;
}
.fb7-cat-block-link {
  font-family: var(--fb7-font-head);
  font-size: .9rem; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fb7-accent);
  text-decoration: none;
  white-space: nowrap;
}
.fb7-cat-block-link:hover { color: var(--fb7-accent-hi); }

.fb7-articles-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: var(--fb7-container);
  margin: 0 auto;
  padding: 0 var(--fb7-gutter);
}
@media (min-width: 640px) {
  .fb7-articles-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .fb7-articles-list { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
}
.fb7-article-card {
  background: var(--fb7-surface);
  border: 1px solid var(--fb7-line);
  border-radius: var(--fb7-radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.fb7-article-card:hover {
  border-color: var(--fb7-accent);
  transform: translateY(-3px);
}
.fb7-article-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--fb7-primary);
  object-fit: cover;
}
.fb7-article-thumb-fallback {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--fb7-primary), var(--fb7-surface));
  color: var(--fb7-accent);
  font-family: var(--fb7-font-head);
  font-size: 1.2rem; letter-spacing: .12em;
}
.fb7-article-body { padding: .9rem 1rem 1.1rem; }
.fb7-article-date {
  font-size: .8rem; letter-spacing: .05em;
  color: var(--fb7-text-soft);
  text-transform: uppercase;
  margin: 0 0 .35rem;
}
.fb7-article-title {
  font-family: var(--fb7-font-head);
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0;
  letter-spacing: .04em;
}
.fb7-article-title a { color: var(--fb7-text); text-decoration: none; }
.fb7-article-title a:hover { color: var(--fb7-accent); }

.fb7-cat-empty {
  text-align: center; padding: 2rem 1rem;
  color: var(--fb7-text-soft); max-width: var(--fb7-container);
  margin: 0 auto; padding: 0 var(--fb7-gutter);
}

/* --------------------- TOOL EMBED ON HOME ---------------------------- */
.fb7-tool-block {
  background: var(--fb7-primary);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 3px solid var(--fb7-accent);
}
.fb7-tool-block-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--fb7-gutter);
}
.fb7-tool-block-head {
  text-align: center;
  margin-bottom: 2rem;
}
.fb7-tool-block-head h2,
.fb7-tool-block-head h2 a,
.fb7-tool-block-head h2 em,
.fb7-tool-block-head h2 strong,
.fb7-tool-block-head h2 span {
  color: #fff !important;
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.fb7-tool-block-head p {
  color: var(--fb7-text-soft);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --------------------- CATEGORY PAGE HERO ---------------------------- */
.fb7-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--fb7-primary);
}
.fb7-cat-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.fb7-cat-hero-inner {
  position: relative; z-index: 2;
  max-width: var(--fb7-container);
  margin: 0 auto;
  padding: 1rem var(--fb7-gutter);
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.78) 100%);
}
.fb7-cat-hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
  margin: 0;
}

/* --------------------- FOOTER ---------------------------------------- */
.fb7-footer {
  background: var(--fb7-primary);
  color: #fff;
  padding: 3.5rem 0 1.5rem;
  border-top: 3px solid var(--fb7-accent);
}
.fb7-footer,
.fb7-footer p,
.fb7-footer a,
.fb7-footer li,
.fb7-footer h2,
.fb7-footer h3,
.fb7-footer h4,
.fb7-footer span,
.fb7-footer strong,
.fb7-footer small {
  color: #fff !important;
  font-weight: 700 !important;
}
.fb7-footer-grid {
  max-width: var(--fb7-container);
  margin: 0 auto;
  padding: 0 var(--fb7-gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 720px)  { .fb7-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .fb7-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.fb7-footer-col h3.fb7-footer-title {
  font-family: var(--fb7-font-head);
  letter-spacing: .1em;
  color: var(--fb7-accent);
  font-size: 1.05rem;
  margin: 0 0 1.1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--fb7-line);
}
.fb7-footer-logo {
  display: block;
  height: auto;
  margin-bottom: 1rem;
  max-width: 120px;
}
.fb7-footer-brand-pitch {
  color: var(--fb7-text);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.fb7-footer-brand-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem;
  border: 1.5px solid var(--fb7-accent);
  color: var(--fb7-accent);
  font-family: var(--fb7-font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: .9rem;
  border-radius: var(--fb7-radius);
  transition: background .2s, color .2s;
}
.fb7-footer-brand-cta:hover { background: var(--fb7-accent); color: var(--fb7-primary); }

.fb7-footer-links { list-style: none; margin: 0; padding: 0; }
.fb7-footer-links li { margin: 0 0 .55rem; }
.fb7-footer-links a {
  color: var(--fb7-text);
  text-decoration: underline;
  text-decoration-color: rgba(200,181,96,.4);
  text-underline-offset: 3px;
  font-size: .95rem;
}
.fb7-footer-links a:hover { color: var(--fb7-accent); }

.fb7-footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.fb7-footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--fb7-surface); color: var(--fb7-text);
  border: 1px solid var(--fb7-line);
  text-decoration: none;
}
.fb7-footer-social a:hover { background: var(--fb7-accent); color: var(--fb7-primary); border-color: var(--fb7-accent); }

.fb7-footer-bottom {
  margin-top: 2.5rem;
  padding: 1.25rem var(--fb7-gutter) 0;
  max-width: var(--fb7-container);
  margin-left: auto; margin-right: auto;
  border-top: 1px solid var(--fb7-line);
  text-align: center;
  color: var(--fb7-text-soft);
  font-size: .85rem;
  letter-spacing: .05em;
}
.fb7-footer-bottom strong { color: var(--fb7-accent); }

/* --------------------- PERSONA & ARTICLE ----------------------------- */
.fb7-persona-photo {
  display: block;
  width: 220px; height: 220px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 0 1.5rem;
  border: 3px solid var(--fb7-accent);
}

/* --------------------- CONTACT FORM ---------------------------------- */
.fb7-contact-form {
  margin-top: 2rem;
  background: var(--fb7-surface);
  border: 1px solid var(--fb7-line);
  border-radius: var(--fb7-radius-lg);
  padding: 1.25rem;
}
.fb7-contact-form iframe {
  display: block;
  background: #fff;
  border-radius: var(--fb7-radius);
}

/* --------------------- ANIMATIONS (CTA/CTR/CTO) ---------------------- */
/* Text swap button — CTA principal */
.fb7-btn--cta {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.75rem;
  font-family: var(--fb7-font-head);
  font-weight: 400; letter-spacing: .08em; text-transform: uppercase;
  background: var(--fb7-accent); color: var(--fb7-primary);
  border: 0; border-radius: var(--fb7-radius);
  cursor: pointer; overflow: hidden;
  text-decoration: none;
  transition: background .25s ease;
}
.fb7-btn--cta::before,
.fb7-btn--cta::after {
  content: attr(data-label); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.fb7-btn--cta::after {
  transform: translateY(100%);
  color: var(--fb7-accent);
  background: var(--fb7-primary);
}
.fb7-btn--cta:hover::before { transform: translateY(-100%); }
.fb7-btn--cta:hover::after  { transform: translateY(0); }
.fb7-btn--cta > span { opacity: 0; }

/* Countdown bar (CTR) */
.fb7-ctr-bar {
  position: relative; width: 100%;
  padding: .55rem 1rem; text-align: center;
  background: var(--fb7-primary); color: var(--fb7-accent);
  font-family: var(--fb7-font-head);
  font-size: .9rem; letter-spacing: .08em;
  border-bottom: 1px solid var(--fb7-line);
  overflow: hidden;
}
.fb7-ctr-bar strong { color: #fff; font-variant-numeric: tabular-nums; }
.fb7-ctr-bar::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200,181,96,.18), transparent);
  animation: fb7-ctr-sweep 3.5s linear infinite;
  pointer-events: none;
}
@keyframes fb7-ctr-sweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Limited offer bar (CTO) */
.fb7-cto-bar {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 998;
  max-width: 320px; padding: 1rem 1.25rem;
  background: var(--fb7-surface); color: var(--fb7-text);
  border-left: 4px solid var(--fb7-accent);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  transform: translateY(140%); opacity: 0;
  animation: fb7-cto-in .55s ease-out .8s forwards;
}
.fb7-cto-bar a { color: var(--fb7-accent); text-decoration: underline; }
.fb7-cto-close {
  position: absolute; top: .25rem; right: .5rem;
  background: transparent; border: 0; color: inherit;
  cursor: pointer; font-size: 1.1rem;
}
@keyframes fb7-cto-in {
  0%   { transform: translateY(140%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@media (max-width: 640px) {
  .fb7-cto-bar { left: 1.25rem; right: 1.25rem; max-width: none; }
}

/* --------------------- MOUSE FX link_hover_underline ----------------- */
@media (hover: hover) {
  .fb7-body a:not(.fb7-btn):not(.fb7-btn--cta):not(.fb7-brand-link):not(.fb7-cat-card-link):not(.fb7-footer-social a):not(.fb7-nav-desktop-list a):not(.fb7-nav-mobile-list a) {
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 1.5px;
    transition: background-size .35s cubic-bezier(.22,.61,.36,1);
    padding-bottom: 1px;
  }
  .fb7-body a:not(.fb7-btn):not(.fb7-btn--cta):not(.fb7-brand-link):not(.fb7-cat-card-link):not(.fb7-footer-social a):not(.fb7-nav-desktop-list a):not(.fb7-nav-mobile-list a):hover {
    background-size: 100% 1.5px;
  }
}

/* --------------------- RESPONSIVE ------------------------------------ */
@media (max-width: 720px) {
  :root { --fb7-header-h: 64px; }
  .fb7-brand-name { font-size: 1.35rem; }
  .fb7-brand-logo { max-width: 38px; }
  .fb7-hero-title { font-size: 2.5rem; }
  section { padding: 2.5rem 0; }
  .fb7-footer-grid { gap: 2rem; }
}


/* === RP AGNOSTIC ANTI-FOOTPRINT FIXES === */
/* Auto-append par child_theme_builder pour garantir les regles anti-empreinte (cat-hero, burger, footer, etc.) meme quand Claude override le style.css custom. */
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 [class*="lda-main"], body [class*="bdf-main"], body [class*="fb7-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 (fix 2026-06-17) */
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;
}


/* [2026-06-17] PERSONA PHOTO — Force taille raisonnable.
   Sans contrainte, l'image 1024x1024 (Codex output) s'affiche en grand
   sur la page "À propos". On force max 280px avec auto height.
*/
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;
  }
}

/* [2026-06-17] BURGER MOBILE — Garantit l'affichage en mobile.
   Le CSS Claude met souvent display:none par defaut + media query qui
   n'est pas garantie. Force agnostique : tout selecteur contenant "burger"
   visible en mobile, invisible en desktop. Couvre tous prefixes
   (.fb7-, .bdf-, .lda-, etc.) via [class*="burger"].
*/
@media (max-width: 1023px) {
  body [class*="burger"], body button[class*="burger"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 42px !important;
    min-height: 42px !important;
    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;
  }
}

/* [2026-06-17] BURGER PARENT FIX : si un wrapper du header contient un
   burger, force-le visible en mobile. Claude met parfois le burger DANS un
   wrapper "cta-wrap" qui est display:none en mobile -> burger invisible.
*/
/* [2026-06-17] FOOTER COLOR HERITAGE — Force le footer ENTIER à hériter
   de la couleur du body. Claude définit parfois color:var(--bg) sur le footer
   (utile si bg sombre, illisible si bg clair). On force color:inherit → texte
   reste lisible peu importe le bg footer.
*/
body footer, body [class*="footer"]:not([class*="logo"]):not([class*="brand-logo"]) {
  color: inherit !important;
}

/* [2026-06-17] FOOTER LINKS HERITAGE — Force les liens à hériter du texte.
   Claude définit parfois color: var(--bg) sur les liens footer (utile si bg
   sombre, mais illisible si bg clair). On force color:inherit qui suit le
   texte parent → toujours lisible. underline pour distinguer du texte normal.
*/
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;
}

/* [2026-06-17] BURGER STYLE — 3 barres visibles + hover/animation.
   Le bouton burger Claude est souvent un <button> avec 3 <span> dedans qui
   représentent les barres, mais sans CSS la cible est un carré vide.
   Force ici un style propre, agnostique au prefixe.
*/
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(--fb7-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;
  }
}

/* [2026-06-19] FIX contraste boutons (anti bouton invisible) */
html body a[class*="btn--primary"], html body button[class*="btn--primary"],
html body a[class*="btn-primary"], html body button[class*="btn-primary"],
html body a[class*="-cta"]:not([class*="ghost"]):not([class*="link"]),
html body button[class*="-cta"]:not([class*="ghost"]):not([class*="link"]) {
  color: #ffffff !important;
}
html body a[class*="btn--ghost"], html body button[class*="btn--ghost"],
html body a[class*="btn--secondary"], html body button[class*="btn--secondary"],
html body a[class*="btn-secondary"], html body button[class*="btn-secondary"] {
  color: var(--fb7-text, #1a1a1a) !important;
}

/* [2026-06-19] PERSONA shape variation seedee : hexagon-soft (12px) */
html body img[class*="persona"],
html body img[class*="author"],
html body img[class*="author-photo"],
html body img[class*="persona-photo"],
html body img[class*="redaction"],
html body img[class*="about-photo"],
html body img[class*="team-photo"],
html body img[class*="profile"],
html body [class*="persona"] > img,
html body [class*="author"] > img:not([class*="logo"]),
html body [class*="about"] img:not([class*="logo"]):not([class*="brand"]) {
  border-radius: 12px !important;
}


/* Mouse effect : link_hover_underline */
/* Mouse effect : link_hover_underline */
@media (hover: hover) {
  .fb7-body a:not(.fb7-btn):not(.fb7-brand-link):not(.fb7-card a) {
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 1.5px;
    transition: background-size .35s cubic-bezier(.22,.61,.36,1);
    padding-bottom: 1px;
  }
  .fb7-body a:not(.fb7-btn):not(.fb7-brand-link):not(.fb7-card a):hover {
    background-size: 100% 1.5px;
  }
  .fb7-card-title a:hover {
    color: var(--fb7-accent, #C8B560);
  }
}


/* [2026-06-22] FORCE DISPLAY drawer mobile content (catégories + CTA visibles) */
@media (max-width: 1023px) {
  html body nav.fb7-nav-mobile.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: #ffffff !important;
    padding: 4.5rem 1.5rem 2rem !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
  }
  html body .fb7-nav-mobile.is-open .fb7-nav-mobile-list,
  html body .fb7-nav-mobile.is-open .fb7-nav-mobile-list li,
  html body .fb7-nav-mobile.is-open .fb7-drawer-cta {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  html body .fb7-nav-mobile.is-open .fb7-nav-mobile-list a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--fb7-text, #1a1a1a) !important;
    font-size: 1.05rem !important;
    padding: 1rem 0.25rem !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  }
  html body .fb7-nav-mobile.is-open .fb7-drawer-cta {
    background: var(--fb7-primary, #0066cc) !important;
    color: #fff !important;
    padding: 1rem 1.5rem !important;
    border-radius: 10px !important;
    text-align: center !important;
    margin: 2rem 0 1rem !important;
    text-decoration: none !important;
  }
}


/* [2026-06-22] DRAWER : texte categories en NOIR + bonne lisibilité */
@media (max-width: 1023px) {
  html body .fb7-nav-mobile.is-open .fb7-nav-mobile-list a {
    color: #000000 !important;
    font-weight: 700 !important;
  }
  html body .fb7-nav-mobile.is-open .fb7-nav-mobile-list a:hover,
  html body .fb7-nav-mobile.is-open .fb7-nav-mobile-list a:active {
    color: var(--fb7-primary, #0066cc) !important;
  }
}
/* RANKO TDF-CUSTOM 2026-07-10 */
.fb7-editorial-intro h2 { color: #ffffff !important; }

