/* =====================================================
   Vegan in Nantes — Style.css
   Design System: Organique Miel Ambré
   Honey amber palette, Petrona + Mulish
   ===================================================== */

:root {
  --b7f-primary:    #8C5A1A;
  --b7f-accent:     #D89030;
  --b7f-bg:         #FBEED1;
  --b7f-surface:    #FFF7E0;
  --b7f-text:       #3A2410;
  --b7f-text-soft:  #7A5A30;
  --b7f-line:       #EBD095;
  --b7f-white:      #FFFDF7;
  --b7f-shadow:     0 6px 24px rgba(58, 36, 16, 0.10);
  --b7f-shadow-lg:  0 14px 50px rgba(58, 36, 16, 0.18);
  --b7f-radius:     14px;
  --b7f-radius-lg:  22px;
  --b7f-font-h:     'Petrona', 'Cormorant Garamond', Georgia, serif;
  --b7f-font-b:     'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --b7f-max:        1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.b7f-body {
  margin: 0;
  font-family: var(--b7f-font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--b7f-text);
  background: var(--b7f-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--b7f-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--b7f-accent); }

h1, h2, h3, h4 { font-family: var(--b7f-font-h); color: var(--b7f-text); font-weight: 700; line-height: 1.2; margin: 0 0 .8em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
p  { margin: 0 0 1em; }

.b7f-container { max-width: var(--b7f-max); margin: 0 auto; padding: 0 1.5rem; }

/* Buttons */
.b7f-btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--b7f-font-b);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  letter-spacing: .02em;
}
.b7f-btn--primary { background: var(--b7f-primary); color: var(--b7f-white); }
.b7f-btn--primary:hover { background: var(--b7f-accent); color: var(--b7f-white); transform: translateY(-2px); box-shadow: var(--b7f-shadow); }
.b7f-btn--outline { background: transparent; color: var(--b7f-primary); border-color: var(--b7f-primary); }
.b7f-btn--outline:hover { background: var(--b7f-primary); color: var(--b7f-white); }
.b7f-btn--cta { background: var(--b7f-accent); color: var(--b7f-white); }
.b7f-btn--cta:hover { background: var(--b7f-primary); color: var(--b7f-white); transform: translateY(-2px); }

/* =================== HEADER (sticky-minimal) =================== */
.b7f-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 247, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--b7f-line);
  transition: box-shadow .25s, background .25s;
}
.b7f-header.is-scrolled { box-shadow: 0 2px 18px rgba(58, 36, 16, 0.08); }

.b7f-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  height: 68px;
  max-width: var(--b7f-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.b7f-brand-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.b7f-brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.b7f-brand-name {
  font-family: var(--b7f-font-h);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--b7f-text);
  letter-spacing: -.005em;
  /* Title Case styling for "Vegan in Nantes" */
  text-transform: none;
}

/* Desktop nav */
.b7f-nav-desktop { display: none; }
.b7f-nav-desktop-list {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.b7f-nav-desktop-list a {
  color: var(--b7f-text);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  padding: .4rem .2rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
  letter-spacing: .01em;
}
.b7f-nav-desktop-list a:hover {
  border-bottom-color: var(--b7f-accent);
  color: var(--b7f-primary);
}

/* Burger */
.b7f-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.b7f-burger span {
  display: block;
  height: 2px;
  background: var(--b7f-text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.b7f-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.b7f-burger.is-open span:nth-child(2) { opacity: 0; }
.b7f-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer - hidden by default */
.b7f-nav { display: none; }
.b7f-nav-mobile { display: none; }

@media (max-width: 1023px) {
  .b7f-nav.is-open,
  .b7f-nav-mobile.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 360px;
    background: var(--b7f-white);
    padding: 5rem 1.5rem 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(58, 36, 16, 0.25);
  }
  .b7f-nav-mobile-list,
  .b7f-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .b7f-nav-mobile-list li,
  .b7f-nav-list li {
    border-bottom: 1px solid var(--b7f-line);
  }
  .b7f-nav-mobile-list a,
  .b7f-nav-list a {
    display: block;
    padding: 1rem .2rem;
    color: var(--b7f-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
  }
  .b7f-nav-mobile-list a:hover,
  .b7f-nav-list a:hover {
    color: var(--b7f-primary);
  }
  .b7f-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(58, 36, 16, 0.55);
    z-index: 9998;
  }
  .b7f-nav-overlay.is-open { display: block; }
  .b7f-nav-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--b7f-text);
  }
}

