/* =====================================================================
   BIGPLACE — PUBLIC SITE REDESIGN (Phase 1: Homepage + Header + Footer)
   Isolated, namespaced layer. Loaded last in layouts/app.blade.php.
   Scoped under .bp-nav / .bp-footer / .page-accueil so it never leaks
   into the authenticated dashboard or not-yet-redesigned pages.

   Palette: "Fusion" (FEAT energy + Recruitee polish)
   Font: PP Neue Montreal (already loaded via plugins/css/font.css)
   ===================================================================== */

:root {
  /* Fusion palette — new vars, do not mutate existing --bigplace-* tokens */
  --bp-ink: #140032;
  --bp-ink-soft: #2a1c4d;
  --bp-violet: #6d28d9;
  --bp-violet-dark: #5a1cb7;
  --bp-violet-soft: #ede5fb;
  --bp-magenta: #e23393;
  --bp-magenta-dark: #d91c7a;
  --bp-blue: #3284f1;
  --bp-lavender: #f5f0fc;
  --bp-lavender-2: #faf7ff;
  --bp-muted: #3a3354;
  --bp-muted-2: #5a5470;
  --bp-line: #ece7f3;
  --bp-white: #ffffff;

  --bp-grad: linear-gradient(120deg, #3284f1 0%, #7627e0 52%, #e23393 100%);
  --bp-grad-soft: linear-gradient(120deg, rgba(50,132,241,.12) 0%, rgba(118,39,224,.12) 52%, rgba(226,51,147,.12) 100%);

  --bp-font: 'PPNeueMontreal', 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --bp-radius: 14px;
  --bp-radius-lg: 22px;
  --bp-radius-xl: 32px;
  --bp-radius-pill: 999px;

  --bp-shadow-sm: 0 2px 10px rgba(20, 0, 50, .06);
  --bp-shadow: 0 12px 34px rgba(20, 0, 50, .10);
  --bp-shadow-lg: 0 26px 60px rgba(20, 0, 50, .16);
  --bp-shadow-violet: 0 18px 40px rgba(109, 40, 217, .28);
  --bp-shadow-magenta: 0 14px 32px rgba(226, 51, 147, .32);

  --bp-ease: cubic-bezier(.22, 1, .36, 1);
  --bp-t: .25s var(--bp-ease);

  --bp-container: 1200px;
  --bp-nav-h: 76px;
}

/* ---------- shared container / typographic helpers ---------- */
.bp-container {
  width: 100%;
  max-width: var(--bp-container);
  margin-inline: auto;
  padding-inline: 24px;
}

.bp-section { position: relative; padding: 88px 0; }
.bp-section--tight { padding: 64px 0; }
.bp-section--lavender { background: var(--bp-lavender); }
.bp-section--soft { background: var(--bp-lavender-2); }

.bp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--bp-violet);
  background: var(--bp-violet-soft);
  padding: 7px 14px;
  border-radius: var(--bp-radius-pill);
  margin-bottom: 18px;
}

.bp-h1, .bp-h2, .bp-h3 {
  font-family: var(--bp-font);
  color: var(--bp-ink);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 700;
}
.bp-h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); font-weight: 800; }
.bp-h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.1; font-weight: 800; }
.bp-h3 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); line-height: 1.2; }

