:root {
  --bb-navy: #0f2c59;
  --bb-navy-dark: #0a1931;
  --bb-navy-soft: #1a4a8a;
  --bb-blue: #058bd6;
  --bb-blue-light: #e8f4fc;
  --bb-ink: #1e293b;
  --bb-muted: #64748b;
  --bb-line: #e2e8f0;
  --bb-surface: #ffffff;
  --bb-bg: #f4f7fb;
  --bb-green: #0f766e;
  --bb-hero-bg: #0f2c59;
  --bb-hero-bg-mid: #143d6e;
  --bb-hero-bg-deep: #081528;
  --bb-yellow: #f0c020;
  --bb-yellow-light: #ffe066;
  --bb-yellow-dark: #d4a008;
  --bb-header-h: 72px;
  --bb-footer-bg: #0a1931;
  --bb-text: #212529;
  --bb-card-bg: #ffffff;
  --bb-section-bg: #f4f6f9;
  --bb-radius-sm: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.bb-welcome {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--bb-ink);
  background: var(--bb-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.bb-welcome a {
  color: inherit;
  text-decoration: none;
}

.bb-welcome img {
  display: block;
  max-width: 100%;
}

.bb-welcome h1,
.bb-welcome h2,
.bb-welcome h3 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--bb-navy);
}

.bb-loader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  background: var(--bb-blue-light);
}

.bb-loader::before {
  content: "";
  display: block;
  width: 35%;
  height: 100%;
  background: var(--bb-blue);
  transform: translateX(-100%);
}

.bb-loader.is-loading {
  opacity: 1;
}

.bb-loader.is-loading::before {
  animation: bb-load 1s ease-in-out infinite;
}

@keyframes bb-load {
  to { transform: translateX(320%); }
}

.bb-btn-yellow {
  border: 1px solid rgba(10, 22, 40, 0.14);
  background: linear-gradient(180deg, var(--bb-yellow-light) 0%, var(--bb-yellow) 52%, var(--bb-yellow-dark) 100%);
  color: #0a1628;
  font-weight: 700;
  box-shadow:
    0 2px 8px rgba(212, 160, 8, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.bb-btn-yellow:hover {
  background: linear-gradient(180deg, #ffeb80 0%, #f5cc28 52%, #c89600 100%);
  border-color: rgba(10, 22, 40, 0.2);
  box-shadow:
    0 6px 18px rgba(212, 160, 8, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

.bb-btn-yellow:active {
  transform: translateY(0);
  box-shadow:
    0 2px 6px rgba(212, 160, 8, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Header */
.bb-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 44, 89, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 24px rgba(15, 44, 89, 0.05);
}

.bb-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 1180px;
  min-height: var(--bb-header-h);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.bb-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: opacity 0.15s ease;
}

.bb-logo:hover {
  opacity: 0.88;
}

.bb-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--bb-radius-sm);
}

.bb-logo span {
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-navy);
}

.bb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
}

.bb-nav a {
  position: relative;
  padding: 0.4rem 0;
  font-family: "Source Sans 3", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #3e4e64;
  transition: color 0.15s ease;
}

.bb-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--bb-yellow-dark);
  transition: width 0.2s ease;
}

.bb-nav a:hover {
  color: var(--bb-navy);
}

.bb-nav a:hover::after {
  width: 100%;
}

.bb-header-btns {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border-radius: var(--bb-radius-sm);
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.bb-hero .bb-btn {
  min-height: 40px;
  padding: 0 1.125rem;
  font-size: 0.8125rem;
}

.bb-hero .bb-btn-yellow {
  min-height: 42px;
  padding: 0 1.25rem;
}

.bb-header-btns .bb-btn-yellow {
  box-shadow:
    0 2px 8px rgba(212, 160, 8, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.bb-header-btns .bb-btn-ghost {
  border-color: #cbd5e1;
  color: var(--bb-navy);
}

.bb-header-btns .bb-btn-ghost:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.bb-btn-ghost {
  border: 1px solid var(--bb-line);
  background: var(--bb-surface);
  color: var(--bb-ink);
}

.bb-btn-ghost:hover {
  border-color: #cbd5e1;
  background: var(--bb-bg);
}

.bb-btn-primary {
  border: 0;
  background: var(--bb-navy);
  color: #fff;
}

.bb-btn-primary:hover {
  background: var(--bb-navy-soft);
}

.bb-btn-accent {
  border: 0;
  background: linear-gradient(135deg, var(--bb-blue), #0474b8);
  color: #fff;
}

.bb-btn-accent:hover {
  filter: brightness(1.05);
}

.bb-menu-btn {
  display: none;
  border: 1px solid var(--bb-line);
  background: var(--bb-surface);
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--bb-navy);
  cursor: pointer;
  border-radius: var(--bb-radius-sm);
}

/* Hero */
.bb-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 0;
  color: #fff;
  background-color: #081528;
  background-image: var(--bb-hero-photo);
  background-repeat: no-repeat;
  background-position: 72% center;
  background-size: cover;
}

@media (min-width: 961px) {
  .bb-hero {
    min-height: calc(100svh - var(--bb-header-h));
  }
}

.bb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 18, 36, 0.94) 0%,
    rgba(8, 18, 36, 0.82) 34%,
    rgba(8, 18, 36, 0.42) 62%,
    rgba(8, 18, 36, 0.18) 100%
  );
  pointer-events: none;
}

