/* ============================================================
   BorneHub Design System
   Inspired by PornHub's dark/accent layout — adapted for clean
   eco-tech branding. Primary: green. Dark backgrounds, crisp type.
   ============================================================ */

/* ── 1. Custom properties ─────────────────────────────────── */
:root {
  /* Brand */
  --bh-green:        #3ecf4c;
  --bh-green-dark:   #2bab38;
  --bh-green-light:  #6dde79;
  --bh-green-glow:   rgba(62, 207, 76, 0.18);

  /* Neutrals — dark-first like PH */
  --bh-bg:           #0f1011;
  --bh-surface:      #181a1b;
  --bh-surface-2:    #222426;
  --bh-surface-3:    #2c2f31;
  --bh-border:       #2e3133;
  --bh-border-light: #3a3e41;

  /* Text */
  --bh-text:         #f0f0f0;
  --bh-text-muted:   #8a9199;
  --bh-text-dim:     #5a6069;

  /* Accent / State */
  --bh-orange:       #ff9000;   /* kept for alerts/warnings only */
  --bh-red:          #e5334b;
  --bh-blue:         #3a8eff;

  /* Type */
  --bh-font:         'Inter', 'Helvetica Neue', Arial, sans-serif;
  --bh-font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing (8-pt grid) */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-7: 32px;  --sp-8: 40px;
  --sp-9: 48px;  --sp-10: 64px; --sp-11: 80px; --sp-12: 96px;

  /* Border radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.45);
  --shadow-md: 0 4px 16px rgba(0,0,0,.55);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.65);
  --shadow-green: 0 0 24px rgba(62, 207, 76, 0.25);

  /* Transitions */
  --t-fast: 120ms ease;
  --t-base: 220ms ease;
  --t-slow: 360ms ease;

  /* Layout */
  --max-w:      1200px;
  --max-w-text: 760px;
  --header-h:   64px;
}

/* ── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background: var(--bh-bg);
  color: var(--bh-text);
  font-family: var(--bh-font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ── 3. Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  font-weight: 700;
  color: var(--bh-text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

p {}

.text-muted  { color: var(--bh-text-muted); }
.text-green  { color: var(--bh-green); }
.text-center { text-align: center; }
.text-sm     { font-size: .875rem; }
.text-lg     { font-size: 1.125rem; }
.text-xl     { font-size: 1.25rem; }
.fw-bold     { font-weight: 700; }
.fw-medium   { font-weight: 500; }

/* Highlight pill (like PH's orange label → green here) */
.label-green {
  display: inline-block;
  background: rgba(62, 207, 76, .1);
  color: var(--bh-green);
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid rgba(62, 207, 76, .25);
  vertical-align: middle;
  line-height: 1.4;
}

/* ── 4. Layout helpers ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.container--text {}
.container--wide { max-width: 1440px; }

.section        { padding-block: var(--sp-11); }
.section--sm    { padding-block: var(--sp-9); }
.section--lg    { padding-block: clamp(60px, 10vw, 140px); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-5); }

@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2  { gap: var(--sp-2); }
.gap-4  { gap: var(--sp-4); }
.gap-6  { gap: var(--sp-6); }
.gap-8  { gap: var(--sp-8); }

/* ── 5. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px 28px;
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: scale(.97); }

/* Primary — green pill */
.btn-primary {
  background: var(--bh-green);
  color: #000;
}
.btn--full { width: 100%; }
.btn-primary:hover {
  background: var(--bh-green-light);
  box-shadow: var(--shadow-green);
}

/* Secondary — outlined */
.btn-secondary {
  background: transparent;
  color: var(--bh-text);
  border: 1.5px solid var(--bh-border-light);
}
.btn-secondary:hover {
  border-color: var(--bh-green);
  color: var(--bh-green);
}

/* Ghost — text only */
.btn-ghost {
  background: transparent;
  color: var(--bh-green);
  padding-inline: 8px;
}
.btn-ghost:hover { text-decoration: underline; }

/* Sizes */
.btn-sm { padding: 8px 18px; font-size: .875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-xl { padding: 20px 48px; font-size: 1.2rem; border-radius: var(--r-full); }

/* Icon button */
.btn-icon {
  width: 40px; height: 40px;
  padding: 0;
  border-radius: var(--r-full);
  background: var(--bh-surface-2);
  color: var(--bh-text-muted);
}
.btn-icon:hover { background: var(--bh-surface-3); color: var(--bh-green); }

/* ── 6. Cards ─────────────────────────────────────────────── */
.card {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.card:hover {
  border-color: var(--bh-border-light);
  box-shadow: var(--shadow-md);
}
.card--interactive:hover {
  border-color: var(--bh-green);
  box-shadow: var(--shadow-green);
  transform: translateY(-3px);
}
.card__icon {
  width: 48px; height: 48px;
  background: var(--bh-green-glow);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
  font-size: 1.5rem;
}
.card__title { font-size: 1.15rem; margin-bottom: var(--sp-3); }
.card__body  { color: var(--bh-text-muted); font-size: .95rem; line-height: 1.65; }

/* Numbered card */
.card--numbered { position: relative; padding-top: var(--sp-9); }
.card--numbered::before {
  content: attr(data-num);
  position: absolute;
  top: var(--sp-6);
  left: var(--sp-7);
  font-size: 2rem;
  font-weight: 800;
  color: var(--bh-green);
  opacity: .85;
  line-height: 1;
}

/* ── 7. Header ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 16, 17, .88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--bh-border);
  display: flex;
  align-items: center;
}

.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--bh-text);
  text-decoration: none;
}
.site-logo span { color: var(--bh-white);font-size: 12px; }

/* ── Logo image dark / light ─────────────────────────────── */
.bh-logo { display: block; height: 36px; width: auto; }

/* Dark (défaut) : logo dark visible, logo light masqué */
.bh-logo--light { display: none; }

/* Light : on inverse */
html.bh-light .bh-logo--dark  { display: none; }
html.bh-light .bh-logo--light { display: block; }

.main-nav { display: flex; align-items: center; gap: var(--sp-1); }
.main-nav a {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--bh-text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.main-nav a:hover, .main-nav a.current-menu-item { color: var(--bh-text); background: var(--bh-surface-2); }

.header-cta { display: flex; align-items: center; gap: var(--sp-3); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--bh-text);
  border-radius: 2px;
  transition: var(--t-base);
}

@media (max-width: 900px) {
  .main-nav, .header-cta .btn-secondary { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bh-surface);
    border-bottom: 1px solid var(--bh-border);
    padding: var(--sp-4) var(--sp-6);
    gap: var(--sp-2);
  }
}

/* ── 7b. Header — pro connecté ───────────────────────────── */

/* Logo installateur + "by BorneHub" */
.site-logo--pro {
  gap: 8px;
  align-items: center;
  text-decoration: none;
}

.bh-logo-inst {
  display: block;
  max-height: 62px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  /* background-color: rgba(62, 207, 76, 0.8); */
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
}

.bh-logo-inst-text {
  font-size: .95rem;
  font-weight: 800;
  color: var(--bh-text);
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bh-logo-by {
  font-size: .7rem;
  font-weight: 500;
  color: var(--bh-text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.bh-logo--small {
  height: 18px !important;
  opacity: 1;
}

/* Zone identité utilisateur connecté */
.bh-header-user {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 4px;
  border-radius: 99px;
  border: 1px solid var(--bh-border);
  background: var(--bh-surface-2);
}

.bh-header-user__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bh-inst-color, var(--bh-green)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--bh-inst-color, var(--bh-green)) 25%, transparent);
  color: var(--bh-inst-color, var(--bh-green));
  font-size: .65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bh-header-user__name {
  font-size: .78rem;
  font-weight: 600;
  color: var(--bh-text-muted);
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bh-header-user__logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--bh-text-dim);
  flex-shrink: 0;
  transition: color var(--t-fast), background var(--t-fast);
}
.bh-header-user__logout:hover {
  color: #e5334b;
  background: rgba(229, 51, 75, .1);
}

/* Bouton icône dans les btns header pro */
.header-cta .btn svg {
  flex-shrink: 0;
}
.header-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Couleur de marque installateur dans le header pro */
.site-header--pro .btn-primary {
  background: var(--bh-inst-color, var(--bh-green));
}
.site-header--pro .btn-primary:hover {
  background: var(--bh-inst-color, var(--bh-green));
  filter: brightness(1.12);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bh-inst-color, var(--bh-green)) 25%, transparent);
}
.site-header--pro .btn-secondary:hover {
  border-color: var(--bh-inst-color, var(--bh-green));
  color: var(--bh-inst-color, var(--bh-green));
}