.bp-grad-text {
  background: var(--bp-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.bp-lead {
  font-family: var(--bp-font);
  color: var(--bp-ink-soft);
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  line-height: 1.65;
  max-width: 60ch;
  font-weight: 500;
}
/* inline keyword emphasis */
.bp-em { color: var(--bp-violet); font-weight: 700; }
.bp-em--magenta { color: var(--bp-magenta-dark); font-weight: 700; }

/* "stabilo" brush underline on keywords */
.bp-mark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M5,15 C60,7 120,7 175,10 C228,13 268,12 295,8' fill='none' stroke='%236D28D9' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 105%;
  background-size: 100% 0.36em;
  padding-bottom: 0.06em;
}
.bp-mark--magenta {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M5,15 C60,7 120,7 175,10 C228,13 268,12 295,8' fill='none' stroke='%23E23393' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* app-window screenshot frame */
.bp-shot {
  position: relative;
  border-radius: var(--bp-radius-lg);
  background: #fff;
  border: 1px solid var(--bp-line);
  box-shadow: var(--bp-shadow-lg);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform var(--bp-t), box-shadow var(--bp-t);
}
.bp-shot--right { transform: rotate(2deg); }
.bp-shot:hover { transform: rotate(0deg) translateY(-5px); box-shadow: var(--bp-shadow-xl, 0 30px 70px rgba(20,0,50,.22)); }
.bp-shot__bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: var(--bp-lavender-2); border-bottom: 1px solid var(--bp-line); }
.bp-shot__bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.bp-shot__bar i:nth-child(1) { background: #ff5f57; }
.bp-shot__bar i:nth-child(2) { background: #febc2e; }
.bp-shot__bar i:nth-child(3) { background: #28c840; }
.bp-shot img { display: block; width: 100%; height: auto; }

/* Pile de 2 captures — effet « fenêtres d'app superposées » */
.bp-shot-stack { position: relative; padding: 6px 38px 52px 0; }
.bp-shot-stack > .bp-shot { transform: rotate(-1.5deg); }
.bp-shot-stack > .bp-shot--right { transform: rotate(1.5deg); }
.bp-shot--float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  z-index: 3;
  transform: rotate(3deg);
  box-shadow: var(--bp-shadow-xl, 0 30px 70px rgba(20,0,50,.22));
}
.bp-shot-stack:hover > .bp-shot { transform: rotate(0deg); }
.bp-shot-stack:hover > .bp-shot--float { transform: rotate(0deg) translateY(-5px); }
@media (max-width: 767px) {
  .bp-shot-stack { padding: 0; }
  .bp-shot--float { position: static; width: 100%; margin-top: 16px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-shot-stack > .bp-shot,
  .bp-shot--float { transform: none; }
}

.bp-text-center { text-align: center; }
.bp-text-center .bp-lead { margin-inline: auto; }

.bp-section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.bp-section__head .bp-lead { margin: 16px auto 0; }

/* ---------- buttons ---------- */
.bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--bp-font);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 28px;
  min-height: 52px;
  border-radius: var(--bp-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--bp-t), box-shadow var(--bp-t), background var(--bp-t), color var(--bp-t), border-color var(--bp-t);
  white-space: nowrap;
}
.bp-btn svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform var(--bp-t); }
.bp-btn:hover svg { transform: translateX(3px); }

.bp-btn--primary { background: var(--bp-magenta); color: #fff; box-shadow: var(--bp-shadow-magenta); }
.bp-btn--primary:hover { background: var(--bp-magenta-dark); color: #fff; transform: translateY(-2px); }

.bp-btn--violet { background: var(--bp-violet); color: #fff; box-shadow: var(--bp-shadow-violet); }
.bp-btn--violet:hover { background: var(--bp-violet-dark); color: #fff; transform: translateY(-2px); }

.bp-btn--outline { background: transparent; color: var(--bp-violet); border-color: rgba(109, 40, 217, .35); }
.bp-btn--outline:hover { background: var(--bp-violet-soft); color: var(--bp-violet-dark); border-color: var(--bp-violet); }

.bp-btn--light { background: #fff; color: var(--bp-ink); box-shadow: var(--bp-shadow-sm); }
.bp-btn--light:hover { transform: translateY(-2px); box-shadow: var(--bp-shadow); color: var(--bp-violet-dark); }

.bp-btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.bp-btn--ghost-light:hover { background: rgba(255,255,255,.22); color: #fff; }

.bp-btn--block { width: 100%; }

/* accessible focus */
.bp-nav a:focus-visible,
.bp-footer a:focus-visible,
.page-accueil a:focus-visible,
.bp-btn:focus-visible,
.bp-nav button:focus-visible,
#login .bp-btn:focus-visible,
#register .bp-btn:focus-visible {
  outline: 3px solid rgba(109, 40, 217, .55);
  outline-offset: 3px;
  border-radius: var(--bp-radius);
}

/* =====================================================================
   AUTH MODALS  (#login / #register) — align legacy jquery.modal markup
   with the Fusion design. JS (bc-call-modal / jquery.modal) untouched.
   ===================================================================== */
#login .login-form, #register .login-form { font-family: var(--bp-font); }
#login .form-inner, #register .form-inner { border-radius: var(--bp-radius-lg); }
#login h3, #register h3 {
  font-family: var(--bp-font);
  color: var(--bp-ink);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-bottom: 22px;
}
/* register choice buttons: keep button label colors (legacy label rules win otherwise) */
#register label.bp-btn--primary { color: #fff; }
#register label.bp-btn--primary:hover { color: #fff; }
#register label.bp-btn--outline { color: var(--bp-violet); }
#register label.bp-btn--outline:hover { color: var(--bp-violet-dark); }
#login label, #register label { font-family: var(--bp-font); color: var(--bp-ink); font-weight: 500; }
#login .form-control {
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  padding: 13px 16px;
  font-family: var(--bp-font);
  background: var(--bp-lavender-2);
  transition: border-color var(--bp-t), box-shadow var(--bp-t);
}
#login .form-control:focus {
  border-color: var(--bp-violet);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, .12);
  background: #fff;
  outline: none;
}
#login a.pwd, #login .bottom-box a.signup { color: var(--bp-violet); font-weight: 600; text-decoration: none; }
#login a.pwd:hover, #login .bottom-box a.signup:hover { color: var(--bp-magenta); text-decoration: underline; }
#login .bp-btn .icon-loading { width: 16px; height: 16px; }
/* register: stack the two choice buttons with a gap */
#register .btn-box.row { gap: 12px 0; }

/* =====================================================================
   NAVBAR  (.bp-nav)  — keeps functional hooks: #navbar, .navigation,
   .dropdown, .mobile-nav-toggler, #nav-mobile, bc-call-modal
   ===================================================================== */
header.bp-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--bp-t), background var(--bp-t), border-color var(--bp-t);
}
header.bp-nav.bp-nav--scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--bp-shadow-sm);
  border-bottom-color: var(--bp-line);
}

.bp-nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--bp-nav-h);
  max-width: var(--bp-container);
  margin-inline: auto;
  padding-inline: 24px;
}
.bp-nav__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.bp-nav__logo img { height: 66px; width: auto; display: block; }

.bp-nav__menu { margin-left: 8px; }
.bp-nav .navigation {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bp-nav .navigation > li { position: relative; }
.bp-nav .navigation > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--bp-font);
  font-weight: 500;
  font-size: .98rem;
  color: var(--bp-ink);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--bp-radius-pill);
  transition: color var(--bp-t), background var(--bp-t);
}
.bp-nav .navigation > li > a:hover { color: var(--bp-violet); background: var(--bp-violet-soft); }
.bp-nav .navigation > li.bp-active > a { color: var(--bp-violet); }
.bp-nav .navigation .caret,
.bp-nav .navigation [class^="flaticon"] { font-size: .6rem; }

