/**
 * Hanane Biane — Formations & Mentoring
 * Premium editorial landing page styles (navy + gold)
 * Scoped to body.hb-page so it never collides with the base theme.
 * -------------------------------------------------------------- */

:root {
  /* Brand palette — client colors: #e6eafc / #333387 / #c29b31 */
  --hb-navy: #333387;
  --hb-navy-deep: #2a2a6e;   /* darker shade for dark sections */
  --hb-navy-ink: #1f1f52;    /* deepest — footer */
  --hb-blue: #3d3d94;        /* lighter tint for hover / accents */
  --hb-gold: #c29b31;
  --hb-gold-soft: #d5b155;   /* lighter gold on dark backgrounds */
  --hb-gold-deep: #9f7d1f;   /* large display accents only (3:1 is enough) */
  --hb-gold-text: #7d6115;   /* small gold text — passes 4.5:1 on white + lavender */

  /* Neutrals */
  --hb-ink: #2a2a55;         /* primary text */
  --hb-slate: #585e88;       /* kicker / labels */
  --hb-muted: #5a6083;       /* body muted — 6.1:1 on white, 5.1:1 on lavender */
  --hb-line: rgba(51, 51, 135, .16);
  --hb-line-soft: rgba(51, 51, 135, .09);
  --hb-soft: #e6eafc;        /* light lavender surface */
  --hb-cream: #eef0fc;       /* secondary lavender surface */
  --hb-white: #ffffff;

  /* Type */
  --hb-font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* System */
  --hb-max: 1300px;
  --hb-wide: 1500px;
  --hb-header: 88px;
  --hb-radius: 16px;
  --hb-radius-sm: 10px;
  --hb-shadow-sm: 0 4px 18px rgba(19, 31, 69, .07);
  --hb-shadow: 0 22px 60px rgba(19, 31, 69, .12);
  --hb-shadow-lg: 0 40px 90px rgba(13, 22, 49, .22);
  --hb-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----- Reset / base ------------------------------------------- */
.hb-page * { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.hb-page {
  margin: 0;
  background: var(--hb-white);
  color: var(--hb-ink);
  font-family: var(--hb-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.hb-page img { display: block; max-width: 100%; }
.hb-page a { color: inherit; text-decoration: none; }
.hb-page button,
.hb-page input,
.hb-page select,
.hb-page textarea { font: inherit; }
.hb-page button,
.hb-page a { -webkit-tap-highlight-color: transparent; }

.hb-skip {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--hb-navy-deep);
  color: var(--hb-white);
  transform: translateY(-160%);
  transition: transform .2s var(--hb-ease);
}
.hb-skip:focus { transform: translateY(0); }

/* ----- Layout primitives -------------------------------------- */
.hb-shell {
  width: min(calc(100% - 48px), var(--hb-max));
  margin-inline: auto;
}

.hb-section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
  scroll-margin-top: calc(var(--hb-header) + 20px);
}

.hb-kicker {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--hb-gold-text);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hb-kicker.is-light { color: var(--hb-gold-soft); }

.hb-title {
  max-width: 760px;
  margin: 0;
  color: var(--hb-navy-deep);
  font-family: var(--hb-font);
  font-size: clamp(33px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.hb-title em {
  font-style: italic;
  color: var(--hb-gold-deep);
}

.hb-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--hb-muted);
  font-size: clamp(16px, 1.4vw, 18px);
}

/* ----- Buttons ------------------------------------------------ */
.hb-btn {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  overflow: hidden;
  transition: transform .25s var(--hb-ease), box-shadow .25s var(--hb-ease),
    background-color .25s var(--hb-ease), color .25s var(--hb-ease), border-color .25s var(--hb-ease);
}
.hb-btn:hover { transform: translateY(-3px); }
.hb-btn:active { transform: translateY(-1px); }

.hb-btn:focus-visible,
.hb-menu-toggle:focus-visible,
.hb-faq-question:focus-visible,
.hb-rec-arrow:focus-visible,
.hb-field input:focus-visible,
.hb-field select:focus-visible,
.hb-field textarea:focus-visible {
  outline: 3px solid rgba(200, 162, 74, .5);
  outline-offset: 3px;
}

.hb-page .hb-btn-primary {
  background: var(--hb-navy);
  box-shadow: 0 14px 30px rgba(27, 42, 94, .26);
  color: var(--hb-white);
}
.hb-page .hb-btn-primary:hover { background: var(--hb-navy-deep); color: var(--hb-white); }

.hb-page .hb-btn-gold {
  background: linear-gradient(135deg, var(--hb-gold-soft), var(--hb-gold));
  box-shadow: 0 14px 30px rgba(165, 132, 47, .3);
  color: var(--hb-navy-deep);
}
.hb-page .hb-btn-gold:hover { filter: brightness(1.05); color: var(--hb-navy-deep); }

.hb-page .hb-btn-outline {
  border-color: rgba(27, 42, 94, .25);
  background: transparent;
  color: var(--hb-navy);
}
.hb-page .hb-btn-outline:hover {
  border-color: var(--hb-navy);
  background: var(--hb-navy);
  color: var(--hb-white);
}

.hb-page .hb-btn-ghost-light {
  border-color: rgba(255, 255, 255, .35);
  background: transparent;
  color: var(--hb-white);
}
.hb-page .hb-btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: var(--hb-white); }

/* Line-icons (Lucide) — consistent stroke, sized per container */
.hb-page .hb-ico {
  display: block;
  width: 20px; height: 20px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
}

.hb-arrow { font-size: 19px; line-height: 1; transition: transform .25s var(--hb-ease); }
.hb-btn:hover .hb-arrow { transform: translateX(5px); }
.hb-btn > .hb-ico { width: 18px; height: 18px; font-size: 18px; line-height: 1; }

/* ----- Header ------------------------------------------------- */
.hb-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto 0;
  height: var(--hb-header);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color .3s var(--hb-ease), box-shadow .3s var(--hb-ease),
    border-color .3s var(--hb-ease), height .3s var(--hb-ease);
}
body.admin-bar .hb-header { top: 32px; }

