/*
Theme Name: Macfay Hardware
Theme URI: https://macfay-hardware.fr
Description: Thème enfant du magazine Macfay Hardware : bancs d'essai de composants PC, périphériques de jeu et dossiers pratiques, avec portail d'entrée par famille de matériel.
Author: Jade
Template: astra
Version: 0.1.1
Text Domain: bancdessai
Tags: custom-colors, wide-blocks, one-column, translation-ready, custom-menu, threaded-comments
*/

@font-face {
  font-family: 'Albert Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/albert-sans-italic-400-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Albert Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/albert-sans-italic-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/albert-sans-400-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/albert-sans-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/chakra-petch-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/chakra-petch-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/chakra-petch-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/chakra-petch-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/chakra-petch-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/chakra-petch-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  
  --plan: #ffffff;
  --alu: #eef0f2;
  --alu-fort: #d9dde1;
  --carbone: #121417;
  --boitier: #0a0c0e;
  --touche: #272c33;
  --jupe: #07090b;

  
  --encre: #14171a;
  --encre-doux: #555c64;
  --sur-carbone: #d3d8dd;
  --sur-carbone-doux: #a3aab2;

  
  --rose: #ff3366;
  --rose-texte: #cf0f3d;
  --rose-clair: #ff6b8f;

  --filet: rgba(20, 23, 26, 0.12);
  --filet-fort: rgba(20, 23, 26, 0.22);
  --filet-carbone: #2b3037;

  
  --ff-titres: 'Chakra Petch', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --ff-texte: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  
  --tap: 44px;

  
  --marge-x: clamp(18px, 4.5vw, 56px);
  --largeur: 1240px;
  --rayon: 6px;
  --piste-fin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='18' viewBox='0 0 46 18'%3E%3Cpath d='M0 13h10l9-9h14' fill='none' stroke='%23ff3366' stroke-width='2'/%3E%3Ccircle cx='38.5' cy='4' r='4.5' fill='none' stroke='%23ff3366' stroke-width='2.5'/%3E%3C/svg%3E");
}

:where(html) { box-sizing: border-box; -webkit-text-size-adjust: 100%; }

:where(html) ::before, :where(html) ::after, :where(html) * { box-sizing: inherit; }
body.bd {
  margin: 0;
  font-family: var(--ff-texte);
}
:where(body.bd) :where(img, video, svg, iframe) { max-width: 100%; }
:where(body.bd) :where(img, video) { height: auto; }
:where(body.bd) :where(figure) { margin: 0; }
:where(body.bd) :where(input, textarea, select) { font: inherit; max-width: 100%; }
:where(body.bd) :where(textarea) { width: 100%; }
:where(body.bd) :where(table) { border-collapse: collapse; width: 100%; }
:where(body.bd) .screen-reader-text:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:where(body.bd) .alignleft { float: left; margin: 0 1.5em 1em 0; }
:where(body.bd) .alignright { float: right; margin: 0 0 1em 1.5em; }
:where(body.bd) .aligncenter { display: block; margin-inline: auto; }
.bd-container {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--marge-x);
}
.bd-main { min-height: 60vh; }

:where(.button, input[type="button"], input[type="submit"], button, input[type="reset"]) {
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.bd-searchform {
  display: flex;
  align-items: stretch;
}
.bd-searchform__input {
  flex: 1;
  min-width: 0;
  min-height: var(--tap);
}
.bd-searchform__submit {
  min-width: var(--tap);
  padding: 0 1rem;
}
.bd-drawer__close,
.bd-search-overlay__close,
.bd-header__hamburger {
  width: var(--tap);
  height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bd-header__search {
  min-height: var(--tap);
  padding: 0 1rem;
}
.bd-newsletter :is(input, button),
:where(body.bd) .form-submit #submit {
  min-height: var(--tap);
  padding: 0 1rem;
}

.bd-header__nav > li {
  position: relative;
}
.bd-header__nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  margin: 0;
  list-style: none;
  visibility: hidden;
  opacity: 0;
}
.bd-header__nav > li:hover > .sub-menu,
.bd-header__nav > li.is-open > .sub-menu {
  visibility: visible;
  opacity: 1;
}
.bd-submenu-toggle {
  min-height: var(--tap);
}
.bd-drawer .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(body.bd) .bd-menu-label {
  cursor: default;
}

