/* =========================================================
   ÉCOTOURISME PACA — custom style.css
   Design System  : Art Déco Luxe (DB pick) + palette concurrent (ecobnb.fr)
   Hero style     : parallax-scroll
   Header layout  : sticky-minimal
   Category layout: sandwich
   ========================================================= */

/* ---------- 0. Design tokens ---------- */
:root {
  /* Couleurs — palette concurrent (vert nature + terracotta) + or DB */
  --b3f-primary:    #85b15e;         /* vert pin/olivier */
  --b3f-primary-dk: #5a7d3d;
  --b3f-accent:     #dd4b38;         /* terracotta méditerranée */
  --b3f-accent-dk:  #b03928;
  --b3f-gold:       #BFA169;         /* accent or Art Déco */
  --b3f-text:       #1a1a1a;
  --b3f-text-soft:  #5a5040;
  --b3f-bg:         #f9f7f2;         /* crème ivoire clair */
  --b3f-bg-soft:    #f5f0e8;
  --b3f-surface:    #ffffff;
  --b3f-line:       #e3dccb;
  --b3f-dark:       #0A0A0A;

  /* Typographie — DB Art Déco Luxe */
  --b3f-font-h: 'Cinzel', Georgia, serif;
  --b3f-font-b: 'Cormorant Garamond', 'Cormorant', Georgia, serif;

  /* Espacements */
  --b3f-container: 1200px;
  --b3f-radius: 4px;
  --b3f-radius-lg: 8px;

  /* Ombres élégantes */
  --b3f-shadow-sm: 0 2px 8px rgba(20, 18, 12, 0.06);
  --b3f-shadow-md: 0 6px 24px rgba(20, 18, 12, 0.10);
  --b3f-shadow-lg: 0 18px 50px rgba(20, 18, 12, 0.16);
}

/* ---------- 1. Reset léger + body ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.b3f-body {
  margin: 0;
  font-family: var(--b3f-font-b);
  font-size: 18px;
  line-height: 1.65;
  color: var(--b3f-text);
  background: var(--b3f-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--b3f-text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--b3f-accent); }

/* Typographie titres */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--b3f-font-h);
  color: var(--b3f-text);
  letter-spacing: .02em;
  font-weight: 600;
  margin: 0 0 .8em;
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { margin: 0 0 1.1em; }

.eea-container { max-width: var(--b3f-container); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- 2. Boutons / CTA ---------- */
.b3f-btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  font-family: var(--b3f-font-h);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1.5px solid var(--b3f-gold);
  background: transparent;
  color: var(--b3f-text);
  border-radius: 0;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
}
.b3f-btn:hover {
  background: var(--b3f-gold);
  color: var(--b3f-surface);
  transform: translateY(-1px);
  box-shadow: var(--b3f-shadow-md);
}
.b3f-btn--cta {
  background: var(--b3f-gold);
  color: var(--b3f-surface);
  border-color: var(--b3f-gold);
  animation: rpCtaTimerReveal 4.5s ease-in-out infinite;
}
.b3f-btn--cta:hover {
  background: var(--b3f-accent);
  border-color: var(--b3f-accent);
  color: #fff;
}
.b3f-btn--accent {
  background: var(--b3f-accent);
  border-color: var(--b3f-accent);
  color: #fff;
}
.b3f-btn--accent:hover {
  background: var(--b3f-accent-dk);
  border-color: var(--b3f-accent-dk);
}

/* ---------- 3. HEADER — sticky-minimal ---------- */
.b3f-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 247, 242, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--b3f-line);
  transition: background .3s, box-shadow .3s;
}
.b3f-header.is-scrolled { background: rgba(249, 247, 242, 0.98); box-shadow: var(--b3f-shadow-sm); }

.b3f-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  max-width: var(--b3f-container);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.b3f-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--b3f-text);
}
.b3f-brand-logo {
  height: 44px;
  width: auto;
}
.b3f-brand-name {
  font-family: var(--b3f-font-h);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--b3f-text);
  white-space: nowrap;
}
@media (max-width: 720px) { .b3f-brand-name { font-size: 1rem; letter-spacing: .12em; } .b3f-brand-logo { height: 38px; } }