.hb-header.is-scrolled {
  height: 72px;
  border-bottom-color: var(--hb-line-soft);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 10px 40px rgba(19, 31, 69, .08);
}

.hb-header-inner {
  display: flex;
  width: min(calc(100% - 96px), var(--hb-wide));
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.hb-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.hb-brand-logo {
  width: auto;
  height: 38px;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
}

.hb-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
  margin-left: auto;
}
.hb-nav a:not(.hb-btn) {
  position: relative;
  padding: 8px 0;
  color: var(--hb-navy);
  font-size: 13.5px;
  font-weight: 600;
}
.hb-nav a:not(.hb-btn)::after {
  position: absolute;
  inset: auto 0 2px 0;
  height: 2px;
  background: var(--hb-gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s var(--hb-ease);
}
.hb-nav a:not(.hb-btn):hover::after,
.hb-nav a:not(.hb-btn).is-active::after { transform: scaleX(1); transform-origin: left; }
.hb-nav .hb-btn { min-height: 44px; padding: 10px 20px; margin-left: 8px; }

.hb-menu-toggle {
  display: none;
  place-items: center;
  place-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--hb-line);
  border-radius: 12px;
  background: var(--hb-white);
  color: var(--hb-navy);
  cursor: pointer;
  transition: background-color .2s var(--hb-ease), border-color .2s var(--hb-ease);
}
.hb-menu-toggle:hover { border-color: rgba(51, 51, 135, .3); background: var(--hb-soft); }

/* 22x16 bars inside a 44px button: even 5px gaps, optically centred. */
.hb-menu-icon {
  position: relative;
  display: block;
  width: 22px; height: 16px;
}
.hb-menu-icon::before,
.hb-menu-icon::after,
.hb-menu-icon span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: top .25s var(--hb-ease), transform .25s var(--hb-ease), opacity .2s var(--hb-ease);
}
.hb-menu-icon::before { top: 0; }
.hb-menu-icon span { top: 7px; }
.hb-menu-icon::after { top: 14px; }

/* Open state: outer bars meet in the middle and cross. */
.hb-menu-toggle[aria-expanded="true"] .hb-menu-icon::before { top: 7px; transform: rotate(45deg); }
.hb-menu-toggle[aria-expanded="true"] .hb-menu-icon span { opacity: 0; }
.hb-menu-toggle[aria-expanded="true"] .hb-menu-icon::after { top: 7px; transform: rotate(-45deg); }