/* Mobile — header pro connecté */
@media (max-width: 900px) {
  /* Toujours visible pour les pros (remplace le hamburger) */
  .site-header--pro .nav-toggle { display: none; }
  .site-header--pro .bh-header-user__name { display: none; }
  .site-header--pro .header-cta { gap: 8px; }
  .site-header--pro .btn span { display: none; }
  .site-header--pro .btn {
    padding: 7px 10px;
    gap: 0;
  }
  .bh-logo-inst-text { max-width: 80px; font-size: .82rem; }
  .bh-logo-inst { max-height: 26px; max-width: 80px; }
  /* Cacher le switch dark/light sur mobile pour les pros */
  .site-header--pro .bh-theme-switch { display: none; }
}

/* ── 8. Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--bh-surface);
  border-top: 1px solid var(--bh-border);
  padding-block: var(--sp-11) var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-9);
}

.footer-brand p {
  color: var(--bh-text-muted);
  font-size: .9rem;
  margin-top: var(--sp-4);
  max-width: 32ch;
}

.footer-col h5 {
  color: var(--bh-text-muted);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: var(--sp-5);
}
.footer-col a {
  display: block;
  color: var(--bh-text-muted);
  font-size: .9rem;
  padding-block: 4px;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--bh-green); }

.footer-bottom {
  border-top: 1px solid var(--bh-border);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-bottom p { color: var(--bh-text-dim); font-size: .8rem; max-width: none; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── 9. Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(60px, 12vw, 140px);
  text-align: center;
}

/* Radial glow background (PH-style large ambient blob) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(62,207,76,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(62,207,76,.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--bh-surface-2);
  border: 1px solid var(--bh-border-light);
  border-radius: var(--r-full);
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--bh-text-muted);
  letter-spacing: .04em;
  margin-bottom: var(--sp-6);
}
.hero__kicker .dot {
  width: 6px; height: 6px;
  background: var(--bh-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  max-width: 850px;
  margin: 0 auto;
}
.hero__title .accent { color: var(--bh-green); }

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--bh-text-muted);
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  line-height: 1.65;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
  flex-wrap: wrap;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--bh-text-muted);
  font-size: .85rem;
}
.hero__trust-item svg, .hero__trust-item .icon {
  color: var(--bh-green);
  width: 16px; height: 16px;
}

/* ── 10. Stats bar ────────────────────────────────────────── */
.stats-bar {
  background: var(--bh-surface);
  border-block: 1px solid var(--bh-border);
  padding-block: var(--sp-7);
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: var(--sp-6);
}
@media (max-width: 600px) {
  .stats-bar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5) var(--sp-4);
  }
}
.stat-item { text-align: center; }
.stat-item__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bh-green);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-item__label {
  font-size: .8rem;
  color: var(--bh-text-muted);
  margin-top: var(--sp-1);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Trust / Sélection rigoureuse section ─────────────────── */
.trust-section {
  background: var(--bh-bg);
  border-bottom: 1px solid var(--bh-border);
}
.trust-pillars {
  gap: var(--sp-6);
}
.trust-pillar {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.trust-pillar:hover {
  border-color: var(--bh-green);
  box-shadow: var(--shadow-green);
}
.trust-pillar--featured {
  border-color: var(--bh-green);
  box-shadow: var(--shadow-green);
  background: var(--bh-surface-2);
}
.trust-pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(62,207,76,.12);
  color: var(--bh-green);
  margin-bottom: var(--sp-5);
}
.trust-pillar__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: var(--bh-text);
}
.trust-pillar__body {
  font-size: .9rem;
  color: var(--bh-text-muted);
  line-height: 1.65;
}
.trust-pillar__badge {
  display: inline-block;
  margin-top: var(--sp-5);
  background: rgba(62,207,76,.15);
  color: var(--bh-green);
  border: 1px solid rgba(62,207,76,.35);
  border-radius: var(--r-full);
  padding: 3px 12px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── 11. Section headers ──────────────────────────────────── */
.section-header {
  margin-bottom: var(--sp-8);
}
.section-header--center { text-align: center; }
.section-header--center p { margin-inline: auto; }

.section-kicker {
  display: inline-block;
  color: var(--bh-green);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: var(--sp-3);
}
.section-header h2 { margin-bottom: var(--sp-4); }
.section-header p  { color: var(--bh-text-muted); font-size: 1.05rem; max-width: 60ch; }

/* ── 12. How it works / Steps ─────────────────────────────── */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-6);
  padding-block: var(--sp-6);
  border-bottom: 1px solid var(--bh-border);
}
.step:last-child { border-bottom: none; }
.step__num {
  width: 48px; height: 48px;
  background: var(--bh-green-glow);
  border: 1.5px solid var(--bh-green);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bh-green);
  flex-shrink: 0;
}
.step__content h4 { margin-bottom: var(--sp-2); }
.step__content p  { color: var(--bh-text-muted); font-size: .95rem; }

/* ── 13. Badges / Tags ────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 600;
}
.badge-green   { background: var(--bh-green-glow); color: var(--bh-green); border: 1px solid rgba(62,207,76,.3); }
.badge-surface { background: var(--bh-surface-2);  color: var(--bh-text-muted); border: 1px solid var(--bh-border); }
.badge-orange  { background: rgba(255,144,0,.12);   color: var(--bh-orange);  border: 1px solid rgba(255,144,0,.25); }
.badge-red     { background: rgba(229,51,75,.12);   color: var(--bh-red);    border: 1px solid rgba(229,51,75,.25); }

/* ── 14. Forms ────────────────────────────────────────────── */
.form-group { margin-bottom: var(--sp-5); }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--bh-text-muted);
  margin-bottom: var(--sp-2);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bh-surface-2);
  border: 1.5px solid var(--bh-border);
  border-radius: var(--r-md);
  color: var(--bh-text);
  font-size: 1rem;
  padding: 12px 16px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--bh-text-dim); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--bh-green);
  box-shadow: 0 0 0 3px var(--bh-green-glow);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9199' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-textarea { min-height: 120px; resize: vertical; }

.form-hint { font-size: .8rem; color: var(--bh-text-dim); margin-top: var(--sp-2); }
.form-error { font-size: .8rem; color: var(--bh-red); margin-top: var(--sp-2); }