.bb-hero h1 {
  color: #fff;
}

.bb-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 5.5rem 3rem 4.75rem;
}

.bb-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 34rem;
  min-width: 0;
}

.bb-hero-badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 1.35rem;
  padding: 0;
  background: none;
  border: 0;
  color: #ffe38a;
  font-family: "Source Sans 3", "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bb-hero-badge::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  margin-right: 0.7rem;
  vertical-align: middle;
  background: var(--bb-yellow);
}

.bb-hero h1 {
  margin: 0 0 1.15rem;
  max-width: 11.5em;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.7rem, 4.8vw, 4.35rem);
  font-weight: 560;
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

.bb-hero h1 span {
  font-style: italic;
  font-weight: 560;
  color: #ffe7a3;
}

.bb-hero-lead {
  margin: 0 0 1.85rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Source Sans 3", "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.55;
}

.bb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bb-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 32rem;
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.bb-stat strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: "Source Sans 3", "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
}

.bb-stat span {
  font-family: "Source Sans 3", "Inter", sans-serif;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.4;
}

.bb-hero .bb-btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.bb-hero .bb-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.bb-hero .bb-btn-accent {
  background: var(--bb-blue);
}

.bb-hero .bb-btn-accent:hover {
  background: #0474b8;
  filter: none;
}

/* Sections */
.bb-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.bb-section-why-wrap,
.bb-section-modules-wrap,
.bb-section-portails-wrap,
.bb-cta-wrap,
.bb-footer {
  position: relative;
  overflow: hidden;
}

.bb-section-why-wrap,
.bb-section-modules-wrap,
.bb-section-portails-wrap {
  border-top: 1px solid #e5eaf0;
  border-bottom: 1px solid #e5eaf0;
}

/* Motif 1 — Kuba losanges (Pourquoi SALARIO) */
.bb-section-why-wrap {
  background-color: #f4f6f9;
}

.bb-section-why-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 246, 249, 0.9), rgba(244, 246, 249, 0.9)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c5ced8' stroke-width='0.5' stroke-linecap='square' opacity='0.22'%3E%3Cpath d='M40,0 L80,40 L40,80 L0,40 Z'/%3E%3Cpath d='M40,15 L55,40 L40,65 L25,40 Z' opacity='0.55'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 40px 40px;
  background-position: center;
  background-repeat: repeat;
  pointer-events: none;
}

/* Motif 2 — Points (Modules metier) */
.bb-section-modules-wrap {
  background-color: #eef2f7;
}

.bb-section-modules-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(238, 242, 247, 0.92), rgba(238, 242, 247, 0.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='2' cy='2' r='0.65' fill='%23b8c4d0' opacity='0.3'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-position: center;
  background-repeat: repeat;
  pointer-events: none;
}

/* Motif 3 — Lignes diagonales (Acces utilisateurs) */
.bb-section-portails-wrap {
  background-color: #f8fafc;
}

.bb-section-portails-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 32 32'%3E%3Cpath d='M-4 28 L28 -4' stroke='%23c8d2dc' stroke-width='0.4' fill='none' opacity='0.22'/%3E%3C/svg%3E");
  background-size: 18px 18px;
  background-position: center;
  background-repeat: repeat;
  pointer-events: none;
}

/* Motif 4 — Grille fine (CTA) */
.bb-cta-wrap {
  background-color: #0f2c59;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bb-cta-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 44, 89, 0.9), rgba(15, 44, 89, 0.9)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 40 40'%3E%3Cpath d='M0 20 H40 M20 0 V40' stroke='%23ffffff' stroke-width='0.3' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 22px 22px;
  background-position: center;
  background-repeat: repeat;
  pointer-events: none;
}

/* Motif 5 — Kuba sombre (Footer) */
.bb-footer {
  background-color: var(--bb-footer-bg);
  color: rgba(255, 255, 255, 0.88);
  border-top: 3px solid var(--bb-yellow);
}