/* Nav desktop horizontale visible */
.b3f-nav-desktop { display: none; }
.b3f-nav-desktop-list {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.b3f-nav-desktop-list a {
  font-family: var(--b3f-font-h);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--b3f-text);
  padding: .4rem .15rem;
  border-bottom: 2px solid transparent;
  transition: border-color .25s, color .25s;
}
.b3f-nav-desktop-list a:hover { border-bottom-color: var(--b3f-gold); color: var(--b3f-accent); }
.b3f-nav-desktop-list .current-menu-item > a { border-bottom-color: var(--b3f-gold); }

/* CTA header (yes) */
.b3f-header-cta { margin-left: auto; }
.b3f-header-cta .b3f-btn { padding: .55rem 1.1rem; font-size: .78rem; }

/* Burger mobile */
.b3f-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--b3f-line);
  border-radius: var(--b3f-radius);
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  color: var(--b3f-text);
}
.b3f-burger svg { width: 22px; height: 22px; }

/* Drawer mobile — caché par défaut */
.b3f-nav-mobile { display: none; }
.b3f-nav-overlay { display: none; }

@media (max-width: 1023px) {
  .b3f-header-inner { justify-content: space-between; gap: 1rem; }
  .b3f-header-cta { display: none; }
}

@media (min-width: 1024px) {
  .b3f-nav-desktop { display: flex; flex: 0 1 auto; justify-content: center; }
  .b3f-burger { display: none !important; }
}

/* Drawer mobile visible quand is-open */
@media (max-width: 1023px) {
  .b3f-nav-mobile.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 86%;
    max-width: 380px;
    background: #ffffff;
    padding: 4.5rem 1.5rem 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }
  .b3f-nav-mobile.is-open .b3f-nav-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .b3f-nav-mobile.is-open .b3f-nav-mobile-list li {
    border-bottom: 1px solid #e5e5e5;
  }
  .b3f-nav-mobile.is-open .b3f-nav-mobile-list a {
    display: block;
    padding: 1rem .5rem;
    font-family: var(--b3f-font-h);
    font-size: 1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0a0a0a;
  }
  .b3f-nav-mobile.is-open .b3f-nav-mobile-list a:hover { color: var(--b3f-accent); }
  .b3f-nav-mobile .b3f-nav-mobile-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 1px solid #ddd;
    width: 36px;
    height: 36px;
    border-radius: var(--b3f-radius);
    cursor: pointer;
    color: #0a0a0a;
  }
  .b3f-nav-overlay.is-open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9990;
  }
}

/* ---------- 4. MAIN — pas de gap ---------- */
main, .b3f-main { padding-top: 0 !important; margin-top: 0 !important; }

/* ---------- 5. HERO — parallax-scroll ---------- */
.b3f-hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: var(--b3f-bg-soft);
}
.b3f-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  z-index: 1;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.b3f-hero-deco {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.45) 0%, transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.10) 50%, rgba(0,0,0,0.50) 100%);
}
.b3f-hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--b3f-container);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  width: 100%;
  text-align: center;
  color: #fff;
}
.b3f-hero-eyebrow {
  display: inline-block;
  font-family: var(--b3f-font-h);
  font-size: .82rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--b3f-gold);
  margin-bottom: 1.2rem;
  padding: .5rem 1.5rem;
  border-top: 1px solid var(--b3f-gold);
  border-bottom: 1px solid var(--b3f-gold);
}
.b3f-hero-title {
  font-family: var(--b3f-font-h);
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.b3f-hero-subtitle {
  font-family: var(--b3f-font-b);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 400;
  color: #f5f0e8;
  max-width: 720px;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.b3f-hero-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.b3f-hero .b3f-btn {
  border-color: var(--b3f-gold);
  color: #fff;
}
.b3f-hero .b3f-btn:hover { background: var(--b3f-gold); color: #0a0a0a; }
.b3f-hero .b3f-btn--cta { background: var(--b3f-gold); color: #0a0a0a; }
.b3f-hero .b3f-btn--cta:hover { background: var(--b3f-accent); border-color: var(--b3f-accent); color: #fff; }

/* ---------- 6. Bloc éditorial home (after-hero) ---------- */
.b3f-editorial {
  padding: 5rem 0 4rem;
  background: var(--b3f-bg);
}
.b3f-editorial-intro {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}
.b3f-editorial-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--b3f-text);
  margin-bottom: 1.5rem;
}
.b3f-editorial-intro h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--b3f-gold);
  margin: 1.2rem auto 0;
}
.b3f-editorial-intro p {
  font-size: 1.1rem;
  color: var(--b3f-text-soft);
  line-height: 1.85;
}
.b3f-editorial-grid {
  max-width: var(--b3f-container);
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}
.b3f-editorial-block h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--b3f-primary-dk);
  border-bottom: 1px solid var(--b3f-gold);
  padding-bottom: .6rem;
  margin-bottom: 1rem;
}
.b3f-editorial-block p { color: var(--b3f-text); font-size: 1rem; }
.b3f-editorial-block a {
  display: inline-block;
  margin-top: .5rem;
  color: var(--b3f-accent);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.b3f-editorial-line {
  max-width: 880px;
  margin: 3rem auto 0;
  padding: 2rem 2.5rem;
  background: var(--b3f-surface);
  border: 1px solid var(--b3f-line);
  border-left: 4px solid var(--b3f-gold);
}
.b3f-editorial-line h3 {
  font-size: 1rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--b3f-text);
  margin-bottom: .8rem;
}
.b3f-editorial-line p { margin: 0; color: var(--b3f-text-soft); font-style: italic; }