/* dropdown (Informations) — pure CSS hover */
.bp-nav .children-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  box-shadow: var(--bp-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--bp-t), transform var(--bp-t), visibility var(--bp-t);
}
.bp-nav .navigation > li:hover > .children-menu,
.bp-nav .navigation > li:focus-within > .children-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.bp-nav .children-menu > li > a {
  display: block;
  font-family: var(--bp-font);
  font-weight: 500;
  font-size: .94rem;
  color: var(--bp-ink);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background var(--bp-t), color var(--bp-t);
}
.bp-nav .children-menu > li > a:hover { background: var(--bp-violet-soft); color: var(--bp-violet); }

.bp-nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.bp-nav__actions .bp-btn { padding: 12px 22px; min-height: 46px; font-size: .95rem; }

/* auth user dropdown (logged-in) */
.bp-nav .login-item .is_login {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--bp-ink);
  padding: 8px 14px; border-radius: var(--bp-radius-pill);
  border: 1px solid var(--bp-line); transition: background var(--bp-t);
}
.bp-nav .login-item .is_login:hover { background: var(--bp-lavender); }
.bp-nav .login-item .bord-name { font-size: .72rem; color: var(--bp-muted-2); line-height: 1; }
.bp-nav .login-item .full-name { font-weight: 600; font-size: .92rem; color: var(--bp-ink); line-height: 1.2; }
.bp-nav .login-item .dropdown-menu { border-radius: var(--bp-radius); border: 1px solid var(--bp-line); box-shadow: var(--bp-shadow); padding: 8px; }
.bp-nav .login-item .dropdown-menu a { border-radius: 10px; padding: 9px 12px; color: var(--bp-ink); }
.bp-nav .login-item .dropdown-menu a:hover { background: var(--bp-violet-soft); color: var(--bp-violet); }

/* mobile bar */
.bp-nav__mobile { display: none; }
.bp-nav__burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bp-violet-soft); color: var(--bp-violet);
  border: none; cursor: pointer; text-decoration: none;
}
.bp-nav__burger span { font-size: 1.2rem; }

@media (max-width: 991px) {
  .bp-nav__menu, .bp-nav__actions { display: none; }
  .bp-nav__inner { justify-content: space-between; }
  .bp-nav__mobile { display: flex; align-items: center; gap: 10px; margin-left: auto; }
  .bp-nav__mobile .login-box a { color: var(--bp-ink); font-size: 1.3rem; }
}

/* =====================================================================
   HERO  (.bp-hero)
   ===================================================================== */
.bp-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 85% -10%, rgba(226,51,147,.10), transparent 42%),
              radial-gradient(120% 120% at 0% 0%, rgba(50,132,241,.10), transparent 40%),
              var(--bp-lavender-2);
  padding: 84px 0 92px;
}
.bp-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}
.bp-hero__title { margin-bottom: 20px; }
.bp-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.bp-hero__trust { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--bp-muted); font-size: .92rem; }
.bp-hero__trust svg { width: 20px; height: 20px; color: var(--bp-violet); }

.bp-hero__media { position: relative; }
.bp-hero__blob {
  position: absolute;
  inset: -8% -6% -8% -6%;
  background: var(--bp-grad);
  filter: blur(8px);
  opacity: .16;
  border-radius: 46% 54% 58% 42% / 50% 44% 56% 50%;
  z-index: 0;
}
.bp-hero__frame {
  position: relative;
  z-index: 1;
  border-radius: var(--bp-radius-xl);
  overflow: hidden;
  box-shadow: var(--bp-shadow-lg);
  background: #fff;
  border: 1px solid rgba(255,255,255,.6);
}
.bp-hero__frame img { display: block; width: 100%; height: auto; }

.bp-hero__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--bp-radius);
  padding: 12px 16px;
  box-shadow: var(--bp-shadow);
  font-family: var(--bp-font);
}
.bp-hero__chip-ic {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; color: #fff;
  background: var(--bp-grad);
}
.bp-hero__chip-ic svg { width: 20px; height: 20px; color: #fff; }
.bp-hero__chip strong { display: block; color: var(--bp-ink); font-size: 1.05rem; line-height: 1.1; }
.bp-hero__chip span { color: var(--bp-muted); font-size: .85rem; }
/* anchored OUTSIDE the frame edges so they never overlap the illustration's own icons */
.bp-hero__chip--tr { top: 6%; right: -7%; }
.bp-hero__chip--bl { bottom: 8%; left: -7%; }

/* =====================================================================
   FEATURE ROWS  (.bp-feature)
   ===================================================================== */
.bp-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.bp-feature + .bp-feature { margin-top: 96px; }
.bp-feature--reverse .bp-feature__media { order: 2; }
.bp-feature__title { margin-bottom: 16px; }
.bp-feature__list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.bp-feature__list li { display: flex; align-items: flex-start; gap: 12px; color: var(--bp-ink); font-size: 1.2rem; line-height: 1.5; }
.bp-feature__list svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--bp-magenta); margin-top: 1px; }

.bp-feature__media { position: relative; }
.bp-feature__img {
  border-radius: var(--bp-radius-xl);
  overflow: hidden;
  box-shadow: var(--bp-shadow);
  background: #fff;
}
.bp-feature__img img { display: block; width: 100%; height: auto; }
.bp-feature__deco {
  position: absolute;
  width: 56%;
  border-radius: var(--bp-radius-lg);
  overflow: hidden;
  box-shadow: var(--bp-shadow-lg);
  border: 5px solid #fff;
  bottom: -32px;
  z-index: 2;
}
.bp-feature__deco img { display: block; width: 100%; height: auto; }
.bp-feature:not(.bp-feature--reverse) .bp-feature__deco { right: -22px; }
.bp-feature--reverse .bp-feature__deco { left: -22px; }

/* =====================================================================
   STATS BAND  (.bp-stats)
   ===================================================================== */
.bp-stats { position: relative; }
.bp-stats__panel {
  background: var(--bp-ink);
  border-radius: var(--bp-radius-xl);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}
