/*
Theme Name: Boussole Finance
Theme URI: https://boussolefinance.com/
Description: Thème enfant GeneratePress pour Boussole Finance. Style éditorial (Cormorant Garamond + Lora, accent or), compatible Mediavine.
Author: Boussole Finance
Template: generatepress
Version: 1.0.7
Text Domain: boussole
*/

:root {
  --bf-bg: #f3f2f2;
  --bf-surface: #eae9e9;
  --bf-text: #201f1d;
  --bf-muted: #605d5d;
  --bf-soft: #7d7979;
  --bf-n100: #f8f4f4;
  --bf-n200: #eae7e7;
  --bf-n800: #444141;
  --bf-accent: #b68235;
  --bf-accent-300: #facb8d;
  --bf-accent-600: #a06f24;
  --bf-accent-700: #7d5411;
  --bf-accent-100: #fff3e4;
  --bf-divider: rgba(32, 31, 29, .16);
  --bf-heading: "Cormorant Garamond", Georgia, serif;
  --bf-body: "Lora", Georgia, serif;
  --bf-r: 4px;

  /* Variables GeneratePress */
  --contrast: var(--bf-text);
  --contrast-2: var(--bf-muted);
  --contrast-3: var(--bf-soft);
  --base: var(--bf-n200);
  --base-2: var(--bf-bg);
  --base-3: var(--bf-bg);
  --accent: var(--bf-accent-700);
}

/* ── Base ─────────────────────────────────────── */
body {
  background: var(--bf-bg);
  color: var(--bf-text);
  font-family: var(--bf-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--bf-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--bf-text);
}
a { color: var(--bf-accent-700); text-underline-offset: 3px; }
a:hover, a:focus, a:active { color: var(--bf-accent-600); }
:focus-visible { outline: 2px solid var(--bf-accent); outline-offset: 2px; }
::selection { background: rgba(182, 130, 53, .3); }
.bf-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bf-accent-700);
  font-variant-numeric: tabular-nums;
}
.bf-plate, .entry-content img, .featured-image img, .post-image img {
  box-sizing: border-box;
  border: 6px solid var(--bf-surface);
  outline: 1px solid var(--bf-divider);
  filter: sepia(.12) saturate(.9);
}
.bf-plate { display: block; width: 100%; height: auto; object-fit: cover; }
.bf-ph { background: repeating-linear-gradient(135deg, var(--bf-n200) 0 8px, var(--bf-n100) 8px 16px); }

/* ── Boutons & champs ─────────────────────────── */
.bf-btn,
button, html input[type="button"], input[type="reset"], input[type="submit"],
a.button, a.wp-block-button__link:not(.has-background), .wp-block-search__button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--bf-heading); font-weight: 600; font-size: 15px; line-height: 1.2;
  color: var(--bf-accent-700); background: transparent;
  border: 1px solid var(--bf-accent); border-radius: var(--bf-r);
  padding: 9px 16px; text-decoration: none; cursor: pointer;
}
.bf-btn:hover, button:hover, input[type="submit"]:hover, a.button:hover,
a.wp-block-button__link:not(.has-background):hover, .wp-block-search__button:hover,
button:focus, input[type="submit"]:focus, a.button:focus {
  color: var(--bf-accent-700); background: rgba(182, 130, 53, .12);
}
.menu-toggle, .menu-toggle:hover, .menu-toggle:focus { border: 0; background: transparent; color: var(--bf-text); }
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="tel"], input[type="number"], textarea, select {
  font-family: var(--bf-body); font-size: 15px; color: var(--bf-text);
  background: transparent; border: 1px solid var(--bf-divider); border-radius: var(--bf-r);
  padding: 9px 12px; caret-color: var(--bf-accent);
}
input:focus, textarea:focus, select:focus { border-color: var(--bf-accent); background: transparent; color: var(--bf-text); }