@media (min-width: 1024px) {
  .b7f-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1rem;
  }
  .b7f-burger { display: none !important; }
}

/* =================== MAIN (no top gap) =================== */
main, .b7f-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* =================== HERO (quote-hero) =================== */
.b7f-hero {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 1.5rem;
  background:
    radial-gradient(ellipse at top right, rgba(216,144,48,0.10), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(140,90,26,0.08), transparent 50%),
    var(--b7f-bg);
  overflow: hidden;
}
.b7f-hero::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 6%;
  font-family: var(--b7f-font-h);
  font-size: clamp(8rem, 22vw, 18rem);
  line-height: 1;
  color: var(--b7f-accent);
  opacity: .14;
  font-weight: 700;
  pointer-events: none;
  content: "«";
}
.b7f-hero::after {
  content: "»";
  position: absolute;
  bottom: 8%;
  right: 6%;
  font-family: var(--b7f-font-h);
  font-size: clamp(8rem, 22vw, 18rem);
  line-height: 1;
  color: var(--b7f-accent);
  opacity: .14;
  font-weight: 700;
  pointer-events: none;
}
.b7f-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.b7f-hero-eyebrow {
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 999px;
  background: var(--b7f-surface);
  color: var(--b7f-primary);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  border: 1px solid var(--b7f-line);
}
.b7f-hero-quote {
  font-family: var(--b7f-font-h);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: 1.25;
  font-weight: 600;
  color: var(--b7f-text);
  margin: 0 0 1.5rem;
  font-style: italic;
  letter-spacing: -.01em;
}
.b7f-hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--b7f-text-soft);
  max-width: 640px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}
.b7f-hero-signature {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 2rem;
}
.b7f-hero-signature::before,
.b7f-hero-signature::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--b7f-accent);
}
.b7f-hero-signature span {
  font-family: var(--b7f-font-h);
  font-style: italic;
  color: var(--b7f-primary);
  font-size: 1.05rem;
}
.b7f-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =================== EDITORIAL BLOCK (400-700 words) =================== */
.b7f-editorial {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: var(--b7f-surface);
}
.b7f-editorial-inner {
  max-width: 980px;
  margin: 0 auto;
}
.b7f-editorial h2 {
  text-align: center;
  margin-bottom: .5em;
  color: var(--b7f-primary);
}
.b7f-editorial-lead {
  text-align: center;
  font-size: 1.15rem;
  color: var(--b7f-text-soft);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-style: italic;
}
.b7f-editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.b7f-editorial-col h3 {
  font-size: 1.2rem;
  color: var(--b7f-primary);
  margin-bottom: .6em;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.b7f-editorial-col h3::before {
  content: "❋";
  color: var(--b7f-accent);
  font-size: 1.3em;
}
.b7f-editorial-col p {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--b7f-text);
}
.b7f-editorial-line {
  background: var(--b7f-bg);
  border-left: 4px solid var(--b7f-accent);
  padding: 1.5rem 1.8rem;
  border-radius: 0 var(--b7f-radius) var(--b7f-radius) 0;
  margin: 2.5rem 0 1rem;
  font-style: italic;
  color: var(--b7f-text);
}
.b7f-editorial-line strong { color: var(--b7f-primary); font-style: normal; }

