/* ═══════════════════════════════════════════════════════════
   BATI SHOP — sections ajoutées au template (devis, avis, FAQ,
   contact, WhatsApp). styles.css reste canonique : tout ce qui
   est propre à BATI SHOP vit ici, sur les mêmes tokens.
   ═══════════════════════════════════════════════════════════ */

:root {
  --charbon: #1F2124;
  --anthracite: #34383D;
  --acier-fonce: #5A6168;
  --gris-perle: #E6E9EC;
  --gris-clair: #C9CED3;
  --jaune-survol: #F5A300;
  --jaune-appuye: #D98E00;
  --jaune-clair: #FFF3D1;
  --whatsapp: #25D366;
  --whatsapp-texte: #10261A;
  --succes: #0F7D43;
  --erreur: #C62828;
}

.bs { position: relative; z-index: 2; padding: 16vh var(--gutter); background: var(--bone); }
.bs-wrap { max-width: 1240px; margin: 0 auto; }
.bs-h2 { font-size: var(--t-heading); letter-spacing: -0.02em; line-height: 1.08; margin: 14px 0 22px; }
.bs-lead { max-width: 34ch; font-size: 21px; line-height: 1.4; }
.bs-dim { color: var(--acier-fonce); font-size: 16px; }

/* ─── boutons ─── */
.bs-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  font: 500 16px/1 var(--sans); letter-spacing: -0.005em;
  border: 1px solid transparent; border-radius: 6px;
  cursor: pointer; transition: background .25s, border-color .25s, color .25s;
}
.bs-btn-main { background: var(--lime); color: var(--charbon); }
.bs-btn-main:hover { background: var(--jaune-survol); }
.bs-btn-main:active { background: var(--jaune-appuye); }
.bs-btn-wa { background: var(--whatsapp); color: var(--whatsapp-texte); }
.bs-btn-wa:hover { filter: brightness(0.95); }
.bs-btn-line { background: transparent; color: inherit; border-color: currentColor; }
.bs-btn-line:hover { background: rgba(255, 255, 255, 0.08); }
.bs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

:where(.bs, .bs-float, .bs-callbar) :focus-visible { outline: 3px solid var(--charbon); outline-offset: 2px; }
:where(.bs-avis, .bs-infos) :focus-visible { outline-color: var(--lime); }

/* ─── DEVIS ─── */
.bs-devis { background: var(--jaune-clair); }
.bs-devis .ash { color: var(--acier-fonce); }
.bs-devis-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.bs-quick { margin-top: 34px; border-top: 1px solid rgba(31, 33, 36, 0.18); }
.bs-quick a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(31, 33, 36, 0.18);
  font-size: 19px; transition: padding .3s var(--ease-out);
}
.bs-quick a:hover { padding-left: 8px; }

.bs-form {
  background: var(--white); border-radius: 8px;
  padding: clamp(22px, 3.4vw, 44px);
  box-shadow: 0 30px 60px -40px rgba(31, 33, 36, 0.35);
  display: grid; gap: 18px;
}
.bs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bs-field { display: grid; gap: 7px; border: 0; min-width: 0; }
.bs-field label, .bs-field legend { font-size: 15px; font-weight: 500; color: var(--charbon); padding: 0; margin-bottom: 7px; }
.bs-field > label { margin-bottom: 0; }
.bs-field abbr { text-decoration: none; color: var(--erreur); }
.bs-form input:not([type=checkbox]):not([type=radio]), .bs-form select, .bs-form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 16px/1.4 var(--sans); color: var(--charbon);
  background: var(--gris-perle); border: 1px solid transparent; border-radius: 6px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.bs-form textarea { resize: vertical; }