.bp-stats__panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 140% at 100% 0%, rgba(226,51,147,.35), transparent 55%),
             radial-gradient(80% 140% at 0% 100%, rgba(50,132,241,.30), transparent 55%);
}
.bp-stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.bp-stats__num {
  font-family: var(--bp-font);
  font-weight: 800;
  font-size: clamp(3.6rem, 7vw, 5.4rem);
  line-height: 1;
  color: #fff !important;
  letter-spacing: -.02em;
}
.bp-stats__num .count-text { color: #fff !important; }
.bp-stats__label { margin-top: 16px; color: #fff; font-size: 1.4rem; font-weight: 500; }
.bp-stats__divider { width: 1px; height: 112px; background: rgba(255,255,255,.16); justify-self: center; }

/* =====================================================================
   STEPS  (.bp-steps)
   ===================================================================== */
.bp-steps { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.bp-steps--reverse .bp-steps__media { order: 2; }
.bp-steps__media .bp-feature__img { box-shadow: var(--bp-shadow); }
.bp-steps__list { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 18px; }
.bp-steps__list li { display: flex; gap: 16px; align-items: flex-start; }
.bp-steps__num {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--bp-grad);
  color: #fff;
  font-weight: 700;
  font-family: var(--bp-font);
  box-shadow: var(--bp-shadow-violet);
}
.bp-steps__list li p { margin: 0; color: var(--bp-muted); font-size: 1.2rem; line-height: 1.55; padding-top: 8px; font-weight: 600; }
.bp-steps__media { position: relative; }
.bp-steps__media .bp-feature__img { border-radius: var(--bp-radius-xl); }

/* =====================================================================
   LOGOS STRIP  (.bp-logos)
   ===================================================================== */
.bp-logos { padding: 56px 0; border-top: 1px solid var(--bp-line); border-bottom: 1px solid var(--bp-line); background: #fff; }
.bp-logos__title { text-align: center; font-family: var(--bp-font); color: var(--bp-ink); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 44px; }
.bp-logos .sponsors-carousel .slide-item,
.bp-logos__track { display: flex; align-items: center; }
.bp-logos img { max-height: 68px; width: auto !important; filter: grayscale(.15); opacity: .92; transition: filter var(--bp-t), opacity var(--bp-t), transform var(--bp-t); }
.bp-logos img:hover { filter: grayscale(0); opacity: 1; transform: scale(1.05); }

/* =====================================================================
   TESTIMONIALS  (.bp-testimonials)  — restyle owl carousel
   ===================================================================== */
.bp-testimonials { background: var(--bp-lavender); }
.bp-testimonials .testimonial-block { padding: 12px; }
.bp-quote {
  background: #fff;
  border-radius: var(--bp-radius-lg);
  padding: 32px 30px;
  box-shadow: var(--bp-shadow-sm);
  border: 1px solid var(--bp-line);
  height: 100%;
}
.bp-quote__mark { font-size: 2.6rem; line-height: 1; color: var(--bp-magenta); font-family: Georgia, serif; }
.bp-quote__title { font-family: var(--bp-font); font-weight: 700; color: var(--bp-ink); font-size: 1.18rem; margin: 4px 0 12px; }
.bp-quote__text { color: var(--bp-muted); line-height: 1.65; font-size: 1.06rem; }
.bp-quote__person { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.bp-quote__person img { width: 54px !important; height: 54px !important; flex: 0 0 54px; border-radius: 50%; object-fit: contain; background: #fff; padding: 6px; border: 1px solid var(--bp-line); }
.bp-quote__name { font-weight: 600; color: var(--bp-ink); line-height: 1.2; }
.bp-quote__role { color: var(--bp-muted); font-size: .95rem; }

/* community cards */
.bp-community { background: #fff; }
.bp-people-card {
  background: var(--bp-lavender-2);
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-lg);
  padding: 26px 22px;
  text-align: center;
  margin: 10px;
  transition: transform var(--bp-t), box-shadow var(--bp-t);
}
.bp-people-card:hover { transform: translateY(-4px); box-shadow: var(--bp-shadow); }
.bp-people-card__avatar {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  background: var(--bp-grad);
  color: #fff; font-weight: 700; font-size: 1.3rem; font-family: var(--bp-font);
}
.bp-people-card__role { font-family: var(--bp-font); font-weight: 700; color: var(--bp-ink); font-size: 1.05rem; }
.bp-people-card__seek { display: inline-block; margin: 10px 0; font-size: .85rem; font-weight: 700; color: var(--bp-violet); background: var(--bp-violet-soft); padding: 5px 13px; border-radius: var(--bp-radius-pill); }
.bp-people-card__name { color: var(--bp-muted); font-size: .95rem; }

/* Owl Carousel dots — override legacy orange with brand colors.
   This theme colors the .owl-dot element itself (span is zero-size). */
.page-accueil .owl-theme .owl-dots .owl-dot,
.page-accueil .owl-theme .owl-dots .owl-dot span {
  background: var(--bp-line);
  transition: background var(--bp-t);
}
.page-accueil .owl-theme .owl-dots .owl-dot:hover,
.page-accueil .owl-theme .owl-dots .owl-dot:hover span { background: var(--bp-violet); }
.page-accueil .owl-theme .owl-dots .owl-dot.active,
.page-accueil .owl-theme .owl-dots .owl-dot.active span { background: var(--bp-magenta); }

/* =====================================================================
   FINAL CTA BAND  (.bp-cta-band)
   ===================================================================== */
.bp-cta-band { padding: 92px 0; }
.bp-cta-band__panel {
  position: relative;
  overflow: hidden;
  background: var(--bp-grad);
  border-radius: var(--bp-radius-xl);
  padding: 64px 40px;
  text-align: center;
  box-shadow: var(--bp-shadow-lg);
}
.bp-cta-band__panel::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 50% 0%, rgba(255,255,255,.22), transparent 60%);
  pointer-events: none;
}
.bp-cta-band__panel > * { position: relative; z-index: 1; }
.bp-cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.bp-cta-band p { color: rgba(255,255,255,.9); margin: 16px auto 0; max-width: 56ch; font-size: 1.25rem; line-height: 1.6;font-weight: 600; }
.bp-cta-band__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* =====================================================================
   FOOTER  (.bp-footer)
   ===================================================================== */
footer.bp-footer { background: var(--bp-ink); color: rgba(255,255,255,.72); }
.bp-footer__top { padding: 64px 0 48px; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.bp-footer__brand .bp-footer__logo img { height: 40px; width: auto; margin-bottom: 18px; }
.bp-footer__brand p { color: rgba(255,255,255,.66); line-height: 1.65; font-size: .94rem; margin: 6px 0; }
.bp-footer__brand a { color: rgba(255,255,255,.9); text-decoration: none; }
.bp-footer__brand a:hover { color: #fff; text-decoration: underline; }
.bp-footer__col h4 { color: #fff; font-family: var(--bp-font); font-size: 1.02rem; font-weight: 600; margin: 0 0 18px; }
.bp-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bp-footer__col a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .94rem; transition: color var(--bp-t); }
.bp-footer__col a:hover { color: #fff; }

.bp-footer__news {
  background: rgba(255,255,255,.05);
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 40px 0;
}
.bp-footer__news-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.bp-footer__news h3 { color: #fff; font-family: var(--bp-font); font-size: 1.4rem; margin: 0 0 6px; font-weight: 700; }
.bp-footer__news p { margin: 0; color: rgba(255,255,255,.66); font-size: .94rem; }
.bp-footer__news form { display: flex; gap: 12px; flex: 1 1 360px; max-width: 460px; }
.bp-footer__news input[type="email"] {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--bp-radius-pill);
  padding: 14px 20px;
  color: #fff;
  font-family: var(--bp-font);
  outline: none;
}
.bp-footer__news input::placeholder { color: rgba(255,255,255,.5); }
.bp-footer__news input:focus { border-color: var(--bp-magenta); }
.bp-footer__news .form-group { margin: 0; display: contents; }

.bp-footer__bottom { padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.bp-footer__bottom p { margin: 0; color: rgba(255,255,255,.6); font-size: .9rem; }
.bp-footer__bottom a { color: rgba(255,255,255,.85); text-decoration: none; }
.bp-footer__social { display: flex; gap: 10px; }
.bp-footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: #fff; text-decoration: none;
  transition: background var(--bp-t), transform var(--bp-t);
}
.bp-footer__social a:hover { background: var(--bp-magenta); transform: translateY(-2px); }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.bp-reveal { opacity: 0; transform: translateY(30px); transition: opacity .55s var(--bp-ease), transform .55s var(--bp-ease); }
.bp-reveal.is-visible { opacity: 1; transform: none; }
.bp-reveal--left  { transform: translateX(-44px); }
.bp-reveal--right { transform: translateX(44px); }
.bp-reveal--scale { transform: scale(.92); }
.bp-reveal--left.is-visible, .bp-reveal--right.is-visible, .bp-reveal--scale.is-visible { transform: none; }
.bp-reveal[data-bp-delay="1"] { transition-delay: .08s; }
.bp-reveal[data-bp-delay="2"] { transition-delay: .16s; }
.bp-reveal[data-bp-delay="3"] { transition-delay: .24s; }
.bp-reveal[data-bp-delay="4"] { transition-delay: .32s; }
.bp-reveal[data-bp-delay="5"] { transition-delay: .40s; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991px) {
  .bp-section { padding: 64px 0; }
  .bp-hero { padding: 56px 0 64px; }
  .bp-hero__grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .bp-hero__cta, .bp-hero__trust { justify-content: center; }
  .bp-hero .bp-lead { margin-inline: auto; }
  .bp-feature, .bp-steps { grid-template-columns: 1fr; gap: 40px; }
  .bp-feature--reverse .bp-feature__media,
  .bp-steps--reverse .bp-steps__media { order: 0; }
  .bp-feature__list { max-width: 540px; }
  .bp-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bp-hero__chip { display: none; } /* avoid overflow when hero stacks */
}

@media (max-width: 575px) {
  .bp-container, .bp-nav__inner { padding-inline: 18px; }
  .bp-section { padding: 52px 0; }
  .bp-hero__chip { display: none; }
  .bp-stats__grid { grid-template-columns: 1fr; gap: 28px; }
  .bp-stats__divider { display: none; }
  .bp-stats__panel { padding: 38px 24px; }
  .bp-cta-band__panel { padding: 44px 24px; }
  .bp-btn { width: 100%; white-space: normal; line-height: 1.3; padding: 14px 18px; text-align: center; }
  .bp-hero__cta .bp-btn, .bp-cta-band__btns .bp-btn { width: 100%; }
  .bp-footer__top { grid-template-columns: 1fr; }
  .bp-footer__news-inner { flex-direction: column; align-items: stretch; }
  .bp-footer__news form { max-width: none; flex: none; width: 100%; flex-direction: column; }
  .bp-footer__news input[type="email"] { width: 100%; }
  .bp-footer__news form .bp-btn { width: 100%; }
  .bp-feature__deco { position: relative; width: 78%; bottom: 0; margin: -28px auto 0; right: auto !important; left: auto !important; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .bp-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .bp-btn, .bp-people-card, header.bp-nav, .bp-footer__social a { transition: none !important; }
  html { scroll-behavior: auto; }
}

html { scroll-behavior: smooth; }

/* Scroll-to-top button — brand violet (legacy was faint blue) */
.bp-modern .scroll-to-top {
  background: var(--bp-violet) !important;
  color: #fff !important;
  border-radius: 50% !important;
  box-shadow: var(--bp-shadow-violet);
  transition: background var(--bp-t), transform var(--bp-t);
}
.bp-modern .scroll-to-top:hover {
  background: var(--bp-violet-dark) !important;
  transform: translateY(-2px);
}
.bp-modern .scroll-to-top span { color: #fff !important; }

/* =====================================================================
   PHASE 2 — REUSABLE COMPONENTS (interior public pages)
   ===================================================================== */

/* ---------- Page hero (replaces legacy .page-title) ---------- */
.bp-page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 0 60px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(226,51,147,.10), transparent 45%),
              radial-gradient(120% 120% at 0% 0%, rgba(50,132,241,.10), transparent 42%),
              var(--bp-lavender-2);
  border-bottom: 1px solid var(--bp-line);
}
.bp-page-hero .bp-h1 { margin: 0 auto; max-width: 18ch; }
.bp-page-hero__sub { margin: 16px auto 0; max-width: 60ch; color: var(--bp-muted); font-size: 1.1rem; line-height: 1.6; }
.bp-page-hero .bp-eyebrow { margin-bottom: 14px; }

/* ---------- Prose / legal text ---------- */
.bp-prose { max-width: 820px; margin: 0 auto; }
.bp-prose h2 { font-family: var(--bp-font); color: var(--bp-ink); font-size: clamp(1.5rem,2.6vw,2rem); font-weight: 700; letter-spacing: -.01em; margin: 40px 0 16px; }
.bp-prose h3 { font-family: var(--bp-font); color: var(--bp-ink); font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; }
.bp-prose p { color: var(--bp-muted); line-height: 1.75; margin: 0 0 18px; font-size: 1.12rem; }
.bp-prose ul, .bp-prose ol { color: var(--bp-muted); line-height: 1.75; margin: 0 0 18px; padding-left: 22px; font-size: 1.12rem; }
.bp-prose li { margin-bottom: 8px; }
.bp-prose a { color: var(--bp-violet); }
/* legal tables */
.bp-prose table, .bp-legal table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: .94rem; }
.bp-prose th, .bp-legal th { background: var(--bp-ink); color: #fff; font-family: var(--bp-font); font-weight: 600; padding: 12px 14px; text-align: left; border: 1px solid var(--bp-ink); }
.bp-prose td, .bp-legal td { padding: 11px 14px; border: 1px solid var(--bp-line); color: var(--bp-muted); }
.bp-prose tr:nth-child(even) td { background: var(--bp-lavender-2); }
.bp-legal .title { font-family: var(--bp-font); color: var(--bp-ink); text-transform: uppercase; font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; margin-top: 36px; margin-bottom: 10px; }
.bp-legal .text { margin: 0; color: var(--bp-muted); line-height: 1.75; font-size: 1.06rem; }
.bp-legal .text + .text, .bp-legal .text p { margin-bottom: 12px; }
.bp-legal .big { font-weight: 700; color: var(--bp-ink); }
.bp-legal .dot { padding-left: 28px; }

/* ---------- Accordion (FAQ) — styles existing .faq__* markup ---------- */
.bp-faq { max-width: 860px; margin: 0 auto; }
.bp-faq .faq_header h2 { font-family: var(--bp-font); color: var(--bp-ink); font-size: clamp(1.4rem,2.4vw,1.9rem); font-weight: 700; text-align: center; margin: 0 0 8px; }
.bp-faq .faq__panel {
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  margin-bottom: 14px;
  padding: 0 22px;
  transition: border-color var(--bp-t), box-shadow var(--bp-t);
}
.bp-faq .faq__panel[open] { border-color: rgba(109,40,217,.4); box-shadow: var(--bp-shadow-sm); }
.bp-faq .faq__label {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--bp-font);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--bp-ink);
}
.bp-faq .faq__label::-webkit-details-marker { display: none; }
.bp-faq .faq__label::after {
  content: "";
  flex: 0 0 auto;
  width: 11px; height: 11px;
  border-right: 2px solid var(--bp-violet);
  border-bottom: 2px solid var(--bp-violet);
  transform: rotate(45deg);
  transition: transform var(--bp-t);
}
.bp-faq .faq__panel[open] .faq__label { color: var(--bp-violet); }
.bp-faq .faq__panel[open] .faq__label::after { transform: rotate(-135deg); }
.bp-faq .faq__panel-body { padding: 0 0 18px; }
.bp-faq .faq__panel-answer { color: var(--bp-muted); line-height: 1.7; margin: 0; }

/* ---------- Forms ---------- */
.bp-form .form-group { margin-bottom: 18px; }
.bp-form label { display: block; font-family: var(--bp-font); font-weight: 500; color: var(--bp-ink); margin-bottom: 7px; font-size: .95rem; }
.bp-form .form-control,
.bp-form input[type="text"],
.bp-form input[type="email"],
.bp-form input[type="tel"],
.bp-form textarea {
  width: 100%;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  padding: 13px 16px;
  font-family: var(--bp-font);
  font-size: 1rem;
  color: var(--bp-ink);
  background: var(--bp-lavender-2);
  transition: border-color var(--bp-t), box-shadow var(--bp-t), background var(--bp-t);
}
.bp-form textarea { min-height: 140px; resize: vertical; }
.bp-form .form-control:focus,
.bp-form input:focus,
.bp-form textarea:focus {
  border-color: var(--bp-violet);
  box-shadow: 0 0 0 3px rgba(109,40,217,.12);
  background: #fff;
  outline: none;
}
.bp-form ::placeholder { color: var(--bp-muted-2); }
.bp-form .invalid-feedback.error, .bp-form .response, .bp-form .form-mess { color: var(--bp-magenta-dark); font-size: .88rem; }
.bp-form .bp-btn .fa-spinner, .bp-form .bp-btn .icon-loading { margin-left: 6px; }

/* card wrapper for forms on tinted sections */
.bp-form-card {
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-lg);
  box-shadow: var(--bp-shadow);
  padding: 36px;
}
.bp-form-card__title { font-family: var(--bp-font); color: var(--bp-ink); font-weight: 700; font-size: 1.5rem; text-align: center; margin: 0 0 24px; }

/* ---------- Contact info cards ---------- */
.bp-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bp-contact-card {
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--bp-shadow-sm);
  transition: transform var(--bp-t), box-shadow var(--bp-t);
}
.bp-contact-card:hover { transform: translateY(-4px); box-shadow: var(--bp-shadow); }
.bp-contact-card__ic {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; margin: 0 auto 16px;
  background: var(--bp-violet-soft); color: var(--bp-violet);
}
.bp-contact-card__ic svg { width: 26px; height: 26px; }
.bp-contact-card h3 { font-family: var(--bp-font); color: var(--bp-ink); font-size: 1.1rem; font-weight: 600; margin: 0 0 6px; }
.bp-contact-card a, .bp-contact-card p { color: var(--bp-muted); text-decoration: none; margin: 0; line-height: 1.5; }
.bp-contact-card a:hover { color: var(--bp-violet); }

/* responsive 2-col utility (e.g. contact dual CTAs) */
.bp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.bp-grid-2 > .bp-form-card { display: flex; flex-direction: column; }
.bp-grid-2 > .bp-form-card > .bp-btn { margin-top: auto; align-self: center; }
@media (max-width: 767px) { .bp-grid-2 { grid-template-columns: 1fr; } }

/* ---------- Auth (register pages) ---------- */
.bp-auth {
  min-height: calc(100dvh - var(--bp-nav-h));
  display: grid;
  place-items: center;
}
/* two-column: benefits panel + form */
.bp-auth__grid {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-xl);
  box-shadow: var(--bp-shadow-lg);
  overflow: hidden;
}
.bp-auth__aside {
  background: var(--bp-grad);
  color: #fff;
  padding: 0;
  display: block;
}
.bp-auth__aside-inner {
  position: sticky;
  top: calc(var(--bp-nav-h) + 24px);
  padding: 48px 42px;
}
.bp-auth__aside .bp-eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.bp-auth__aside h2 { font-family: var(--bp-font); font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.1; margin: 0 0 24px; color: #fff; }
.bp-auth__benefits { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.bp-auth__benefits li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.02rem; line-height: 1.4; color: #fff; }
.bp-auth__benefits svg { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px; }
.bp-auth__trust { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.92); border-top: 1px solid rgba(255,255,255,.25); padding-top: 18px; }
.bp-auth__trust svg { width: 20px; height: 20px; flex: 0 0 auto; }
.bp-auth__card {
  background: #fff;
  padding: 44px 42px;
}
/* standalone (no split grid): give the card its own frame */
.bp-auth__card--solo {
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-xl);
  box-shadow: var(--bp-shadow-lg);
  margin: 0 auto;
}
/* visual field grouping for long forms */
.bp-form-section + .bp-form-section { border-top: 1px solid var(--bp-line); padding-top: 22px; margin-top: 22px; }
.bp-form-section__title { font-family: var(--bp-font); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bp-violet); margin: 0 0 16px; }
.bp-auth__title { font-family: var(--bp-font); color: var(--bp-ink); font-weight: 700; font-size: 1.6rem; text-align: center; margin: 0 0 8px; }
.bp-auth__sub { text-align: center; color: var(--bp-muted); margin: 0 0 26px; }
.bp-auth__nota { background: var(--bp-violet-soft); border: 1px solid rgba(109,40,217,.25); border-radius: var(--bp-radius); padding: 14px 16px; color: var(--bp-ink); font-size: .92rem; line-height: 1.55; margin-bottom: 24px; }
.bp-auth__nota strong { color: var(--bp-violet-dark); }
.bp-auth__role { display: inline-flex; align-items: center; gap: 8px; background: var(--bp-violet-soft); color: var(--bp-violet); font-family: var(--bp-font); font-weight: 600; padding: 10px 20px; border-radius: var(--bp-radius-pill); margin-bottom: 18px; }
/* password field eye toggle */
.bp-form .bp-pass-wrap { position: relative; }
.bp-form .bp-pass-wrap .form-control { padding-right: 44px; }
.bp-form .toggle-password { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--bp-muted-2); }
.bp-form .toggle-password:hover { color: var(--bp-violet); }
.bp-form .form-check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 18px; }
.bp-form .form-check label { margin: 0; font-weight: 400; color: var(--bp-muted); font-size: .92rem; line-height: 1.5; }
.bp-form .form-check a { color: var(--bp-violet); font-weight: 600; }