/* ----- Hero --------------------------------------------------- */
.hb-hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--hb-header);
  background: var(--hb-white);
  overflow: hidden;
  isolation: isolate;
}
body.admin-bar .hb-hero { min-height: calc(100svh - 32px); }

.hb-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 50%;
  background:
    radial-gradient(120% 90% at 80% 10%, #eef1fc 0%, rgba(238, 241, 252, 0) 60%),
    var(--hb-soft);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
  pointer-events: none;
}
.hb-hero::after {
  position: absolute;
  z-index: 0;
  top: 20%; left: 44%;
  width: 110px; height: 420px;
  border-right: 1.5px solid rgba(200, 162, 74, .55);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: rotate(8deg);
}

.hb-hero-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 96px), var(--hb-wide));
  margin-inline: auto;
}
.hb-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(540px, .96fr);
  min-height: calc(100svh - var(--hb-header));
  align-items: center;
  gap: clamp(40px, 5vw, 88px);
}
body.admin-bar .hb-hero-layout { min-height: calc(100svh - var(--hb-header) - 32px); }

.hb-hero-copy { position: relative; max-width: 640px; padding: 40px 0; }

.hb-hero h1 {
  margin: 0;
  color: var(--hb-navy-deep);
  font-family: var(--hb-font);
  font-size: clamp(44px, 4.9vw, 74px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.02em;
}
.hb-hero h1 span { color: var(--hb-gold-deep); font-style: italic; }

.hb-hero-intro {
  max-width: 500px;
  margin: 24px 0 0;
  color: #303a58;
  font-size: 17px;
}

.hb-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hb-hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
  margin: 38px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--hb-line);
  list-style: none;
}
.hb-hero-points li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 10px;
  color: #2a3350;
  font-size: 13px;
  font-weight: 600;
}
.hb-check {
  display: grid;
  place-items: center;
  place-content: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(27, 42, 94, .08);
  color: var(--hb-navy);
}
.hb-check .hb-ico { width: 16px; height: 16px; font-size: 16px; line-height: 1; }

/* Hero visual */
.hb-hero-visual { position: relative; min-width: 0; }
.hb-hero-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: calc(100svh - var(--hb-header) - 80px);
  margin-inline: auto;
  border-radius: 24px;
  background-color: var(--hb-soft);
  box-shadow: var(--hb-shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.hb-hero-frame::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(31, 31, 82, 0) 55%, rgba(31, 31, 82, .38) 100%);
  content: "";
  pointer-events: none;
}
.hb-hero-slides { position: absolute; inset: 0; }
.hb-hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s var(--hb-ease);
}
.hb-hero-video.is-active { opacity: 1; }
.hb-hero-dots {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hb-hero-dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: width .3s var(--hb-ease), background-color .3s var(--hb-ease);
}
.hb-hero-dot.is-active { width: 26px; background: var(--hb-gold); }

/* ----- About -------------------------------------------------- */
.hb-about { background: var(--hb-soft); }
.hb-about-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(40px, 5vw, 76px);
}
/* The portrait is a transparent cut-out, so it sits on a shaped colour
   field rather than inside a framed box. */
.hb-about-media { position: relative; }
.hb-about-shape {
  position: relative;
  aspect-ratio: 4 / 4.7;
  border-radius: 22px;
  background: var(--hb-cream);
  box-shadow: var(--hb-shadow);
  overflow: hidden;
}
/* Source is a tall portrait; cropped from the bottom so her face sits high. */
.hb-about-shape img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.hb-about-stamp {
  position: absolute;
  z-index: 3;
  left: -26px; bottom: 42px;
  width: 152px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--hb-white);
  color: var(--hb-navy);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: var(--hb-shadow);
}
.hb-about-stamp strong {
  display: block;
  margin-bottom: 2px;
  color: var(--hb-gold-deep);
  font-family: var(--hb-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}
.hb-about-copy > p:not(.hb-kicker) { color: var(--hb-muted); }
.hb-about-copy .hb-lead { margin-top: 22px; }

.hb-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 28px;
  padding-top: 30px;
  border-top: 1px solid var(--hb-line);
}
.hb-value-icon {
  display: grid; place-items: center;
  place-content: center;
  width: 52px; height: 52px;
  margin: 0 0 16px;
  border-radius: 14px;
  background: var(--hb-navy);
  color: var(--hb-gold-soft);
}
.hb-value-icon .hb-ico { width: 24px; height: 24px; }
.hb-value strong { display: block; color: var(--hb-navy); font-size: 15.5px; }
.hb-value > span:not(.hb-value-icon) { display: block; margin-top: 6px; color: var(--hb-muted); font-size: 14.5px; line-height: 1.6; }

