/* ==========================================================================
   BEJOR LIFT BRASIL — SITE OFICIAL FULLPAGE MOBILE-FIRST RESPONSIVO
   ========================================================================== */
:root {
  --bj-green-dark: #142815;
  --bj-green-mid: #1f3c21;
  --bj-green-light: #2c522f;
  --bj-gold: #c59d4b;
  --bj-gold-light: #e2c275;
  --bj-gold-dark: #9c7629;
  --bj-cream: #f7f4ee;
  --bj-beige: #e6dfd1;
  --bj-ink: #172118;
  --bj-muted: #5a665b;
  --bj-white: #ffffff;
  --nav-height: 68px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 30px rgba(20, 40, 21, 0.08);
  --shadow-gold: 0 10px 28px rgba(197, 157, 75, 0.34);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: clip;
}

body {
  margin: 0;
  padding-top: var(--nav-height);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--bj-ink);
  background: var(--bj-cream);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.font-brand { font-family: 'Cinzel', Georgia, serif; letter-spacing: 0.4px; }
.fw-extrabold { font-weight: 800; }

/* Normal Compact Section Spacing — Mobile First & Responsive */
.bj-fp-section {
  min-height: auto;
  display: block;
  padding: 34px 0;
  position: relative;
}

.bj-fp-section.bj-hero {
  min-height: min(74svh, 660px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0 38px;
}

.bj-fp-section .container,
.bj-fp-section .container-xl {
  max-width: 1280px;
  padding-left: clamp(14px, 2.2vw, 24px);
  padding-right: clamp(14px, 2.2vw, 24px);
}

.bj-fp-section-end {
  display: block;
}

@media (min-width: 992px) {
  .bj-fp-section {
    padding: 44px 0;
  }
  .bj-fp-section.bj-hero {
    padding: 40px 0 46px;
  }
}

.bj-section-title {
  color: var(--bj-green-dark);
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  line-height: 1.22;
}

/* Lateral Fullpage Dots (Desktop) */
.bj-fp-dots {
  display: none;
}
@media (min-width: 1200px) {
  .bj-fp-dots {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 11px;
    background: rgba(20, 40, 21, 0.55);
    backdrop-filter: blur(6px);
    padding: 10px 7px;
    border-radius: 999px;
    border: 1px solid rgba(197, 157, 75, 0.4);
  }
  .bj-fp-dots .fp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(247, 244, 238, 0.45);
    transition: transform 0.2s, background-color 0.2s;
    position: relative;
  }
  .bj-fp-dots .fp-dot:hover,
  .bj-fp-dots .fp-dot.active {
    background: var(--bj-gold-light);
    transform: scale(1.35);
  }
  .bj-fp-dots .fp-dot::after {
    content: attr(data-label);
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bj-green-dark);
    color: var(--bj-gold-light);
    border: 1px solid var(--bj-gold);
    padding: 2px 9px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s;
  }
  .bj-fp-dots .fp-dot:hover::after {
    opacity: 1;
  }
}

/* Navbar Mobile First */
.bj-navbar {
  min-height: var(--nav-height);
  background: rgba(20, 40, 21, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--bj-gold);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}
.bj-navbar .nav-link {
  color: rgba(247, 244, 238, 0.9) !important;
  font-weight: 500;
  font-size: 0.86rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.bj-navbar .nav-link:hover {
  color: var(--bj-gold-light) !important;
  background: rgba(197, 157, 75, 0.12);
}
.bj-logo-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bj-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--bj-gold-light) 0%, var(--bj-gold) 55%, var(--bj-gold-dark) 100%);
  color: #142815 !important;
  border: none;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  transition: transform 0.2s, filter 0.2s;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-green, .btn-bejor-green-site {
  background: linear-gradient(135deg, var(--bj-green-mid), var(--bj-green-dark));
  color: var(--bj-gold-light) !important;
  border: 1px solid var(--bj-gold);
  font-weight: 600;
  transition: transform 0.2s, filter 0.2s;
}
.btn-green:hover, .btn-bejor-green-site:hover { filter: brightness(1.12); color: #fff !important; transform: translateY(-1px); }

/* Hero Fullpage */
.bj-hero {
  background: radial-gradient(circle at 80% 18%, rgba(197, 157, 75, 0.22), transparent 46%),
              radial-gradient(circle at 12% 85%, rgba(44, 82, 47, 0.35), transparent 50%),
              linear-gradient(135deg, #0b170c 0%, #142815 55%, #1e3b20 100%);
  color: var(--bj-cream);
  border-bottom: 4px solid var(--bj-gold);
  overflow: hidden;
}
.bj-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 157, 75, 0.18);
  border: 1px solid var(--bj-gold);
  color: var(--bj-gold-light);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: clamp(0.68rem, 1.8vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.6px;
}
.bj-hero-title {
  color: var(--bj-gold-light);
  font-size: clamp(1.65rem, 4.2vw, 3.05rem);
  line-height: 1.16;
}
.bj-hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  color: rgba(247, 244, 238, 0.9);
}