/* ── En-tête ──────────────────────────────────── */
.site-header, .main-navigation, .main-navigation ul ul { background: var(--bf-bg); }
.site-header { border-bottom: 1px solid var(--bf-divider); }
.inside-header { padding-top: 18px; padding-bottom: 18px; }
.site-description { display: none; }
.bf-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bf-text); white-space: nowrap; }
.bf-brand:hover { color: var(--bf-text); }
.bf-wordmark { font-family: var(--bf-heading); font-size: 26px; line-height: 1; letter-spacing: -0.01em; }
.bf-w1 { font-weight: 600; }
.bf-w2 { font-style: italic; font-weight: 400; }
.bf-mark { flex: none; display: block; }
.main-navigation .main-nav ul li a { font-size: 14px; color: var(--bf-text); padding-left: 12px; padding-right: 12px; }
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a { color: var(--bf-accent-700); }
.main-navigation ul ul { border: 1px solid var(--bf-divider); box-shadow: 0 3px 10px rgba(45,43,43,.12); }
.bf-menu-cta { display: flex; align-items: center; padding-left: 12px; }
.bf-menu-cta .bf-btn { padding: 7px 14px; font-size: 14px; }
.main-navigation .menu-bar-items .bf-menu-cta a { line-height: 1.2; }

/* ── Mise en page générale ────────────────────── */
.site-content { padding: 0 24px; }
.separate-containers .site-main { margin: 0 0 48px; }
.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.separate-containers .paging-navigation,
.one-container .container,
.inside-page-header,
.sidebar .widget { background: transparent; padding: 0; }
@media (min-width: 769px) {
  /* Mediavine : sidebar de 300 px utiles minimum */
  .right-sidebar .site-content .content-area { width: calc(100% - 340px); }
  .right-sidebar .is-right-sidebar { width: 340px; padding-left: 40px; }
}
.widget-area .widget { margin-bottom: 40px; font-size: 14px; }
.widget-title, .widget .wp-block-heading, .sidebar .widget h2 {
  font-family: var(--bf-body); font-weight: 400; font-size: 11px !important;
  letter-spacing: .12em; text-transform: uppercase; color: var(--bf-muted);
  padding-bottom: 9px; border-bottom: 1px solid var(--bf-text); margin-bottom: 4px;
}
.widget ul li { padding: 10px 0; border-bottom: 1px solid var(--bf-divider); margin: 0; }
.widget ul li a { font-family: var(--bf-heading); font-weight: 600; font-size: 17px; line-height: 1.25; color: var(--bf-text); text-decoration: none; }
.widget ul li a:hover { color: var(--bf-accent-700); }

/* ── Article ──────────────────────────────────── */
.single-post .inside-article { display: flex; flex-direction: column; }
.single-post .entry-header { order: -1; max-width: 820px; padding: 40px 0 24px; }
.single-post footer.entry-meta, .single-post .post-navigation, .single .saboxplugin-wrap { display: none; }
.single-post .entry-header .entry-meta { display: none; }
.single-post .featured-image { margin: 0 0 8px; }
.single-post .featured-image img { width: 100%; height: auto; }
.single h1.entry-title, .page h1.entry-title {
  font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.05;
  letter-spacing: -0.015em; text-wrap: balance; margin: 14px 0 16px;
}
.bf-crumbs, .rank-math-breadcrumb { font-size: 12px; color: var(--bf-soft); }
.bf-crumbs a, .rank-math-breadcrumb a { color: inherit; }
.bf-dek { font-family: var(--bf-heading); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--bf-n800); margin: 0 0 18px; text-wrap: pretty; }
.bf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-top: 14px; border-top: 1px solid var(--bf-divider); font-size: 13px; color: var(--bf-muted); font-variant-numeric: tabular-nums; }
.bf-meta img { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--bf-divider); }
.bf-meta a { color: var(--bf-text); }

.single-post .entry-content { max-width: 720px; font-size: 17px; line-height: 1.75; margin-top: 28px; }
@media (min-width: 769px) {
  .single-post .entry-content > p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
}
.entry-content h2 { font-size: 30px; margin: 44px 0 12px; scroll-margin-top: 24px; }
.entry-content h3 { font-size: 24px; margin: 32px 0 10px; scroll-margin-top: 24px; }
.entry-content ul, .entry-content ol { margin-left: 1.3em; }
.entry-content li { margin-bottom: 6px; }
.entry-content blockquote {
  border: 0; border-top: 1px solid var(--bf-text); border-bottom: 1px solid var(--bf-divider);
  margin: 32px 0; padding: 20px 0; font-family: var(--bf-heading); font-style: italic;
  font-size: 24px; line-height: 1.4; color: var(--bf-text);
}
.entry-content figcaption, .wp-element-caption { font-size: 12px; color: var(--bf-soft); margin-top: 6px; }
.entry-content table, .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; border: 0; margin: 8px 0 24px; }
.wp-block-table { overflow-x: auto; overflow-y: hidden; }
.entry-content th {
  text-align: left; font-family: var(--bf-body); font-weight: 400; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--bf-muted);
  padding: 10px; border: 0; border-bottom: 1px solid var(--bf-text); background: transparent;
}
.entry-content td { padding: 10px; border: 0; border-bottom: 1px solid var(--bf-divider); }
.entry-content tr:hover td { background: rgba(32,31,29,.04); }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--bf-n100); }