.bs-form input[type=file] { padding: 12px; min-height: 0; }
.bs-form input:focus, .bs-form select:focus, .bs-form textarea:focus {
  outline: none; background: #fff; border-color: var(--charbon);
  box-shadow: 0 0 0 4px rgba(255, 180, 0, 0.45);
}
.bs-form [aria-invalid="true"] { border-color: var(--erreur) !important; }
.bs-err { min-height: 0; font-size: 14px; color: var(--erreur); }
.bs-err:not(:empty)::before { content: '⚠ '; }
.bs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-chips label { position: relative; cursor: pointer; }
.bs-chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.bs-chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--gris-clair); border-radius: 6px; font-size: 15px;
  transition: background .2s, border-color .2s;
}
.bs-chips input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--charbon); }
.bs-chips input:focus-visible + span { outline: 3px solid var(--charbon); outline-offset: 2px; }
.bs-cats.is-invalid .bs-chips span { border-color: var(--erreur); }
.bs-captcha { display: grid; gap: 6px; min-height: 65px; }
.bs-captcha[hidden] { display: none; }
.bs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bs-form .bs-actions { margin-top: 6px; }
.bs-form .bs-actions .bs-btn { flex: 1 1 220px; }
.bs-note { text-transform: none; letter-spacing: 0; font-size: 13px; }
.bs-status:empty { display: none; }
.bs-status { padding: 14px 16px; border-radius: 6px; color: #fff; font-size: 15px; }
.bs-status.ok { background: var(--succes); }
.bs-status.ko { background: var(--erreur); }

/* ─── AVIS ─── */
.bs-avis { background: var(--anthracite); color: #fff; text-align: center; }
.bs-avis .mono { color: var(--gris-clair); }
.bs-avis-inner { display: flex; flex-direction: column; align-items: center; }
.bs-avis .bs-h2 { position: relative; padding-bottom: 18px; }
.bs-avis .bs-h2::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 72px; height: 4px;
  transform: translateX(-50%); background: var(--lime);
}
.bs-avis .bs-lead { color: #fff; max-width: 40ch; }
.bs-avis .bs-actions { justify-content: center; }

/* ─── FAQ ─── */
.bs-faq-list { margin-top: 34px; border-top: 1px solid var(--ink); }
.bs-faq details { border-bottom: 1px solid var(--ink-faint); }
.bs-faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
}
.bs-faq summary::-webkit-details-marker { display: none; }
.bs-faq summary h3 { font-size: clamp(19px, 1.9vw, 26px); letter-spacing: -0.01em; line-height: 1.25; }
.bs-faq summary::after {
  content: '+'; flex: none;
  width: 40px; height: 40px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--lime); color: var(--charbon);
  font-size: 24px; line-height: 1;
}
.bs-faq details[open] summary::after { content: '−'; }
.bs-faq details p { max-width: 62ch; padding: 0 64px 26px 0; color: var(--acier-fonce); font-size: 18px; line-height: 1.55; }

/* ─── CONTACT + CARTE ─── */
.bs-infos { background: var(--charbon); color: #fff; }
.bs-infos .mono { color: var(--gris-clair); }
.bs-infos-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.bs-dl { margin: 10px 0 34px; }
.bs-dl > div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.bs-dl dt { padding-top: 4px; }
.bs-dl dd { font-size: 18px; line-height: 1.45; }
.bs-dl .bs-dim { color: var(--gris-clair); }
.bs-dl a { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.bs-map { min-height: 420px; border-radius: 8px; overflow: hidden; background: var(--anthracite); }
.bs-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(0.35); }

/* ─── logo officiel dans le header ─── */
/* le circonflexe de « BÂTI » alourdit le haut du logo : on le remonte
   pour qu'il paraisse centré dans la barre */
.dock-wordmark { display: flex; align-items: center; margin-top: -8px; }
.dock-wordmark img { height: 34px; width: auto; border-radius: 0; }

/* ─── loader : logo complet, puis repli sur le nom ───
   La boîte .loader-wordmark a EXACTEMENT les proportions du logo recadré
   (viewBox 58 508 1278 274) : c'est elle que le moteur fait voler jusqu'au
   header. Le logo complet est dessiné par ::before, calé pour que son nom
   tombe pile dans la boîte ; au départ du vol (.loader.done) le toit se
   replie (clip-path) et le logo redescend sur le nom — transition continue,
   sans changement d'image. En pseudo-élément, content.js ne peut pas l'effacer. */
.loader-wordmark {
  --lw: 300px;                                   /* largeur du nom */
  position: relative;
  width: var(--lw);
  height: calc(var(--lw) * 274 / 1278);
  margin-bottom: calc(var(--lw) * 256 / 1278);  /* place sous le logo complet */
  font-size: 0; color: transparent;              /* le texte injecté reste invisible */
}
.loader-wordmark::before {
  content: '';
  position: absolute;
  left: calc(var(--lw) * -58 / 1278);
  top: calc(var(--lw) * -508 / 1278);
  width: calc(var(--lw) * 1386 / 1278);
  height: calc(var(--lw) * 786 / 1278);
  background: url('images/logo-batishop.svg') center / 100% 100% no-repeat;
  transform: translateY(calc(var(--lw) * 252 / 1278));   /* logo complet centré */
  clip-path: inset(0 0 0 0);
  animation: bs-logo-in .5s var(--ease-out) both;
  transition: clip-path .85s var(--ease-inout), transform .85s var(--ease-inout);
}
.loader.done .loader-wordmark::before {
  transform: translateY(0);
  clip-path: inset(64.63% 3.61% 0.51% 4.18%);     /* ne garde que le nom */
}
@keyframes bs-logo-in { from { opacity: 0; } to { opacity: 1; } }

/* ─── processus : numéros d'étape en jaune BATI SHOP ───
   Le grand chiffre est décoratif (aria-hidden) : jaune plein.
   Le libellé « ÉTAPE — 01 » est un petit texte : jaune sur une étiquette
   charbon, car le jaune sur fond clair est illisible (1,8:1, charte §2). */
.bignum { color: var(--lime); }
.pstep .pstep-meta.ash {
  display: inline-block;
  color: var(--lime);
  background: var(--charbon);
  padding: 6px 10px;
  border-radius: 4px;
}

/* ═══════════ ACCENTS JAUNES — partout, sans jamais de petit texte jaune
   sur fond clair (charte §2) : traits, ovales, surlignages, filets et
   grands éléments décoratifs ; texte jaune seulement sur fond sombre. ═══════════ */
::selection { background: var(--lime); color: var(--charbon); }

/* loader : la barre de progression */
.loader-rule i { background: var(--lime); }

/* header : soulignement des ancres au survol */
.dock-link::after { background: var(--lime); height: 2px; }

/* hero : petit trait devant le kicker, « 12 h. » surligné */
#heroKicker::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: 22px; height: 3px; margin-right: 10px;
  background: var(--lime);
}
#heroLine2 .grow + .hl {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 90%, transparent 90%);
  padding: 0 0.06em;
}