/* Stepper (multi-step form) */
.form-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--sp-9);
  position: relative;
}
.form-stepper::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 19px; right: 19px;
  height: 2px;
  background: var(--bh-border);
  z-index: 0;
}
.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  flex: 1;
  z-index: 1;
}
.step-indicator__dot {
  width: 38px; height: 38px;
  background: var(--bh-surface-2);
  border: 2px solid var(--bh-border);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--bh-text-muted);
  transition: var(--t-base);
}
.step-indicator.is-active .step-indicator__dot  { border-color: var(--bh-green); color: var(--bh-green); background: var(--bh-green-glow); }
.step-indicator.is-done   .step-indicator__dot  { border-color: var(--bh-green); background: var(--bh-green); color: #000; }
.step-indicator__label { font-size: .72rem; color: var(--bh-text-dim); text-align: center; }
.step-indicator.is-active .step-indicator__label { color: var(--bh-text-muted); }

/* ── 15. Alerts / Notices ─────────────────────────────────── */
.alert {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  font-size: .9rem;
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  border: 1px solid transparent;
}
.alert--green  { background: var(--bh-green-glow); border-color: rgba(62,207,76,.3); color: #9eeea6; }
.alert--warn   { background: rgba(255,144,0,.1);   border-color: rgba(255,144,0,.3); color: #ffc166; }
.alert--error  { background: rgba(229,51,75,.1);   border-color: rgba(229,51,75,.3); color: #f08090; }
.alert--info   { background: rgba(58,142,255,.1);  border-color: rgba(58,142,255,.3); color: #80b4ff; }

/* ── 16. Pricing / Offer cards ────────────────────────────── */
.pricing-card {
  background: var(--bh-surface);
  border: 1.5px solid var(--bh-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.pricing-card--featured {
  border-color: var(--bh-green);
  box-shadow: var(--shadow-green);
}
.pricing-card--featured::before {
  content: 'Recommandé';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bh-green);
  color: #000;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 14px;
  border-radius: var(--r-full);
}
.pricing-card__price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--bh-text);
  letter-spacing: -0.04em;
  margin-block: var(--sp-4);
}
.pricing-card__price sup { font-size: 1.2rem; font-weight: 600; vertical-align: top; margin-top: .4em; }
.pricing-card__price span { font-size: 1rem; font-weight: 400; color: var(--bh-text-muted); }
.pricing-card__features { margin-top: var(--sp-6); }
.pricing-card__feature {
  display: flex;
  gap: var(--sp-3);
  padding-block: var(--sp-3);
  border-top: 1px solid var(--bh-border);
  font-size: .9rem;
  color: var(--bh-text-muted);
}
.pricing-card__feature .check { color: var(--bh-green); flex-shrink: 0; }

/* ── 17. FAQ accordion ────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--bh-border);
}
.faq-item:first-child { border-top: 1px solid var(--bh-border); }

.faq-item__trigger,
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bh-text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq-item__trigger:hover,
.faq-question:hover { color: var(--bh-green); }

/* Chevron — généré via ::after */
.faq-item__trigger::after,
.faq-question::after {
  content: '+';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--bh-border-light);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 400;
  color: var(--bh-text-muted);
  transition: var(--t-base);
  line-height: 1;
}
.faq-item.is-open .faq-item__trigger::after,
.faq-item.is-open .faq-question::after {
  content: '×';
  background: var(--bh-green-glow);
  border-color: var(--bh-green);
  color: var(--bh-green);
}

/* Icône ancienne méthode (rétrocompat) */
.faq-question .icon {
  width: 22px; height: 22px;
  border: 1.5px solid var(--bh-border-light);
  border-radius: var(--r-full);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  color: var(--bh-text-muted);
  transition: var(--t-base);
}
.faq-item.is-open .faq-question .icon {
  background: var(--bh-green-glow);
  border-color: var(--bh-green);
  color: var(--bh-green);
  transform: rotate(45deg);
}

.faq-item__body,
.faq-answer {
  display: none;
  padding: 0 var(--sp-2) var(--sp-5);
  color: var(--bh-text-muted);
  font-size: .95rem;
  line-height: 1.7;
}
.faq-item.is-open .faq-item__body,
.faq-item.is-open .faq-answer { display: block; }

/* ── 18. Reviews / Social proof ───────────────────────────── */
.review-card {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.review-stars { color: var(--bh-green); font-size: .9rem; letter-spacing: 2px; margin-bottom: var(--sp-4); }
.review-text { color: var(--bh-text-muted); font-size: .9rem; line-height: 1.7; margin-bottom: var(--sp-5); }
.review-author { display: flex; align-items: center; gap: var(--sp-3); }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  background: var(--bh-surface-3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--bh-green);
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: .9rem; }
.review-meta { font-size: .75rem; color: var(--bh-text-dim); }

/* ── 19. Breadcrumb ───────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
  font-size: .8rem;
  color: var(--bh-text-dim);
  margin-bottom: var(--sp-6);
}
.breadcrumb a { color: var(--bh-text-muted); }
.breadcrumb a:hover { color: var(--bh-green); }
.breadcrumb__sep { opacity: .4; }

/* ── 20. Tag cloud / chip list ────────────────────────────── */
.chip-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  background: var(--bh-surface-2);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-full);
  padding: 5px 14px;
  font-size: .8rem;
  color: var(--bh-text-muted);
  transition: var(--t-fast);
  cursor: default;
}
.chip:hover, .chip.is-active {
  background: var(--bh-green-glow);
  border-color: rgba(62,207,76,.4);
  color: var(--bh-green);
}

/* ── 21. Tables ───────────────────────────────────────────── */
.bh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.bh-table th {
  background: var(--bh-surface-2);
  color: var(--bh-text-muted);
  font-weight: 600;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: var(--sp-3) var(--sp-5);
  text-align: left;
  border-bottom: 1px solid var(--bh-border);
}
.bh-table td {
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--bh-border);
  color: var(--bh-text-muted);
}
.bh-table tr:last-child td { border-bottom: none; }
.bh-table tr:hover td { background: var(--bh-surface-2); }

/* ── 22. Page-specific: local zone pages ─────────────────── */
.zone-header {
  background: var(--bh-surface);
  border-bottom: 1px solid var(--bh-border);
  padding-block: var(--sp-9);
}
.zone-header__meta {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.zone-header__badge {
  background: var(--bh-surface-2);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-full);
  padding: 4px 12px;
  font-size: .78rem;
  color: var(--bh-text-muted);
}