/* =================== CATEGORIES GRID =================== */
.b7f-categories {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: var(--b7f-bg);
}
.b7f-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.b7f-section-head h2 {
  color: var(--b7f-primary);
  margin-bottom: .4em;
}
.b7f-section-head p {
  color: var(--b7f-text-soft);
  font-size: 1.05rem;
}
.b7f-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  max-width: var(--b7f-max);
  margin: 0 auto;
}
.b7f-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--b7f-white);
  border-radius: var(--b7f-radius);
  overflow: hidden;
  box-shadow: var(--b7f-shadow);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--b7f-line);
}
.b7f-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--b7f-shadow-lg);
}
.b7f-cat-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--b7f-accent);
}
.b7f-cat-card-img-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--b7f-primary), var(--b7f-accent));
}
.b7f-cat-card-body {
  padding: 1.4rem 1.4rem 1.6rem;
}
.b7f-cat-card-name {
  font-family: var(--b7f-font-h);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--b7f-text);
  margin: 0 0 .35em;
}
.b7f-cat-card-desc {
  font-size: .92rem;
  color: var(--b7f-text-soft);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.b7f-cat-card-link {
  margin-top: 1rem;
  display: inline-block;
  color: var(--b7f-primary);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
}
.b7f-cat-card-link::after { content: " →"; transition: transform .2s; display: inline-block; }
.b7f-cat-card:hover .b7f-cat-card-link::after { transform: translateX(4px); }

/* =================== LATEST ARTICLES (15 articles, 3 cols) =================== */
.b7f-latest {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: var(--b7f-surface);
}
.b7f-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  max-width: var(--b7f-max);
  margin: 0 auto;
}
@media (max-width: 980px) { .b7f-latest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .b7f-latest-grid { grid-template-columns: 1fr; } }

.b7f-article-card {
  background: var(--b7f-white);
  border-radius: var(--b7f-radius);
  overflow: hidden;
  box-shadow: var(--b7f-shadow);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--b7f-line);
}
.b7f-article-card:hover { transform: translateY(-4px); box-shadow: var(--b7f-shadow-lg); }
.b7f-article-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--b7f-surface);
}
.b7f-article-card-thumb-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--b7f-accent), var(--b7f-primary));
}
.b7f-article-card-body { padding: 1.3rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.b7f-article-card-cat {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--b7f-accent);
  font-weight: 700;
  margin-bottom: .5rem;
}
.b7f-article-card-title {
  font-family: var(--b7f-font-h);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 .6rem;
}
.b7f-article-card-title a { color: var(--b7f-text); text-decoration: none; }
.b7f-article-card-title a:hover { color: var(--b7f-primary); }
.b7f-article-card-excerpt {
  font-size: .92rem;
  color: var(--b7f-text-soft);
  line-height: 1.6;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.b7f-article-card-meta {
  font-size: .8rem;
  color: var(--b7f-text-soft);
  margin-top: auto;
}

/* =================== EMBEDDED TOOL =================== */
.b7f-tool-section {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: var(--b7f-bg);
  border-top: 1px solid var(--b7f-line);
}
.b7f-tool-section-inner {
  max-width: 880px;
  margin: 0 auto;
}
.b7f-tool-section h2 { text-align: center; color: var(--b7f-primary); }
.b7f-tool-section-intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--b7f-text-soft);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* =================== CATEGORY PAGE (sandwich layout) =================== */
.b7f-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--b7f-primary);
}
.b7f-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.b7f-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--b7f-max);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(58, 36, 16, 0.75) 100%);
}
.b7f-cat-hero-inner h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  margin: 0;
}
.b7f-cat-intro {
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  background: var(--b7f-surface);
}
.b7f-cat-intro-inner {
  max-width: 880px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--b7f-text);
}
.b7f-cat-intro-inner p:first-of-type::first-letter {
  font-family: var(--b7f-font-h);
  float: left;
  font-size: 3.4rem;
  line-height: .85;
  font-weight: 700;
  color: var(--b7f-primary);
  margin: .15em .15em 0 0;
}
.b7f-cat-articles {
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  background: var(--b7f-bg);
}
.b7f-cat-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  max-width: var(--b7f-max);
  margin: 0 auto;
}
.b7f-cat-outro {
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  background: var(--b7f-surface);
}
.b7f-cat-outro-inner {
  max-width: 880px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--b7f-text);
}
.b7f-cat-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--b7f-text-soft);
  font-style: italic;
}