/* À retenir (motif de bloc) */
.bf-retenir {
  border: 1px solid var(--bf-divider); border-top: 2px solid var(--bf-accent);
  border-radius: 2px; padding: 18px 28px; margin: 8px 0 28px;
}
.bf-retenir > :first-child { font-family: var(--bf-heading); font-weight: 600; font-size: 20px; margin: 0 0 8px; }
.bf-retenir ul { margin: 0 0 0 1.1em; font-size: 15px; line-height: 1.65; }
.single-post .entry-content .bf-retenir p { text-align: left; }

/* Sommaire automatique */
.bf-toc { border-top: 1px solid var(--bf-divider); border-bottom: 1px solid var(--bf-divider); padding: 14px 0; margin: 8px 0 28px; }
.bf-toc summary { cursor: pointer; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bf-muted); }
.bf-toc ol, .bf-toc ul { margin: 12px 0 0 1.4em; font-size: 15px; line-height: 1.9; font-variant-numeric: tabular-nums; }
.bf-toc ul { list-style: decimal; }
.bf-toc li { margin: 0; }
.bf-toc a { color: var(--bf-text); text-decoration-color: var(--bf-accent-300); }

/* Sources, auteur, articles liés */
.bf-after { max-width: 720px; }
.bf-sources { margin-top: 44px; padding: 18px 0; border-top: 1px solid var(--bf-text); border-bottom: 1px solid var(--bf-divider); font-size: 13px; line-height: 1.6; }
.bf-sources-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-bottom: 8px; }
.bf-sources-title { font-family: var(--bf-heading); font-weight: 600; font-size: 18px; }
.bf-sources-dates { color: var(--bf-muted); font-variant-numeric: tabular-nums; }
.bf-sources ol { margin: 0 0 0 1.4em; color: var(--bf-n800); }
.bf-author { display: flex; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--bf-divider); }
.bf-author img { width: 64px; height: 64px; border-radius: 50%; flex: none; border: 1px solid var(--bf-divider); }
.bf-author-name { font-family: var(--bf-heading); font-weight: 600; font-size: 20px; display: block; color: var(--bf-text); text-decoration: none; }
.bf-author p { margin: 4px 0; font-size: 14px; line-height: 1.6; color: var(--bf-n800); }
.bf-related { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--bf-divider); }
.bf-related > h2 { font-weight: 400; font-size: 30px; margin: 0 0 24px; }

/* Grilles de cartes */
.bf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.bf-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--bf-text); }
.bf-card:hover { color: var(--bf-text); }
.bf-card .bf-plate, .bf-card .bf-ph { aspect-ratio: 3 / 2; width: 100%; }
.bf-card-title { font-family: var(--bf-heading); font-weight: 600; font-size: 21px; line-height: 1.2; }
.bf-card:hover .bf-card-title, .bf-row:hover .bf-row-title, .bf-lead:hover h2 { color: var(--bf-accent-700); }
.bf-card-dek { font-size: 14px; line-height: 1.6; color: var(--bf-n800); }

/* ── Archives, catégories, recherche, auteur ──── */
.archive .page-header, .search .page-header, .blog .page-header {
  padding: 44px 0 24px; margin-bottom: 0; border-bottom: 1px solid var(--bf-text);
}
.archive .page-header h1, .search .page-header h1 { font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1.04; margin: 8px 0 12px; }
.category .page-header::before { content: "Thème"; }
.author .page-header::before { content: "Auteur"; }
.search .page-header::before { content: "Recherche"; }
.archive .page-header::before, .search .page-header::before {
  display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bf-accent-700);
}
.taxonomy-description, .author-info { font-size: 16px; line-height: 1.65; color: var(--bf-n800); max-width: 640px; }
.page-header .avatar { border-radius: 50%; border: 6px solid var(--bf-surface); outline: 1px solid var(--bf-divider); }