/* ── 23. Installer card (listing) ─────────────────────────── */
.installer-card {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.installer-card:hover { border-color: var(--bh-green); box-shadow: var(--shadow-green); }
.installer-card__logo {
  width: 56px; height: 56px;
  background: var(--bh-surface-2);
  border-radius: var(--r-md);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.installer-card__name { font-weight: 700; margin-bottom: var(--sp-1); }
.installer-card__meta { font-size: .82rem; color: var(--bh-text-dim); }
.installer-card__cta  { margin-left: auto; display: flex; align-items: center; }

/* ── 24. Utility classes ──────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.hidden  { display: none !important; }
.mt-0    { margin-top: 0; }
.mt-4    { margin-top: var(--sp-4); }
.mt-6    { margin-top: var(--sp-6); }
.mt-8    { margin-top: var(--sp-8); }
.mb-4    { margin-bottom: var(--sp-4); }
.mb-6    { margin-bottom: var(--sp-6); }
.mb-8    { margin-bottom: var(--sp-8); }

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--bh-border);
  margin-block: var(--sp-8);
}

/* ── 25. Scrollbar (Webkit) ───────────────────────────────── */
::-webkit-scrollbar        { width: 8px; height: 8px; }
::-webkit-scrollbar-track  { background: var(--bh-surface); }
::-webkit-scrollbar-thumb  { background: var(--bh-border-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--bh-text-dim); }

/* ── 26. Selection ────────────────────────────────────────── */
::selection { background: var(--bh-green); color: #000; }

/* ── 27. Focus-visible (accessibility) ───────────────────── */
:focus-visible {
  outline: 2px solid var(--bh-green);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ── 28. Prose / Editor content (.wp-content) ─────────────── */
/*
 * Applied to WordPress block editor output, guide articles,
 * vehicle descriptions, and any rich-text area within the theme.
 * The wrapper class is .wp-content (added in templates).
 */
.wp-content {
  color: var(--bh-text);
  font-size: 1rem;
  line-height: 1.75;
}

/* Headings within content */
.wp-content h1,
.wp-content h2,
.wp-content h3,
.wp-content h4,
.wp-content h5,
.wp-content h6 {
  color: var(--bh-text-bright);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2em;
  margin-bottom: .6em;
}
.wp-content h2 { font-size: 1.55rem; }
.wp-content h3 { font-size: 1.25rem; }
.wp-content h4 { font-size: 1.05rem; }
.wp-content h5,
.wp-content h6 { font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; color: var(--bh-text-dim); }

/* First heading gets no top margin */
.wp-content > h2:first-child,
.wp-content > h3:first-child { margin-top: 0; }

/* Paragraphs */
.wp-content p { margin-block: 1em; }
.wp-content p:first-child { margin-top: 0; }
.wp-content p:last-child  { margin-bottom: 0; }

/* Links */
.wp-content a {
  color: var(--bh-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wp-content a:hover { color: var(--bh-green-bright, #6ee87a); }

/* Lists */
.wp-content ul,
.wp-content ol {
  padding-left: 1.5em;
  margin-block: 1em;
}
.wp-content ul { list-style: none; padding-left: 0; }
.wp-content ul > li {
  padding-left: 1.4em;
  position: relative;
  margin-bottom: .4em;
}
.wp-content ul > li::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bh-green);
}
.wp-content ol { list-style: decimal; }
.wp-content ol > li { margin-bottom: .4em; }

/* Nested lists */
.wp-content ul ul,
.wp-content ol ol,
.wp-content ul ol,
.wp-content ol ul { margin-block: .4em; }

/* Strong / em */
.wp-content strong { color: var(--bh-text-bright); font-weight: 600; }
.wp-content em     { font-style: italic; color: var(--bh-text-dim); }

/* Blockquote */
.wp-content blockquote {
  margin: 1.5em 0;
  padding: 1em 1.25em;
  border-left: 3px solid var(--bh-green);
  background: var(--bh-surface-2, rgba(62,207,76,.06));
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--bh-text-dim);
  font-style: italic;
}
.wp-content blockquote p { margin: 0; }
.wp-content blockquote cite {
  display: block;
  margin-top: .5em;
  font-size: .8rem;
  font-style: normal;
  color: var(--bh-text-dim);
}

/* Inline code */
.wp-content code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: .88em;
  background: var(--bh-surface-2, rgba(255,255,255,.06));
  border: 1px solid var(--bh-border);
  padding: .15em .4em;
  border-radius: var(--r-sm);
  color: var(--bh-green);
}

/* Code block */
.wp-content pre {
  background: var(--bh-surface-2, rgba(255,255,255,.04));
  border: 1px solid var(--bh-border);
  border-radius: var(--r-md);
  padding: 1.25em;
  overflow-x: auto;
  font-size: .88rem;
  line-height: 1.6;
  margin-block: 1.5em;
}
.wp-content pre code {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
}

/* Horizontal rule */
.wp-content hr {
  border: none;
  border-top: 1px solid var(--bh-border);
  margin-block: 2em;
}

/* Tables */
.wp-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  margin-block: 1.5em;
}
.wp-content th,
.wp-content td {
  padding: .6em .9em;
  border: 1px solid var(--bh-border);
  text-align: left;
  vertical-align: top;
}
.wp-content th {
  background: var(--bh-surface-2, rgba(255,255,255,.06));
  font-weight: 600;
  color: var(--bh-text-bright);
}
.wp-content tr:nth-child(even) td {
  background: rgba(255,255,255,.02);
}

/* Images */
.wp-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-md);
  display: block;
  margin-block: 1.5em;
}
.wp-content figure {
  margin: 1.5em 0;
}
.wp-content figcaption {
  font-size: .82rem;
  color: var(--bh-text-dim);
  text-align: center;
  margin-top: .5em;
}

/* WordPress alignment classes */
.wp-content .alignleft  { float: left; margin: 0 1.5em 1em 0; }
.wp-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-content .aligncenter { margin-inline: auto; }
.wp-content .alignwide  { max-width: 100%; }
.wp-content .alignfull  { max-width: 100%; margin-inline: calc(var(--container-px, 1rem) * -1); }

/* Gutenberg blocks: separator */
.wp-content .wp-block-separator {
  border: none;
  border-top: 1px solid var(--bh-border);
  margin-block: 2em;
}

/* Gutenberg blocks: pullquote */
.wp-content .wp-block-pullquote {
  border-top: 2px solid var(--bh-green);
  border-bottom: 2px solid var(--bh-green);
  padding: 1.25em 0;
  text-align: center;
  margin-block: 2em;
}
.wp-content .wp-block-pullquote blockquote {
  border: none;
  background: none;
  border-radius: 0;
  padding: 0;
  font-size: 1.2rem;
  font-style: italic;
}

/* Gutenberg blocks: buttons */
.wp-content .wp-block-buttons { margin-block: 1.25em; }
.wp-content .wp-block-button__link {
  display: inline-block;
  padding: .55em 1.25em;
  background: var(--bh-green);
  color: #000;
  font-weight: 600;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-size: .95rem;
  transition: opacity var(--tr-fast);
}
.wp-content .wp-block-button__link:hover { opacity: .85; color: #000; }

/* Gutenberg blocks: notice / callout via cover or group */
.wp-content .wp-block-group {
  border-radius: var(--r-md);
  padding: 1.25em;
  background: var(--bh-surface-2, rgba(255,255,255,.04));
  border: 1px solid var(--bh-border);
  margin-block: 1.5em;
}

/* Reading width override for full-width sections */
.wp-content--wide { max-width: 100%; }

/* ============================================================
   LIGHT THEME — classe .bh-light sur <html>
   ============================================================ */

.bh-light {
  --bh-bg:           #ffffff;
  --bh-surface:      #f4f5f6;
  --bh-surface-2:    #ebebec;
  --bh-surface-3:    #e0e1e3;
  --bh-border:       #d6d8da;
  --bh-border-light: #c8cacc;
  --bh-text:         #111213;
  --bh-text-muted:   #5a6069;
  --bh-text-dim:     #8a9199;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.10);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.15);
}

.bh-light body {
  background: var(--bh-bg);
  color: var(--bh-text);
}

.bh-light .site-header,
.bh-light .site-header--scrolled {
  background: rgba(255,255,255,.95);
  border-bottom-color: var(--bh-border);
}

.bh-light .site-header .nav-link,
.bh-light .site-header .site-logo__text {
  color: var(--bh-text);
}

.bh-light .site-header .nav-link:hover {
  color: var(--bh-green);
}

.bh-light .bh-card,
.bh-light .card {
  background: var(--bh-surface);
  border-color: var(--bh-border);
}

.bh-light h1,
.bh-light h2,
.bh-light h3,
.bh-light h4,
.bh-light h5,
.bh-light h6 {
  color: var(--bh-text);
}

/* ── Theme switch (pill) ───────────────────────────────────── */

/*
  Structure :
    <div class="bh-theme-switch">
      <svg moon />
      <button class="bh-theme-switch__pill">
        <span class="bh-theme-switch__thumb"></span>
      </button>
      <svg sun />
    </div>

  Dark  (défaut) : thumb à gauche,  icône lune en avant (blanche), soleil discret
  Light           : thumb à droite, icône soleil en avant, lune discrète
*/

.bh-theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Icônes */
.bh-theme-switch__icon {
  flex-shrink: 0;
  transition: color var(--t-fast), opacity var(--t-fast);
}

/* Dark (défaut) : lune active (#f0f0f0), soleil discret */
.bh-theme-switch__icon--moon { color: #f0f0f0; opacity: 1; }
.bh-theme-switch__icon--sun  { color: var(--bh-text-dim); opacity: .45; }

/* Light : soleil actif (vert BorneHub), lune discrète */
.bh-light .bh-theme-switch__icon--moon { color: var(--bh-text-dim); opacity: .45; }
.bh-light .bh-theme-switch__icon--sun  { color: var(--bh-green); opacity: 1; }

/* Pill */
.bh-theme-switch__pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--bh-surface-3);
  border: 1px solid var(--bh-border);
  cursor: pointer;
  padding: 0;
  transition: background var(--t-fast), border-color var(--t-fast);
  flex-shrink: 0;
}

.bh-theme-switch__pill:focus-visible {
  outline: 2px solid var(--bh-green);
  outline-offset: 2px;
}

/* Light : pill prend une teinte claire */
.bh-light .bh-theme-switch__pill {
  background: var(--bh-surface-3);
  border-color: var(--bh-border);
}

/* Thumb */
.bh-theme-switch__thumb {
  position: absolute;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f0f0f0;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
  transition: left var(--t-fast), background var(--t-fast);
}

/* Light : thumb glisse à droite */
.bh-light .bh-theme-switch__thumb {
  left: 21px;
  background: var(--bh-green);
}


/* ============================================================
   TUNNEL PUBLIC — préfixe .bh-pf-
   ============================================================ */

/* Wrap principal */
.bh-pf-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: var(--sp-9) var(--sp-6) var(--sp-12);
  background: var(--bh-bg);
}

.bh-pf-wrap--confirm {
  justify-content: center;
  text-align: center;
}

/* Barre de progression */
.bh-pf-progress {
  width: 100%;
  max-width: 560px;
  margin-bottom: var(--sp-9);
}

.bh-pf-progress__track {
  height: 3px;
  background: var(--bh-surface-3);
  border-radius: var(--r-full);
  overflow: hidden;
}

.bh-pf-progress__fill {
  height: 100%;
  background: var(--bh-green);
  border-radius: var(--r-full);
  transition: width var(--t-slow);
}

/* Steps */
.bh-pf-step {
  width: 100%;
  max-width: 560px;
  display: none;
}
.bh-pf-step.is-active { display: block; }

/* Panel carte */
.bh-pf-panel {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.bh-pf-panel__inner {
  padding: var(--sp-8) var(--sp-8);
}

@media (max-width: 600px) {
  .bh-pf-wrap { padding: var(--sp-7) var(--sp-4) var(--sp-10); }
  .bh-pf-panel__inner { padding: var(--sp-6) var(--sp-5); }
}

/* En-tête textuel */
.bh-pf-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bh-green);
  margin-bottom: var(--sp-2);
}

.bh-pf-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--bh-text);
  line-height: 1.15;
  margin-bottom: var(--sp-2);
}

.bh-pf-subtitle {
  font-size: .925rem;
  color: var(--bh-text-muted);
  margin-bottom: var(--sp-6);
}

/* Bloc code postal */
.bh-pf-zip-block {
  margin-top: var(--sp-4);
}

.bh-pf-zip-row {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.bh-pf-input {
  width: 100%;
  background: var(--bh-surface-2);
  border: 1.5px solid var(--bh-border);
  border-radius: var(--r-md);
  color: var(--bh-text);
  padding: var(--sp-3) var(--sp-4);
  font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}

.bh-pf-input:focus {
  border-color: var(--bh-green);
  box-shadow: 0 0 0 3px rgba(62, 207, 76, .15);
}

.bh-pf-input--zip {
  max-width: 140px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-align: center;
}

.bh-pf-input--invalid {
  border-color: var(--bh-red) !important;
  box-shadow: 0 0 0 3px rgba(229, 51, 75, .12) !important;
}

.bh-pf-select {
  width: 100%;
  background: var(--bh-surface-2);
  border: 1.5px solid var(--bh-border);
  border-radius: var(--r-md);
  color: var(--bh-text);
  padding: var(--sp-3) var(--sp-4);
  font-size: .95rem;
  transition: border-color var(--t-fast);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9199' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-8);
  cursor: pointer;
}

.bh-pf-select:focus {
  border-color: var(--bh-green);
  box-shadow: 0 0 0 3px rgba(62, 207, 76, .15);
}

/* Boutons */
.bh-pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-md);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast), opacity var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}

.bh-pf-btn--primary {
  background: var(--bh-green);
  color: #000;
}

.bh-pf-btn--primary:hover {
  background: var(--bh-green-dark);
  transform: translateY(-1px);
}

.bh-pf-btn--ghost {
  background: transparent;
  color: var(--bh-text-muted);
  border: 1.5px solid var(--bh-border);
}