.bd-crumbs {
  display: flex;
  align-items: baseline;
  gap: .35em;
  min-width: 0;
  white-space: nowrap;
}
.bd-crumbs > * {
  flex: none;
}
.bd-crumbs > [aria-current] {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(body.bd) :where(h1, h2, h3, h4, h5, h6, a) { color: inherit; }
:where(body.bd) :where(a) { text-decoration-color: currentColor; }

body.bd {
  background: var(--plan);
  color: var(--encre);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.bd :focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}
body.nav-open { overflow: hidden; }

.bd-touche {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .5rem;
  min-height: 74px;
  padding: .6rem .8rem 1rem;
  background: var(--touche);
  color: #fff;
  border-radius: 8px;
  box-shadow: inset 0 -7px 0 var(--jupe), inset 0 1px 0 rgba(255, 255, 255, .09);
  font-family: var(--ff-titres);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.15;
  text-decoration: none;
}
.bd-touche:hover {
  transform: translateY(2px);
  box-shadow: inset 0 -5px 0 var(--jupe), inset 0 1px 0 rgba(255, 255, 255, .09);
  color: var(--rose-clair);
}
.bd-touche:active {
  transform: translateY(4px);
  box-shadow: inset 0 -3px 0 var(--jupe);
}
.bd-touche__compte {
  align-self: flex-end;
  font-weight: 500;
  font-size: .78rem;
  color: var(--sur-carbone-doux);
}
.bd-touche--claire {
  background: var(--plan);
  color: var(--encre);
  box-shadow: inset 0 0 0 1px var(--filet-fort), inset 0 -4px 0 var(--alu-fort);
}
.bd-touche--claire:hover {
  color: var(--rose-texte);
  box-shadow: inset 0 0 0 1px var(--filet-fort), inset 0 -2px 0 var(--alu-fort);
}
.bd-touche--claire:active {
  box-shadow: inset 0 0 0 1px var(--filet-fort);
}
@media (prefers-reduced-motion: no-preference) {
  .bd-touche, .bd-fond { transition: transform .08s ease-out, box-shadow .08s ease-out; }
}

.bd-piste {
  flex: 1 1 46px;
  min-width: 46px;
  height: 18px;
  background:
    var(--piste-fin) right top / 46px 18px no-repeat,
    linear-gradient(var(--rose), var(--rose)) left 12px / calc(100% - 46px) 2px no-repeat;
}

.bd-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--plan);
  border-bottom: 1px solid var(--filet-fort);
}
.bd-header__row {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  max-width: var(--largeur);
  min-height: 68px;
  margin: 0 auto;
  padding: 0 var(--marge-x);
}
.bd-header__brand, .bd-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: var(--tap);
  text-decoration: none;
  flex: none;
}
.bd-logo-touche { width: 36px; height: 36px; flex: none; }
.bd-header__logo-img { max-height: 44px; width: auto; }
.bd-header__wordmark {
  font-family: var(--ff-titres);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.bd-header__wordmark span { font-weight: 500; color: var(--encre-doux); }
.bd-header__nav-wrap { flex: 1; min-width: 0; }
.bd-header__nav {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bd-header__nav > li { display: flex; align-items: center; }
.bd-header__nav a {
  display: block;
  font-family: var(--ff-titres);
  font-weight: 600;
  font-size: .96rem;
  text-decoration: none;
}
.bd-header__nav > li > a {
  padding: .75rem .6rem;
  white-space: nowrap;
}
.bd-header__nav > li > a:hover,
.bd-header__nav > .current-menu-item > a,
.bd-header__nav > .current-menu-ancestor > a,
.bd-header__nav > .current-category-ancestor > a { color: var(--rose-texte); }
.bd-submenu-toggle {
  width: 22px;
  margin-left: -.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bd-submenu-toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.bd-header__nav > li > .sub-menu {
  display: flex;
  flex-direction: column;
  min-width: 13rem;
  padding: .75rem 1.1rem 1rem;
  background: var(--plan);
  border: 1px solid var(--filet-fort);
  border-top: 2px solid var(--rose);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 30px rgba(20, 23, 26, .14);
}
.bd-header__nav > li > .sub-menu:has(.sub-menu) {
  flex-direction: row;
  gap: 2.25rem;
  width: max-content;
}
.bd-header__nav .sub-menu .sub-menu {
  position: static;
  visibility: inherit;
  opacity: 1;
  padding: 0;
}
.bd-header__nav .sub-menu a {
  padding: .5rem 0;
  white-space: nowrap;
}
.bd-header__nav .sub-menu a:hover { color: var(--rose-texte); }
.bd-header__nav .sub-menu .sub-menu a {
  font-family: var(--ff-texte);
  font-weight: 500;
  font-size: .95rem;
  color: var(--encre-doux);
}
.bd-header__nav > li > .sub-menu:has(.sub-menu) > li > a {
  margin-bottom: .2rem;
  border-bottom: 1px solid var(--filet-fort);
}
.bd-header__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}
.bd-header__search {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: var(--tap);
  padding: 0 .9rem 4px;
  font-size: .92rem;
}
.bd-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  min-height: var(--tap);
  padding: 0 0 4px;
}
.bd-header__actions .bd-touche {
  justify-content: center;
  min-height: var(--tap);
  height: var(--tap);
}
.bd-header__hamburger span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.bd-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--carbone);
  visibility: hidden;
  transform: translateY(-100%);
}
body.search-open .bd-search-overlay {
  visibility: visible;
  transform: none;
}
.bd-search-overlay__inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: var(--largeur);
  min-height: 69px;
  margin: 0 auto;
  padding: .75rem var(--marge-x);
}
.bd-search-overlay .bd-searchform { flex: 1; min-width: 0; }
.bd-search-overlay__close {
  flex: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
}
.bd-searchform { gap: .5rem; }
.bd-searchform__input {
  padding: 0 .9rem;
  background: #fff;
  color: var(--encre);
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
}
.bd-searchform__submit {
  background: var(--rose-texte);
  color: #fff;
  border-radius: var(--rayon);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .28);
  font-family: var(--ff-titres);
  font-weight: 600;
  padding-bottom: 4px;
}