/* =================== PAGE CONTENT (a-propos, contact) =================== */
.b7f-page {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: var(--b7f-bg);
  min-height: 50vh;
}
.b7f-page-inner {
  max-width: 820px;
  margin: 0 auto;
  background: var(--b7f-white);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--b7f-radius);
  box-shadow: var(--b7f-shadow);
  border: 1px solid var(--b7f-line);
}
.b7f-page-inner h1 { color: var(--b7f-primary); margin-bottom: 1rem; }
.b7f-page-inner h2 { color: var(--b7f-primary); margin-top: 2rem; margin-bottom: .8rem; }
.b7f-page-inner h3 { color: var(--b7f-text); margin-top: 1.5rem; }
.b7f-page-inner p { font-size: 1.02rem; line-height: 1.75; color: var(--b7f-text); }
.b7f-page-inner ul, .b7f-page-inner ol { padding-left: 1.4em; line-height: 1.8; }
.b7f-page-inner a { color: var(--b7f-primary); text-decoration: underline; text-decoration-color: var(--b7f-line); text-underline-offset: 3px; }
.b7f-page-inner a:hover { text-decoration-color: var(--b7f-accent); color: var(--b7f-accent); }

.b7f-persona-photo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 999px;
  margin: 1.5rem auto;
  box-shadow: var(--b7f-shadow-lg);
  border: 4px solid var(--b7f-surface);
  aspect-ratio: 1/1.2;
  object-fit: cover;
}

.b7f-contact-form {
  margin: 2rem 0 1rem;
  border-radius: var(--b7f-radius);
  overflow: hidden;
  background: var(--b7f-surface);
  padding: .5rem;
}
.b7f-contact-form iframe { display: block; }

/* =================== TOOL PAGES =================== */
.b7f-tool-page {
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  background: var(--b7f-bg);
}
.b7f-tool-page-inner {
  max-width: 880px;
  margin: 0 auto;
}
.b7f-tool-page-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.b7f-tool-page-head h1 { color: var(--b7f-primary); }
.b7f-tool-page-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--b7f-text);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  background: var(--b7f-surface);
  padding: 1.6rem 1.8rem;
  border-radius: var(--b7f-radius);
  border-left: 4px solid var(--b7f-accent);
}
.b7f-tool-card {
  background: var(--b7f-white);
  padding: 2rem;
  border-radius: var(--b7f-radius-lg);
  box-shadow: var(--b7f-shadow);
  border: 1px solid var(--b7f-line);
}
.b7f-tool-faq {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--b7f-surface);
  border-radius: var(--b7f-radius);
}
.b7f-tool-faq h2 { color: var(--b7f-primary); }
.b7f-tool-faq details {
  border-bottom: 1px solid var(--b7f-line);
  padding: 1rem 0;
}
.b7f-tool-faq details:last-child { border-bottom: none; }
.b7f-tool-faq summary {
  font-weight: 700;
  color: var(--b7f-text);
  cursor: pointer;
  font-size: 1.05rem;
  padding: .3rem 0;
}
.b7f-tool-faq details[open] summary { color: var(--b7f-primary); }
.b7f-tool-faq p { margin: .8rem 0 0; color: var(--b7f-text); }