/* auth responsive */
@media (max-width: 991px) {
  .bp-auth__grid { grid-template-columns: 1fr; max-width: 680px; }
  .bp-auth__aside-inner { position: static; top: auto; padding: 34px 32px; }
}
@media (max-width: 575px) {
  .bp-auth__aside-inner { padding: 26px 24px; }
  .bp-auth__aside h2 { font-size: 1.5rem; margin-bottom: 0; }
  .bp-auth__benefits, .bp-auth__trust { display: none; }
  .bp-auth__card { padding: 28px 22px; }
}

/* ---------- Pricing ---------- */
.bp-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.bp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-lg);
  box-shadow: var(--bp-shadow-sm);
  overflow: hidden;
  transition: transform var(--bp-t), box-shadow var(--bp-t);
}
.bp-plan:hover { transform: translateY(-5px); box-shadow: var(--bp-shadow-lg); }
.bp-plan--popular { border-color: var(--bp-violet); box-shadow: var(--bp-shadow); }
.bp-plan__badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--bp-magenta); color: #fff;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--bp-radius-pill);
}
.bp-plan__header { padding: 30px 28px; color: #fff; background: var(--bp-grad); }
.bp-plan--starter .bp-plan__header { background: linear-gradient(135deg, #3284f1, #5a1cb7); }
.bp-plan--bronze .bp-plan__header { background: linear-gradient(135deg, #7627e0, #b03b8f); }
.bp-plan--gold .bp-plan__header { background: linear-gradient(135deg, #6d28d9, #e23393); }
.bp-plan__name { font-family: var(--bp-font); font-weight: 700; font-size: 1.4rem; margin: 0; }
.bp-plan__sub { opacity: .9; font-size: .92rem; margin-top: 4px; }
.bp-plan__price { font-family: var(--bp-font); font-weight: 700; font-size: 2.2rem; margin-top: 14px; line-height: 1; }
.bp-plan__price small { font-size: .9rem; font-weight: 500; opacity: .85; }
.bp-plan__body { padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.bp-plan__features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; flex: 1; }
.bp-plan__features li { display: flex; align-items: flex-start; gap: 10px; color: var(--bp-ink); font-size: 1.04rem; line-height: 1.45; }
.bp-plan__features svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--bp-magenta); margin-top: 1px; }
.bp-plan__cta { margin-top: 8px; display: grid; gap: 10px; }
.bp-plan--current { outline: 2px solid var(--bp-violet); outline-offset: -2px; }
.bp-plan--disabled { opacity: .55; }

/* duration cards (plan detail) */
.bp-duration-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bp-duration-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--bp-line);
  border-radius: var(--bp-radius-lg);
  padding: 26px 22px;
  text-align: center;
  transition: border-color var(--bp-t), transform var(--bp-t), box-shadow var(--bp-t);
}
.bp-duration-card > div:last-child { margin-top: auto; }

/* back link */
.bp-back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--bp-violet); font-weight: 600; font-size: .95rem; text-decoration: none; margin-bottom: 24px; }
.bp-back-link:hover { color: var(--bp-magenta); }
.bp-duration-card:hover { transform: translateY(-3px); box-shadow: var(--bp-shadow); }
.bp-duration-card--best { border-color: var(--bp-violet); }
.bp-duration-card__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--bp-magenta); color: #fff; font-size: .82rem; font-weight: 700; padding: 5px 14px; border-radius: var(--bp-radius-pill); white-space: nowrap; }
.bp-duration-card__total { color: var(--bp-muted); font-size: .95rem; }
.bp-duration-card__months { font-family: var(--bp-font); font-weight: 700; color: var(--bp-ink); font-size: 1.2rem; }
.bp-duration-card__price { font-family: var(--bp-font); font-weight: 700; color: var(--bp-violet); font-size: 2rem; margin: 8px 0 2px; }
.bp-duration-card__total { color: var(--bp-muted-2); font-size: .9rem; }
.bp-duration-card__save { color: var(--bp-magenta-dark); font-weight: 600; font-size: .85rem; margin-top: 6px; }