/* manifeste : l'ovale dessiné à la main */
.box-svg path, .fill-text.greyed .box-svg path { stroke: var(--lime); stroke-width: 2.6; }

/* sélection de produits : kicker souligné, filet jaune au survol des cartes */
.coll-head > .mono:first-child {
  display: inline-block; padding-bottom: 6px;
  border-bottom: 3px solid var(--lime);
}
.card-img::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--lime);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.card:hover .card-img::after { transform: scaleX(1); }

/* processus : l'ovale du bouton « Demander un devis » */
.cta-oval path, body.static .disc-cta .cta-oval path { stroke: var(--lime); stroke-width: 2.6; }

/* chiffre clé : grand guillemet, filet et « +3000 » surligné */
.q-glyph { color: var(--lime); }
.q-rule { background: var(--lime); height: 3px; }
.q-fig .fig-val {
  background: linear-gradient(transparent 55%, var(--lime) 55%, var(--lime) 92%, transparent 92%);
  padding: 0 0.08em;
}

/* objections : l'ovale autour de « livré. » */
.pill-svg path { stroke: var(--lime); stroke-width: 2.6; }

/* titres des sections ajoutées : filet jaune dessous (motif du toit) */
.bs-devis .bs-h2::after, .bs-faq .bs-h2::after, .bs-infos .bs-h2::after {
  content: ''; display: block; width: 72px; height: 4px; margin-top: 16px;
  background: var(--lime);
}
.bs-infos .bs-h2 { color: #fff; }
.bs-infos .bs-h2 + .bs-dl dt, .bs-infos .mono:first-child { color: var(--lime); }
.bs-avis > .bs-wrap > .mono:first-child { color: var(--lime); }
.bs-quick a:hover { color: var(--charbon); background: linear-gradient(90deg, rgba(255, 180, 0, 0.25), transparent); }

/* pied de page : e-mail souligné, « SHOP » en jaune comme le logo, filet */
.footer-mail-text::after { background: var(--lime); height: 3px; bottom: -6px; transform: scaleX(1); }
.footer-mail:hover .footer-mail-text::after { background: var(--charbon); }
.footer-name .ch:nth-of-type(n+5) .chi { color: var(--lime); }
.footer-bottom { border-top: 2px solid var(--lime); }
.footer-bottom a.bs-soc-link:hover { color: var(--charbon); box-shadow: inset 0 -3px 0 var(--lime); }

/* ─── manifeste : deux bandes de photos en parallélogramme ───
   Inclinées comme la pente du toit du logo. La bande du haut glisse vers
   la gauche, celle du bas vers la droite, au rythme du défilement (JS).
   --sh = hauteur d'une bande ; la pente vaut 18 % de la largeur d'une tuile. */
.s-fill .pin { --sh: clamp(96px, 17vh, 184px); }
.bs-strip {
  position: absolute; left: 0; right: 0; height: var(--sh);
  overflow: hidden; pointer-events: none; z-index: 0;
}
.bs-strip-top { top: max(84px, 11vh); }
.bs-strip-bottom { bottom: 6vh; }
.bs-strip-track {
  position: absolute; top: 0; left: 50%; height: 100%;
  display: flex;
  transform: translateX(-50%);
  will-change: transform;
}
.bs-par {
  flex: none; position: relative; height: 100%; aspect-ratio: 3 / 2;
  margin-right: calc(var(--sh) * -0.2);           /* rapproche les pentes : ~6 % d'écart */
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  overflow: hidden; border-radius: 0;
}
.bs-par img {
  position: absolute; top: 0; left: -12%;
  width: 124%; max-width: none; height: 100%; object-fit: cover; border-radius: 0;
  transform: translateX(var(--ix, 0px));           /* léger contre-mouvement de l'image */
  will-change: transform;
}
.bs-par-jaune { background: var(--lime); }
.s-fill .fill-text { position: relative; z-index: 1; }

/* sans animation (prefers-reduced-motion) : bandes posées au-dessus et dessous */
body.static .s-fill .pin { flex-direction: column; gap: 6vh; }
body.static .bs-strip { position: relative; top: auto; bottom: auto; width: 100%; }

/* ─── réseaux sociaux ─── */
.bs-social { display: flex; gap: 12px; margin: -10px 0 30px; }
.bs-social a {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); color: #fff;
  transition: background .25s, color .25s;
}
.bs-social a:hover { background: var(--lime); color: var(--charbon); }
.bs-social svg { width: 22px; height: 22px; }
.bs-soc-link { display: inline-flex; align-items: center; gap: 7px; }
.bs-soc-link svg { width: 16px; height: 16px; flex: none; }