/* ---------- 7. CATÉGORIES (home) ---------- */
.b3f-categories {
  padding: 5rem 0;
  background: var(--b3f-bg-soft);
}
.b3f-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.b3f-section-eyebrow {
  font-family: var(--b3f-font-h);
  font-size: .8rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--b3f-gold);
  margin-bottom: .6rem;
}
.b3f-section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 .8rem; }
.b3f-section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  background: var(--b3f-gold);
  margin: 1rem auto 0;
}
.b3f-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.b3f-cat-card {
  position: relative;
  display: block;
  background: var(--b3f-surface);
  border: 1px solid var(--b3f-line);
  overflow: hidden;
  height: 320px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.b3f-cat-card:hover { transform: translateY(-4px); box-shadow: var(--b3f-shadow-lg); }
.b3f-cat-card-img {
  display: block;
  width: 100%;
  height: 70%;
  background-size: cover;
  background-position: center;
  background-color: var(--b3f-primary);
  transition: transform .6s ease;
}
.b3f-cat-card:hover .b3f-cat-card-img { transform: scale(1.06); }
.b3f-cat-card-body {
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30%;
}
.b3f-cat-card-title {
  font-family: var(--b3f-font-h);
  font-size: 1.05rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--b3f-text);
  margin: 0;
  font-weight: 600;
}
.b3f-cat-card-arrow {
  color: var(--b3f-gold);
  font-size: 1.4rem;
  line-height: 1;
}

/* ---------- 8. ARTICLES (home grille) ---------- */
.b3f-latest {
  padding: 5rem 0;
  background: var(--b3f-bg);
}
.b3f-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}
.b3f-card {
  background: var(--b3f-surface);
  border: 1px solid var(--b3f-line);
  transition: transform .3s, box-shadow .3s;
}
.b3f-card:hover { transform: translateY(-4px); box-shadow: var(--b3f-shadow-md); }
.b3f-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: var(--b3f-bg-soft);
}
.b3f-card-body { padding: 1.4rem 1.4rem 1.6rem; }
.b3f-card-cat {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--b3f-gold);
  margin-bottom: .6rem;
}
.b3f-card-title {
  font-family: var(--b3f-font-h);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 .8rem;
}
.b3f-card-title a { color: var(--b3f-text); }
.b3f-card-title a:hover { color: var(--b3f-accent); }
.b3f-card-excerpt { font-size: .98rem; color: var(--b3f-text-soft); margin: 0 0 1rem; }
.b3f-card-meta { font-size: .78rem; color: var(--b3f-text-soft); letter-spacing: .08em; }

/* ---------- 9. Outil home (yes) ---------- */
.b3f-home-tool {
  padding: 5rem 0;
  background: var(--b3f-bg-soft);
  border-top: 1px solid var(--b3f-line);
}
.b3f-home-tool-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.b3f-home-tool-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: var(--b3f-surface);
  padding: 2.5rem;
  border: 1px solid var(--b3f-line);
  box-shadow: var(--b3f-shadow-md);
}