.bb-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 25, 49, 0.92), rgba(10, 25, 49, 0.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.4' opacity='0.06' stroke-linecap='square'%3E%3Cpath d='M40,0 L80,40 L40,80 L0,40 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 36px 36px;
  background-position: center;
  background-repeat: repeat;
  pointer-events: none;
}

.bb-section-why,
.bb-section-modules,
.bb-section-portails,
.bb-section-cta {
  position: relative;
  z-index: 1;
  padding: 4.25rem 1.5rem 4.5rem;
}

.bb-section-why .bb-section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.bb-section-why .bb-section-head h2 {
  max-width: 18ch;
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
}

.bb-section-cta {
  padding: 2.5rem 1.5rem 3rem;
}

.bb-section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.bb-section-head-center {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  text-align: center;
}

.bb-section-label {
  display: block;
  margin: 0 0 0.75rem;
  font-family: "Inter", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7a8f;
}

.bb-section-head-center .bb-section-label::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 0.55rem auto 0;
  background: var(--bb-navy);
}

.bb-section-head h2 {
  margin: 0 0 0.65rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--bb-navy-dark);
}

.bb-section-head p {
  margin: 0 auto;
  max-width: 52ch;
  color: #5c6b7f;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.75;
}

.bb-section-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.25fr);
  gap: 2rem;
  align-items: start;
}

.bb-section-split-reverse {
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.95fr);
}

.bb-section-split-reverse .bb-section-visual {
  order: 2;
}

.bb-section-split-reverse .bb-section-split-content {
  order: 1;
}

.bb-section-visual img {
  width: 100%;
  border: 1px solid #dfe5ed;
  border-radius: var(--bb-radius-sm);
  box-shadow: 0 10px 28px rgba(10, 25, 49, 0.08);
  object-fit: cover;
  aspect-ratio: 16 / 11;
}

.bb-section-visual-secondary img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

.bb-section-visual-caption {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: #5c6b7f;
  line-height: 1.55;
}

.bb-section-split .bb-section-head {
  margin-bottom: 1.25rem;
  text-align: left;
}

.bb-section-split .bb-section-head p {
  margin: 0;
}

/* Pourquoi SALARIO — benefits */
.bb-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.bb-benefit {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem 1.4rem;
  background: var(--bb-card-bg);
  border: 1px solid #dfe5ed;
  border-radius: var(--bb-radius-sm);
  box-shadow: 0 1px 2px rgba(10, 25, 49, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bb-benefit:hover {
  border-color: #c8d3e0;
  box-shadow: 0 6px 20px rgba(10, 25, 49, 0.07);
}

.bb-benefit-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.875rem;
  background: var(--bb-section-bg);
  border: 1px solid #dfe5ed;
  border-radius: var(--bb-radius-sm);
  color: var(--bb-navy);
}

.bb-benefit-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bb-benefit h3 {
  margin: 0 0 0.45rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--bb-text);
}

.bb-benefit p {
  margin: 0;
  flex: 1;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #5c6b7f;
  line-height: 1.65;
}

/* Modules metier */
.bb-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.bb-module {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.4rem 1.4rem;
  background: var(--bb-card-bg);
  border: 1px solid #dfe5ed;
  border-radius: var(--bb-radius-sm);
  box-shadow: 0 1px 2px rgba(10, 25, 49, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bb-module:hover {
  border-color: #c8d3e0;
  box-shadow: 0 6px 20px rgba(10, 25, 49, 0.07);
}

.bb-module-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--bb-section-bg);
  border: 1px solid #dfe5ed;
  border-radius: var(--bb-radius-sm);
  color: var(--bb-navy);
}

.bb-module-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 0.88;
}

.bb-module h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--bb-text);
}

.bb-module p {
  margin: 0;
  flex: 1;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #5c6b7f;
  line-height: 1.65;
}

.bb-module-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
  margin-top: 0.15rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bb-navy-soft);
  transition: color 0.15s ease;
}

.bb-module-link::after {
  content: "→";
  font-size: 0.8125rem;
  transition: transform 0.15s ease;
}