.bd-drawer-voile {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: rgba(10, 12, 14, .55);
  visibility: hidden;
  opacity: 0;
}
.bd-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(22rem, 88vw);
  overflow-y: auto;
  padding: 0 1.25rem 2rem;
  background: var(--plan);
  visibility: hidden;
  transform: translateX(100%);
}
body.nav-open .bd-drawer { visibility: visible; transform: none; }
body.nav-open .bd-drawer-voile { visibility: visible; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .bd-drawer, .bd-search-overlay { transition: transform .2s ease-out, visibility .2s; }
  .bd-drawer-voile { transition: opacity .2s, visibility .2s; }
}
.bd-drawer__tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  border-bottom: 2px solid var(--rose);
}
.bd-drawer__mot {
  font-family: var(--ff-titres);
  font-weight: 700;
  font-size: 1.15rem;
}
.bd-drawer__close { font-size: 1.7rem; line-height: 1; }
.bd-drawer__nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bd-drawer__nav a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  font-family: var(--ff-titres);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}
.bd-drawer__nav > li { border-bottom: 1px solid var(--filet); }
.bd-drawer__nav .sub-menu { padding-left: 1rem; }
.bd-drawer__nav .sub-menu a { font-size: .98rem; }
.bd-drawer__nav .sub-menu .sub-menu a {
  font-family: var(--ff-texte);
  font-weight: 500;
  color: var(--encre-doux);
}

.bd-poste {
  padding: 1.75rem 0 2.75rem;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .07) 1px, transparent 1.5px) 0 0 / 18px 18px,
    var(--carbone);
  color: #fff;
}
.bd-poste__titre {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin: 0 0 1.5rem;
  font-family: var(--ff-titres);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.25;
  color: var(--sur-carbone);
}
.bd-poste__titre::after {
  content: "";
  flex: 1 1 46px;
  min-width: 46px;
  height: 18px;
  background:
    var(--piste-fin) right top / 46px 18px no-repeat,
    linear-gradient(var(--rose), var(--rose)) left 12px / calc(100% - 46px) 2px no-repeat;
}
.bd-poste__ecrans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.bd-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, #323841 0%, #1a1d22 55%, #24292f 100%);
  border-radius: var(--rayon);
}
.bd-photo__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bd-fiche {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  text-decoration: none;
}
.bd-fiche__texte {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
}
.bd-fiche__genre {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .5rem;
  font-family: var(--ff-titres);
  font-size: .85rem;
  line-height: 1.3;
  color: var(--encre-doux);
}
.bd-fiche__genre b { font-weight: 600; color: var(--rose-texte); }
.bd-fiche__genre b + span::before { content: "/ "; }
.bd-fiche__titre {
  margin: 0;
  font-family: var(--ff-titres);
  font-weight: 600;
  font-size: 1.16rem;
  line-height: 1.26;
  overflow-wrap: break-word;
}
.bd-fiche:hover .bd-fiche__titre {
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.bd-fiche__pied {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .45rem;
  font-size: .86rem;
  color: var(--encre-doux);
}
.bd-fiche--ecran .bd-photo {
  aspect-ratio: 16 / 9;
  border: 7px solid #000;
  border-bottom-width: 11px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--filet-carbone);
}
.bd-fiche--ecran .bd-fiche__titre { font-size: clamp(1.15rem, 1.65vw, 1.4rem); }
.bd-fiche--ecran .bd-fiche__genre,
.bd-fiche--ecran .bd-fiche__pied { color: var(--sur-carbone-doux); }
.bd-fiche--ecran .bd-fiche__genre b { color: var(--rose-clair); }
.bd-fiche--ecran:hover .bd-fiche__titre { text-decoration-color: var(--rose-clair); }

.bd-clavier {
  margin-top: 2.25rem;
  padding: .9rem 1rem 1.1rem;
  background: var(--boitier);
  border: 1px solid var(--filet-carbone);
  border-radius: 14px;
}
.bd-clavier__mot {
  margin: 0 0 .7rem;
  font-family: var(--ff-titres);
  font-weight: 500;
  font-size: .9rem;
  color: var(--sur-carbone-doux);
}
.bd-clavier__touches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bd-clavier__touches li { flex: 1 1 8.4rem; display: flex; }
.bd-clavier__touches .bd-touche { flex: 1; }

.bd-bloc { padding-block: clamp(2.5rem, 5vw, 4rem); }
.bd-bloc--alu { background: var(--alu); }
.bd-entete {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.bd-entete__titre {
  margin: 0;
  font-family: var(--ff-titres);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.12;
}
.bd-entete__lien {
  display: inline-flex;
  align-items: flex-end;
  min-height: var(--tap);
  margin-bottom: -.35rem;
  padding-bottom: .35rem;
  font-family: var(--ff-titres);
  font-weight: 600;
  font-size: .95rem;
  color: var(--rose-texte);
  white-space: nowrap;
  text-underline-offset: 3px;
}
.bd-fiches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 1.75rem;
}

.bd-fil {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.75rem;
}
.bd-ligne {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: .85rem 0;
  border-top: 1px solid var(--filet-fort);
  text-decoration: none;
}
.bd-ligne__date {
  font-family: var(--ff-titres);
  font-weight: 500;
  font-size: .86rem;
  color: var(--encre-doux);
}
.bd-ligne__titre {
  margin: 0;
  font-family: var(--ff-texte);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
}
.bd-ligne:hover .bd-ligne__titre { color: var(--rose-texte); }