.bh-pf-btn--ghost:hover {
  background: var(--bh-surface-2);
  color: var(--bh-text);
}

.bh-pf-btn--submit {
  width: 100%;
  padding: var(--sp-4) var(--sp-6);
  font-size: 1rem;
  border-radius: var(--r-lg);
  background: var(--bh-green);
  color: #000;
}

.bh-pf-btn--submit:hover {
  background: var(--bh-green-dark);
  transform: translateY(-1px);
}

.bh-pf-btn:disabled,
.bh-pf-btn--submit:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* Textes auxiliaires */
.bh-pf-hint {
  font-size: .78rem;
  color: var(--bh-text-dim);
  margin-top: var(--sp-2);
}

.bh-pf-error {
  font-size: .82rem;
  color: var(--bh-red);
  margin-top: var(--sp-2);
  min-height: 1.2em;
}

.bh-pf-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .78rem;
  color: var(--bh-text-dim);
  margin-top: var(--sp-5);
}

.bh-pf-trust svg {
  flex-shrink: 0;
  color: var(--bh-green);
}

/* Sections formulaire étape 2 */
.bh-pf-section {
  margin-top: var(--sp-6);
}

.bh-pf-section:first-child {
  margin-top: 0;
}

.bh-pf-section__title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-text-muted);
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--bh-border);
}

.bh-pf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.bh-pf-row--single {
  grid-template-columns: 1fr;
}

.bh-pf-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.bh-pf-field--wide {
  grid-column: 1 / -1;
}

.bh-pf-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--bh-text-muted);
}

.bh-pf-req {
  color: var(--bh-red);
  margin-left: 2px;
}

/* Consentement */
.bh-pf-consent {
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  background: var(--bh-surface-2);
  border-radius: var(--r-md);
  border: 1px solid var(--bh-border);
}

.bh-pf-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: .82rem;
  color: var(--bh-text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.bh-pf-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--bh-green);
  margin-top: 2px;
}

/* Row de soumission */
.bh-pf-submit-row {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.bh-pf-form-error {
  font-size: .85rem;
  color: var(--bh-red);
  text-align: center;
  min-height: 1.2em;
}

/* Navigation en bas (étape 1 surtout) */
.bh-pf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

/* Confirmation */
.bh-pf-confirm-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--r-full);
  background: rgba(62, 207, 76, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-6);
  animation: bh-pf-pop .4s cubic-bezier(.34,1.56,.64,1) both;
}

.bh-pf-confirm-icon svg {
  width: 36px;
  height: 36px;
  color: var(--bh-green);
}

@keyframes bh-pf-pop {
  from { opacity: 0; transform: scale(.5); }
  to   { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 600px) {
  .bh-pf-row {
    grid-template-columns: 1fr;
  }
  .bh-pf-field--wide {
    grid-column: auto;
  }
  .bh-pf-zip-row {
    flex-direction: column;
  }
  .bh-pf-input--zip {
    max-width: 100%;
    text-align: left;
  }
}

/* Overrides light theme pour tunnel */
.bh-light .bh-pf-wrap        { background: var(--bh-bg); }
.bh-light .bh-pf-panel       { background: var(--bh-surface); border-color: var(--bh-border); }
.bh-light .bh-pf-input,
.bh-light .bh-pf-select      { background: #fff; border-color: var(--bh-border); color: var(--bh-text); }
.bh-light .bh-pf-consent     { background: var(--bh-surface-2); border-color: var(--bh-border); }
.bh-light .bh-pf-progress__track { background: var(--bh-surface-3); }

/* ── Header template full-page ───────────────────────────────────────────── */

.bh-pf-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bh-bg);
}

.bh-pf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bh-surface);
  border-bottom: 1px solid var(--bh-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bh-pf-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--sp-6);
  height: var(--header-h);
  gap: var(--sp-4);
}

.bh-pf-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.bh-pf-header__logo-img {
  height: 32px;
  width: auto;
}

.bh-pf-header__logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bh-text);
  letter-spacing: -.02em;
}

.bh-pf-header__logo-text strong {
  color: var(--bh-green);
}

.bh-pf-header__right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.bh-pf-header__trust {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .78rem;
  color: var(--bh-text-muted);
}

.bh-pf-header__trust svg {
  color: var(--bh-green);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .bh-pf-header__trust { display: none; }
}

/* ── Main ──────────────────────────────────────────────────────────────────── */

.bh-pf-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Footer template full-page ───────────────────────────────────────────── */

.bh-pf-footer {
  background: var(--bh-surface);
  border-top: 1px solid var(--bh-border);
  padding: var(--sp-5) var(--sp-6);
}

.bh-pf-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  max-width: var(--max-w);
  margin-inline: auto;
  font-size: .78rem;
  color: var(--bh-text-dim);
  flex-wrap: wrap;
}

.bh-pf-footer__nav {
  display: flex;
  gap: var(--sp-5);
}

.bh-pf-footer__nav a {
  color: var(--bh-text-dim);
  text-decoration: none;
  transition: color var(--t-fast);
}

.bh-pf-footer__nav a:hover {
  color: var(--bh-green);
}

/* ── BH Product template (single-bh_product.php) ─────────────────────────── */

/* Hero produit */
.bhp-hero {
  padding-block: var(--sp-10) var(--sp-9);
  background: var(--bh-bg);
  border-bottom: 1px solid var(--bh-border);
}

.bhp-hero .breadcrumb {
  margin-bottom: var(--sp-7);
}

.bhp-hero__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-10);
  align-items: start;
}

.bhp-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-5);
}

.bhp-hero__intro {
  font-size: 1.1rem;
  color: var(--bh-text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-7);
}

.bhp-hero__cta-row {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
  flex-wrap: wrap;
}

.bhp-hero__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bhp-hero__price-from {
  font-size: .75rem;
  color: var(--bh-text-dim);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.bhp-hero__price-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--bh-text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.bhp-hero__price-label {
  font-size: .75rem;
  color: var(--bh-text-muted);
}

/* ── Situation card (hero, côté droit) ──────────────────────────────────── */
.bhp-situation-card {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
  text-align: center;
}

.bhp-situation-card__icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: var(--sp-5);
  display: block;
}

/* Image mise en avant dans la situation card */
.bhp-situation-card__thumb {
  width: calc(100% + var(--sp-7) * 2);
  margin: calc(var(--sp-7) * -1) calc(var(--sp-7) * -1) var(--sp-6);
  height: 200px;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.bhp-situation-card__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bhp-situation-card__audience {
  font-size: .9rem;
  font-weight: 600;
  color: var(--bh-green);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Specs card (hero) — conservé pour compatibilité ascendante */
.bhp-specs-card {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
}

.bhp-specs-card__header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-6);
  background: var(--bh-surface-2);
  border-bottom: 1px solid var(--bh-border);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--bh-text-muted);
}

.bhp-specs-list {
  display: flex;
  flex-direction: column;
}

.bhp-specs-list__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--bh-border);
  font-size: .9rem;
}

.bhp-specs-list__row:last-child {
  border-bottom: none;
}

.bhp-specs-list__row dt {
  color: var(--bh-text-muted);
  font-weight: 400;
}

.bhp-specs-list__row dd {
  font-weight: 600;
  color: var(--bh-text);
  text-align: right;
}

/* ── Timeline étapes du projet ─────────────────────────────────────────── */
.bhp-steps__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-6);
  counter-reset: none;
}

.bhp-steps__item {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
}

.bhp-steps__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--bh-green);
  color: #000;
  font-weight: 800;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.bhp-steps__label {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--bh-text);
  margin-bottom: var(--sp-2);
}

.bhp-steps__desc {
  font-size: .85rem;
  color: var(--bh-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Benefits grid */
.bhp-benefits {
  background: var(--bh-surface);
}

.bhp-benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-6);
}

.bhp-benefit-item {
  padding: var(--sp-7);
  background: var(--bh-surface-2);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.bhp-benefit-item:hover {
  border-color: var(--bh-green);
  box-shadow: var(--shadow-green);
}

.bhp-benefit-item__icon {
  font-size: 1.8rem;
  margin-bottom: var(--sp-4);
  line-height: 1;
}

.bhp-benefit-item__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.bhp-benefit-item__body {
  font-size: .875rem;
  color: var(--bh-text-muted);
  line-height: 1.6;
}

/* Editorial layout */
.bhp-editorial__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-10);
  align-items: start;
}

.bhp-editorial__section {
  margin-bottom: var(--sp-10);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid var(--bh-border);
}

.bhp-editorial__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.bhp-editorial__section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 2px solid var(--bh-green);
  display: inline-block;
}

/* Sidebar */
.bhp-editorial__sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.bhp-sidebar-cta {
  padding: var(--sp-7);
}

.bhp-sidebar-cta__eyebrow {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-green);
  margin-bottom: var(--sp-3);
}

.bhp-sidebar-cta__body {
  font-size: .875rem;
  color: var(--bh-text-muted);
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}