/* pack header band + features box (plan detail) */
.bp-pack-band { background: var(--bp-grad); color: #fff; border-radius: var(--bp-radius-xl); padding: 36px 32px; text-align: center; box-shadow: var(--bp-shadow); }
.bp-pack-band h2 { font-family: var(--bp-font); font-weight: 700; font-size: 2rem; margin: 0; }
.bp-pack-band .bp-pack-band__meta { opacity: .92; margin-top: 8px; }
.bp-features-box { background: #fff; border: 1px solid var(--bp-line); border-radius: var(--bp-radius-lg); padding: 28px; box-shadow: var(--bp-shadow-sm); }
.bp-features-box h3 { font-family: var(--bp-font); color: var(--bp-ink); font-weight: 700; font-size: 1.15rem; margin: 0 0 16px; }
.bp-features-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bp-features-grid li { display: flex; align-items: flex-start; gap: 10px; color: var(--bp-ink); font-size: 1.04rem; line-height: 1.45; }
.bp-features-grid svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--bp-magenta); margin-top: 1px; }

/* subscription / session banners */
.bp-banner { border-radius: var(--bp-radius); padding: 16px 20px; margin-bottom: 22px; font-size: .96rem; }
.bp-banner--info { background: var(--bp-violet-soft); color: var(--bp-ink); border: 1px solid rgba(109,40,217,.25); }
.bp-banner--success { background: var(--bp-success-bg, #f0fff9); color: #0a6b4f; border: 1px solid rgba(16,185,129,.4); }
.bp-banner--error { background: #fff0f5; color: var(--bp-magenta-dark); border: 1px solid rgba(226,51,147,.4); }
.bp-banner--warning { background: #fff8ed; color: #9a5b00; border: 1px solid rgba(245,158,11,.4); }

/* ---------- Phase 2 responsive ---------- */
@media (max-width: 991px) {
  .bp-pricing, .bp-duration-cards { grid-template-columns: 1fr; }
  .bp-contact-cards { grid-template-columns: 1fr; }
  .bp-features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .bp-page-hero { padding: 52px 0 44px; }
  .bp-form-card, .bp-auth__card { padding: 24px; }
  .bp-prose table, .bp-legal table { display: block; overflow-x: auto; white-space: nowrap; }
  .bp-shot, .bp-shot--right { transform: none; } /* avoid tilt overflow on small screens */
}
