/* ═══════════════════════════════════════
   BOOLVA HOMEPAGE
═══════════════════════════════════════ */
:root {
  --bv-navy:        #0F2A4F;
  --bv-navy-dark:   #13294B;
  --bv-amber:       #F5B935;
  --bv-bg:          #FAFAFA;
  --bv-white:       #FFFFFF;
  --bv-muted:       #6B7A90;
  --bv-radius:      28px;
  --bv-pill:        50px;
  --bv-font:        'Jost', 'Montserrat', sans-serif;
}
body { background: #FAFAFA; overflow-x: hidden; }

/* ─── SHARED ─── */
.bv-section          { padding: 80px 0; }
.bv-section-bg       { background: var(--bv-bg); }
.bv-section-eyebrow  { font-family:var(--bv-font);font-size:12px;font-weight:600;color:var(--bv-muted);letter-spacing:2px;text-transform:uppercase;margin-bottom:8px; }
.bv-section-title    { font-family:var(--bv-font);font-size:clamp(28px,3.5vw,42px);font-weight:700;color:var(--bv-navy);letter-spacing:-1px;margin-bottom:36px; }

.bv-btn-navy {
  display:inline-flex;align-items:center;gap:10px;
  background:var(--bv-navy);color:#fff;
  border-radius:var(--bv-pill);padding:13px 26px;
  font-family:var(--bv-font);font-size:15px;font-weight:600;
  text-decoration:none;border:none;cursor:pointer;
  transition:background .2s,transform .15s;
}
.bv-btn-navy:hover { background:#1a3a6e;transform:scale(1.02);color:#fff;text-decoration:none; }

.bv-btn-amber {
  display:inline-flex;align-items:center;gap:10px;
  background:var(--bv-amber);color:var(--bv-navy);
  border-radius:var(--bv-pill);padding:13px 26px;
  font-family:var(--bv-font);font-size:15px;font-weight:600;
  text-decoration:none;border:none;cursor:pointer;
  transition:background .2s,transform .15s;
}
.bv-btn-amber:hover { background:#e0a830;transform:scale(1.02);color:var(--bv-navy);text-decoration:none; }

/* ─── Empêche tout débordement horizontal (carousel, hero image, etc.) ─── */
html { overflow-x: hidden; }

/* ─── TOP WRAPPER (hero + search côte à côte) ─── */
.bv-top-wrapper {
  display: flex;
  background: var(--bv-bg);
  height: 64vh;
  min-height: 360px;
  align-items: stretch;
  padding: 8px 0;
}

/* ─── HERO ─── */
.bv-hero {
  flex: 0 0 59%;
  margin-left: 5%;
  background: var(--bv-bg) url('../img/background1.png') center/cover no-repeat;
  padding: 0 32px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.bv-hero-inner { width: 100%; display: flex; align-items: stretch; }
.bv-hero-inner > .row { width: 100%; margin: 0; display: flex; align-items: stretch; }
.bv-hero-inner > .row > [class*="col-"] { display: flex; flex-direction: column; justify-content: flex-start; padding-top: 18px; }

.bv-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--bv-navy);
  border-radius: var(--bv-pill); padding: 5px 14px;
  font-family: var(--bv-font); font-size: 12px; font-weight: 500;
  margin-bottom: 10px; align-self: flex-start;
  box-shadow: 0 2px 10px rgba(15,42,79,.09);
}
.bv-hero-title {
  font-family: var(--bv-font);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700; line-height: 1.08; letter-spacing: -1.5px;
  color: var(--bv-navy); margin-bottom: 12px;
}
.bv-hero-subtitle {
  font-family: var(--bv-font); font-size: clamp(13px, 1.4vw, 17px);
  color: var(--bv-muted); line-height: 1.6;
  max-width: 420px; margin-bottom: 18px;
}
.btn-add-listing {
  font-family: var(--bv-font);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  background: #184280;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 11px 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(24,66,128,.22);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-add-listing:hover {
  background: #0f2f60;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(24,66,128,.35);
  color: #fff;
  text-decoration: none;
}
.btn-add-listing .icon-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #fff;
  color: #184280;
  border-radius: 50%;
  font-size: 17px;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.btn-add-listing:hover .icon-plus { background: #f0f4ff; color: #0f2f60; }
.bv-social-icons {
  display: flex; gap: 10px;
  margin-top: 16px; align-items: center;
}
.bv-social-icons a {
  width: 34px; height: 34px;
  background: transparent; border: 2px solid #184280; color: #184280;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 15px; text-decoration: none;
  transition: background .2s, color .2s, transform .15s; flex-shrink: 0;
}
.bv-social-icons a:hover { background: #184280; color: #fff; transform: scale(1.08); }

.bv-hero-img-wrap {
  position: relative;
  display: block;
  height: 90%;
}
.bv-hero-img {
  width: 100%;
  height: 100%;
  border-radius: var(--bv-radius);
  object-fit: cover;
  display: block;
}
.bv-hero-float-badge {
  position: absolute;
  top: 10%;
  left: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.bv-badge-circle {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--bv-font); font-weight: 700; font-size: 13px;
  border: 2.5px solid #fff;
  flex-shrink: 0;
}
.bv-badge-circle + .bv-badge-circle { margin-left: -8px; }
.bv-badge-circle.bv-black  { background: #1a1a1a; color: #fff; }
.bv-badge-circle.bv-navy   { background: var(--bv-navy); color: #fff; font-size: 15px; }
.bv-badge-circle.bv-amber  { background: #F2BA3F; color: #1a1a2e; }

/* ─── SEARCH ─── */
.bv-search-section {
  flex: 0 0 30%;
  margin-left: 0.5%;
  margin-right: 5%;
  background: #E8F0FB url('../img/background_claire.png') center/cover no-repeat;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 20px;
  gap: 16px;
}
.bv-search-section .bv-maisons { margin-top: auto; }
.bv-search-form {
  position: relative;
  width: 100%;
  height: 56px;
  flex-shrink: 0;
  border: 2px solid #184280;
  border-radius: 50px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}
.bv-search-form input {
  width: 100%;
  height: 100%;
  padding: 0 calc(40px + 8px * 2) 0 24px;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none;
  background: transparent;
  font-family: var(--bv-font);
  font-size: 15px;
  color: var(--bv-navy) !important;
  box-sizing: border-box;
  margin: 0 !important;
  transition: box-shadow 160ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.bv-search-form input::placeholder { color: var(--bv-muted) !important; opacity: 1 !important; }
.bv-search-form:focus-within { box-shadow: 0 0 0 3px rgba(24,66,128,.18); }
.bv-search-form button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 2px solid #184280;
  border-radius: 50%;
  background: #F2BA3F;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 140ms ease, transform 140ms ease;
}
.bv-search-form button:hover { background: #e8ad28; }
.bv-search-form button:active { background: #d99e1c; }
.bv-search-form button svg { width: 18px; height: 18px; display: block; }
/* Remove browser-default search input decorations */
.bv-search-form input::-webkit-search-decoration,
.bv-search-form input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ─── MAISONS ROW ─── */
.bv-maisons {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 16px 0 4px;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
          mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
}
.bv-maisons::-webkit-scrollbar { display: none; }

.bv-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #fff; color: var(--bv-navy);
  border-radius: var(--bv-pill); padding: 8px 18px;
  font-family: var(--bv-font); font-size: 13px; font-weight: 500;
  text-decoration: none; border: 1.5px solid rgba(15,42,79,.15);
  cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, transform .15s;
}
.bv-chip:hover { background: var(--bv-navy); color: #fff; transform: scale(1.02); text-decoration: none; }

.bv-chip--more {
  background: #F2BA3F; color: #184280; border-color: #F2BA3F;
  display: inline-flex; align-items: center; gap: 6px;
}
.bv-chip--more:hover { background: #e8ad28; color: #184280; }
.bv-chip__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: #184280; color: #fff;
  border-radius: 999px; font-size: 11px; font-weight: 700;
}

/* ─── MAISONS PANEL ─── */
.bv-maisons-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1099;
  backdrop-filter: blur(2px);
}
.bv-maisons-overlay.open { display: block; }

.bv-maisons-panel {
  display: none;
  position: fixed; inset: 0;
  z-index: 1100;
  padding: 0; border: 0;
  background: transparent;
  max-width: none; max-height: none;
  width: 100%; height: 100%;
  pointer-events: auto;
}
.bv-maisons-panel::backdrop { background: transparent; }
.bv-maisons-panel[open] {
  display: flex; align-items: center; justify-content: center;
}

.bv-mp-inner {
  pointer-events: all;
  width: min(720px, calc(100vw - 32px));
  max-height: min(92vh, calc(100vh - 48px));
  background: #fff; border-radius: 28px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.45);
}
@media (max-width: 576px) {
  .bv-maisons-panel[open] { align-items: flex-end; }
  .bv-mp-inner { width: 100%; border-radius: 28px 28px 0 0; max-height: 90vh; }
  .bv-mp-grid { grid-template-columns: 1fr; }
}

/* ── Header ── */
.bv-mp-head {
  background: #13294B; color: #fff;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-shrink: 0;
}
.bv-mp-head__text { flex: 1; min-width: 0; }
.bv-mp-head__title {
  font-family: var(--bv-font); font-size: 19px; font-weight: 800; margin: 0;
  color: #fff; letter-spacing: -0.01em; line-height: 1.2;
}
.bv-mp-head__sub {
  margin: 4px 0 0; font-size: 13px; opacity: 0.65; font-weight: 500; color: #fff;
}
.bv-mp-head__sub strong { color: #F5B935; font-weight: 700; opacity: 1; }
.bv-mp-head__right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.bv-mp-clear {
  background: rgba(255,255,255,.12); border: 0; border-radius: 999px;
  padding: 6px 14px; font-family: var(--bv-font); font-size: 12px; font-weight: 600;
  color: #fff; cursor: pointer; transition: background .15s;
}
.bv-mp-clear:hover { background: rgba(255,255,255,.22); }
.bv-mp-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.10); border: 0;
  color: #fff; display: grid; place-items: center;
  cursor: pointer; flex-shrink: 0; transition: background .18s, transform .18s;
}
.bv-mp-close:hover { background: rgba(255,255,255,.20); transform: rotate(90deg); }

/* ── Search pill ── */
.bv-mp-search { padding: 16px 24px 12px; background: #fff; flex-shrink: 0; }
.bv-mp-pill {
  display: flex; align-items: center; gap: 10px;
  background: #F4F7FB; border: 1.5px solid #E4EAF3;
  border-radius: 999px; padding: 6px 6px 6px 20px;
  transition: border .18s, box-shadow .18s;
}
.bv-mp-pill:focus-within { border-color: #13294B; box-shadow: 0 0 0 4px rgba(19,41,75,.06); }
.bv-mp-pill__icon { color: #6B7A90; flex-shrink: 0; display: block; }
.bv-mp-pill input {
  flex: 1; border: 0 !important; background: transparent; outline: none !important;
  font-family: var(--bv-font); font-size: 15px; color: #13294B !important;
  padding: 10px 0; margin: 0 !important; border-radius: 0 !important;
  -webkit-appearance: none; appearance: none;
}
.bv-mp-pill input::placeholder { color: #6B7A90 !important; opacity: 1 !important; }
.bv-mp-pill input::-webkit-search-decoration,
.bv-mp-pill input::-webkit-search-cancel-button { -webkit-appearance: none; }
.bv-mp-pill button {
  width: 42px; height: 42px; border-radius: 50%;
  background: #F5B935; color: #13294B; border: 0 !important;
  cursor: pointer; display: grid; place-items: center;
  transition: background .18s; flex-shrink: 0; padding: 0; margin: 0 !important;
}
.bv-mp-pill button:hover { background: #E5A91A; }

/* ── Tabs ── */
.bv-mp-tabs {
  padding: 0 24px; display: flex;
  border-bottom: 1px solid #E4EAF3; background: #fff; flex-shrink: 0;
  overflow-x: auto; scrollbar-width: none;
}
.bv-mp-tabs::-webkit-scrollbar { display: none; }
.bv-mp-tab {
  padding: 12px 4px 14px; margin-right: 16px;
  font-family: var(--bv-font); font-size: 13px; font-weight: 600; color: #6B7A90;
  border: 0; border-bottom: 2px solid transparent;
  background: none; cursor: pointer; transition: all .18s;
  display: flex; align-items: center; gap: 6px; white-space: nowrap; flex-shrink: 0;
}
.bv-mp-tab:hover:not(.bv-mp-tab--active) { color: #13294B; }
.bv-mp-tab--active { color: #13294B; border-bottom-color: #F5B935; }
.bv-mp-tab__count {
  background: #F4F7FB; color: #6B7A90;
  border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 700;
}
.bv-mp-tab--active .bv-mp-tab__count { background: #13294B; color: #fff; }

/* ── A-Z nav ── */
.bv-mp-az {
  display: flex; gap: 5px; padding: 12px 24px;
  overflow-x: auto; background: #fff; border-bottom: 1px solid #E4EAF3;
  flex-shrink: 0; scrollbar-width: none;
}
.bv-mp-az::-webkit-scrollbar { display: none; }
.bv-mp-az__chip {
  min-width: 32px; height: 32px; padding: 0 6px;
  border-radius: 10px; background: #F4F7FB; color: #6B7A90;
  font-family: var(--bv-font); font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
  cursor: pointer; transition: all .18s; flex-shrink: 0; border: 0;
}
.bv-mp-az__chip--empty { opacity: 0.35; cursor: default; pointer-events: none; }
.bv-mp-az__chip:not(.bv-mp-az__chip--empty):hover { background: #13294B; color: #fff; }
.bv-mp-az__chip--active { background: #13294B; color: #F5B935; }
.bv-mp-az__chip--all { padding: 0 14px; }

/* ── Body ── */
.bv-mp-body { flex: 1 1 auto; overflow-y: auto; padding: 8px 24px 24px; background: #fff; }

/* Letter sections */
.bv-mp-sec { margin-top: 18px; }
.bv-mp-sec__head {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px;
  position: sticky; top: -8px; background: #fff; padding: 6px 0; z-index: 1;
}
.bv-mp-sec__head::after { content: ''; flex: 1; height: 1px; background: #E4EAF3; }
.bv-mp-sec__letter {
  font-family: var(--bv-font); font-size: 22px; font-weight: 800; color: #13294B; width: 32px;
}
.bv-mp-sec__meta {
  font-family: var(--bv-font); font-size: 11px; font-weight: 700;
  color: #6B7A90; letter-spacing: .1em; text-transform: uppercase;
}

/* Category grid */
.bv-mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bv-mp-cat {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px; cursor: pointer;
  border: 1px solid transparent; background: transparent;
  text-align: left; font: inherit; color: inherit; width: 100%;
  text-decoration: none; transition: background .18s, border-color .18s, transform .18s;
}
.bv-mp-cat:hover {
  background: #F4F7FB; border-color: #E4EAF3;
  transform: translateX(2px); text-decoration: none; color: inherit;
}
.bv-mp-cat__ico {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; flex-shrink: 0;
}
.ic-blue   { background: #E1ECFB; color: #2A6FDB; }
.ic-green  { background: #DFF1E5; color: #1E8A4F; }
.ic-violet { background: #ECE6FA; color: #6748C9; }
.ic-orange { background: #FDE9DA; color: #DD7B26; }
.ic-pink   { background: #FCE0EA; color: #C73D72; }
.ic-teal   { background: #D9F0F1; color: #1B8A92; }
.ic-yellow { background: #FFF1C7; color: #B5811A; }
.ic-red    { background: #FBDFDF; color: #C0394C; }
.bv-mp-cat__name {
  flex: 1; font-family: var(--bv-font); font-size: 14px; font-weight: 600;
  color: #13294B; line-height: 1.2; min-width: 0;
}
.bv-mp-cat__count {
  background: #F4F7FB; color: #13294B;
  border-radius: 999px; padding: 4px 10px;
  font-family: var(--bv-font); font-size: 12px; font-weight: 700;
  flex-shrink: 0; transition: background .18s, color .18s;
}
.bv-mp-cat:hover .bv-mp-cat__count { background: #13294B; color: #F5B935; }
.bv-mp-cat mark { background: #fff3cd; border-radius: 3px; padding: 0 1px; }
.bv-mp-empty {
  padding: 40px 20px; text-align: center;
  font-family: var(--bv-font); font-size: 14px; color: #6B7A90;
}

/* ─── CAROUSEL ─── */
.bv-carousel-section { padding: 80px 0; background: var(--bv-bg); overflow: visible; }
.bv-carousel-section .text-center { position: relative; z-index: 1; }

.bv-crsl {
  position: relative;
  width: min(100%, 1700px);
  height: 720px;
  margin: 0 auto;
  overflow: visible;
}
.bv-crsl__track { position: relative; width: 100%; height: 720px; }

.bv-crsl-card {
  position: absolute;
  top: 50%; left: 50%;
  width: 282px; height: 353px;
  border-radius: 20px; padding: 20px;
  background: #E7EBEE; color: #1a1a1a;
  display: flex; flex-direction: column; gap: 16px;
  transform: translate(-50%, -50%);
  transition:
    transform 520ms cubic-bezier(.22,.61,.36,1),
    width 520ms cubic-bezier(.22,.61,.36,1),
    height 520ms cubic-bezier(.22,.61,.36,1),
    background-color 420ms ease,
    opacity 420ms ease;
  will-change: transform, width, height;
  user-select: none; cursor: pointer;
}
.bv-crsl-card--featured {
  width: 549px; height: 655px;
  background: #184280; color: #FAFAFA; gap: 20px;
  cursor: default;
  box-shadow: 0 24px 60px -20px rgba(24,66,128,.45);
}
.bv-crsl-card--hidden { opacity: 0; pointer-events: none; }

.bv-crsl-card__image {
  position: relative; width: 100%; flex: 0 0 auto;
  height: 200px; border-radius: 12px; padding: 15px 14px; overflow: hidden;
  background: #c9d3dc center/cover no-repeat;
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.bv-crsl-card--featured .bv-crsl-card__image { height: 320px; border-radius: 16px; padding: 20px; }

.rating {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  height: 21px; font-family: var(--bv-font); font-weight: 500;
}
.bv-crsl-card--featured .rating { height: 42px; gap: 10px; }

.rating__value {
  display: inline-flex; align-items: center; justify-content: center;
  height: 100%; min-width: 34px; padding: 0 8px;
  border-radius: 6px; background: #2BB673; color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .01em;
}
.bv-crsl-card--featured .rating__value { min-width: 56px; padding: 0 14px; font-size: 22px; border-radius: 8px; }

.rating__stars { display: inline-flex; gap: 2px; }
.bv-crsl-card--featured .rating__stars { gap: 4px; }

.star {
  --p: 0%; --star-size: 12px;
  position: relative; width: var(--star-size); height: var(--star-size);
  display: inline-block; flex: 0 0 auto;
}
.bv-crsl-card--featured .star { --star-size: 22px; }
.star::before, .star::after {
  content: ""; position: absolute; inset: 0;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 1.5l2.6 5.3 5.9.9-4.3 4.2 1 5.9-5.2-2.8-5.3 2.8 1-5.9L1.5 7.7l5.9-.9L10 1.5z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 1.5l2.6 5.3 5.9.9-4.3 4.2 1 5.9-5.2-2.8-5.3 2.8 1-5.9L1.5 7.7l5.9-.9L10 1.5z'/></svg>") center/contain no-repeat;
}
.star::before { background-color: rgba(255,255,255,.5); }
.star::after  { background-color: #F2BA3F; clip-path: inset(0 calc(100% - var(--p)) 0 0); }

.bv-crsl-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; min-height: 0; }
.bv-crsl-card--featured .bv-crsl-card__body { gap: 6px; }

.bv-crsl-card__name {
  font-family: var(--bv-font); font-weight: 500; font-size: 18px;
  line-height: 1.2; margin: 0; color: inherit; text-decoration: none;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.bv-crsl-card--featured .bv-crsl-card__name { font-size: 28px; line-height: 1.15; color: #FAFAFA; margin-bottom: 2px; -webkit-line-clamp: unset; }

.bv-crsl-card__meta { display: none; list-style: none; margin: 0; padding: 0; flex-direction: column; gap: 6px; }
.bv-crsl-card--featured .bv-crsl-card__meta { display: flex; }

.meta-item { display: flex; align-items: center; gap: 10px; font-family: var(--bv-font); font-size: 15px; line-height: 1.25; color: #FAFAFA; opacity: .95; word-break: break-word; }
.meta-item__icon {
  width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%;
  background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.meta-item__icon svg { width: 13px; height: 13px; }

.bv-crsl-card__desc {
  font-family: var(--bv-font); font-size: 15px; line-height: 1.4;
  color: #FAFAFA; opacity: .88; margin: 4px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bv-crsl-card:not(.bv-crsl-card--featured) .bv-crsl-card__desc { display: none; }

.bv-crsl-card__sep { display: none; height: 1px; background: rgba(250,250,250,.25); margin: 6px 0 4px; border: 0; }
.bv-crsl-card--featured .bv-crsl-card__sep { display: block; }

.btn-alert {
  width: 191px; height: 48px; border-radius: 5px; padding: 8px 8px 8px 16px;
  background: #F2BA3F; color: #184280; border: 0;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--bv-font); font-weight: 500; font-size: 14px;
  cursor: pointer; transition: background-color 140ms ease, transform 140ms ease;
  margin-top: auto; align-self: flex-start; text-decoration: none;
}
.btn-alert:hover { background: #e8ad28; color: #184280; text-decoration: none; }
.btn-alert:active { transform: translateY(1px); }
.btn-alert__icon {
  width: 32px; height: 32px; border-radius: 40px; padding: 8px;
  background: #184280; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.btn-alert__icon svg { width: 14px; height: 14px; }

.bv-crsl-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid #184280; background: #fff; color: #184280;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  z-index: 10; transition: background-color 140ms ease, transform 140ms ease; padding: 0;
}
.bv-crsl-nav:hover { background: #184280; color: #fff; }
.bv-crsl-nav:active { transform: translateY(-50%) scale(0.96); }
.bv-crsl-nav svg { width: 20px; height: 20px; }
.bv-crsl-nav--prev { left: 12px; }
.bv-crsl-nav--next { right: 12px; }

.bv-crsl-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.bv-crsl-dots__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(24,66,128,.25); border: 0; padding: 0;
  cursor: pointer; transition: width 220ms ease, background-color 220ms ease;
}
.bv-crsl-dots__dot--active { width: 28px; border-radius: 999px; background: #184280; }

/* ─── VIDEO ─── */
.bv-video-section { padding:80px 0;background:#fff; }
.bv-video-wrap {
  position:relative;border-radius:var(--bv-radius);overflow:hidden;
  background:#1a1a2e;aspect-ratio:16/9;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
}
.bv-play-btn {
  width:72px;height:72px;background:#e63946;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  transition:transform .2s;flex-shrink:0;
}
.bv-video-wrap:hover .bv-play-btn { transform:scale(1.1); }
.bv-play-btn::after {
  content:'';border-style:solid;
  border-width:14px 0 14px 24px;
  border-color:transparent transparent transparent #fff;
  margin-left:4px;
}
.bv-video-label {
  position:absolute;bottom:16px;left:50%;transform:translateX(-50%);
  text-align:center;color:rgba(255,255,255,.65);
  font-family:var(--bv-font);font-size:13px;white-space:nowrap;
}
.bv-video-label strong { display:block;color:#fff;font-size:15px;margin-bottom:2px; }
.bv-video-text-title {
  font-family:var(--bv-font);font-size:clamp(26px,3.5vw,42px);font-weight:700;
  color:#1a1a2e;line-height:1.15;letter-spacing:-1px;margin-bottom:18px;
}
.bv-video-text-desc {
  font-family:var(--bv-font);font-size:16px;color:var(--bv-muted);
  line-height:1.7;margin-bottom:28px;
}

/* Video modal */
.bv-modal {
  display:none;position:fixed;inset:0;
  background:rgba(0,0,0,.85);z-index:9999;
  align-items:center;justify-content:center;
}
.bv-modal.open { display:flex; }
.bv-modal-inner {
  position:relative;width:90%;max-width:820px;
  aspect-ratio:16/9;border-radius:16px;overflow:hidden;
}
.bv-modal-inner iframe { width:100%;height:100%;border:none; }
.bv-modal-close {
  position:absolute;top:-42px;right:0;
  background:none;border:none;color:#fff;font-size:30px;cursor:pointer;
}

/* ─── TESTIMONIALS + STATS ─── */
.bv-ts-section { padding:80px 0;background:var(--bv-bg); }
.bv-testi-item { display:flex;align-items:flex-start;gap:16px;margin-bottom:28px; }
.bv-testi-av {
  width:48px;height:48px;border-radius:50%;background:var(--bv-navy);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-family:var(--bv-font);font-weight:700;font-size:16px;
}
.bv-testi-quote {
  font-family:var(--bv-font);font-size:15px;color:#2d3748;
  line-height:1.65;margin-bottom:6px;font-style:italic;
}
.bv-testi-name { font-family:var(--bv-font);font-size:13px;color:var(--bv-muted);font-weight:600; }

.bv-stats-grid { display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px; }
.bv-stat-card {
  border-radius:20px;padding:22px 18px;
  display:flex;flex-direction:column;align-items:flex-start;gap:6px;
}
.bv-stat-card.blue   { background:#DAEEFF; }
.bv-stat-card.green  { background:#D4F5E2; }
.bv-stat-card.purple { background:#EAE0FF; }
.bv-stat-card.orange { background:#FFE8D6; }
.bv-stat-icon {
  width:40px;height:40px;border-radius:50%;
  background:rgba(255,255,255,.7);
  display:flex;align-items:center;justify-content:center;font-size:20px;
}
.bv-stat-number { font-family:var(--bv-font);font-size:30px;font-weight:700;color:var(--bv-navy);line-height:1; }
.bv-stat-label  { font-family:var(--bv-font);font-size:13px;color:var(--bv-muted);font-weight:500; }

.bv-join-card { background:#E8F0FB;border-radius:20px;padding:24px 20px; }
.bv-join-card-title { font-family:var(--bv-font);font-size:15px;font-weight:700;color:var(--bv-navy);margin-bottom:16px; }
.bv-avatars-row { display:flex;align-items:center;gap:12px;margin-bottom:16px; }
.bv-av-stack { display:flex; }
.bv-av-stack .av {
  width:36px;height:36px;border-radius:50%;border:2px solid #fff;
  background:var(--bv-navy);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;margin-left:-10px;
}
.bv-av-stack .av:first-child { margin-left:0; }
.bv-av-stack .av.plus { background:#1a3a6e;font-size:10px; }
.bv-join-more { font-family:var(--bv-font);font-size:13px;color:var(--bv-muted);font-weight:500; }
.bv-join-btn {
  display:block;width:100%;background:var(--bv-navy);color:#fff;
  border-radius:var(--bv-pill);padding:13px;
  font-family:var(--bv-font);font-size:15px;font-weight:600;
  text-align:center;text-decoration:none;
  transition:background .2s,transform .15s;
}
.bv-join-btn:hover { background:#1a3a6e;transform:scale(1.01);color:#fff;text-decoration:none; }

/* ─── FAQ (accordion) ─── */
.bv-faq-section { padding: 80px 0; background: #fff; }
.faq { width: min(100%, 1180px); margin: 0 auto; padding: 0 16px; }
.faq__header { text-align: center; margin-bottom: 48px; }
.faq__eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: #F2BA3F; margin: 0 0 12px;
}
.faq__title {
  font-family: var(--bv-font); font-weight: 700; font-size: clamp(28px,3.5vw,42px);
  line-height: 1.15; color: #184280; margin: 0; letter-spacing: -1px;
}
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
@media (max-width: 820px) { .faq__grid { grid-template-columns: 1fr; } }

.acc { border-bottom: 1px solid #d7dbe0; }
.acc__btn {
  width: 100%; background: transparent; border: 0;
  padding: 22px 8px 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--bv-font); font-weight: 500; font-size: 18px; color: #184280;
  cursor: pointer; text-align: left;
}
.acc__icon {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  background: #F2BA3F; color: #184280;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: background-color 160ms ease, transform 240ms cubic-bezier(.4,1.4,.6,1);
}
.acc__icon::before,
.acc__icon::after {
  content: ''; position: absolute; border-radius: 2px;
  background: currentColor; transition: transform 240ms ease, opacity 160ms ease;
}
.acc__icon::before { width: 14px; height: 2.4px; }
.acc__icon::after  { width: 2.4px; height: 14px; }
.acc[aria-expanded="true"] .acc__icon { background: #184280; color: #fff; }
.acc[aria-expanded="true"] .acc__icon::after { transform: scaleY(0); opacity: 0; }
.acc__panel { overflow: hidden; height: 0; transition: height 320ms cubic-bezier(.22,.61,.36,1); }
.acc__panel-inner { padding: 0 8px 24px 0; font-size: 16px; line-height: 1.55; color: #5b6470; }

/* ─── RESPONSIVE ─── */
@media(max-width:992px){
  .bv-top-wrapper { flex-direction:column; min-height:auto; height: auto; }
  .bv-hero { flex:none; width:auto; margin-left:5%; margin-right:5%; padding:40px 24px; border-radius:20px; }
  .bv-search-section { flex:none; width:auto; margin-left:5%; margin-right:5%; padding:24px; border-radius:20px; }
}
@media(max-width:768px){
  .bv-hero-title { letter-spacing:-1.5px; }
  .bv-hero-img-wrap { margin-top:40px; }
  .bv-hero-img { max-width:100%; }
  .bv-video-section .row > div + div { margin-top:32px; }
  .bv-ts-section .row > div + div { margin-top:48px; }

  /* Centrer le contenu hero sur mobile */
  .bv-hero-inner > .row > [class*="col-"]:first-child {
    align-items: center;
    text-align: center;
  }
  .bv-hero-badge { align-self: center; }
  .bv-hero-subtitle { text-align: center; max-width: 100%; }
  .btn-add-listing { align-self: center; }
  .bv-social-icons { justify-content: center; }
}
@media(max-width:576px){
  .bv-section-title { font-size:26px; }
  .faq__title { font-size:26px; }

  /* ─── Carousel mobile : marge 18px de chaque côté ─── */
  .bv-carousel-section { padding: 32px 0; }
  .bv-crsl { height: 520px; }
  .bv-crsl__track { height: 520px; }

  /* Masquer les cartes latérales */
  .bv-crsl-card:not(.bv-crsl-card--featured):not(.bv-crsl-card--hidden) {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Carte featured : 18px de marge de chaque côté, plus haute pour voir nom + détails */
  .bv-crsl-card--featured {
    width: calc(100vw - 36px) !important;
    height: 478px !important;
  }
  .bv-crsl-card--featured .bv-crsl-card__image { height: 180px !important; border-radius: 12px !important; }
  .bv-crsl-card--featured .bv-crsl-card__name  { font-size: 20px !important; -webkit-line-clamp: unset !important; }
  .bv-crsl-card--featured .bv-crsl-card__desc  { -webkit-line-clamp: 2; }

  /* Boutons de navigation dans les marges */
  .bv-crsl-nav { width: 36px; height: 36px; }
  .bv-crsl-nav svg { width: 14px; height: 14px; }
  .bv-crsl-nav--prev { left: 0; }
  .bv-crsl-nav--next { right: 0; }

  /* ─── Témoignages : marge horizontale +2% sur mobile ─── */
  .bv-ts-section .col-lg-6:first-child { padding-left: 2%; padding-right: 2%; }

  /* ─── Stats : une seule ligne, cartes compactes ─── */
  .bv-stats-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }
  .bv-stat-card { padding: 12px 8px !important; gap: 3px !important; }
  .bv-stat-icon { width: 28px; height: 28px; font-size: 14px !important; }
  .bv-stat-number { font-size: 18px !important; }
  .bv-stat-label { font-size: 10px !important; }
}

/* ═══════════════════════════════════════
   PE-MODAL (contact) — styles partagés
═══════════════════════════════════════ */
.pe-modal-overlay {
  position:fixed;inset:0;
  background:rgba(15,23,42,.55);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  display:flex;align-items:center;justify-content:center;padding:24px;
  z-index:1200;opacity:0;pointer-events:none;transition:opacity .22s;
}
.pe-modal-overlay.is-open{opacity:1;pointer-events:auto;}
.pe-modal{
  background:#fff;border-radius:18px;width:100%;max-width:540px;
  max-height:calc(100vh - 48px);display:flex;flex-direction:column;
  overflow:hidden;box-shadow:0 40px 80px -20px rgba(15,23,42,.45);
  transform:translateY(20px) scale(.98);
  transition:transform .28s cubic-bezier(.22,.61,.36,1);
}
.pe-modal-overlay.is-open .pe-modal{transform:translateY(0) scale(1);}
.pe-modal__head{padding:20px 24px 0;flex:0 0 auto;}
.pe-modal__head-row{display:flex;align-items:center;gap:12px;}
.pe-modal__back,.pe-modal__close{
  width:34px;height:34px;border-radius:50%;border:0;background:#F2F4F8;color:#1a1a1a;
  cursor:pointer;display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;transition:background .14s;
}
.pe-modal__back:hover,.pe-modal__close:hover{background:#E4E8EE;}
.pe-modal__back svg,.pe-modal__close svg{width:16px;height:16px;}
.pe-modal__back[hidden]{display:none;}
.pe-modal__titles{min-width:0;flex:1;}
.pe-modal__kicker{font-size:11px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:#6b7280;margin:0 0 2px;}
.pe-modal__title{margin:0;font-size:18px;font-weight:700;color:#184280;}
.pe-modal__progress{margin:14px 0 0;height:4px;border-radius:999px;background:#F2F4F8;overflow:hidden;}
.pe-modal__prog-fill{height:100%;width:50%;background:#184280;border-radius:inherit;transition:width .32s cubic-bezier(.22,.61,.36,1);}
.pe-modal__body{padding:18px 24px 8px;overflow-y:auto;flex:1;scrollbar-width:thin;}
.pe-step{display:none;}
.pe-step.is-active{display:block;animation:peStepIn .28s ease;}
@keyframes peStepIn{from{opacity:0;transform:translateX(8px);}to{opacity:1;transform:translateX(0);}}
.pe-field{margin-bottom:14px;}
.pe-field__label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 6px;font-size:13px;font-weight:600;color:#1a1a1a;}
.pe-field__hint{font-weight:400;font-size:11px;color:#6b7280;}
.pe-field__help{margin:4px 0 0;font-size:11px;color:#6b7280;line-height:1.4;}
.pe-field__error{margin:4px 0 0;font-size:11px;color:#C44343;line-height:1.4;display:none;}
.pe-field.has-error .pe-field__error{display:block;}
.pe-field.has-error .pe-input,.pe-field.has-error .pe-textarea{border-color:#E0A7A7;background:#FBF3F3;}
.pe-input,.pe-textarea{
  width:100%;border:1.5px solid #DDE2EA;background:#fff;border-radius:12px;
  padding:11px 13px;font:inherit;font-family:'Jost',sans-serif;font-size:14px;
  color:#1a1a1a;transition:border-color .14s,box-shadow .14s;
  -webkit-appearance:none;box-sizing:border-box;
}
.pe-input:focus,.pe-textarea:focus{outline:none;border-color:#184280;box-shadow:0 0 0 4px rgba(24,66,128,.12);}
.pe-textarea{min-height:85px;resize:vertical;line-height:1.5;}
.pe-input-group{
  display:flex;align-items:stretch;border:1.5px solid #DDE2EA;
  border-radius:12px;overflow:hidden;background:#fff;
  transition:border-color .14s,box-shadow .14s;
}
.pe-input-group:focus-within{border-color:#184280;box-shadow:0 0 0 4px rgba(24,66,128,.12);}
.pe-input-group__prefix{
  display:inline-flex;align-items:center;gap:6px;padding:0 12px;
  background:#F1F5FB;color:#184280;font-weight:600;font-size:13px;
  border-right:1.5px solid #DDE2EA;
}
.pe-wa-dot{width:7px;height:7px;border-radius:50%;background:#25D366;}
.pe-input-group .pe-input{border:0;border-radius:0;flex:1;}
.pe-input-group .pe-input:focus{box-shadow:none;}
.pe-chips{display:flex;flex-wrap:wrap;gap:6px;}
.pe-chip{
  border:1.5px solid #DDE2EA;background:#fff;color:#1a1a1a;
  border-radius:999px;padding:7px 13px;font:inherit;font-family:'Jost',sans-serif;
  font-size:12px;font-weight:500;cursor:pointer;transition:all .14s;
}
.pe-chip:hover{border-color:#184280;color:#184280;}
.pe-chip.is-selected{background:#184280;border-color:#184280;color:#fff;}
.pe-seg{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;padding:4px;background:#F2F4F8;border-radius:12px;}
.pe-seg__opt{
  border:0;background:transparent;color:#1a1a1a;padding:10px 12px;border-radius:9px;
  font:inherit;font-family:'Jost',sans-serif;font-size:13px;font-weight:500;
  cursor:pointer;transition:all .14s;display:inline-flex;align-items:center;justify-content:center;gap:7px;
}
.pe-seg__opt svg{width:14px;height:14px;}
.pe-seg__opt.is-selected{background:#fff;color:#184280;box-shadow:0 1px 0 rgba(20,30,55,.04),0 4px 10px -4px rgba(20,30,55,.18);font-weight:600;}
.pe-conditional{overflow:hidden;max-height:0;opacity:0;transition:max-height .32s cubic-bezier(.22,.61,.36,1),opacity .22s,margin-top .32s;margin-top:0;}
.pe-conditional.is-open{max-height:180px;opacity:1;margin-top:12px;}
.pe-check{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border-radius:12px;background:#F2F4F8;cursor:pointer;user-select:none;}
.pe-check input{position:absolute;opacity:0;pointer-events:none;}
.pe-check__box{
  width:18px;height:18px;border-radius:5px;border:1.5px solid #C2CAD6;background:#fff;
  flex:0 0 auto;margin-top:1px;display:inline-flex;align-items:center;justify-content:center;
  color:#fff;transition:background .14s,border-color .14s;
}
.pe-check__box svg{width:12px;height:12px;opacity:0;transition:opacity .14s;}
.pe-check input:checked + .pe-check__box{background:#184280;border-color:#184280;}
.pe-check input:checked + .pe-check__box svg{opacity:1;}
.pe-check__text{font-size:12px;line-height:1.5;color:#1a1a1a;}
.pe-check__text a{color:#184280;}
.pe-recap{background:#F2F4F8;border-radius:12px;padding:11px 14px;margin-bottom:14px;font-size:12px;color:#6b7280;line-height:1.5;}
.pe-recap strong{color:#1a1a1a;font-weight:600;}
.pe-modal__foot{
  padding:12px 24px 18px;border-top:1px solid #EEF1F5;background:#fff;
  flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.pe-autosave{font-size:11px;color:#6b7280;display:inline-flex;align-items:center;gap:5px;}
.pe-autosave .dot{width:5px;height:5px;border-radius:50%;background:#1FBE5A;}
.pe-btn{
  height:44px;padding:0 20px;border:0;border-radius:12px;font:inherit;
  font-family:'Jost',sans-serif;font-size:14px;font-weight:600;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  transition:background .14s,transform .14s,opacity .14s;
}
.pe-btn--primary{background:#184280;color:#fff;min-width:148px;}
.pe-btn--primary:hover{background:#122f5f;}
.pe-btn--primary:disabled{opacity:.45;cursor:not-allowed;}
.pe-btn--primary svg{width:15px;height:15px;}
.pe-success{display:none;flex-direction:column;align-items:center;text-align:center;padding:34px 26px 42px;}
.pe-success.is-active{display:flex;animation:peStepIn .32s ease;}
.pe-success__icon{width:60px;height:60px;border-radius:50%;background:rgba(31,190,90,.12);color:#1FBE5A;display:inline-flex;align-items:center;justify-content:center;margin-bottom:14px;}
.pe-success__icon svg{width:30px;height:30px;}
.pe-success__title{margin:0 0 7px;font-size:19px;font-weight:700;color:#184280;}
.pe-success__text{margin:0 0 20px;font-size:13px;line-height:1.55;color:#6b7280;max-width:300px;}
@media(max-width:640px){
  .pe-modal-overlay{padding:0;align-items:flex-end;}
  .pe-modal{max-width:none;max-height:92vh;border-radius:18px 18px 0 0;transform:translateY(40px);}
}