.bd-fonds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bd-fonds li { display: flex; }
.bd-fond {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.15rem 1.2rem 1.5rem;
  background: var(--plan);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--filet-fort), inset 0 -6px 0 var(--alu-fort);
  text-decoration: none;
}
.bd-fond:hover {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 1px var(--filet-fort), inset 0 -4px 0 var(--alu-fort);
}
.bd-fond__genre {
  font-family: var(--ff-titres);
  font-weight: 600;
  font-size: .85rem;
  color: var(--rose-texte);
}
.bd-fond__titre {
  margin: 0;
  font-family: var(--ff-titres);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
}
.bd-fond__legende {
  font-size: .93rem;
  line-height: 1.45;
  color: var(--encre-doux);
}

.bd-article__tete { padding-top: 1.5rem; }
.bd-crumbs {
  font-size: .86rem;
  color: var(--encre-doux);
}
.bd-crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  text-decoration: none;
}
.bd-crumbs a:hover { color: var(--rose-texte); }
.bd-article__genre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 .5rem;
  margin: .5rem 0 .4rem;
  font-family: var(--ff-titres);
  font-size: .95rem;
  color: var(--encre-doux);
}
.bd-article__genre b { font-weight: 600; color: var(--rose-texte); }
.bd-article__genre b + a::before { content: "/ "; }
.bd-article__genre a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  text-decoration: none;
  white-space: pre;
}
.bd-article__genre a:hover { color: var(--rose-texte); }
.bd-article__titre {
  max-width: 54rem;
  margin: 0;
  font-family: var(--ff-titres);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.7vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.bd-article__chapo {
  max-width: 46rem;
  margin: 1rem 0 0;
  font-size: clamp(1.1rem, 1.5vw, 1.22rem);
  line-height: 1.5;
  color: var(--encre-doux);
}
.bd-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.4rem;
  margin: 1.1rem 0 0;
  padding-bottom: 1.1rem;
  font-size: .9rem;
  color: var(--encre-doux);
  background:
    var(--piste-fin) right bottom / 46px 18px no-repeat,
    linear-gradient(var(--rose), var(--rose)) left calc(100% - 4px) / calc(100% - 46px) 2px no-repeat;
}
.bd-article__meta > span {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  min-height: var(--tap);
}
.bd-article__meta a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 600;
  color: var(--encre);
  text-underline-offset: 3px;
}
.bd-article__plan {
  display: grid;
  grid-template-columns: minmax(0, 46rem) minmax(0, 19rem);
  justify-content: space-between;
  gap: 2.5rem 4rem;
  padding-top: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.bd-article__vue { margin-bottom: 2rem; }
.bd-article__vue img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--rayon);
}
.bd-prose {
  font-size: 1.1rem;
  line-height: 1.72;
  overflow-wrap: break-word;
}
.bd-prose > * { margin-block: 0 1.3em; }
.bd-prose :is(h2, h3, h4) {
  font-family: var(--ff-titres);
  line-height: 1.2;
  margin-block: 2.1em .7em;
}
.bd-prose h2 { font-weight: 700; font-size: clamp(1.4rem, 2.3vw, 1.7rem); }
.bd-prose h2::after {
  content: "";
  display: block;
  width: 7.5rem;
  height: 18px;
  margin-top: .15rem;
  background:
    var(--piste-fin) right top / 46px 18px no-repeat,
    linear-gradient(var(--rose), var(--rose)) left 12px / calc(100% - 46px) 2px no-repeat;
}
.bd-prose h3 { font-weight: 600; font-size: 1.28rem; }
.bd-prose h4 { font-weight: 600; font-size: 1.1rem; }
.bd-prose a {
  color: var(--rose-texte);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.bd-prose a:hover { text-decoration-thickness: 2px; }
.bd-prose :is(ul, ol) { padding-left: 1.3em; }
.bd-prose li { margin-bottom: .45em; }
.bd-prose li::marker { color: var(--rose-texte); font-weight: 600; }
.bd-prose blockquote {
  margin-inline: 0;
  padding: .2rem 0 .2rem 1.2rem;
  border-left: 3px solid var(--rose);
  color: var(--encre-doux);
}
.bd-prose img { border-radius: var(--rayon); }
.bd-prose figcaption {
  margin-top: .5rem;
  font-size: .88rem;
  color: var(--encre-doux);
}
.bd-prose :is(table, .wp-block-table) {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.bd-prose .wp-block-table table { display: table; }
.bd-prose table { font-size: .95rem; line-height: 1.45; }
.bd-prose :is(th, td) {
  padding: .6rem .85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--filet-fort);
}
.bd-prose th {
  background: var(--carbone);
  color: #fff;
  font-family: var(--ff-titres);
  font-weight: 600;
}
.bd-prose tbody tr:nth-child(even) td { background: var(--alu); }

.bd-signature {
  display: flex;
  gap: 1.1rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 2px solid var(--encre);
}
.bd-signature__portrait {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 10px;
}
.bd-signature p { margin: 0; }
.bd-signature__mot { font-size: .88rem; color: var(--encre-doux); }
.bd-signature__nom {
  font-family: var(--ff-titres);
  font-weight: 700;
  font-size: 1.25rem;
}
.bd-signature__nom a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  text-decoration: none;
}
.bd-signature__nom a:hover { color: var(--rose-texte); }
.bd-signature__bio { font-size: .98rem; color: var(--encre-doux); }