/* ---------- 10. À propos teaser ---------- */
.b3f-about-teaser {
  padding: 5rem 0;
  background: var(--b3f-dark);
  color: #f5f0e8;
}
.b3f-about-teaser h2 { color: #fff; }
.b3f-about-teaser h2::after { content: ""; display:block; width:60px; height:1px; background:var(--b3f-gold); margin:1rem auto 0; }
.b3f-about-teaser .b3f-section-header { text-align: center; }
.b3f-about-teaser p { color: #d6cfc0; max-width: 720px; margin: 0 auto 1.5rem; text-align: center; font-size: 1.1rem; }
.b3f-about-teaser .b3f-btn { color: #fff; border-color: var(--b3f-gold); }
.b3f-about-teaser .b3f-btn:hover { background: var(--b3f-gold); color: var(--b3f-dark); }

/* ---------- 11. Metrics block ---------- */
.b3f-metrics {
  padding: 4rem 0;
  background: var(--b3f-bg);
  border-top: 1px solid var(--b3f-line);
  border-bottom: 1px solid var(--b3f-line);
}
.b3f-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}
.b3f-metric-item h3 { font-size: 2.4rem; color: var(--b3f-accent); margin: 0; font-family: var(--b3f-font-h); }
.b3f-metric-item p { letter-spacing: .15em; text-transform: uppercase; font-size: .8rem; color: var(--b3f-text-soft); }

/* ---------- 12. CATEGORY PAGE — sandwich ---------- */
.b3f-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--b3f-primary);
}
.b3f-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.b3f-cat-hero .eea-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 1.5rem;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
}
.b3f-cat-hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  margin: 0;
}
.b3f-cat-intro {
  padding: 3.5rem 0 2rem;
  background: var(--b3f-bg);
}
.b3f-cat-intro-text {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--b3f-text-soft);
  line-height: 1.85;
}
.b3f-cat-articles { padding: 2rem 0 4rem; }
.b3f-cat-outro {
  padding: 3rem 0 4rem;
  background: var(--b3f-bg-soft);
  border-top: 1px solid var(--b3f-line);
}
.b3f-cat-outro-inner { max-width: 820px; margin: 0 auto; }

/* ---------- 13. PAGE générique (about, contact, tools) ---------- */
.b3f-page {
  padding: 4rem 0;
  background: var(--b3f-bg);
}
.b3f-page-inner {
  max-width: 820px;
  margin: 0 auto;
}
.b3f-page h1 {
  text-align: center;
  margin-bottom: .5rem;
}
.b3f-page h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--b3f-gold);
  margin: 1.2rem auto 2rem;
}
.b3f-persona-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: block;
  box-shadow: var(--b3f-shadow-md);
  border: 4px solid var(--b3f-gold);
}

/* JotForm wrapper */
.b3f-contact-form {
  margin: 2.5rem 0;
}
.b3f-contact-form iframe {
  width: 100%;
  border: none;
}

/* ---------- 14. FOOTER — gilded columns ---------- */
.b3f-footer {
  background: var(--b3f-dark);
  color: #f5f0e8;
  padding: 4.5rem 0 1.5rem;
  border-top: 4px solid var(--b3f-gold);
}
.b3f-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 880px) { .b3f-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .b3f-footer-grid { grid-template-columns: 1fr; } }

.b3f-footer-col h3.b3f-footer-title {
  font-family: var(--b3f-font-h);
  font-size: .82rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--b3f-gold);
  margin: 0 0 1.2rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(191, 161, 105, 0.3);
}
.b3f-footer-logo { margin-bottom: 1rem; height: auto; max-width: 160px; filter: brightness(1.05); }
.b3f-footer-brand-pitch { color: #d6cfc0; font-size: .96rem; line-height: 1.7; margin: 0 0 1.2rem; }
.b3f-footer-brand-cta {
  display: inline-block;
  color: var(--b3f-gold);
  font-family: var(--b3f-font-h);
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--b3f-gold);
  padding-bottom: .25rem;
}
.b3f-footer-brand-cta:hover { color: #fff; border-bottom-color: #fff; }
.b3f-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.b3f-footer-links li { margin-bottom: .55rem; }
.b3f-footer-links a {
  color: #d6cfc0;
  font-size: .94rem;
  text-decoration: underline;
  text-decoration-color: rgba(191, 161, 105, 0.4);
  text-underline-offset: 3px;
}
.b3f-footer-links a:hover { color: var(--b3f-gold); text-decoration-color: var(--b3f-gold); }

.b3f-social-row {
  display: flex;
  gap: .8rem;
  margin-top: 1rem;
}
.b3f-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(191, 161, 105, 0.4);
  border-radius: 50%;
  color: #d6cfc0;
}
.b3f-social-row a:hover { color: var(--b3f-gold); border-color: var(--b3f-gold); }
.b3f-social-row svg { width: 16px; height: 16px; }