.blog .site-main article, .archive .site-main article, .search .site-main article { margin: 0; }
.blog .inside-article, .archive .inside-article, .search .inside-article {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 28px;
  grid-template-areas: "img head" "img sum" "img foot";
  align-content: start; padding: 28px 0 !important; border-bottom: 1px solid var(--bf-divider);
}
.blog article:not(.has-post-thumbnail) .inside-article,
.archive article:not(.has-post-thumbnail) .inside-article,
.search article:not(.has-post-thumbnail) .inside-article { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "sum" "foot"; }
.blog .post-image, .archive .post-image, .search .post-image { grid-area: img; margin: 0 !important; }
.blog .post-image img, .archive .post-image img, .search .post-image img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.blog .entry-header, .archive .entry-header, .search .entry-header { grid-area: head; }
.blog .entry-summary, .archive .entry-summary, .search .entry-summary { grid-area: sum; margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--bf-n800); }
.blog footer.entry-meta, .archive footer.entry-meta, .search footer.entry-meta { grid-area: foot; }
.blog h2.entry-title, .archive h2.entry-title, .search h2.entry-title { font-size: 24px; line-height: 1.15; margin: 0 0 6px; }
.entry-title a { color: var(--bf-text); text-decoration: none; }
.entry-title a:hover { color: var(--bf-accent-700); }
.entry-meta { font-size: 12px; color: var(--bf-soft); font-variant-numeric: tabular-nums; }
.entry-meta a { color: var(--bf-muted); }
.blog .entry-summary p, .archive .entry-summary p { margin-bottom: 6px; }
.read-more { display: none; }
@media (max-width: 768px) {
  .blog .inside-article, .archive .inside-article, .search .inside-article { grid-template-columns: 110px minmax(0, 1fr); column-gap: 16px; }
  .blog h2.entry-title, .archive h2.entry-title, .search h2.entry-title { font-size: 19px; }
  .blog .entry-summary, .archive .entry-summary, .search .entry-summary { display: none; }
}
.paging-navigation .nav-links { display: flex; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.paging-navigation .page-numbers { border: 1px solid var(--bf-divider); border-radius: var(--bf-r); padding: 6px 12px; text-decoration: none; color: var(--bf-text); }
.paging-navigation .page-numbers.current { border-color: var(--bf-accent); color: var(--bf-accent-700); }

/* ── Accueil ──────────────────────────────────── */
.home .site-content { display: block; }
.bf-home { max-width: 1200px; margin: 0 auto; }
.bf-hero { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-end; padding: 48px 0 52px; border-bottom: 1px solid var(--bf-divider); }
.bf-hero > div { flex: 1 1 560px; }
.bf-hero h1 { font-weight: 400; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.02em; margin: 14px 0 0; text-wrap: balance; }
.bf-hero p { flex: 1 1 320px; margin: 0; font-size: 16px; line-height: 1.65; color: var(--bf-n800); }
.bf-une { display: flex; flex-wrap: wrap; gap: 36px; padding: 40px 0; border-bottom: 1px solid var(--bf-divider); }
.bf-lead { flex: 1 1 560px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--bf-text); }
.bf-lead:hover { color: var(--bf-text); }
.bf-lead .bf-plate, .bf-lead .bf-ph { aspect-ratio: 16 / 10; width: 100%; }
.bf-lead h2 { font-weight: 400; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; margin: 0; text-wrap: balance; }
.bf-lead p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--bf-n800); max-width: 640px; }
.bf-tag { align-self: flex-start; font-size: 11px; padding: 3px 10px; border-radius: 3px; background: var(--bf-accent-100); color: #5a3b0a; }
.bf-date { font-size: 12px; color: var(--bf-muted); font-variant-numeric: tabular-nums; }
.bf-side { flex: 1 1 320px; display: flex; flex-direction: column; }
.bf-side-head { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bf-muted); padding-bottom: 9px; border-bottom: 1px solid var(--bf-text); }
.bf-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--bf-divider); text-decoration: none; color: var(--bf-text); }
.bf-row:hover { color: var(--bf-text); }
.bf-row img, .bf-row .bf-ph { aspect-ratio: 4 / 3; width: 96px; height: auto; object-fit: cover; border: 1px solid var(--bf-divider); }
.bf-row-cat { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--bf-accent-700); margin-bottom: 4px; }
.bf-row-title { font-family: var(--bf-heading); font-weight: 600; font-size: 19px; line-height: 1.2; }
.bf-section { padding: 40px 0; border-bottom: 1px solid var(--bf-divider); }
.bf-section > h2, .bf-section-head h2 { font-weight: 400; font-size: 34px; margin: 0; }
.bf-section > h2 { margin-bottom: 28px; }
.bf-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--bf-text); margin-bottom: 28px; }
.bf-section-head a { font-size: 14px; }
.bf-themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--bf-divider); }
.bf-theme { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 28px 0; border-bottom: 1px solid var(--bf-divider); text-decoration: none; color: var(--bf-text); }
.bf-theme:hover { color: var(--bf-text); }
.bf-theme-num { font-size: 11px; color: var(--bf-accent-700); font-variant-numeric: tabular-nums; }
.bf-theme-name { font-family: var(--bf-heading); font-weight: 600; font-size: 22px; line-height: 1.15; }
.bf-theme:hover .bf-theme-name { color: var(--bf-accent-700); }
.bf-theme-desc { font-size: 13px; line-height: 1.55; color: var(--bf-muted); }
.bf-tools { display: flex; flex-wrap: wrap; gap: 36px; }
.bf-tools > div:first-child { flex: 1 1 300px; }
.bf-tools > div:first-child p { font-size: 14px; color: var(--bf-n800); max-width: 360px; }
.bf-tools-grid { flex: 3 1 640px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.bf-tool { display: flex; flex-direction: column; gap: 9px; padding: 18px; border: 1px solid var(--bf-divider); border-radius: var(--bf-r); text-decoration: none; color: var(--bf-text); }
.bf-tool:hover { border-color: var(--bf-accent); color: var(--bf-text); }
.bf-tool-title { font-family: var(--bf-heading); font-weight: 600; font-size: 21px; }
.bf-tool-body { font-size: 13px; color: var(--bf-n800); flex: 1; }
.bf-tool-go { font-size: 13px; color: var(--bf-accent-700); }

/* ── Infolettre & pied de page ────────────────── */
.bf-newsletter-wrap { padding: 0 24px; }
.bf-newsletter { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 40px 0; border-top: 1px solid var(--bf-text); border-bottom: 1px solid var(--bf-divider); }
.bf-newsletter > div { flex: 1 1 380px; }
.bf-newsletter h2 { font-weight: 400; font-size: 34px; margin: 0 0 6px; }
.bf-newsletter p { margin: 0; font-size: 15px; color: var(--bf-n800); }
.bf-newsletter form { display: flex; gap: 9px; flex-wrap: wrap; }
.bf-newsletter input[type="email"] { flex: 1 1 220px; }
/* WPForms dans le bloc infolettre */
.bf-newsletter .wpforms-container { margin: 0 !important; width: 100%; }
.bf-newsletter .wpforms-form { display: flex !important; flex-wrap: wrap; align-items: flex-end; gap: 9px; }
.bf-newsletter .wpforms-field-container { flex: 1 1 260px; display: flex; flex-wrap: wrap; gap: 9px; }
.bf-newsletter .wpforms-field { flex: 1 1 200px; padding: 0 !important; margin: 0 !important; }
.bf-newsletter .wpforms-field-label { font-family: var(--bf-body) !important; font-weight: 400 !important; font-size: 12px !important; color: var(--bf-muted) !important; margin: 0 0 5px !important; }
.bf-newsletter .wpforms-required-label { color: var(--bf-accent-700) !important; }
.bf-newsletter .wpforms-field-sublabel { display: none !important; }
.bf-newsletter .wpforms-field-row { display: flex !important; gap: 9px; max-width: none !important; }
.bf-newsletter .wpforms-field-row-block { flex: 1; padding: 0 !important; width: auto !important; }
.bf-newsletter .wpforms-field input { width: 100% !important; max-width: none !important; height: 42px !important; background: transparent !important; border: 1px solid var(--bf-divider) !important; border-radius: var(--bf-r) !important; box-shadow: none !important; font-family: var(--bf-body) !important; font-size: 15px !important; color: var(--bf-text) !important; padding: 8px 12px !important; }
.bf-newsletter .wpforms-field input:focus { border-color: var(--bf-accent) !important; }
.bf-newsletter .wpforms-submit-container { padding: 0 !important; margin: 0 !important; flex: none; }
.bf-newsletter .wpforms-submit {
  height: 42px !important; background: transparent !important; color: var(--bf-accent-700) !important;
  border: 1px solid var(--bf-accent) !important; border-radius: var(--bf-r) !important; box-shadow: none !important;
  font-family: var(--bf-heading) !important; font-weight: 600 !important; font-size: 15px !important; padding: 0 18px !important;
}
.bf-newsletter .wpforms-submit:hover { background: rgba(182, 130, 53, .12) !important; }
.bf-newsletter .wpforms-confirmation-container-full { background: transparent !important; border: 1px solid var(--bf-accent) !important; border-radius: var(--bf-r); color: var(--bf-text) !important; font-size: 14px; }
.bf-newsletter label.wpforms-error { font-size: 12px !important; color: #9b3b2a !important; }
.bf-footer { margin-top: 48px; background: var(--bf-surface); border-top: 1px solid var(--bf-divider); }
.bf-footer-inner { max-width: 1200px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.bf-footer p { font-size: 13px; line-height: 1.6; color: var(--bf-muted); margin: 12px 0 0; }
.bf-footer .bf-wordmark { font-size: 21px; }
.bf-footer h3 { font-family: var(--bf-body); font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bf-muted); margin: 0 0 10px; }
.bf-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.bf-footer ul a { color: var(--bf-text); text-decoration: none; }
.bf-footer ul a:hover { color: var(--bf-accent-700); }
.bf-legal { max-width: 1200px; margin: 0 auto; padding: 18px 24px; border-top: 1px solid var(--bf-divider); font-size: 12px; color: var(--bf-muted); }
.site-footer .site-info, .site-footer .footer-widgets { display: none; }
.site-logo, .header-image { display: none; }

/* ── 404 ──────────────────────────────────────── */
.bf-404 { max-width: 820px; padding: 72px 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.bf-404-num { font-family: var(--bf-heading); font-size: 160px; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--bf-accent); font-variant-numeric: tabular-nums; }
.bf-404 h1 { font-weight: 400; font-size: 44px; margin: 0; }
.bf-404 p { margin: 0; font-size: 16px; color: var(--bf-n800); max-width: 560px; }
.bf-404 .search-form { display: flex; gap: 9px; width: 100%; max-width: 560px; }
.bf-404 .search-field { flex: 1; }
.bf-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.bf-chip { font-size: 12px; padding: 4px 12px; border: 1px solid var(--bf-accent); border-radius: 3px; color: var(--bf-accent-700); text-decoration: none; }
.bf-chip:hover { background: rgba(182, 130, 53, .1); }

/* Commentaires */
.comments-area { max-width: 720px; margin-top: 40px; }
.comments-title, .comment-reply-title { font-weight: 400; font-size: 28px; }

/* Pagination des archives */
.paging-navigation { display: none !important; }
.bf-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 28px 0 8px; }
.bf-pagination-info { font-size: 13px; color: var(--bf-muted); font-variant-numeric: tabular-nums; }
.bf-pagination-links { display: flex; flex-wrap: wrap; gap: 8px; font-variant-numeric: tabular-nums; }
.bf-pagination .page-numbers { display: inline-flex; align-items: center; min-height: 38px; padding: 0 13px; border: 1px solid var(--bf-divider); border-radius: var(--bf-r); font-size: 14px; color: var(--bf-text); text-decoration: none; }
.bf-pagination a.page-numbers:hover { border-color: var(--bf-accent); color: var(--bf-accent-700); }
.bf-pagination .page-numbers.current { border-color: var(--bf-accent); color: var(--bf-accent-700); }
.bf-pagination .page-numbers.dots { border: 0; padding: 0 4px; }
.bf-pagination .prev, .bf-pagination .next { font-family: var(--bf-heading); font-weight: 600; color: var(--bf-accent-700); border-color: var(--bf-accent); }