/* ----- Formations / services --------------------------------- */
.hb-services-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}
.hb-services-heading .hb-lead { max-width: 400px; margin: 0; }

.hb-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.hb-service {
  position: relative;
  padding: 32px 30px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  background: var(--hb-white);
  overflow: hidden;
  transition: transform .3s var(--hb-ease), border-color .3s var(--hb-ease), box-shadow .3s var(--hb-ease);
}
.hb-service::before {
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hb-gold), var(--hb-gold-soft));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--hb-ease);
}
.hb-service:hover {
  border-color: rgba(200, 162, 74, .5);
  box-shadow: var(--hb-shadow);
  transform: translateY(-8px);
}
.hb-service:hover::before { transform: scaleX(1); }
.hb-service-icon {
  display: grid; place-items: center;
  place-content: center;
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--hb-soft);
  color: var(--hb-navy);
  transition: background-color .3s var(--hb-ease), color .3s var(--hb-ease);
}
.hb-service:hover .hb-service-icon { background: var(--hb-navy); color: var(--hb-gold-soft); }
.hb-service-icon .hb-ico { width: 26px; height: 26px; font-size: 26px; line-height: 1; }
.hb-service h3 {
  margin: 26px 0 10px;
  color: var(--hb-navy-deep);
  font-family: var(--hb-font);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
}
.hb-service p { margin: 0; color: var(--hb-muted); font-size: 15.5px; line-height: 1.65; }
.hb-service-meta {
  display: flex; align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--hb-gold-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

/* ----- Why (dark) --------------------------------------------- */
.hb-why {
  position: relative;
  background:
    radial-gradient(90% 120% at 100% 0%, #3d3d94 0%, rgba(61, 61, 148, 0) 55%),
    var(--hb-navy-deep);
  color: var(--hb-white);
  overflow: hidden;
}
.hb-why .hb-title { color: var(--hb-white); }
.hb-why .hb-lead { color: #c4cbe6; }
.hb-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hb-why-item {
  padding: 38px 28px 10px;
  border-right: 1px solid rgba(255, 255, 255, .16);
}
.hb-why-item:last-child { border-right: 0; }
.hb-why-num {
  color: var(--hb-gold-soft);
  font-family: var(--hb-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}
.hb-why-item h3 { margin: 22px 0 8px; font-size: 18px; font-weight: 700; }
.hb-why-item p { margin: 0; color: #ccd2ea; font-size: 15px; line-height: 1.65; }

/* ----- Method / process --------------------------------------- */
.hb-process { background: var(--hb-cream); }
.hb-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.hb-process-step {
  position: relative;
  padding: 34px 30px;
  border: 1px solid rgba(165, 132, 47, .2);
  border-radius: var(--hb-radius);
  background: rgba(255, 255, 255, .6);
}
.hb-process-icon {
  display: grid; place-items: center;
  place-content: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--hb-navy);
  color: var(--hb-gold-soft);
}
.hb-process-icon .hb-ico { width: 28px; height: 28px; }
.hb-process-step h3 { margin: 24px 0 10px; color: var(--hb-navy-deep); font-size: 20px; }
.hb-process-step p { margin: 0; color: var(--hb-muted); font-size: 15.5px; line-height: 1.65; }

/* ----- Recommendations (LinkedIn) ----------------------------- */
.hb-rec { background: var(--hb-white); }
.hb-rec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}
.hb-linkedin-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 8px 15px;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  background: var(--hb-soft);
  color: #0a66c2;
  font-size: 13px;
  font-weight: 700;
}
.hb-linkedin-tag svg { width: 18px; height: 18px; display: block; }
.hb-rec-controls { display: flex; gap: 10px; }
.hb-rec-arrow {
  display: grid; place-items: center;
  place-content: center;
  width: 50px; height: 50px;
  border: 0;
  border-radius: 14px;
  background: var(--hb-navy);
  color: var(--hb-white);
  cursor: pointer;
  transition: background-color .25s var(--hb-ease), transform .25s var(--hb-ease), box-shadow .25s var(--hb-ease);
}
.hb-rec-arrow:hover:not(:disabled) {
  background: var(--hb-gold);
  color: var(--hb-navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(194, 155, 49, .28);
}
.hb-rec-arrow:disabled { background: var(--hb-line); color: var(--hb-muted); opacity: .6; cursor: default; }
.hb-rec-arrow .hb-ico { width: 20px; height: 20px; }

.hb-rec-viewport { overflow: hidden; margin: 0 -11px; }
.hb-rec-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 0px);
  gap: 0;
  transition: transform .5s var(--hb-ease);
}
.hb-rec-cell { padding: 8px 11px; min-width: 0; }
.hb-rec-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  background: var(--hb-white);
  box-shadow: var(--hb-shadow-sm);
}
.hb-rec-quote-mark {
  font-family: var(--hb-font);
  font-size: 54px;
  line-height: .6;
  color: rgba(200, 162, 74, .45);
}
.hb-rec-card blockquote {
  flex: 1;
  margin: 14px 0 24px;
  color: #26304e;
  font-size: 15.5px;
  line-height: 1.6;
}
.hb-rec-person { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--hb-line-soft); }
.hb-rec-avatar {
  width: 54px; height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  border: 2px solid var(--hb-white);
  background: var(--hb-soft);
  box-shadow: var(--hb-shadow-sm);
  object-fit: cover;
}
.hb-rec-id { min-width: 0; }
.hb-rec-id strong { display: block; color: var(--hb-navy-deep); font-size: 15px; }
.hb-rec-id strong a { color: inherit; transition: color .2s var(--hb-ease); }
.hb-rec-id strong a:hover { color: var(--hb-gold-deep); }
.hb-rec-id span { display: block; margin-top: 3px; color: var(--hb-muted); font-size: 13.5px; line-height: 1.45; }
.hb-rec-card blockquote[dir="rtl"] { text-align: right; }
.hb-rec-badge {
  margin-left: auto;
  color: #0a66c2;
}
.hb-rec-badge svg { width: 20px; height: 20px; display: block; }
.hb-rec-dots { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.hb-rec-dot {
  width: 8px; height: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--hb-line);
  cursor: pointer;
  transition: width .3s var(--hb-ease), background-color .3s var(--hb-ease);
}
.hb-rec-dot.is-active { width: 26px; background: var(--hb-gold); }
.hb-rec-cta { margin-top: 34px; text-align: center; }

