/* E-wenze — accueil inspiré des grandes plateformes de réservation */

:root {
  --bk-navy: #003b95;
  --bk-navy-2: #1a4fa0;
  --bk-yellow: #ffb700;
  --bk-yellow-2: #ffa700;
}

.bk-header {
  background: var(--bk-navy) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  color: #fff;
  z-index: 1200;
}
.bk-header .navbar { gap: 18px; }
.bk-header .brand-logo-wrap {
  background: #fff;
  border-color: transparent;
}
.bk-nav { gap: 10px; }
.bk-usd {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
}
.bk-add-property {
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.bk-add-property:hover { background: rgba(255,255,255,.12); }
.bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.bk-btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.45);
}
.bk-btn-ghost:hover { background: rgba(255,255,255,.12); }
.bk-btn-solid {
  background: #fff;
  color: var(--bk-navy) !important;
}
.bk-btn-solid:hover { background: #e8f0fe; }
.bk-header .user-menu {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.bk-header .user-menu > .fa-bars,
.bk-header .user-menu > .fa-circle-user { color: #fff; }

body.home-page header,
body.home-page header.bk-header {
  position: relative !important;
  background: var(--bk-navy) !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
}
body.home-page header.bk-header .search-bar-premium { display: none; }
body.home-page header.bk-header.is-scrolled,
body.home-page header.is-scrolled {
  position: sticky !important;
  top: 0;
  background: var(--bk-navy) !important;
  border-bottom: 0 !important;
  box-shadow: 0 8px 18px rgba(0,20,60,.18) !important;
}

.bk-header .search-bar-premium {
  background: #fff;
  border: 0;
  box-shadow: none;
  max-width: 560px;
}
.bk-header .search-bar-premium .search-field label { color: #6b6b6b; }
.bk-header .search-bar-premium .search-field input,
.bk-header .search-bar-premium .search-field select { color: #1a1a1a; }

body.home-page { background: #f5f5f5; }

.bk-hero {
  position: relative;
  background: linear-gradient(180deg, var(--bk-navy) 0%, var(--bk-navy-2) 70%, #f5f5f5 100%);
  color: #fff;
  padding: 28px 0 72px;
}
.bk-hero-inner { position: relative; z-index: 2; }
.bk-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 8px;
}
.bk-hero .bk-lead {
  margin: 0 0 22px;
  font-size: 16px;
  color: rgba(255,255,255,.88);
  max-width: 640px;
}

.bk-search {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.1fr auto;
  gap: 4px;
  background: var(--bk-yellow);
  padding: 4px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,20,60,.22);
}
.bk-search-field {
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}
.bk-search-field label {
  font-size: 11px;
  font-weight: 700;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.bk-search-field input,
.bk-search-field select,
.bk-guest-trigger {
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  width: 100%;
  outline: none;
  font-family: inherit;
  text-align: left;
  padding: 4px 0 0;
}
.bk-search-go {
  background: #0071c2;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  padding: 0 22px;
  min-width: 140px;
  cursor: pointer;
}
.bk-search-go:hover { background: #005ea0; }
.bk-work {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.92);
}
.bk-guest-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  background: #fff;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  padding: 14px;
  z-index: 20;
  min-width: 260px;
}
.bk-guest-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.bk-guest-row strong { display: block; font-size: 14px; }
.bk-guest-row span { font-size: 12px; color: #717171; }
.bk-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bk-step button {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid #0071c2;
  background: #fff;
  color: #0071c2;
  font-weight: 700;
}
.bk-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: -36px 0 36px;
  position: relative;
  z-index: 3;
}
.bk-why-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 8px 22px rgba(15,23,42,.08);
}
.bk-why-card i {
  color: #0071c2;
  font-size: 22px;
  margin-bottom: 10px;
}
.bk-why-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}
.bk-why-card p { margin: 0; font-size: 13px; color: #555; }

.bk-section { margin: 8px 0 40px; }
.bk-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  margin: 0 0 6px;
  color: #1a1a1a;
}
.bk-section .bk-sub { margin: 0 0 16px; color: #555; font-size: 14px; }

.bk-offer {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 16px;
  background: linear-gradient(120deg, #003b95, #1a4fa0);
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  min-height: 180px;
}
.bk-offer-copy { padding: 28px; }
.bk-offer-copy h3 { margin: 0 0 8px; font-size: 1.4rem; }
.bk-offer-copy p { margin: 0 0 16px; color: rgba(255,255,255,.88); }
.bk-offer-copy .bk-search-go { display: inline-flex; height: 42px; align-items: center; text-decoration: none; }
.bk-offer-photo {
  background-size: cover;
  background-position: center;
  min-height: 160px;
}

.bk-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.bk-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: #1a1a1a;
}
.bk-type i { font-size: 22px; color: #003b95; }
.bk-type:hover { border-color: #003b95; box-shadow: 0 6px 16px rgba(0,59,149,.12); }
.bk-type.is-active { background: #003b95; color: #fff; }
.bk-type.is-active i { color: #ffb700; }

.bk-dest-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.bk-dest {
  position: relative;
  min-height: 170px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.bk-dest span { display: block; font-weight: 500; font-size: 12px; opacity: .9; }
.bk-dest::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.72));
}
.bk-dest strong, .bk-dest span { position: relative; z-index: 1; }

.bk-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.bk-rail .listing-card { scroll-snap-align: start; min-width: 240px; }
.listing-rating .score-label {
  font-style: normal;
  font-weight: 600;
  margin-left: 4px;
  color: #1a1a1a;
  font-size: 12px;
}

.bk-genius {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  padding: 22px 24px;
}
.bk-genius h3 { margin: 0 0 6px; }
.bk-genius p { margin: 0; color: #555; }
.bk-genius-actions { display: flex; gap: 10px; }

.bk-sitemap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 28px 0 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.bk-sitemap h5 {
  color: #fff;
  font-size: 13px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.bk-sitemap a {
  display: block;
  color: #cfc8c0 !important;
  font-size: 13px;
  margin-bottom: 8px;
}
.bk-sitemap a:hover { color: #fff !important; }

@media (max-width: 1024px) {
  .bk-search { grid-template-columns: 1fr 1fr; }
  .bk-search-go { grid-column: 1 / -1; min-height: 48px; }
  .bk-why { grid-template-columns: 1fr 1fr; }
  .bk-dest-row { grid-template-columns: 1fr 1fr; }
  .bk-offer { grid-template-columns: 1fr; }
  .bk-sitemap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .bk-add-property { display: none; }
}
@media (max-width: 720px) {
  .bk-search { grid-template-columns: 1fr; }
  .bk-why { grid-template-columns: 1fr; margin-top: -24px; }
  .bk-dest-row { grid-template-columns: 1fr; }
  .bk-hero { padding-bottom: 48px; }
  .bk-btn-ghost { display: none; }
  .bk-usd { display: none; }
  .bk-search-go { min-height: 48px; font-size: 16px; }
  .bk-hero h1 { font-size: 1.55rem; line-height: 1.2; padding: 0 8px; }
  .footer-host-cta-inner { flex-direction: column; align-items: stretch; text-align: left; }
  .footer-cta-btn { width: 100%; min-height: 48px; text-align: center; }
}