.bj-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 576px) {
  .bj-pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.bj-pillar-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(226, 194, 117, 0.42);
  border-radius: 12px;
  padding: 9px 13px;
  font-size: 0.84rem;
  color: #fff;
  backdrop-filter: blur(4px);
}

.bj-stat-num {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 800;
  color: var(--bj-gold-light);
  line-height: 1.1;
}
.bj-stat-lbl {
  font-size: 0.75rem;
  opacity: 0.8;
}

.bj-hero-chair-showcase {
  max-width: 470px;
  margin-inline: auto;
}
.bj-hero-chair-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid var(--bj-gold);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5);
  aspect-ratio: 4 / 3;
  background: #1a2c1b;
}
.bj-hero-chair-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, opacity 0.25s ease;
}
.bj-hero-chair-frame:hover img {
  transform: scale(1.03);
}
.bj-hero-logo-corner {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--bj-gold);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  object-fit: cover;
  background: #142815;
}
.bj-hero-photo-caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: rgba(14, 29, 15, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 194, 117, 0.5);
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 0.74rem;
  color: #fff;
}
.bj-hero-thumb-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.bj-hero-thumb {
  border: 2px solid rgba(226, 194, 117, 0.35);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 4px;
  color: rgba(247, 244, 238, 0.9);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.bj-hero-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 3px;
}
.bj-hero-thumb span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
}
.bj-hero-thumb.active,
.bj-hero-thumb:hover {
  border-color: var(--bj-gold-light);
  background: rgba(197, 157, 75, 0.22);
  transform: translateY(-2px);
}
.bj-hero-float-card {
  max-width: 470px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 157, 75, 0.45);
  border-radius: 14px;
  padding: 10px 14px;
  backdrop-filter: blur(8px);
}

/* Model Cards Photo Frame */
.bj-model-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 3px solid var(--bj-gold);
  background: #1a2c1b;
}
.bj-model-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.bj-card:hover .bj-model-img-wrap img {
  transform: scale(1.05);
}
.bj-model-img-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

/* Portrait Photo Background inside Social Reel Cards */
.bj-portrait-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.45s ease;
}
.bj-ig-post-card:hover .bj-portrait-bg-img,
.bj-fb-post-card:hover .bj-portrait-bg-img {
  transform: scale(1.06);
}
.bj-scroll-cue {
  color: var(--bj-gold-light);
  font-size: 0.82rem;
  opacity: 0.85;
  animation: bjBounce 2s infinite;
  display: inline-block;
}
@keyframes bjBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Radar CEP 20km */
.bj-radar-section {
  background: linear-gradient(180deg, #f7f4ee 0%, #efe9dc 100%);
}
.bj-cep-search-box {
  max-width: 620px;
}
.bj-radar-map {
  width: 100%;
  min-height: 290px;
  height: 320px;
  border-radius: 12px;
  border: 1px solid var(--bj-beige);
  z-index: 1;
}
@media (min-width: 992px) {
  .bj-radar-map { min-height: 340px; }
}
.bj-hosp-list {
  max-height: 150px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bj-hosp-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #faf8f4;
  border: 1px solid var(--bj-beige);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.78rem;
}
.bj-kpi-mini {
  background: #fff;
  border: 1px solid var(--bj-beige);
  border-radius: 14px;
  padding: 12px 8px;
  box-shadow: var(--shadow-soft);
  height: 100%;
}
.bj-kpi-mini small {
  font-size: 0.72rem;
  color: var(--bj-muted);
  display: block;
  font-weight: 600;
}

/* About & ROI Card */
.bj-about-quote {
  background: #f7f4ee;
  border: 1px solid var(--bj-beige);
  border-left: 5px solid var(--bj-gold);
}
.bj-roi-card {
  background: radial-gradient(circle at 90% 10%, rgba(197, 157, 75, 0.25), transparent 50%),
              linear-gradient(145deg, #102011 0%, #1c361e 100%);
  border: 2px solid var(--bj-gold);
}

/* Cards & Sections */
.bj-section { background: var(--bj-cream); }
.bj-section-alt {
  background: #ffffff;
  border-top: 1px solid var(--bj-beige);
  border-bottom: 1px solid var(--bj-beige);
}
.bj-card {
  background: #ffffff;
  border: 1px solid var(--bj-beige);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bj-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(20, 40, 21, 0.12); }
.bj-card-gold-top { border-top: 4px solid var(--bj-gold); }

/* Instagram & Facebook Portrait Showcase (Modo Retrato 9:15 + Vídeo no Próprio Site) */
.bj-ig-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  padding: 2px;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  flex-shrink: 0;
}
.bj-ig-post-card,
.bj-fb-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bj-beige);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  background: #fff;
}
.bj-ig-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(20, 40, 21, 0.14);
}
.bj-fb-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(24, 119, 242, 0.16);
}