.bd-marge {
  align-self: start;
  position: sticky;
  top: 92px;
  display: grid;
  gap: 2.25rem;
}
.bd-marge__titre {
  display: flex;
  align-items: flex-end;
  gap: .75rem;
  margin: 0 0 .4rem;
  font-family: var(--ff-titres);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.2;
}
.bd-marge__titre::after {
  content: "";
  flex: 1 1 46px;
  min-width: 46px;
  height: 18px;
  background:
    var(--piste-fin) right top / 46px 18px no-repeat,
    linear-gradient(var(--rose), var(--rose)) left 12px / calc(100% - 46px) 2px no-repeat;
}
.bd-marge__liste {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bd-marge__liste li + li { border-top: 1px solid var(--filet); }
.bd-marge__liste a {
  display: block;
  padding: .7rem 0;
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.36;
  text-decoration: none;
}
.bd-marge__liste a:hover { color: var(--rose-texte); }
.bd-marge__suite {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-family: var(--ff-titres);
  font-weight: 600;
  font-size: .92rem;
  color: var(--rose-texte);
  text-underline-offset: 3px;
}

.bd-rayon__auteur {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: .6rem;
}
.bd-rayon__portrait {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 10px;
}
.bd-rayon__genre {
  margin: 0 0 .15rem;
  font-family: var(--ff-titres);
  font-weight: 600;
  font-size: .95rem;
  color: var(--rose-texte);
}
.bd-rayon .bd-crumbs + .bd-article__titre,
.bd-feuille .bd-crumbs + .bd-article__titre,
.bd-contact .bd-crumbs + .bd-article__titre { margin-top: .5rem; }
.bd-rayon__desc {
  max-width: 46rem;
  margin-top: .9rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--encre-doux);
}
.bd-rayon__desc p { margin: 0 0 .6em; }
.bd-rayon__desc p:last-child { margin-bottom: 0; }
.bd-rayon__champ {
  max-width: 34rem;
  margin-top: 1.2rem;
}
.bd-rayon__corps {
  padding-top: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.bd-rayon__vide {
  max-width: 46rem;
  margin: 0 0 2rem;
  font-size: 1.08rem;
}

.bd-sous { margin-bottom: 2.5rem; }
.bd-sous__mot {
  margin: 0 0 .7rem;
  font-family: var(--ff-titres);
  font-weight: 500;
  font-size: .9rem;
  color: var(--encre-doux);
}
.bd-sous__liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bd-sous__liste li { display: flex; }
.bd-sous__liste .bd-touche {
  flex: 1;
  min-height: 62px;
}
.bd-touche--claire .bd-touche__compte { color: var(--encre-doux); }

.bd-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 2.75rem;
  font-family: var(--ff-titres);
  font-weight: 600;
}
.bd-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  height: var(--tap);
  padding: 0 .55rem 4px;
  background: var(--plan);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--filet-fort), inset 0 -4px 0 var(--alu-fort);
  text-decoration: none;
}
.bd-pager a.page-numbers:hover {
  padding-bottom: 2px;
  color: var(--rose-texte);
  box-shadow: inset 0 0 0 1px var(--filet-fort), inset 0 -2px 0 var(--alu-fort);
}
.bd-pager .page-numbers.current {
  background: var(--touche);
  color: #fff;
  box-shadow: inset 0 -4px 0 var(--jupe);
}
.bd-pager .page-numbers.dots {
  min-width: 1.4rem;
  padding-inline: 0;
  background: none;
  box-shadow: none;
  color: var(--encre-doux);
}

.bd-marge--dossier .bd-marge__liste a[aria-current] {
  padding-left: .8rem;
  color: var(--rose-texte);
  box-shadow: inset 3px 0 0 var(--rose);
}
.bd-article__pages {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  font-family: var(--ff-titres);
  font-weight: 600;
}

.bd-prose .crp_related { clear: both; }
.bd-prose .crp_related ul { padding-left: 0; }
.bd-prose .crp_related li { margin-bottom: 0; }

.bd-contact__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 32rem);
  gap: 2.5rem 4rem;
  align-items: start;
  padding-top: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.bd-contact__body--seul { grid-template-columns: minmax(0, 36rem); }
.bd-contact__form .wpforms-container {
  margin: 0;
  --wpforms-label-color: var(--encre);
  --wpforms-label-sublabel-color: var(--encre-doux);
  --wpforms-field-text-color: var(--encre);
  --wpforms-field-border-color: var(--filet-fort);
  --wpforms-field-border-radius: 6px;
  --wpforms-button-background-color: var(--rose-texte);
  --wpforms-button-border-color: var(--rose-texte);
  --wpforms-button-text-color: #fff;
  --wpforms-button-border-radius: 6px;
}
.bd-contact__form .wpforms-container :is(input, textarea, select, button, label, legend) { font-family: inherit; }
.bd-contact__form .wpforms-container .wpforms-field-label { font-weight: 600; }
.bd-contact__form .wpforms-container button[type="submit"] {
  min-height: var(--tap);
  font-family: var(--ff-titres);
  font-weight: 600;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .28);
}