.bhp-sidebar-cta__list {
  margin-top: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.bhp-sidebar-cta__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .8rem;
  color: var(--bh-text-muted);
}

.bhp-sidebar-specs {
  padding: var(--sp-6);
}

.bhp-sidebar-specs__title {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-text-muted);
  margin-bottom: var(--sp-4);
}

/* FAQ */
.bhp-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 820px;
  margin-inline: auto;
}

.bhp-faq__item {
  background: var(--bh-surface-2);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-base);
}

.bhp-faq__item[open] {
  border-color: var(--bh-green);
}

.bhp-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  user-select: none;
}

.bhp-faq__question::-webkit-details-marker { display: none; }

.bhp-faq__chevron {
  flex-shrink: 0;
  color: var(--bh-text-muted);
  transition: transform var(--t-base);
}

.bhp-faq__item[open] .bhp-faq__chevron {
  transform: rotate(180deg);
  color: var(--bh-green);
}

.bhp-faq__answer {
  padding: 0 var(--sp-6) var(--sp-6);
  color: var(--bh-text-muted);
  font-size: .9375rem;
  line-height: 1.7;
}

/* Related cards */
.bhp-related-card__thumb {
  width: 100%;
  height: 140px;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: var(--sp-4);
}

.bhp-related-card__price {
  margin-top: var(--sp-4);
  font-size: .875rem;
  color: var(--bh-text-muted);
}

.bhp-related-card__price strong {
  color: var(--bh-text);
}

/* Final CTA */
.bhp-final-cta {
  background: linear-gradient(135deg, var(--bh-surface-2) 0%, var(--bh-bg) 100%);
  border-top: 1px solid var(--bh-border);
  border-bottom: 1px solid var(--bh-border);
}

.bhp-final-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--bh-green-glow);
  color: var(--bh-green);
  border: 1px solid rgba(62, 207, 76, 0.3);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-5);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: var(--sp-6);
}

.bhp-final-cta__title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: var(--sp-5);
}

.bhp-final-cta__sub {
  color: var(--bh-text-muted);
  margin-bottom: var(--sp-8);
  font-size: 1.05rem;
  max-width: 540px;
  margin-inline: auto;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .bhp-hero__inner,
  .bhp-editorial__layout {
    grid-template-columns: 1fr;
  }

  .bhp-specs-card,
  .bhp-situation-card,
  .bhp-editorial__sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .bhp-hero__cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   ARCHIVE bh_product — .bha-*
   URL: /borne-de-recharge/
   ============================================================ */

/* ── Product grid ─────────────────────────────────────────── */
.bha-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-7);
}

/* ── Product card ─────────────────────────────────────────── */
.bha-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

/* Icône de situation (remplace le thumb image) */
.bha-card__icon-wrap {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bh-surface-2);
  border-radius: var(--r-md) var(--r-md) 0 0;
  flex-shrink: 0;
}

.bha-card__icon {
  font-size: 3rem;
  line-height: 1;
  transition: transform .2s ease;
}

.bha-card:hover .bha-card__icon {
  transform: scale(1.15);
}

/* Audience — "Pour qui ?" */
.bha-card__audience {
  font-size: .8rem;
  font-weight: 600;
  color: var(--bh-green);
  margin-bottom: var(--sp-3);
  line-height: 1.4;
}

.bha-card__thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
}

.bha-card__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.bha-card:hover .bha-card__thumb-img {
  transform: scale(1.04);
}

.bha-card__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bh-surface-2);
}

.bha-card:hover .bha-card__thumb--placeholder svg {
  color: var(--bh-green) !important;
  transition: color .2s ease;
}

.bha-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-6);
}

.bha-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bh-text);
  margin-bottom: var(--sp-3);
  line-height: 1.35;
}

.bha-card__excerpt {
  font-size: .875rem;
  color: var(--bh-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--sp-4);
}

.bha-card__price {
  font-size: .875rem;
  color: var(--bh-text-muted);
  margin-bottom: var(--sp-4);
}

.bha-card__price strong {
  color: var(--bh-green);
  font-size: 1rem;
}

/* Sub-situation chips inside card */
.bha-card__children {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.bha-card__children span {
  font-size: .72rem;
  padding: 3px 9px;
  border-radius: var(--r-full);
  border: 1px solid var(--bh-border-light);
  color: var(--bh-text-muted);
  background: var(--bh-surface-2);
  white-space: nowrap;
}

.bha-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .85rem;
  font-weight: 600;
  color: var(--bh-green);
  margin-top: auto;
  transition: gap .2s ease;
}

.bha-card:hover .bha-card__cta {
  gap: var(--sp-3);
}

/* ── Réassurance strip ────────────────────────────────────── */
.bha-reassurance {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-10);
  padding: var(--sp-8);
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-lg);
}

.bha-reassurance__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  color: var(--bh-text-muted);
}

.bha-reassurance__item svg {
  flex-shrink: 0;
  color: var(--bh-green);
  margin-top: 2px;
}

.bha-reassurance__item strong {
  display: block;
  color: var(--bh-text);
  font-size: .9rem;
  margin-bottom: var(--sp-1);
}

.bha-reassurance__item span {
  font-size: .8rem;
  line-height: 1.5;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .bha-grid {
    grid-template-columns: 1fr;
  }

  .bha-reassurance {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HOMEPAGE — Solution cards .hp-solution-card
   ============================================================ */

.hp-solution-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 0;
  overflow: hidden;
}

.hp-solution-card--featured {
  border-color: var(--bh-green);
  box-shadow: var(--shadow-green);
}

/* Zone image pleine largeur en haut de la card */
.hp-solution-card__icon-wrap {
  width: 100%;
  height: 180px;
  background: var(--bh-green-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.hp-solution-card__emoji {
  font-size: 2.8rem;
  line-height: 1;
}

.hp-solution-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.hp-solution-card:hover .hp-solution-card__thumb {
  transform: scale(1.04);
}

/* Contenu sous l'image */
.hp-solution-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-7);
}

/* Btn poussé en bas de la card */
.hp-solution-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Hover lift sur la card */
.hp-solution-card:hover .hp-solution-card__emoji {
  transform: scale(1.15);
  transition: transform .2s ease;
}

/* Responsive */
@media (max-width: 640px) {
  .hp-solution-card__icon-wrap {
    height: 150px;
  }
  .hp-solution-card__body {
    padding: var(--sp-6);
  }
}

/* ── CONTACT PAGE ──────────────────────────────────────────────────────────── */

/* Hero */
.contact-hero {
  padding: var(--sp-12) 0 var(--sp-10);
  text-align: center;
}

.contact-hero .section-kicker {
  margin-bottom: var(--sp-4);
}

.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--bh-text);
  margin: 0 0 var(--sp-5);
  line-height: 1.15;
}

.contact-hero .hero-subtitle {
  font-size: 1.125rem;
  color: var(--bh-text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Two-column layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-8);
  align-items: start;
  padding-bottom: var(--sp-12);
}

/* ── Info sidebar ── */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.contact-info-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bh-text);
  margin: 0 0 var(--sp-2);
}

.contact-info-block p {
  font-size: 0.9375rem;
  color: var(--bh-text-muted);
  margin: 0 0 var(--sp-5);
  line-height: 1.65;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  background: var(--bh-green-glow);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.contact-info-item__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-item__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bh-text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.contact-info-item__value {
  font-size: 0.9375rem;
  color: var(--bh-text);
  font-weight: 500;
}

/* Reassurance badges below info */
.contact-badges {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.contact-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--bh-text-muted);
}

.contact-badge svg {
  flex-shrink: 0;
}

/* ── Form card ── */
.contact-form-wrapper {
  background: var(--bh-surface);
  border: 1.5px solid var(--bh-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

.contact-form-wrapper h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bh-text);
  margin: 0 0 var(--sp-6);
}

/* Form grid: name + email side-by-side on wide screens */
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

/* CF7 overrides — match our design system */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--bh-red);
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-acceptance-missing {
  border: 1.5px solid var(--bh-red);
  background: rgba(229, 51, 75, 0.08);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.875rem;
  color: var(--bh-red);
  margin-top: var(--sp-4);
}

.wpcf7 .wpcf7-mail-sent-ok {
  border: 1.5px solid var(--bh-green);
  background: var(--bh-green-glow);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.875rem;
  color: var(--bh-green);
  margin-top: var(--sp-4);
}

/* Spinner override */
.wpcf7 .wpcf7-spinner {
  background-color: var(--bh-green);
}

/* Submit button — reuse .btn .btn-primary sizing */
.contact-form-wrapper .wpcf7-submit {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast) ease;
  padding: var(--sp-4) var(--sp-8);
  background: var(--bh-green);
  color: #0a1a0b;
  width: 100%;
  margin-top: var(--sp-2);
}