/* =================== FOOTER =================== */
.b7f-footer {
  background: #2a1808;
  color: #f5e4cc;
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
}
.b7f-footer-inner {
  max-width: var(--b7f-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 900px) {
  .b7f-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 540px) {
  .b7f-footer-inner { grid-template-columns: 1fr; }
}
.b7f-footer-col h3, .b7f-footer-title {
  font-family: var(--b7f-font-h);
  font-size: 1.05rem;
  color: var(--b7f-accent);
  margin: 0 0 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.b7f-footer-brand-pitch {
  font-size: .95rem;
  line-height: 1.7;
  color: #f5e4cc;
  margin: 0 0 1.2rem;
}
.b7f-footer-brand-cta {
  display: inline-block;
  color: var(--b7f-accent);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.b7f-footer-brand-cta:hover { color: #fff; }
.b7f-footer-logo {
  display: block;
  margin-bottom: 1rem;
  height: auto;
}
.b7f-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.b7f-footer-links li { margin-bottom: .55rem; }
.b7f-footer-links a {
  color: #f5e4cc;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(216, 144, 48, 0.4);
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s, text-decoration-color .2s;
}
.b7f-footer-links a:hover {
  color: var(--b7f-accent);
  text-decoration-color: var(--b7f-accent);
}
.b7f-footer-socials {
  display: flex;
  gap: .8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.b7f-footer-socials a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 144, 48, 0.15);
  border-radius: 50%;
  color: var(--b7f-accent);
  transition: background .2s;
}
.b7f-footer-socials a:hover {
  background: var(--b7f-accent);
  color: #2a1808;
}
.b7f-footer-bottom {
  max-width: var(--b7f-max);
  margin: 3rem auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(216, 144, 48, 0.25);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #d6b888;
  font-size: .85rem;
}
.b7f-footer-bottom a { color: #d6b888; text-decoration: underline; }
.b7f-footer-bottom a:hover { color: var(--b7f-accent); }

/* =================== METRICS LINKS BLOCK =================== */
.b7f-metrics {
  padding: 3rem 1.5rem;
  background: var(--b7f-surface);
  text-align: center;
}
.b7f-metrics-inner {
  max-width: 980px;
  margin: 0 auto;
}
.b7f-metrics-title {
  font-family: var(--b7f-font-h);
  font-size: 1.25rem;
  color: var(--b7f-primary);
  margin-bottom: 1.5rem;
}
.b7f-metrics-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}
.b7f-metrics-grid a {
  color: var(--b7f-text);
  font-size: .92rem;
  text-decoration: none;
  border-bottom: 2px solid var(--b7f-line);
  padding-bottom: 2px;
  transition: border-color .2s;
}
.b7f-metrics-grid a:hover { border-color: var(--b7f-accent); color: var(--b7f-primary); }

/* =================== ANIMATIONS — CTA progress_bar_cta =================== */
@keyframes b7f-progress-cta-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.b7f-btn--cta {
  position: relative;
  background: linear-gradient(90deg, var(--b7f-accent) 0%, #f4a347 50%, var(--b7f-accent) 100%);
  background-size: 200% 100%;
  animation: b7f-progress-cta-shimmer 3.5s ease-in-out infinite;
}
.b7f-btn--cta:hover {
  animation-play-state: paused;
  background: var(--b7f-primary);
}

/* =================== ANIMATIONS — CTR trust_badges_row =================== */
@keyframes b7f-trust-badge-fade {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.b7f-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: center;
  padding: 2rem 1rem;
  max-width: var(--b7f-max);
  margin: 0 auto;
}
.b7f-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--b7f-text-soft);
  font-weight: 600;
  opacity: 0;
  animation: b7f-trust-badge-fade .6s ease-out forwards;
}
.b7f-trust-badge:nth-child(1) { animation-delay: .1s; }
.b7f-trust-badge:nth-child(2) { animation-delay: .25s; }
.b7f-trust-badge:nth-child(3) { animation-delay: .4s; }
.b7f-trust-badge:nth-child(4) { animation-delay: .55s; }
.b7f-trust-badge::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--b7f-accent);
  color: #fff;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
}

/* =================== ANIMATIONS — CTO faq_conversion_block =================== */
@keyframes b7f-faq-conv-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 144, 48, 0.35); }
  50%      { box-shadow: 0 0 0 12px rgba(216, 144, 48, 0); }
}
.b7f-faq-conversion {
  background: var(--b7f-surface);
  padding: 2rem 2rem 1.5rem;
  border-radius: var(--b7f-radius-lg);
  margin-top: 2.5rem;
  border: 2px solid var(--b7f-accent);
  animation: b7f-faq-conv-pulse 2.5s ease-in-out infinite;
}
.b7f-faq-conversion h3 { color: var(--b7f-primary); margin-bottom: 1rem; }
.b7f-faq-conversion .b7f-btn { margin-top: 1rem; }

/* =================== UTILITIES =================== */
.b7f-eyebrow {
  display: inline-block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--b7f-accent);
  font-weight: 700;
  margin-bottom: .8rem;
}
.b7f-divider {
  height: 1px;
  background: var(--b7f-line);
  border: none;
  margin: 2.5rem 0;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 720px) {
  .b7f-hero { padding: 4rem 1.2rem; }
  .b7f-hero-quote { font-size: 1.7rem; }
  .b7f-footer-bottom { flex-direction: column; text-align: center; }
}

/* 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; }