.bd-perdu {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.bd-perdu__code {
  display: flex;
  gap: 9px;
  margin: 0 0 1.6rem;
}
.bd-perdu__code .bd-touche {
  align-items: center;
  justify-content: center;
  width: 68px;
  min-height: 68px;
  padding: 0 0 7px;
  font-size: 1.9rem;
  font-weight: 700;
  pointer-events: none;
}
.bd-perdu__code .bd-touche:nth-child(2) { color: var(--rose-clair); }
.bd-perdu__mot {
  max-width: 40rem;
  margin: 1rem 0 0;
  font-size: 1.1rem;
  color: var(--encre-doux);
}
.bd-perdu .bd-rayon__champ { margin-bottom: 2.5rem; }
.bd-perdu__retour { margin: 0; }
.bd-perdu__retour a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-family: var(--ff-titres);
  font-weight: 600;
  color: var(--rose-texte);
  text-underline-offset: 3px;
}

body.bd #ez-toc-container {
  float: none;
  display: block;
  width: 100%;
  margin: 0 0 1.6em;
  padding: .35rem .5rem .35rem 1.1rem;
  background: var(--alu);
  border: 0;
  border-radius: 8px;
  box-shadow: inset 0 -4px 0 var(--alu-fort);
}
body.bd #ez-toc-container .ez-toc-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: var(--tap);
}
body.bd #ez-toc-container .ez-toc-title-container .ez-toc-title {
  margin: 0;
  padding: 0;
  font-family: var(--ff-titres);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.2;
  color: var(--encre);
}
body.bd #ez-toc-container .ez-toc-title-toggle { flex: none; }
body.bd #ez-toc-container a.ez-toc-toggle {
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  margin: 0;
  padding: 0 .5rem;
  background: none;
  border: 0;
  box-shadow: none;
  text-shadow: none;
  color: var(--encre);
}
body.bd #ez-toc-container a.ez-toc-toggle:hover { color: var(--rose-texte); }
body.bd #ez-toc-container a.ez-toc-toggle svg { fill: currentColor !important; color: inherit !important; }
body.bd #ez-toc-container .ez-toc-btn:focus:not(:focus-visible) { outline: none; }
body.bd #ez-toc-container .ez-toc-btn:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}
body.bd #ez-toc-container .ez-toc-js-icon-con {
  position: static;
  float: none;
  left: 0;
  width: auto;
  height: auto;
  border: 0;
}
body.bd #ez-toc-container nav > ul.ez-toc-list {
  margin: .25rem 0 .7rem;
  padding: .5rem .6rem 0 0;
  border-top: 1px solid var(--filet-fort);
}
body.bd #ez-toc-container ul.ez-toc-list li { margin: 0; }
body.bd #ez-toc-container ul.ez-toc-list a {
  display: block;
  padding: .42rem 0;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--encre);
  text-decoration: none;
}
body.bd #ez-toc-container ul.ez-toc-list a:hover {
  color: var(--rose-texte);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.bd #ez-toc-container ul.ez-toc-list a::before {
  font-family: var(--ff-titres);
  font-weight: 600;
  color: var(--rose-texte);
}
body.bd #ez-toc-container ul.ez-toc-list ul a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--encre-doux);
}

@media (max-width: 920px) {
  .bd-contact__body { grid-template-columns: minmax(0, 36rem); }
}
@media (max-width: 599px) {
  .bd-sous__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bd-rayon__portrait { width: 56px; height: 56px; }
  .bd-perdu__code .bd-touche { width: 58px; min-height: 58px; font-size: 1.6rem; }
}

.bd-lettre__mot {
  margin: 0 0 .8rem;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--encre-doux);
}
.bd-lettre .bd-newsletter input,
body.bd .bd-lettre .sib_signup_form p.sib-email-area input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: var(--tap);
  padding: 0 .9rem;
  background: #fff;
  color: var(--encre);
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  font-size: 1rem;
}
body.bd .bd-lettre .sib_signup_form input[type="submit"] {
  min-height: var(--tap);
  padding: 0 1rem;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .28);
  font-family: var(--ff-titres);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: 0;
  text-transform: none;
}
.bd-lettre--marge .bd-newsletter,
body.bd .bd-lettre--marge .sib_signup_form [class*="sib_signup_box_inside_"] { flex-direction: column; }
body.bd .bd-lettre--marge .sib_signup_form p.sib-email-area { min-width: 0; }

body.bd .bd-lettre--marge .sib_signup_form input[type="submit"] { width: 100%; }

body.bd .bd-lettre--panneau .sib_signup_form p.sib-email-area { flex: 999 1 200px; }
body.bd .bd-lettre--panneau .sib_signup_form p:has(> input[type="submit"]) { flex: 1 0 auto; }
body.bd .bd-lettre--panneau .sib_signup_form input[type="submit"] { width: 100%; }
.bd-accueil__lettre { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.bd-lettre--panneau {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  padding: 1.3rem 1.5rem 1.7rem;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--filet-fort), inset 0 -6px 0 var(--alu-fort);
}
.bd-lettre--panneau .bd-lettre__texte { flex: 1 1 20rem; }
.bd-lettre--panneau .bd-lettre__titre {
  margin: 0 0 .25rem;
  font-family: var(--ff-titres);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
}
.bd-lettre--panneau .bd-lettre__mot { margin: 0; }
.bd-lettre--panneau .bd-lettre__champ { flex: 0 1 27rem; min-width: min(100%, 16rem); }