.contact-form-wrapper .wpcf7-submit:hover {
  background: #4edf5c;
  box-shadow: 0 4px 20px rgba(62, 207, 76, 0.35);
  transform: translateY(-1px);
}

.contact-form-wrapper .wpcf7-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

/* RGPD consent */
.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.contact-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--bh-green);
  cursor: pointer;
}

.contact-consent label,
.contact-consent .wpcf7-list-item-label {
  font-size: 0.8125rem;
  color: var(--bh-text-muted);
  line-height: 1.5;
}

/* ── Contact FAQ section ── */
.contact-faq {
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--bh-border);
}

.contact-faq .section-header {
  margin-bottom: var(--sp-8);
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

.contact-faq-item {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}

.contact-faq-item__q {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bh-text);
  margin: 0 0 var(--sp-3);
}

.contact-faq-item__a {
  font-size: 0.875rem;
  color: var(--bh-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-block {
    order: 2;
  }

  .contact-form-wrapper {
    order: 1;
  }

  .contact-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: var(--sp-6);
  }

  .contact-hero h1 {
    font-size: 1.75rem;
  }
}

/* ── LEGAL PAGES ───────────────────────────────────────────────────────────── */

.legal-page {
  padding: var(--sp-11) 0 var(--sp-12);
}

/* Header */
.legal-header {
  max-width: var(--max-w-text);
  margin: 0 auto var(--sp-10);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--bh-border);
}

.legal-header .section-kicker {
  margin-bottom: var(--sp-3);
}

.legal-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--bh-text);
  margin: 0 0 var(--sp-3);
  line-height: 1.2;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--bh-text-dim);
  margin: 0;
}

/* Content — prose typographie */
.legal-content {
  max-width: var(--max-w-text);
  margin: 0 auto;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--bh-text-muted);
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--bh-text);
  margin: var(--sp-9) 0 var(--sp-3);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--bh-border);
}

.legal-content h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bh-text);
  margin: var(--sp-6) 0 var(--sp-2);
}

.legal-content p {
  margin: 0 0 var(--sp-4);
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 var(--sp-4);
  padding-left: var(--sp-6);
}

.legal-content li {
  margin-bottom: var(--sp-2);
}

.legal-content a {
  color: var(--bh-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: #4edf5c;
}

.legal-content strong {
  color: var(--bh-text);
  font-weight: 600;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 var(--sp-6);
  font-size: 0.875rem;
}

.legal-content th,
.legal-content td {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--bh-border);
}

.legal-content th {
  background: var(--bh-surface);
  color: var(--bh-text);
  font-weight: 600;
}

.legal-content td {
  color: var(--bh-text-muted);
}

@media (max-width: 640px) {
  .legal-page {
    padding: var(--sp-8) 0 var(--sp-10);
  }

  .legal-content table {
    display: block;
    overflow-x: auto;
  }
}

/* ── AVIS PAGE ────────────────────────────────────────────── */
.avis-hero {
  padding-top: var(--sp-14);
  padding-bottom: var(--sp-10);
}

.avis-hero .section-kicker {
  margin-bottom: var(--sp-4);
}

.avis-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--sp-5);
}

.avis-hero__sub {
  font-size: 1.05rem;
  color: var(--bh-text-muted);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.avis-summary {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.avis-summary__score {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--bh-text);
}

.avis-summary__count {
  font-size: .8rem;
  color: var(--bh-text-dim);
  margin-top: var(--sp-1);
}

.avis-grid {
  columns: 3;
  column-gap: var(--sp-6);
}

.avis-grid .review-card {
  break-inside: avoid;
  margin-bottom: var(--sp-6);
}

@media (max-width: 900px) {
  .avis-grid { columns: 2; }
}

@media (max-width: 600px) {
  .avis-grid { columns: 1; }
  .avis-hero { padding-top: var(--sp-10); }
}

/* ═══════════════════════════════════════════════════════════
   GUIDES — Archive & Single
   ══════════════════════════════════════════════════════════ */

/* ── Archive: Hero ─────────────────────────────────────────── */
.guides-hero {
  padding: var(--sp-14) 0 var(--sp-10);
  border-bottom: 1px solid var(--bh-border);
}
.guides-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.guides-hero__text .section-kicker { margin-bottom: var(--sp-3); }
.guides-hero__text h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: var(--sp-5);
}
.guides-hero__sub {
  font-size: 1.05rem;
  color: var(--bh-text-muted);
  max-width: 54ch;
  line-height: 1.7;
}
.guides-hero__stats {
  display: flex;
  gap: var(--sp-8);
  flex-shrink: 0;
}
.guides-stat__value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--bh-text);
  line-height: 1;
}
.guides-stat__label {
  display: block;
  font-size: .75rem;
  color: var(--bh-text-dim);
  margin-top: var(--sp-1);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Archive: Filter chips ─────────────────────────────────── */
.guides-filters {
  border-bottom: 1px solid var(--bh-border);
  background: var(--bh-surface);
}
.guides-filters__inner {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  padding: var(--sp-4) 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.guides-filters__inner::-webkit-scrollbar { display: none; }
.guides-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  border: 1px solid var(--bh-border);
  background: transparent;
  color: var(--bh-text-muted);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all .15s;
}
.guides-filter-chip:hover { border-color: var(--bh-green); color: var(--bh-green); }
.guides-filter-chip.is-active {
  background: var(--bh-green);
  border-color: var(--bh-green);
  color: #000;
  font-weight: 600;
}

/* ── Archive: Container & layout ───────────────────────────── */
.guides-container {
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-14);
}

/* ── Archive: Hero card (first article) ────────────────────── */
.guide-card-hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
  text-decoration: none;
  color: inherit;
  margin-bottom: var(--sp-10);
  transition: border-color .2s, box-shadow .2s;
}
.guide-card-hero:hover {
  border-color: var(--bh-green);
  box-shadow: 0 0 0 1px var(--bh-green), var(--shadow-green);
}
.guide-card-hero__img {
  order: 2;
  overflow: hidden;
  min-height: 320px;
}
.guide-card-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.guide-card-hero:hover .guide-card-hero__img img { transform: scale(1.03); }
.guide-card-hero__body {
  order: 1;
  padding: var(--sp-9) var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-4);
}
.guide-card-hero__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--bh-text);
}
.guide-card-hero__excerpt {
  font-size: .95rem;
  color: var(--bh-text-muted);
  line-height: 1.7;
}
.guide-card-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--bh-green);
  font-size: .9rem;
  font-weight: 600;
  margin-top: var(--sp-2);
}

/* ── Archive: Regular grid ──────────────────────────────────── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.guides-grid--full { /* used in fallback, no hero card */ }

/* ── Shared card (archive + related) ───────────────────────── */
.guide-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.guide-card:hover {
  border-color: var(--bh-green);
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  transform: translateY(-3px);
}
.guide-card__img {
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}
.guide-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.guide-card:hover .guide-card__img img { transform: scale(1.04); }
.guide-card__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}
.guide-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--bh-text);
}
.guide-card__excerpt {
  font-size: .875rem;
  color: var(--bh-text-muted);
  line-height: 1.65;
  flex: 1;
}
.guide-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .75rem;
  color: var(--bh-text-dim);
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--bh-border);
}
.guide-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--bh-text-dim);
  display: inline-block;
}

/* ── Guide badge ────────────────────────────────────────────── */
.guide-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--bh-green-glow);
  color: var(--bh-green);
  border: 1px solid rgba(62,207,76,.25);
  text-decoration: none;
}
.guide-badge--link:hover { background: rgba(62,207,76,.2); }

/* ── Archive: CTA bottom ────────────────────────────────────── */
.guides-cta-bottom {
  margin-top: var(--sp-12);
  padding-top: var(--sp-9);
  border-top: 1px solid var(--bh-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
.guides-cta-bottom p { color: var(--bh-text-muted); font-size: 1.05rem; }

/* ── Archive: Pagination ────────────────────────────────────── */
.guides-pagination {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-10);
  flex-wrap: wrap;
}
.guides-pagination a,
.guides-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--sp-3);
  border-radius: var(--r-md);
  border: 1px solid var(--bh-border);
  font-size: .9rem;
  text-decoration: none;
  color: var(--bh-text-muted);
  transition: all .15s;
}
.guides-pagination a:hover { border-color: var(--bh-green); color: var(--bh-green); }
.guides-pagination .current {
  background: var(--bh-green);
  border-color: var(--bh-green);
  color: #000;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   GUIDE SINGLE
   ══════════════════════════════════════════════════════════ */

.guide-breadcrumb-wrap { padding-top: var(--sp-6); }

/* ── Single: Layout (article + sidebar) ────────────────────── */
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-12);
  align-items: start;
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-12);
}