.b3f-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(191, 161, 105, 0.2);
  text-align: center;
  font-size: .82rem;
  color: #a6a094;
  letter-spacing: .08em;
}
.b3f-footer-bottom .b3f-brand-mention {
  color: var(--b3f-gold);
  font-family: var(--b3f-font-h);
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* ---------- 15. Animations CTA / CTR / CTO ---------- */
@keyframes rpCtaTimerReveal {
  0%, 70%   { box-shadow: 0 0 0 0 rgba(191, 161, 105, 0.45); }
  85%       { box-shadow: 0 0 0 8px rgba(191, 161, 105, 0); }
  100%      { box-shadow: 0 0 0 0 rgba(191, 161, 105, 0); }
}
@keyframes rpCtrTestimonialFade {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.b3f-testimonial-active { animation: rpCtrTestimonialFade .6s ease both; }
@keyframes rpCtoLimitedOffer {
  0%   { background-position: -150% 0; }
  100% { background-position: 150% 0; }
}
.b3f-cto-bar {
  background: linear-gradient(90deg, var(--b3f-accent), var(--b3f-gold), var(--b3f-accent));
  background-size: 250% 100%;
  animation: rpCtoLimitedOffer 6s linear infinite;
  color: #fff;
  text-align: center;
  padding: .65rem 1rem;
  font-family: var(--b3f-font-h);
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ---------- 16. Outils — wrapper générique ---------- */
.b3f-tool {
  background: var(--b3f-surface);
  border: 1px solid var(--b3f-line);
  padding: 2rem;
  margin: 2.5rem 0;
}
.b3f-tool h2 { color: var(--b3f-text); font-size: 1.6rem; margin-bottom: 1.2rem; }
.b3f-tool button {
  background: var(--b3f-primary);
  color: #fff;
  border: none;
  padding: .8rem 1.4rem;
  font-family: var(--b3f-font-h);
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s;
  margin: .35rem .25rem .35rem 0;
}
.b3f-tool button:hover { background: var(--b3f-primary-dk); }
.b3f-tool input[type="number"],
.b3f-tool input[type="text"],
.b3f-tool select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--b3f-line);
  background: #fff;
  font-family: var(--b3f-font-b);
  font-size: 1rem;
  color: var(--b3f-text);
  margin-bottom: 1rem;
}

/* ---------- 17. Responsive divers ---------- */
@media (max-width: 720px) {
  .b3f-hero { min-height: 65vh; }
  .b3f-hero-inner { padding: 3.5rem 1.5rem; }
  .b3f-editorial { padding: 3rem 0; }
  .b3f-categories, .b3f-latest, .b3f-about-teaser, .b3f-home-tool { padding: 3rem 0; }
  .b3f-cat-card { height: 280px; }
  .b3f-editorial-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- 18. Article single & content WYSIWYG ---------- */
.b3f-article-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.85;
}
.b3f-article-content h2 { margin: 2.5rem 0 1rem; }
.b3f-article-content h3 { margin: 2rem 0 .8rem; }
.b3f-article-content p { color: var(--b3f-text); }
.b3f-article-content a { color: var(--b3f-accent); border-bottom: 1px solid currentColor; }
.b3f-article-content blockquote {
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--b3f-gold);
  font-style: italic;
  color: var(--b3f-text-soft);
  background: var(--b3f-bg-soft);
}
.b3f-article-content img { margin: 1.8rem auto; box-shadow: var(--b3f-shadow-sm); }

/* 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. */
@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 { 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; }