@media (min-width: 1100px) and (max-height: 939px) {
  .bd-article .bd-marge { position: static; }
}

.bd-reseaux {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}
.bd-reseaux__lien {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  padding-bottom: 5px;
  background: var(--touche);
  color: #fff;
  border-radius: 8px;
  box-shadow: inset 0 -5px 0 var(--jupe), inset 0 1px 0 rgba(255, 255, 255, .09);
}
.bd-reseaux__lien:hover {
  padding-bottom: 3px;
  color: var(--rose-clair);
  box-shadow: inset 0 -3px 0 var(--jupe), inset 0 1px 0 rgba(255, 255, 255, .09);
}
.bd-reseaux--clair {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--filet-fort);
}
.bd-reseaux--clair .bd-reseaux__lien {
  padding-bottom: 4px;
  background: var(--plan);
  color: var(--encre);
  box-shadow: inset 0 0 0 1px var(--filet-fort), inset 0 -4px 0 var(--alu-fort);
}
.bd-reseaux--clair .bd-reseaux__lien:hover {
  padding-bottom: 2px;
  color: var(--rose-texte);
  box-shadow: inset 0 0 0 1px var(--filet-fort), inset 0 -2px 0 var(--alu-fort);
}

.bd-reseaux--tete {
  gap: 0;
  margin: 0;
}
.bd-reseaux--tete .bd-reseaux__lien,
.bd-reseaux--tete .bd-reseaux__lien:hover {
  width: 36px;
  padding-bottom: 0;
  background: none;
  box-shadow: none;
}
.bd-reseaux--tete .bd-reseaux__lien { color: var(--encre-doux); }
.bd-reseaux--tete .bd-reseaux__lien:hover { color: var(--rose-texte); }
@media (max-width: 1279px) {
  .bd-reseaux--tete { display: none; }
}

@media (min-width: 1280px) {
  .bd-header__actions:has(.bd-reseaux--tete) .bd-header__search-mot { display: none; }
  .bd-header__actions:has(.bd-reseaux--tete) .bd-header__search { width: var(--tap); padding: 0 0 4px; }
  .bd-header__actions:has(.bd-reseaux--tete) { gap: .75rem; }
}

.bd-footer {
  padding: 2.75rem 0 1.5rem;
  background: var(--carbone);
  color: var(--sur-carbone);
}
.bd-footer__newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--filet-carbone);
}
.bd-footer__newsletter-title {
  margin: 0;
  font-family: var(--ff-titres);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
}
.bd-footer__newsletter > :last-child { flex: 0 1 28rem; min-width: min(100%, 16rem); }
.bd-newsletter { display: flex; gap: .5rem; }
.bd-newsletter input,
body.bd .bd-footer .sib_signup_form p.sib-email-area input[type="email"] {
  flex: 1;
  min-width: 0;
  background: #fff;
  color: var(--encre);
  border: 0;
  border-radius: var(--rayon);
}
.bd-newsletter button,
body.bd .bd-footer .sib_signup_form input[type="submit"] {
  background: var(--rose-texte);
  color: #fff;
  border-radius: var(--rayon);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .28);
  font-family: var(--ff-titres);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: 0;
  text-transform: none;
}
.bd-footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr 1.5fr 1.1fr;
  gap: 2rem 2.5rem;
  padding: 2.5rem 0;
}
.bd-footer .bd-header__wordmark { color: #fff; }
.bd-footer .bd-header__wordmark span { color: var(--sur-carbone-doux); }
.bd-footer__mot {
  margin: 0 0 .5rem;
  font-family: var(--ff-titres);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}
.bd-footer__liste {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bd-footer__liste--double { columns: 2; column-gap: 1.5rem; }
.bd-footer__liste a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: .96rem;
  text-decoration: none;
}
.bd-footer__liste a:hover { color: var(--rose-clair); text-decoration: underline; }
.bd-footer__copyright {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--filet-carbone);
  font-size: .86rem;
  color: var(--sur-carbone-doux);
}