/* ----- FAQ ---------------------------------------------------- */
.hb-faq { background: var(--hb-soft); }
.hb-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}
.hb-faq-list { border-top: 1px solid var(--hb-line); }
.hb-faq-item { border-bottom: 1px solid var(--hb-line); }
.hb-faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--hb-navy-deep);
  cursor: pointer;
  text-align: left;
  font-size: 16.5px;
  font-weight: 700;
}
.hb-faq-plus { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.hb-faq-plus::before,
.hb-faq-plus::after {
  position: absolute; top: 8px; left: 1px;
  width: 16px; height: 2px;
  background: var(--hb-gold-deep);
  content: "";
  transition: transform .25s var(--hb-ease);
}
.hb-faq-plus::after { transform: rotate(90deg); }
.hb-faq-question[aria-expanded="true"] .hb-faq-plus::after { transform: rotate(0); }
.hb-faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--hb-ease); }
.hb-faq-answer > div { overflow: hidden; }
.hb-faq-answer p { margin: 0; padding: 0 42px 24px 0; color: var(--hb-muted); font-size: 16px; line-height: 1.7; }
.hb-faq-question[aria-expanded="true"] + .hb-faq-answer { grid-template-rows: 1fr; }

/* ----- Contact ------------------------------------------------ */
.hb-contact {
  position: relative;
  background:
    radial-gradient(80% 120% at 0% 0%, #3d3d94 0%, rgba(61, 61, 148, 0) 50%),
    var(--hb-navy-deep);
  color: var(--hb-white);
  overflow: hidden;
}
.hb-contact::before {
  position: absolute;
  top: 0; right: 7%;
  width: 240px; height: 240px;
  border: 1px solid rgba(200, 162, 74, .4);
  border-radius: 50%;
  content: "";
  transform: translateY(-62%);
}
.hb-contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.hb-contact .hb-title { color: var(--hb-white); }
.hb-contact .hb-lead { color: #c6cce2; }
.hb-contact-list { display: grid; gap: 16px; margin: 34px 0 0; padding: 0; list-style: none; }
.hb-contact-list a,
.hb-contact-list span.hb-contact-line { display: flex; align-items: center; gap: 14px; color: #eef0f8; font-size: 15.5px; }
.hb-contact-list a:hover { color: var(--hb-gold-soft); }
.hb-contact-symbol {
  display: grid; place-items: center;
  place-content: center;
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  color: var(--hb-gold-soft);
}
.hb-contact-symbol .hb-ico { width: 20px; height: 20px; font-size: 20px; line-height: 1; }

.hb-contact-form {
  padding: 36px;
  border-radius: 20px;
  background: var(--hb-white);
  box-shadow: var(--hb-shadow-lg);
  color: var(--hb-ink);
}
.hb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hb-field { display: grid; gap: 8px; }
.hb-field-wide { grid-column: 1 / -1; }
.hb-field label { color: #2a3350; font-size: 13.5px; font-weight: 700; }
.hb-field input,
.hb-field select,
.hb-field textarea {
  width: 100%;
  border: 1px solid #d3d9e8;
  border-radius: 10px;
  background: #fbfcff;
  color: var(--hb-ink);
  transition: border-color .2s var(--hb-ease), box-shadow .2s var(--hb-ease);
}
.hb-field input,
.hb-field select { height: 50px; padding: 0 14px; }
.hb-field textarea { min-height: 128px; padding: 12px 14px; resize: vertical; }
.hb-field input:focus,
.hb-field select:focus,
.hb-field textarea:focus {
  border-color: var(--hb-gold);
  box-shadow: 0 0 0 4px rgba(200, 162, 74, .14);
  outline: none;
}
.hb-honeypot { position: absolute !important; left: -9999px !important; }
.hb-form-notice { margin: 0 0 18px; padding: 14px 16px; border-radius: 10px; border-left: 4px solid currentColor; font-size: 14.5px; font-weight: 600; line-height: 1.55; }
.hb-form-notice.success { background: #eaf7ef; color: #23663d; }
.hb-form-notice.error { background: #fff0ef; color: #a13d35; }
.hb-form-notice[hidden] { display: none; }

/* Submit button while the AJAX request is in flight. */
.hb-contact-form .hb-btn.is-loading {
  cursor: progress;
  opacity: .75;
}
.hb-contact-form .hb-btn:disabled { pointer-events: none; }
.hb-contact-form .hb-btn { width: 100%; margin-top: 22px; }

/* ----- Footer ------------------------------------------------- */
.hb-footer { background: var(--hb-navy-ink); color: #cfd5ea; }
.hb-footer-main {
  display: grid;
  grid-template-columns: 1.4fr .8fr .9fr 1fr;
  gap: 56px;
  padding: 72px 0 48px;
}
.hb-brand-logo-footer { height: 42px; max-width: 170px; }
.hb-footer-intro { max-width: 340px; margin: 22px 0 0; font-size: 14.5px; line-height: 1.7; color: #bcc2dc; }
.hb-footer h3 { margin: 0 0 18px; color: var(--hb-gold-soft); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hb-footer-links { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.hb-footer-links a { font-size: 14.5px; color: #d2d7e9; transition: color .2s var(--hb-ease); }
.hb-footer-links a:hover { color: var(--hb-gold-soft); }
.hb-footer-social { display: flex; gap: 10px; margin-top: 18px; }
.hb-footer-social a {
  display: grid; place-items: center;
  place-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: #c2c8e0;
  transition: background-color .2s var(--hb-ease), color .2s var(--hb-ease), border-color .2s var(--hb-ease);
}
.hb-footer-social a:hover { background: var(--hb-navy); color: var(--hb-gold-soft); border-color: var(--hb-navy); }
.hb-footer-social .hb-ico { width: 20px; height: 20px; font-size: 20px; line-height: 1; }
.hb-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: #aeb5d4;
}

/* ----- Reveal animations -------------------------------------- */
.hb-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--hb-ease), transform .7s var(--hb-ease);
}
.hb-reveal.is-visible { opacity: 1; transform: none; }
.hb-reveal[data-delay="1"] { transition-delay: .08s; }
.hb-reveal[data-delay="2"] { transition-delay: .16s; }
.hb-reveal[data-delay="3"] { transition-delay: .24s; }
.hb-reveal[data-delay="4"] { transition-delay: .32s; }
.hb-reveal[data-delay="5"] { transition-delay: .4s; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1180px) {
  .hb-header-inner,
  .hb-hero-shell { width: min(calc(100% - 48px), var(--hb-max)); }

  .hb-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom-color: var(--hb-line-soft); }

  .hb-menu-toggle { display: inline-grid; }

  .hb-nav {
    position: fixed;
    inset: var(--hb-header) 0 auto 0;
    display: grid;
    max-height: 0;
    gap: 0;
    margin-left: 0;
    padding: 0 24px;
    border-bottom: 1px solid var(--hb-line-soft);
    background: var(--hb-white);
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s var(--hb-ease), opacity .25s var(--hb-ease), padding .3s var(--hb-ease);
  }
  .hb-nav.is-open { max-height: 460px; padding: 18px 24px 26px; opacity: 1; }
  .hb-nav a:not(.hb-btn) { padding: 14px 0; border-bottom: 1px solid var(--hb-line-soft); }
  .hb-nav .hb-btn { margin: 18px 0 0; }
  body.admin-bar .hb-nav { top: calc(var(--hb-header) + 32px); }

  .hb-hero { min-height: 0; }
  /* The diagonal panel only reads correctly in the side-by-side layout;
     stacked it cuts a hard band through the copy. */
  .hb-hero::before,
  .hb-hero::after { display: none; }
  .hb-hero-layout { grid-template-columns: 1fr; min-height: 0; gap: 48px; padding-top: 20px; }
  .hb-hero-copy { max-width: 640px; padding: 20px 0 0; }
  .hb-hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }

  .hb-about-grid,
  .hb-faq-layout,
  .hb-contact-grid { grid-template-columns: 1fr; }
  .hb-services-grid,
  .hb-why-grid,
  .hb-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-rec-track { grid-auto-columns: calc((100% / 2) - 0px); }

  .hb-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (max-width: 820px) {
  :root { --hb-header: 72px; }
  body.admin-bar .hb-header { top: 46px; }

  .hb-services-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hb-rec-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .hb-shell { width: min(calc(100% - 32px), var(--hb-max)); }
  .hb-hero-shell { width: min(calc(100% - 32px), var(--hb-max)); }
  .hb-hero h1 { font-size: clamp(32px, 8.6vw, 40px); line-height: 1.08; }
  .hb-hero-intro { margin-top: 18px; font-size: 15.5px; }
  .hb-hero-actions { display: grid; gap: 12px; margin-top: 26px; }
  .hb-hero-actions .hb-btn { width: 100%; }
  .hb-hero-points { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; padding-top: 22px; }
  .hb-values,
  .hb-services-grid,
  .hb-why-grid,
  .hb-process-grid,
  .hb-form-grid,
  .hb-footer-main { grid-template-columns: 1fr; }
  .hb-rec-track { grid-auto-columns: 100%; }
  .hb-why-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); padding: 30px 0 10px; }
  .hb-why-item:last-child { border-bottom: 0; }
  .hb-about-stamp { position: static; width: auto; margin-top: 18px; }
  .hb-about-shape { aspect-ratio: 4 / 4.6; }

  /* Stacked Mission / Vision / Valeurs read better centred on narrow screens. */
  .hb-values { gap: 30px; margin-bottom: 32px; }
  .hb-value { text-align: center; }
  .hb-value-icon { margin-inline: auto; }
  .hb-value > span:not(.hb-value-icon) { margin-inline: auto; max-width: 34ch; }
  .hb-about-copy > .hb-btn { display: flex; width: 100%; }
  .hb-contact-form { padding: 26px 20px; }
  .hb-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hb-reveal { opacity: 1; transform: none; transition: none; }
  .hb-page *,
  .hb-page *::before,
  .hb-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