/* Frame Vertical Modo Retrato (9:15 — Nunca Quadrado) */
.bj-portrait-media {
  aspect-ratio: 9 / 15;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #0e1d0f;
}
.bj-portrait-media > img,
.bj-portrait-media > video,
.bj-portrait-media > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}
.bj-portrait-media > video {
  background: #000;
}
.bj-ig-bg-1 { background: linear-gradient(165deg, #0b180c 0%, #1d3d1f 55%, #0c170d 100%); }
.bj-ig-bg-2 { background: linear-gradient(165deg, #142815 0%, #6e5219 60%, #101e11 100%); }
.bj-ig-bg-3 { background: linear-gradient(165deg, #0d2110 0%, #274f2b 55%, #122113 100%); }
.bj-ig-bg-4 { background: linear-gradient(165deg, #121820 0%, #1f3c21 55%, #0d1a0e 100%); }
.bj-fb-bg-1 { background: linear-gradient(165deg, #0e2444 0%, #1877F2 65%, #10243f 100%); }
.bj-fb-bg-2 { background: linear-gradient(165deg, #102011 0%, #1d4e89 60%, #142815 100%); }
.bj-fb-bg-3 { background: linear-gradient(165deg, #1b2f1c 0%, #9c7629 65%, #122113 100%); }
.bj-fb-bg-4 { background: linear-gradient(165deg, #0f1b2e 0%, #1956a8 60%, #142815 100%); }

.bj-ig-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.62);
  color: var(--bj-gold-light);
  border: 1px solid rgba(226, 194, 117, 0.55);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.bj-reel-duration {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.bj-reel-overlay {
  position: relative;
  z-index: 3;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.68) 100%);
}
.bj-reel-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--bj-gold-light);
  background: rgba(20, 40, 21, 0.85);
  color: var(--bj-gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}
.bj-reel-play-btn:hover {
  transform: scale(1.1);
  background: var(--bj-gold);
  color: #142815;
}

/* Player Interativo de Reel Retrato (Roda no Próprio Site) */
.bj-reel-stage {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  color: #fff;
  background: radial-gradient(circle at 50% 25%, rgba(197,157,75,0.28), transparent 55%),
              linear-gradient(180deg, #0b190c 0%, #18321a 50%, #0a140b 100%);
  animation: bjReelPulse 6s ease-in-out infinite alternate;
}
@keyframes bjReelPulse {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}
.bj-reel-progress-bars {
  display: flex;
  gap: 4px;
  width: 100%;
}
.bj-reel-bar-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  overflow: hidden;
}
.bj-reel-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--bj-gold-light);
  transition: width 0.2s linear;
}
.bj-reel-scene-box {
  text-align: center;
  padding: 10px 8px;
  animation: bjFadeUp 0.35s ease;
}
@keyframes bjFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Grade Incorporada Aberta do Instagram (Modo Retrato) */
.bj-ig-embed-open {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--bj-beige);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.bj-ig-embed-open iframe {
  width: 100%;
  height: 580px;
  border: 0;
  display: block;
}

/* Facebook Compact Official Header (sem caixa branca vazia!) */
.bj-fb-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  padding: 2px;
  background: linear-gradient(135deg, #1877F2, #0d53b2);
  flex-shrink: 0;
}
.bj-fb-compact-embed {
  width: 100%;
  max-width: 500px;
  height: 130px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #d8dfea;
  background: #fff;
}
.bj-fb-compact-embed iframe {
  width: 100%;
  height: 130px;
  border: 0;
  display: block;
}

/* Dialog Retrato para Ampliar Vídeos no Próprio Site */
dialog.bj-video-dialog {
  border: 2px solid var(--bj-gold);
  border-radius: 20px;
  padding: 0;
  width: min(410px, calc(100vw - 24px));
  background: #0d1a0e;
  color: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}
dialog.bj-video-dialog::backdrop {
  background: rgba(10, 18, 11, 0.82);
  backdrop-filter: blur(5px);
}

/* Simulador Power Lift com Fotos Reais das 3 Posições */
.chair-stage {
  background: #ffffff;
  border: 1px solid var(--bj-beige);
  border-top: 4px solid var(--bj-gold);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.bj-sim-photo-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #2c3527;
}
.bj-sim-photo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.45s ease, transform 0.55s ease;
  pointer-events: none;
}
.bj-sim-photo-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.bj-sim-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  background: rgba(20, 40, 21, 0.88);
  color: var(--bj-gold-light);
  border: 1px solid var(--bj-gold);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.bj-sim-thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.bj-sim-thumb-btn {
  border: 2px solid var(--bj-beige);
  border-radius: 10px;
  padding: 4px;
  background: #faf8f4;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  text-align: center;
}
.bj-sim-thumb-btn img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 7px;
  display: block;
  margin-bottom: 4px;
}
.bj-sim-thumb-btn span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bj-green-dark);
}
.bj-sim-thumb-btn.active,
.bj-sim-thumb-btn:hover {
  border-color: var(--bj-gold);
  background: #fff9ec;
  transform: translateY(-2px);
}

/* Floating Chat & WhatsApp (Mobile Safe) */
.bj-float-actions {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  right: 16px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.bj-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 0.86rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s;
}
.bj-float-btn:hover { transform: translateY(-2px); color: #fff; }
.bj-btn-chat-trigger { background: var(--bj-green-dark); color: var(--bj-gold-light); border: 2px solid var(--bj-gold); }
.bj-btn-wa-trigger { background: #25d366; color: #ffffff; }

/* Chat Widget Drawer */
.bj-chat-widget {
  position: fixed;
  bottom: 84px;
  right: 16px;
  z-index: 1060;
  width: 370px;
  max-width: calc(100vw - 24px);
  background: #ffffff;
  border: 2px solid var(--bj-gold);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  display: none;
  flex-direction: column;
}
.bj-chat-widget.open { display: flex; }
.bj-chat-header {
  background: var(--bj-green-dark);
  color: var(--bj-cream);
  padding: 14px 16px;
  border-bottom: 2px solid var(--bj-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bj-chat-body {
  height: min(320px, 48vh);
  overflow-y: auto;
  padding: 14px;
  background: #f5f2eb;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bj-msg {
  max-width: 85%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
  word-break: break-word;
}
.bj-msg-cliente { align-self: flex-end; background: var(--bj-green-dark); color: #fff; border-bottom-right-radius: 3px; }
.bj-msg-humano { align-self: flex-start; background: #fff; border: 1px solid var(--bj-beige); color: var(--bj-ink); border-bottom-left-radius: 3px; }
.bj-msg-sistema { align-self: center; background: rgba(197, 157, 75, 0.18); color: #5c4312; font-size: 0.78rem; text-align: center; max-width: 94%; }
.bj-msg-time { display: block; font-size: 0.68rem; opacity: 0.7; margin-top: 3px; }

/* Exit-Intent Native Dialog */
dialog.bj-exit-dialog {
  border: 2px solid var(--bj-gold);
  border-radius: 18px;
  padding: 0;
  max-width: 520px;
  width: calc(100vw - 24px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
dialog.bj-exit-dialog::backdrop { background: rgba(13, 23, 14, 0.72); backdrop-filter: blur(4px); }

/* Footer */
.bj-footer {
  background: var(--bj-green-dark);
  color: rgba(247, 244, 238, 0.84);
  border-top: 4px solid var(--bj-gold);
  padding: 44px 0 26px;
}
.bj-footer a { color: var(--bj-gold-light); text-decoration: none; }
.bj-footer a:hover { text-decoration: underline; }