@media (max-width: 1199px) {
  .bd-header__nav-wrap { display: none; }
  .bd-header__hamburger { display: inline-flex; }
}
@media (max-width: 1099px) {
  .bd-article__plan { grid-template-columns: minmax(0, 46rem); justify-content: start; }
  .bd-marge { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .bd-fonds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .bd-poste__ecrans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-poste__ecrans > :first-child { grid-column: 1 / -1; }
  .bd-fiches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-fil { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .bd-header__row { gap: .75rem; }
  .bd-header__search-mot { display: none; }
  .bd-header__search { width: var(--tap); padding: 0 0 4px; }
  .bd-header__wordmark { font-size: 1.12rem; }
  .bd-poste__ecrans { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .bd-poste__ecrans > :nth-child(n+2) {
    display: grid;
    grid-template-columns: 8.25rem minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
  }
  .bd-poste__ecrans > :nth-child(n+2) .bd-photo { border-width: 4px 4px 7px; border-radius: 7px; }
  .bd-poste__ecrans > :nth-child(n+2) .bd-fiche__titre { font-size: 1.04rem; }
  .bd-clavier { padding: .8rem .7rem .9rem; }
  .bd-clavier__touches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bd-touche { min-height: 58px; font-size: .94rem; }
  .bd-fiches { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .bd-fiche--fiche {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
  }
  .bd-fiche--fiche .bd-photo { aspect-ratio: 1; }
  .bd-fiche--fiche .bd-fiche__titre { font-size: 1.04rem; }
  .bd-ligne { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .bd-fonds { grid-template-columns: minmax(0, 1fr); }
  .bd-marge { grid-template-columns: minmax(0, 1fr); }
  .bd-prose { font-size: 1.05rem; }
  .bd-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .bd-footer__newsletter > :last-child { flex-basis: 100%; }
}

body.bd {
  background: var(--plan) !important;
  color: var(--encre) !important;
}

body.bd .ast-article-post,
body.bd .site-main > article,
body.bd #content,
body.bd .ast-container,
body.bd .site-content,
body.bd .entry-content,
body.bd .site-main,
body.bd .content-area,
body.bd #page,
body.bd .ast-article-single,
body.bd #primary {
  background: transparent !important;
  max-width: 100% !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

body.bd .ast-archive-title-wrap,
body.bd .ast-secondary-header-bar,
body.bd .ast-below-header-wrap,
body.bd .ast-page-header,
body.bd .ast-above-footer,
body.bd .ast-breadcrumbs-wrapper,
body.bd .site-below-footer-wrap,
body.bd .ast-small-footer,
body.bd .site-footer,
body.bd .ast-main-header-wrap,
body.bd .main-header-bar,
body.bd .ast-below-footer,
body.bd .footer-widget-area {
  padding: 0 !important;
  margin: 0 !important;
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  border: none !important;
  overflow: hidden !important;
}

body.bd .ast-page-title-bar,
body.bd #ast-desktop-header,
body.bd .ast-above-header-wrap,
body.bd #colophon,
body.bd .ast-header-breadcrumb {
  overflow: hidden !important;
  display: none !important;
  border: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  height: 0 !important;
  padding: 0 !important;
}

body.bd .ast-footer-overlay,
body.bd .ast-primary-header-bar,
body.bd #ast-mobile-header,
body.bd #masthead,
body.bd .entry-banner,
body.bd .ast-mobile-header-wrap,
body.bd .site-header,
body.bd .ast-breadcrumbs-inner,
body.bd .main-header-bar-wrap,
body.bd .ast-footer-copyright {
  min-height: 0 !important;
  display: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  height: 0 !important;
  border: none !important;
  margin: 0 !important;
}

body.bd.home .entry-header,
body.bd.home .ast-archive-description {
  display: none !important;
}

:where(body.bd) :where(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], textarea) {
  background: transparent;
  color: var(--encre);
  border: 1px solid var(--filet-fort);
}

body.bd #ast-scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: var(--tap);
  height: var(--tap);
  background: var(--encre);
  color: var(--plan);
  cursor: pointer;
}
body.bd #ast-scroll-top .ast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
body.bd #ast-scroll-top svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transform: rotate(180deg);
}

body.bd.admin-bar .bd-header { top: 32px; }
@media (max-width: 782px) {
  body.bd.admin-bar .bd-header { top: 46px; }
}

body.bd .sib_signup_form { margin: 0; padding: 0; background: transparent; border: none; }
body.bd .sib_signup_form [class*="sib_signup_box_inside_"] {
  display: flex; gap: 8px; padding: 0; background: transparent; border: none;
  align-items: stretch; flex-wrap: wrap;
}

body.bd .sib_signup_form p.sib-email-area { font-size: 0; margin: 0; padding: 0; flex: 1; min-width: 200px; }
body.bd .sib_signup_form p.sib-email-area input[type="email"] {
  width: 100%; background: transparent; border: 1px solid var(--filet-fort); border-radius: var(--rayon);
  padding: 13px 22px; font-family: var(--ff-texte); font-size: 14px; color: var(--encre); outline: none;
}
body.bd .sib_signup_form input.sib-default-btn,
body.bd .sib_signup_form input[type="submit"] {
  background: var(--rose-texte); color: #fff; border: none; border-radius: var(--rayon);
  padding: 13px 24px; font-size: 11px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; cursor: pointer;
}

body.bd .sib_signup_form [class*="sib_signup_box_inside_"] > p { display: flex; margin: 0; padding: 0; }
body.bd .sib_signup_form p.sib-email-area label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
body.bd .sib_msg_disp { flex-basis: 100%; order: 3; }

body.bd .sib_signup_form :is(.cf-turnstile, .g-recaptcha) { flex-basis: 100%; order: 4; }
body.bd .sib_msg_disp:empty { display: none; }
body.bd .sib-alert-message-success { color: #2e7d32; }
body.bd .sib-alert-message-error { color: #c0392b; }

body.bd .wpcf7-form p { margin: 0 0 24px; }
body.bd .wpcf7-form input[type="text"],
body.bd .wpcf7-form input[type="email"],
body.bd .wpcf7-form input[type="tel"],
body.bd .wpcf7-form textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--filet-fort);
  border-radius: 0; padding: 10px 0; font-family: var(--ff-texte); font-size: 15px; color: var(--encre);
  box-shadow: none;
}
body.bd .wpcf7-form input:focus,
body.bd .wpcf7-form textarea:focus { border-bottom-color: var(--rose-texte); }
body.bd .wpcf7-form input[type="submit"] {
  background: var(--rose-texte); color: #fff; border: none; border-radius: var(--rayon); padding: 11px 24px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; cursor: pointer;
}