/* ── Single: Article ────────────────────────────────────────── */
.guide-article__header { margin-bottom: var(--sp-8); }
.guide-article__cats {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.guide-article__title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}
.guide-article__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-5);
  color: var(--bh-text-dim);
  font-size: .85rem;
}
.guide-meta-item { display: inline-flex; align-items: center; gap: var(--sp-2); }
.guide-meta-sep { color: var(--bh-border); }
.guide-article__intro {
  font-size: 1.1rem;
  color: var(--bh-text-muted);
  line-height: 1.75;
  margin-top: var(--sp-6);
  padding-left: var(--sp-5);
  border-left: 3px solid var(--bh-green);
}

/* ── Featured image ─────────────────────────────────────────── */
.guide-article__hero-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--sp-9);
  max-height: 460px;
}
.guide-article__hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 460px;
}

/* ── Summary box "En bref" ──────────────────────────────────── */
.guide-summary-box {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-left: 3px solid var(--bh-green);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-7);
  margin-bottom: var(--sp-8);
}
.guide-summary-box__label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-green);
  margin-bottom: var(--sp-4);
}
.guide-summary-box__text {
  font-size: .95rem;
  color: var(--bh-text-muted);
  line-height: 1.7;
}

/* ── Table of contents (inline, mobile / before sidebar) ────── */
.guide-toc {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6) var(--sp-7);
  margin-bottom: var(--sp-9);
}
.guide-toc__header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-text-muted);
  margin-bottom: var(--sp-5);
}
.guide-toc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  counter-reset: none;
  padding: 0;
  margin: 0;
}
.guide-toc__item {}
.guide-toc__link {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--bh-text-muted);
  font-size: .9rem;
  transition: background .15s, color .15s;
}
.guide-toc__link:hover { background: var(--bh-surface-2); color: var(--bh-green); }
.guide-toc__num {
  flex-shrink: 0;
  font-size: .75rem;
  font-weight: 700;
  color: var(--bh-green);
  min-width: 18px;
}

/* ── Article body ───────────────────────────────────────────── */
.guide-article__body { margin-bottom: var(--sp-10); }

/* ── Guide FAQ ──────────────────────────────────────────────── */
.guide-faq { margin-top: var(--sp-10); padding-top: var(--sp-8); border-top: 1px solid var(--bh-border); }
.guide-faq__title { font-size: 1.5rem; font-weight: 700; margin-bottom: var(--sp-6); }

/* ── Article footer ─────────────────────────────────────────── */
.guide-article__footer {
  margin-top: var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--bh-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.guide-article__footer p { font-size: .8rem; color: var(--bh-text-dim); }
.guide-article__back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .85rem;
  color: var(--bh-text-muted);
  text-decoration: none;
  transition: color .15s;
}
.guide-article__back svg { transform: rotate(180deg); }
.guide-article__back:hover { color: var(--bh-green); }

/* ── Sidebar ────────────────────────────────────────────────── */
.guide-sidebar {
  position: sticky;
  top: calc(var(--header-h, 64px) + var(--sp-6));
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.guide-sidebar__cta {
  padding: var(--sp-7);
  border-color: var(--bh-green) !important;
  box-shadow: var(--shadow-green);
}
.guide-sidebar__cta-kicker {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-green);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.guide-sidebar__cta-body {
  font-size: .9rem;
  color: var(--bh-text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
}
.guide-sidebar__cta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding: 0;
}
.guide-sidebar__cta-list li {
  display: flex;
  gap: var(--sp-2);
  font-size: .8rem;
  color: var(--bh-text-muted);
}
.guide-sidebar__toc { padding: var(--sp-5) var(--sp-6); }
.guide-sidebar__toc-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-text-dim);
  margin-bottom: var(--sp-4);
}
.guide-sidebar__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.guide-sidebar__toc-list a {
  display: flex;
  gap: var(--sp-2);
  font-size: .82rem;
  color: var(--bh-text-muted);
  text-decoration: none;
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  line-height: 1.4;
}
.guide-sidebar__toc-list a:hover { color: var(--bh-green); background: var(--bh-surface-2); }
.guide-sidebar__toc-list span { color: var(--bh-green); font-weight: 700; flex-shrink: 0; }

/* ── Related guides section ─────────────────────────────────── */
.guide-related {
  background: var(--bh-surface);
  border-top: 1px solid var(--bh-border);
  padding: var(--sp-12) 0;
}
.guide-related__header { margin-bottom: var(--sp-8); }
.guide-related__header .section-kicker { margin-bottom: var(--sp-3); }
.guide-related__header h2 { font-size: 1.75rem; font-weight: 700; }
.guide-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* ── Bottom CTA ─────────────────────────────────────────────── */
.guide-bottom-cta {
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--bh-border);
}
.guide-bottom-cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: var(--sp-4); }
.guide-bottom-cta p { color: var(--bh-text-muted); font-size: 1rem; line-height: 1.65; margin-bottom: var(--sp-7); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .guide-card-hero { grid-template-columns: 1fr; }
  .guide-card-hero__img { order: 1; min-height: 260px; }
  .guide-card-hero__body { order: 2; }
}
@media (max-width: 960px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; }
  .guide-sidebar__toc { display: none; } /* hidden sidebar TOC on mobile — inline TOC used instead */
  .guide-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .guides-hero { padding: var(--sp-10) 0 var(--sp-7); }
  .guides-hero__stats { display: none; }
  .guides-grid { grid-template-columns: 1fr; }
  .guide-related__grid { grid-template-columns: 1fr; }
  .guide-article__footer { flex-direction: column; }
}

/* ── Zones homepage block ─────────────────────────────────── */
.zones-hp-section {
  background: var(--bh-surface-2);
  border-top: 1px solid var(--bh-border);
  border-bottom: 1px solid var(--bh-border);
}

.zones-hp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-2);
  justify-content: center;
}

.zone-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: 6px;
  padding: 7px 16px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--bh-text-muted);
  transition: var(--t-fast);
  white-space: nowrap;
}

.zone-chip::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bh-green);
  opacity: .5;
  flex-shrink: 0;
  transition: var(--t-fast);
}

.zone-chip:hover {
  background: var(--bh-green-glow);
  border-color: rgba(62,207,76,.35);
  color: var(--bh-text);
}

.zone-chip:hover::before {
  opacity: 1;
}

/* btn-outline */
.btn-outline {
  background: transparent;
  border: 1px solid var(--bh-border);
  color: var(--bh-text-muted);
  padding: .6rem 1.4rem;
  border-radius: var(--r-md);
  font-size: .88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: var(--t-fast);
}

.btn-outline:hover {
  border-color: rgba(62,207,76,.4);
  color: var(--bh-green);
}

@media (max-width: 600px) {
  .zones-hp-grid { gap: var(--sp-2); }
  .zone-chip { font-size: .8rem; padding: 6px 12px; }
}

/* ── Zone single pages ────────────────────────────────────── */

/* Breadcrumb */
.zone-breadcrumb-wrap { padding-top: var(--sp-5); padding-bottom: 0; }

/* guide-badge muted variant */
.guide-badge--muted {
  background: rgba(255,255,255,.06);
  color: var(--bh-text-muted);
  border-color: transparent;
}

/* Stats bar */
.zone-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bh-border);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: var(--sp-7) 0;
}
.zone-stat {
  background: var(--bh-surface-2);
  padding: var(--sp-5) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.zone-stat__value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bh-green);
  line-height: 1;
}
.zone-stat__label {
  font-size: .72rem;
  color: var(--bh-text-muted);
  line-height: 1.3;
}

/* Children zones grid */
.zone-children { margin: var(--sp-10) 0; }
.zone-children__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: var(--sp-6);
}
.zone-children__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-3);
}
.zone-child-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  background: var(--bh-surface-2);
  border: 1px solid var(--bh-border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  transition: var(--t-fast);
  position: relative;
}
.zone-child-card:hover {
  border-color: rgba(62,207,76,.4);
  background: var(--bh-green-glow);
  transform: translateY(-1px);
}
.zone-child-card__name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--bh-text);
}
.zone-child-card__meta {
  font-size: .75rem;
  color: var(--bh-text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.zone-dot { opacity: .4; }
.zone-child-card__arrow {
  position: absolute;
  right: var(--sp-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--bh-green);
  opacity: 0;
  transition: var(--t-fast);
}
.zone-child-card:hover .zone-child-card__arrow { opacity: 1; }

/* Steps section */
.zone-steps { margin: var(--sp-10) 0; }
.zone-steps h2 { margin-bottom: var(--sp-7); }

/* Sidebar children list */
.zone-sidebar-children { margin-top: var(--sp-5); }
.zone-sidebar-children__list {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.zone-sidebar-children__list a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .85rem;
  color: var(--bh-text-muted);
  transition: var(--t-fast);
}
.zone-sidebar-children__list a:hover { color: var(--bh-green); }

/* Responsive */
@media (max-width: 768px) {
  .zone-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .zone-children__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .zone-stats-bar { grid-template-columns: 1fr 1fr; }
  .zone-children__grid { grid-template-columns: 1fr; }
}