.bb-module-link:hover {
  color: var(--bb-navy-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bb-module-link:hover::after {
  transform: translateX(2px);
}

.bb-section-alt {
  background: var(--bb-surface);
  border-top: 1px solid var(--bb-line);
  border-bottom: 1px solid var(--bb-line);
}

/* Portails */
.bb-portails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.bb-portail {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.5rem 1.375rem;
  background: var(--bb-card-bg);
  border: 1px solid #dfe5ed;
  border-radius: var(--bb-radius-sm);
  box-shadow: 0 1px 2px rgba(10, 25, 49, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bb-portail:hover {
  border-color: #c8d3e0;
  box-shadow: 0 6px 20px rgba(10, 25, 49, 0.07);
}

.bb-portail-tag {
  display: inline-block;
  width: fit-content;
  padding: 0.2rem 0.55rem;
  font-family: "Inter", sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--bb-section-bg);
  border: 1px solid #dfe5ed;
  border-radius: var(--bb-radius-sm);
  color: #5c6b7f;
}

.bb-portail-tag-rh {
  color: var(--bb-navy);
  border-color: rgba(15, 44, 89, 0.15);
  background: rgba(15, 44, 89, 0.04);
}

.bb-portail-tag-emp {
  color: var(--bb-navy-soft);
  border-color: rgba(26, 74, 138, 0.15);
  background: rgba(26, 74, 138, 0.04);
}

.bb-portail h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--bb-text);
}

.bb-portail p {
  margin: 0;
  flex: 1;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #5c6b7f;
  line-height: 1.65;
}

.bb-portail ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.bb-portail li {
  position: relative;
  padding-left: 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  color: #4a5568;
}

.bb-portail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--bb-navy);
}

.bb-portail .bb-btn {
  width: fit-content;
  margin-top: 0.25rem;
}

.bb-btn-navy {
  border: 1px solid var(--bb-navy);
  background: transparent;
  color: var(--bb-navy);
}

.bb-btn-navy:hover {
  background: rgba(15, 44, 89, 0.05);
  border-color: var(--bb-navy-dark);
}

/* CTA */
.bb-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bb-radius-sm);
  color: #fff;
}

.bb-cta h2 {
  margin: 0 0 0.45rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.bb-cta p {
  margin: 0;
  max-width: 44ch;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.bb-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bb-cta .bb-btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.92);
}

.bb-cta .bb-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.5);
}

.bb-btn-light {
  border: 0;
  background: #fff;
  color: var(--bb-navy);
}

.bb-btn-light:hover {
  background: #f1f5f9;
}

.bb-btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

.bb-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.bb-footer .bb-logo span {
  color: #fff;
}

.bb-footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.75rem 1.5rem;
}

.bb-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
}

.bb-footer-brand {
  max-width: 22rem;
}

.bb-footer-brand .bb-logo {
  margin-bottom: 0.65rem;
}

.bb-footer-brand .bb-logo span {
  font-weight: 700;
  letter-spacing: 0.1em;
}

.bb-footer-brand p {
  margin: 0;
  font-family: "Source Sans 3", "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.bb-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4.5rem;
  padding-top: 0.35rem;
}

.bb-footer-col h4 {
  margin: 0 0 0.9rem;
  font-family: "Source Sans 3", "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffe38a;
}

.bb-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.bb-footer-col a,
.bb-footer-col span {
  font-family: "Source Sans 3", "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.15s ease;
}

.bb-footer-col a:hover {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bb-footer-copy {
  width: 100%;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: "Source Sans 3", "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 960px) {
  .bb-hero {
    background-position: 68% center;
    min-height: 0;
  }

  .bb-hero::before {
    background: linear-gradient(
      180deg,
      rgba(8, 18, 36, 0.88) 0%,
      rgba(8, 18, 36, 0.72) 100%
    );
  }

  .bb-hero-inner {
    padding: 3.25rem 1.5rem 3rem;
  }

  .bb-hero-copy {
    max-width: none;
  }

  .bb-hero-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    max-width: none;
  }

  .bb-section-split,
  .bb-section-split-reverse {
    grid-template-columns: 1fr;
  }

  .bb-section-split-reverse .bb-section-visual,
  .bb-section-split-reverse .bb-section-split-content {
    order: unset;
  }

  .bb-section-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .bb-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-modules {
    grid-template-columns: repeat(2, 1fr);
  }

  .bb-portails {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bb-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    background: var(--bb-surface);
    border-bottom: 1px solid var(--bb-line);
  }

  .bb-nav.is-open {
    display: flex;
  }

  .bb-nav a {
    padding: 0.65rem 1.5rem;
  }

  .bb-nav a::after {
    display: none;
  }

  .bb-nav a:hover {
    background: var(--bb-bg);
  }

  .bb-header {
    position: relative;
  }

  .bb-header-inner {
    display: flex;
    justify-content: space-between;
  }

  .bb-menu-btn {
    display: inline-flex;
    margin-left: auto;
  }

  .bb-footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .bb-footer-links {
    gap: 2.5rem;
  }

  .bb-header-btns .bb-btn-ghost {
    display: none;
  }

  .bb-benefits,
  .bb-modules {
    grid-template-columns: 1fr;
  }

  .bb-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.375rem;
  }

  .bb-section-cta {
    padding: 1.75rem 1.5rem 2.25rem;
  }

  .bb-cta-btns {
    width: 100%;
  }

  .bb-cta-btns .bb-btn {
    flex: 1;
  }
}
