/* ════════════════════════════════════════════════════
   LNM LOCATION - Lead Generation & Engagement CSS
   ════════════════════════════════════════════════════ */

/* ── Newsletter Popup (DESACTIVE) ─────────────────── */
.lnm-popup-overlay {
  display: none !important;
}
.lnm-popup-overlay--visible {
  display: none !important;
}
.lnm-popup {
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  border: 1px solid rgba(200,164,90,0.3);
  border-radius: 16px;
  max-width: 480px; width: 100%;
  padding: 40px 32px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s ease;
  text-align: center;
}
.lnm-popup-overlay--visible .lnm-popup {
  transform: scale(1) translateY(0);
}
.lnm-popup__close {
  position: absolute; top: 12px; right: 16px;
  font-size: 1.8rem; color: #888; cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.3s;
}
.lnm-popup__close:hover { color: #fff; }
.lnm-popup__icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: rgba(200,164,90,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.lnm-popup__icon svg { color: #c8a45a; }
.lnm-popup h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; color: #fff; margin-bottom: 8px;
}
.lnm-popup p {
  color: #888; font-size: 0.95rem; margin-bottom: 24px; line-height: 1.5;
}
.lnm-popup__form {
  display: flex; flex-direction: column; gap: 12px;
}
.lnm-popup__input {
  width: 100%; padding: 14px 16px;
  background: #0a0a0a; border: 1px solid #2a2a2a;
  border-radius: 8px; color: #fff;
  font-size: 1rem; font-family: 'Inter', sans-serif;
}
.lnm-popup__input:focus { outline: none; border-color: #c8a45a; }
.lnm-popup__input::placeholder { color: #555; }
.lnm-popup__submit {
  padding: 14px 32px;
  background: #c8a45a; color: #0a0a0a;
  border: none; border-radius: 8px;
  font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.lnm-popup__submit:hover {
  background: #d4b76a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,164,90,0.3);
}
.lnm-popup__privacy {
  font-size: 0.75rem; color: #555; margin-top: 8px;
}
.lnm-popup__success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.lnm-popup__success svg { color: #2ecc71; margin-bottom: 16px; }
.lnm-popup__success h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem; color: #fff; margin-bottom: 8px;
}
.lnm-popup__success p { color: #888; }


/* ── Price Simulator ───────────────────────────────── */
.lnm-simulator {
  max-width: 700px; margin: 0 auto;
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  border: 1px solid rgba(200,164,90,0.2);
  border-radius: 16px;
  padding: 40px 32px;
}
.lnm-simulator__grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .lnm-simulator__grid { grid-template-columns: 1fr 1fr; }
}
.lnm-simulator__field label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: #c8a45a; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.lnm-simulator__field select,
.lnm-simulator__field input {
  width: 100%; padding: 14px 16px;
  background: #0a0a0a; border: 1px solid #2a2a2a;
  border-radius: 8px; color: #fff;
  font-size: 1rem; font-family: 'Inter', sans-serif;
  min-height: 48px;
}
.lnm-simulator__field select:focus,
.lnm-simulator__field input:focus { outline: none; border-color: #c8a45a; }
.lnm-simulator__days-row {
  display: none;
  align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.lnm-simulator__days-row--visible { display: flex; }
.lnm-simulator__days-row label {
  font-size: 0.85rem; font-weight: 600;
  color: #c8a45a; text-transform: uppercase; letter-spacing: 0.08em;
}
.lnm-simulator__days-control {
  display: flex; align-items: center; gap: 0;
  border: 1px solid #2a2a2a; border-radius: 10px;
  overflow: hidden; background: #0a0a0a;
}
.lnm-simulator__days-btn {
  width: 48px; height: 48px;
  background: rgba(200,164,90,0.1); border: none;
  color: #c8a45a; font-size: 1.4rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
}
.lnm-simulator__days-btn:hover { background: rgba(200,164,90,0.2); }
.lnm-simulator__days-btn:active { background: rgba(200,164,90,0.3); }
.lnm-simulator__days-value {
  width: 60px; text-align: center;
  font-size: 1.3rem; font-weight: 700; color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  border-left: 1px solid #2a2a2a;
  border-right: 1px solid #2a2a2a;
  padding: 10px 0;
}
.lnm-simulator__result {
  text-align: center;
  padding: 24px;
  background: rgba(200,164,90,0.06);
  border: 1px solid rgba(200,164,90,0.15);
  border-radius: 12px;
  margin-bottom: 24px;
  display: none;
}
.lnm-simulator__result--visible { display: block; }
.lnm-simulator__price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem; font-weight: 700;
  color: #c8a45a; margin-bottom: 4px;
}
.lnm-simulator__detail { color: #888; font-size: 0.9rem; }
.lnm-simulator__cta {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ── Chatbot Button ────────────────────────────────── */
.lnm-chatbot-btn {
  position: fixed; bottom: 24px; left: 24px; z-index: 998;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #c8a45a, #a8883e);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  box-shadow: 0 4px 20px rgba(200,164,90,0.4);
  transition: all 0.3s;
}
.lnm-chatbot-btn svg { color: #0a0a0a; }
.lnm-chatbot-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(200,164,90,0.5);
}
.lnm-chatbot-btn:active { transform: scale(0.95); }
.lnm-chatbot-btn--hidden { opacity: 0; pointer-events: none; }

/* ── Chatbot Window ───────────────────────────────── */
.lnm-chatbot {
  position: fixed; bottom: 106px; left: 24px; z-index: 5001;
  width: 380px; max-width: calc(100vw - 48px);
  height: 520px; max-height: calc(100vh - 140px);
  background: #111;
  border: 1px solid rgba(200,164,90,0.3);
  border-radius: 20px;
  box-shadow: 0 16px 56px rgba(0,0,0,0.6);
  transform: scale(0.8) translateY(20px);
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease, visibility 0.3s ease;
  display: flex; flex-direction: column;
}
.lnm-chatbot--open {
  transform: scale(1) translateY(0);
  opacity: 1; visibility: visible;
  pointer-events: auto;
}

/* Header */
.lnm-chatbot__header {
  background: linear-gradient(135deg, #c8a45a, #a8883e);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 20px 20px 0 0;
  flex-shrink: 0;
}
.lnm-chatbot__header-info {
  display: flex; align-items: center; gap: 12px;
}
.lnm-chatbot__avatar {
  width: 42px; height: 42px;
  background: rgba(0,0,0,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.lnm-chatbot__avatar svg { display: block; }
.lnm-chatbot__header-text { display: flex; flex-direction: column; }
.lnm-chatbot__name { font-weight: 700; color: #0a0a0a; font-size: 0.95rem; line-height: 1.2; }
.lnm-chatbot__status {
  font-size: 0.75rem; color: rgba(0,0,0,0.6);
  display: flex; align-items: center; gap: 5px;
}
.lnm-chatbot__status::before {
  content: ''; width: 7px; height: 7px;
  background: #0a5c0a; border-radius: 50%;
  display: inline-block;
}
.lnm-chatbot__close {
  width: 34px; height: 34px;
  background: rgba(0,0,0,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  color: #0a0a0a; font-size: 1.3rem;
  transition: background 0.3s;
  flex-shrink: 0;
}
.lnm-chatbot__close:hover { background: rgba(0,0,0,0.2); }

/* Messages */
.lnm-chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #2a2a2a transparent;
}
.lnm-chatbot__messages::-webkit-scrollbar { width: 4px; }
.lnm-chatbot__messages::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 2px; }
.lnm-chatbot__msg {
  max-width: 85%; padding: 12px 16px;
  border-radius: 18px; font-size: 0.88rem; line-height: 1.5;
  animation: lnm-msgIn 0.3s ease;
  word-wrap: break-word;
  white-space: pre-line;
}
@keyframes lnm-msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.lnm-chatbot__msg--bot {
  background: #1a1a1a; color: #f5f5f5;
  border-bottom-left-radius: 6px;
  align-self: flex-start;
}
.lnm-chatbot__msg--user {
  background: #c8a45a; color: #0a0a0a;
  border-bottom-right-radius: 6px;
  align-self: flex-end; font-weight: 500;
}
.lnm-chatbot__typing {
  align-self: flex-start;
  display: flex; gap: 5px; padding: 14px 18px;
  background: #1a1a1a; border-radius: 18px;
  border-bottom-left-radius: 6px;
}
.lnm-chatbot__typing span {
  width: 7px; height: 7px;
  background: #555; border-radius: 50%;
  animation: lnm-typingBounce 1.4s ease-in-out infinite;
}
.lnm-chatbot__typing span:nth-child(2) { animation-delay: 0.2s; }
.lnm-chatbot__typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes lnm-typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Options */
.lnm-chatbot__options {
  display: flex; flex-direction: column; gap: 6px;
  padding: 4px 20px 14px;
  flex-shrink: 0;
  max-height: 200px;
  overflow-y: auto;
}
.lnm-chatbot__option {
  padding: 11px 16px;
  background: rgba(200,164,90,0.06);
  border: 1px solid rgba(200,164,90,0.2);
  border-radius: 14px;
  color: #c8a45a; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
  text-align: left; font-family: 'Inter', sans-serif;
}
.lnm-chatbot__option:hover {
  background: rgba(200,164,90,0.15);
  border-color: #c8a45a;
  transform: translateX(4px);
}
.lnm-chatbot__option:active {
  transform: scale(0.98);
}

/* Input */
.lnm-chatbot__input-wrap {
  display: flex; gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #0a0a0a;
  border-radius: 0 0 20px 20px;
  flex-shrink: 0;
}
.lnm-chatbot__input {
  flex: 1; padding: 12px 14px;
  background: #1a1a1a; border: 1px solid #333;
  border-radius: 12px; color: #fff;
  font-size: 0.9rem; font-family: 'Inter', sans-serif;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}
.lnm-chatbot__input:focus {
  outline: none; border-color: #c8a45a;
  box-shadow: 0 0 0 2px rgba(200,164,90,0.15);
}
.lnm-chatbot__input::placeholder { color: #666; }
.lnm-chatbot__send {
  width: 44px; height: 44px;
  background: #c8a45a; border: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
  color: #0a0a0a; flex-shrink: 0;
}
.lnm-chatbot__send:hover { background: #d4b76a; transform: scale(1.05); }
.lnm-chatbot__send:active { transform: scale(0.95); }

/* Mobile */
@media (max-width: 767px) {
  .lnm-chatbot-btn {
    position: fixed;
    bottom: 72px; right: 16px; left: auto;
    width: 44px; height: 44px;
    box-shadow: 0 2px 10px rgba(200,164,90,0.3);
    z-index: 998;
  }
  .lnm-chatbot-btn svg { width: 22px; height: 22px; }

  .lnm-chatbot {
    bottom: 0; left: 0; right: 0;
    width: 100%; max-width: 100%;
    height: 85vh; max-height: 85vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }
  .lnm-chatbot__header { border-radius: 20px 20px 0 0; }
  .lnm-chatbot__input-wrap { border-radius: 0; padding-bottom: env(safe-area-inset-bottom, 20px); }
  .lnm-chatbot-btn, .lnm-chatbot { display: none !important; }
}

/* ── Push Notification Banner ──────────────────────── */
.lnm-push-banner {
  position: fixed; bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 4999;
  background: #1a1a1a; border: 1px solid rgba(200,164,90,0.3);
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 420px; width: calc(100% - 40px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden;
  transition: all 0.4s ease;
  display: flex; gap: 16px; align-items: flex-start;
}
.lnm-push-banner--visible {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.lnm-push-banner__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(200,164,90,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.lnm-push-banner__icon svg { color: #c8a45a; }
.lnm-push-banner__content h4 { color: #fff; font-size: 0.95rem; margin-bottom: 4px; }
.lnm-push-banner__content p { color: #888; font-size: 0.85rem; line-height: 1.4; margin-bottom: 12px; }
.lnm-push-banner__actions { display: flex; gap: 8px; }
.lnm-push-banner__accept {
  padding: 8px 16px;
  background: #c8a45a; color: #0a0a0a;
  border: none; border-radius: 6px;
  font-size: 0.8rem; font-weight: 700;
  cursor: pointer; transition: background 0.3s;
  font-family: 'Inter', sans-serif;
}
.lnm-push-banner__accept:hover { background: #d4b76a; }
.lnm-push-banner__dismiss {
  padding: 8px 16px;
  background: transparent; color: #888;
  border: 1px solid #2a2a2a; border-radius: 6px;
  font-size: 0.8rem; cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.lnm-push-banner__dismiss:hover { color: #fff; border-color: #444; }

/* ── Quiz ──────────────────────────────────────────── */
.lnm-quiz {
  max-width: 700px; margin: 0 auto;
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  border: 1px solid rgba(200,164,90,0.2);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
}
.lnm-quiz__progress {
  display: flex; gap: 6px; margin-bottom: 32px;
  justify-content: center;
}
.lnm-quiz__progress-step {
  width: 40px; height: 4px;
  background: #2a2a2a; border-radius: 2px;
  transition: background 0.3s;
}
.lnm-quiz__progress-step--active { background: #c8a45a; }
.lnm-quiz__progress-step--done { background: #2ecc71; }
.lnm-quiz__question {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem; color: #fff; margin-bottom: 32px;
}
.lnm-quiz__answers {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  max-width: 500px; margin: 0 auto;
}
@media (min-width: 480px) {
  .lnm-quiz__answers { grid-template-columns: 1fr 1fr; }
}
.lnm-quiz__answer {
  padding: 16px 20px;
  background: rgba(200,164,90,0.06);
  border: 1px solid rgba(200,164,90,0.15);
  border-radius: 12px;
  color: #f5f5f5; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.lnm-quiz__answer:hover {
  background: rgba(200,164,90,0.15);
  border-color: #c8a45a;
  transform: translateY(-2px);
}
.lnm-quiz__answer--selected {
  background: #c8a45a; color: #0a0a0a;
  border-color: #c8a45a; font-weight: 600;
}
.lnm-quiz__result {
  display: none;
}
.lnm-quiz__result--visible { display: block; }
.lnm-quiz__result-car {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem; color: #c8a45a; margin-bottom: 8px;
}
.lnm-quiz__result-desc { color: #888; margin-bottom: 24px; line-height: 1.6; }
.lnm-quiz__result-form {
  display: flex; gap: 12px; max-width: 400px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.lnm-quiz__result-form input {
  flex: 1; min-width: 200px; padding: 12px 16px;
  background: #0a0a0a; border: 1px solid #2a2a2a;
  border-radius: 8px; color: #fff;
  font-size: 0.95rem; font-family: 'Inter', sans-serif;
}
.lnm-quiz__result-form input:focus { outline: none; border-color: #c8a45a; }
.lnm-quiz__result-form button {
  padding: 12px 24px;
  background: #c8a45a; color: #0a0a0a;
  border: none; border-radius: 8px;
  font-weight: 700; cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.lnm-quiz__result-form button:hover { background: #d4b76a; }
.lnm-quiz__result-label { color: #c8a45a; font-size: 0.9rem; margin-bottom: 8px; }
.lnm-quiz__result-link { margin-bottom: 20px; display: inline-flex; }
.lnm-quiz__result-email-label { color: #888; font-size: 0.85rem; margin: 16px 0 8px; }