/* ─── WhatsApp flottant + barre d'appel mobile ─── */
.bs-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 10px 26px -8px rgba(16, 38, 26, 0.55);
  transition: transform .3s var(--ease-out);
}
.bs-float:hover { transform: scale(1.06); }
.bs-float svg { width: 30px; height: 30px; }
.bs-callbar { display: none; }

@media (max-width: 900px) {
  .bs { padding: 12vh 20px; }
  .bs-devis-grid, .bs-infos-grid { grid-template-columns: 1fr; }
  .bs-dl > div { grid-template-columns: 1fr; gap: 4px; }
  .bs-faq details p { padding-right: 0; }
  .bs-map, .bs-map iframe { min-height: 320px; }

  /* tablette : logo un peu plus grand, remonté de moitié moins qu'au bureau */
  .dock-wordmark { margin-top: -4px; }
  .dock-wordmark img { height: 32px; }
  .loader-wordmark { --lw: 260px; }

  /* barre d'appel : verre dépoli — le contenu défile, flouté, derrière elle */
  /* la bande du bas se pose au-dessus de la barre d'appel */
  .bs-strip-bottom { bottom: calc(100px + env(safe-area-inset-bottom)); }

  .bs-callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 120;
    padding: 7px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.28));
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 18px 40px -14px rgba(31, 33, 36, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(140%);
    transition: transform .8s var(--ease-out) .5s;
  }
  body.is-ready .bs-callbar { transform: translateY(0); }
  .bs-callbar .bs-btn {
    gap: 9px; min-height: 50px; padding: 0 10px;
    font-size: 15px; font-weight: 600; border-radius: 10px;
    transition: transform .15s, filter .2s;
  }
  .bs-callbar .bs-btn:active { transform: scale(0.97); }
  .bs-cb-call { background: rgba(31, 33, 36, 0.9); color: #fff; }
  .bs-cb-wa { background: var(--whatsapp); color: var(--whatsapp-texte); }
  .bs-cb-ico {
    width: 30px; height: 30px; border-radius: 50%; flex: none;
    display: grid; place-items: center;
  }
  .bs-cb-call .bs-cb-ico { background: var(--lime); color: var(--charbon); }
  .bs-cb-wa .bs-cb-ico { background: rgba(255, 255, 255, 0.35); color: var(--whatsapp-texte); }
  .bs-cb-ico svg { width: 17px; height: 17px; }
  /* sans backdrop-filter (vieux navigateurs) : fond presque opaque */
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .bs-callbar { background: rgba(255, 255, 255, 0.95); }
  }
  .bs-float { display: none; }
  .footer { padding-bottom: 120px; }
}
@media (max-width: 560px) {
  .s-fill .pin { --sh: clamp(78px, 12vh, 110px); }
  .bs-strip-top { top: 84px; }
  /* mobile : le circonflexe pèse moins à cette taille, léger décalage seulement */
  .dock-wordmark { margin-top: -2px; }
  .dock-wordmark img { height: 28px; }
  .loader-wordmark { --lw: 220px; }
  .bs-row { grid-template-columns: 1fr; }
  .bs-lead { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════════
   MODE SOMBRE — boot.js pose <html data-theme="dark"> selon le choix
   du visiteur (bouton soleil/lune) ou, à défaut, le réglage du
   navigateur. Les surfaces du template suivent déjà les tokens ; ici
   les sections BATI SHOP, le header charbon et le logo « sombre ».
   ═══════════════════════════════════════════════════════════ */
html[data-theme="dark"] {
  --jaune-clair: #2A2416;     /* fond de la section devis : jaune très assombri */
  --gris-perle: #2B2A27;      /* champs du formulaire */
  --acier-fonce: #A3AAB1;     /* texte secondaire : gris clair, lisible sur sombre */
}

/* header : barre charbon, liseré discret ; liens clairs, devis jaune */
html[data-theme="dark"] .dock {
  background: var(--charbon); color: #F2F1EC;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 30px -18px rgba(0, 0, 0, 0.9);
}
html[data-theme="dark"] .dock-link,
html[data-theme="dark"] .bs-lang,
html[data-theme="dark"] .bs-theme { color: #F2F1EC; }

/* logo : variante « mode sombre » (parties charbon passées en tons clairs,
   jaune inchangé) — le loader la dessine en CSS, batishop.js échange les <img> */
html[data-theme="dark"] .loader-wordmark::before { background-image: url('images/logo-batishop-sombre.svg'); }

/* surlignages : en sombre, un trait jaune SOUS le texte clair */
html[data-theme="dark"] #heroLine2 .grow + .hl,
html[data-theme="dark"] .q-fig .fig-val {
  background: linear-gradient(transparent 86%, var(--lime) 86%, var(--lime) 96%, transparent 96%);
}

/* formulaire de devis */
html[data-theme="dark"] .bs-field label,
html[data-theme="dark"] .bs-field legend,
html[data-theme="dark"] .bs-form input:not([type=checkbox]):not([type=radio]),
html[data-theme="dark"] .bs-form select,
html[data-theme="dark"] .bs-form textarea { color: var(--ink); }
html[data-theme="dark"] .bs-form input:focus,
html[data-theme="dark"] .bs-form select:focus,
html[data-theme="dark"] .bs-form textarea:focus { background: #1A1917; border-color: var(--lime); }
html[data-theme="dark"] .bs-form { box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.8); }
html[data-theme="dark"] .bs-quick,
html[data-theme="dark"] .bs-quick a { border-color: rgba(255, 255, 255, 0.14); }
html[data-theme="dark"] .bs-quick a:hover { color: var(--ink); }
html[data-theme="dark"] :where(.bs, .bs-float, .bs-callbar) :focus-visible,
html[data-theme="dark"] .bs-chips input:focus-visible + span { outline-color: var(--lime); }

/* contact : carte assombrie */
html[data-theme="dark"] .bs-map iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.6); }

/* pied de page */
html[data-theme="dark"] .footer-mail:hover .footer-mail-text::after { background: var(--ink); }
html[data-theme="dark"] .footer-bottom a.bs-soc-link:hover { color: var(--ink); }

/* barre d'appel mobile : verre fumé */
@media (max-width: 900px) {
  html[data-theme="dark"] .bs-callbar {
    background: linear-gradient(135deg, rgba(32, 31, 28, 0.72), rgba(32, 31, 28, 0.4));
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  html[data-theme="dark"] .bs-cb-call { background: var(--anthracite); }
}

/* ─── bouton clair / sombre (header) ─── */
.bs-theme {
  width: 38px; height: 38px; margin-right: 2px; padding: 0;
  display: grid; place-items: center;
  background: transparent; color: inherit; border: 0; border-radius: 50%;
  cursor: pointer; transition: background .25s, transform .4s var(--ease-out);
}
.bs-theme:hover { background: rgba(255, 180, 0, 0.18); }
.bs-theme:active { transform: rotate(-20deg) scale(0.92); }
.bs-theme:focus-visible { outline: 3px solid var(--lime); outline-offset: 1px; }
.bs-theme svg { width: 19px; height: 19px; grid-area: 1 / 1; transition: opacity .3s, transform .5s var(--ease-out); }
.bs-ico-sun { opacity: 0; transform: rotate(-90deg) scale(0.6); color: var(--lime); }
html[data-theme="dark"] .bs-ico-moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
html[data-theme="dark"] .bs-ico-sun { opacity: 1; transform: none; }

/* ─── sélecteur de langue (header) ─── */
.bs-lang { padding: 9px 10px; margin-right: 4px; position: relative; }
.bs-lang::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 5px;
  height: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-inout);
}
.bs-lang:hover::after { transform: scaleX(1); transform-origin: left; }
