.elementor-8227 .elementor-element.elementor-element-da985dc > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-8227 .elementor-element.elementor-element-040a433{margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}/* Start custom CSS for html, class: .elementor-element-da985dc */html, body, 
.elementor,
.elementor-section,
.elementor-container,
.elementor-column {
  overflow: visible !important;
}


/* ✅ HEADER FIXE DEFINITIF (remplace sticky) */
.lb-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100000;

  height: 64px;
  min-height: 64px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 16px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ✅ ESPACE AUTOMATIQUE SOUS LE HEADER */
.lb-header-spacer {
  height: 0px;
  width: 100%;
}

/* ✅ ZONE LOGO */
.lb-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ✅ LOGO CONTROLLÉ À 100 % */
.lb-header-logo {
  height: 26px;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* ✅ TEXTE ONLINE */
.lb-online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #2b2b2b;
}

/* ✅ POINT VERT ANIMÉ */
.lb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  animation: pulse 1.2s infinite;
}

/* ✅ BLOC DROIT */
.lb-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* ✅ TEXTE ÉTAPE */
.lb-step-text {
  font-size: 12px;
  font-weight: 600;
}

/* ✅ BARRE DE PROGRESSION */
.lb-progress-header-wrapper {
  width: 140px;
  height: 6px;
  background: #e6ecff;
  border-radius: 999px;
  overflow: hidden;
}

.lb-progress-header-bar {
  height: 100%;
  width: 0%; /* ✅ laissé dynamique pour le JS */
  background: linear-gradient(90deg, #1677ff, #4da3ff);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* ✅ MOBILE */
@media (max-width: 520px) {
  .lb-header {
    height: 56px;
  }

  .lb-header-logo {
    height: 22px;
  }

  .lb-online {
    display: none;
  }

  .lb-progress-header-wrapper {
    width: 100px;
  }

  .lb-header-spacer {
    height: 0px;
  }
}



/* ✅ ZONE LOGO + ONLINE */
.lb-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  height: 64px !important;
}


/* ✅ ✅ ✅ LOGO FORCÉ À UNE TAILLE NORMALE */
.lb-header-left img,
.lb-header-logo {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  max-width: 140px !important;

  object-fit: contain !important;
  display: block !important;

  padding: 0 !important;
  margin: 0 !important;
}


/* ✅ TEXTE "Conseiller en ligne" */
.lb-online {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #2b2b2b !important;
  white-space: nowrap !important;
}


/* ✅ POINT VERT ANIMÉ */
.lb-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #2ecc71 !important;
  animation: pulse 1.2s infinite !important;
}


/* ✅ BLOC DROIT */
.lb-header-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 6px !important;
}


/* ✅ TEXTE ÉTAPE */
.lb-step-text {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #2b2b2b !important;
}


/* ✅ BARRE DE PROGRESSION */
.lb-progress-header-wrapper {
  width: 140px !important;
  height: 6px !important;
  background: #e6ecff !important;
  border-radius: 999px !important;
  overflow: hidden !important;
}

.lb-progress-header-bar {
  height: 100% !important;
  width: 0% !important;
  background: linear-gradient(90deg, #1677ff, #4da3ff) !important;
  border-radius: 999px !important;
  transition: width 0.4s ease !important;
}


/* ✅ MOBILE */
@media (max-width: 520px) {

  /* Header plus compact en haut */
  .lb-header {
    height: auto !important;
    min-height: 64px !important;
    padding: 8px 12px !important;
    align-items: flex-start !important;
  }

  /* Logo AU-DESSUS, "conseiller en ligne" en dessous */
  .lb-header-left {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    height: auto !important;
  }

  .lb-header-left img,
  .lb-header-logo {
    height: 24px !important;
    max-height: 24px !important;
    width: auto !important;
    max-width: 140px !important;
  }

  /* ✅ On garde l’indication "Conseiller en ligne" */
  .lb-online {
    display: flex !important;
    font-size: 12px !important;
  }

  .lb-dot {
    width: 7px !important;
    height: 7px !important;
  }

  /* ❌ On CACHE complètement la progression sur mobile */
  .lb-header-right,
  .lb-step-text,
  .lb-progress-header-wrapper {
    display: none !important;
  }
}



/* ✅ VERROUILLAGE TOTAL DU LOGO (ANTI RESIZE ELEMENTOR) */
.lb-header-logo {
  height: 28px !important;
  max-height: 28px !important;
  min-height: 28px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain !important;
}

.lb-header-logo img {
  height: 28px !important;
  max-height: 28px !important;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-dca35cd */html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

#lb-fullpage {
  min-height: 100vh;
  background: linear-gradient(135deg, #dff1ff, #f4f9ff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;   /* ✅ Mieux centré */
  padding-bottom: 60px; /* ✅ Empêche que ça colle en bas */
}

/* ✅ ZONE DES MESSAGES */
#lb-flow {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;     /* ✅ léger espace haut */
  padding-bottom: 0px;  /* ✅ TRÈS IMPORTANT → on enlève le gros padding bas */
  box-sizing: border-box;
}

.lb-line {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.lb-line.bot {
  justify-content: flex-start;
}

.lb-line.user {
  justify-content: flex-end;
}

/* ✅ AVATAR CONSEILLER */
.lb-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background-image: url("https://economisons.fr/wp-content/uploads/2025/07/conseiller_economisons.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid #e6ecff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.lb-bubble {
  max-width: 520px;
  background: white;
  border-radius: 28px;
  padding: 18px 22px;
  font-size: 17px;
  line-height: 1.45;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.lb-line.user .lb-bubble {
  background: #1677ff;
  color: white;
}

/* ✅ ZONE DES ACTIONS (RÉPONSES) */
#lb-actions {
  margin-top: 20px;     /* ✅ rapproché du dernier message */
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  position: relative;
}

/* ✅ BOUTONS */
.lb-btn {
  background: #1677ff;
  color: white;
  border: none;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 16px;
  cursor: pointer;
  transition: transform .15s ease;
}

.lb-btn.secondary {
  background: white;
  color: #1677ff;
  border: 2px solid #1677ff;
}

.lb-btn:hover {
  background: #00a9ff;
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.35);
  transform: translateY(-2px);
}


.lb-input {
  width: 280px;
  padding: 14px;
  border-radius: 999px;
  border: 1px solid #ccc;
  font-size: 16px;
}

/* ✅ ANIMATION "EN TRAIN D'ÉCRIRE" */
.typing {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.typing span {
  width: 8px;
  height: 8px;
  background: #1677ff;
  border-radius: 50%;
  display: block;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing span:nth-child(1) { animation-delay: 0s; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0% { transform: translateY(0); opacity: 0.3; }
  20% { transform: translateY(-6px); opacity: 1; }
  40% { transform: translateY(0); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 0.3; }
}

/* ✅ TITRE MUTUELLE */
.mutuelle-title {
  width: 100%;
  max-width: 780px;
  margin: 22px auto 10px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #2b2b2b;
  text-transform: uppercase;
}

/* ✅ GRILLE 4 COLONNES */
#lb-actions.four-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 780px;
  margin: 10px auto 0; /* ✅ bien collé à la question */
}

#lb-actions.four-grid .lb-btn {
  width: 100%;
  padding: 16px 10px;
  font-size: 15px;
  border-radius: 18px;
  white-space: normal;
}

/* ✅ MOBILE */
@media (max-width: 900px) {
  #lb-actions.four-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  #lb-actions.four-grid {
    grid-template-columns: repeat(2, 1fr); /* ✅ 2 colonnes sur mobile */
    gap: 12px;
  }

  #lb-actions.four-grid .lb-btn {
    font-size: 14px;
    padding: 14px 10px;
  }
}


/* ✅ FORMULAIRE */
#lb-actions.form-vertical {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  gap: 14px;
  max-width: 520px;
  margin: 20px auto 0;
}

#lb-actions.form-vertical .lb-input {
  width: 100% !important;
}

#lb-actions.form-vertical .lb-btn {
  align-self: center;
  margin-top: 10px;
}

/* ✅ TEXTAREA LARGE */
.lb-comment-wrapper {
  max-width: 1050px;
  width: 100%;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lb-textarea {
  width: 100%;
  min-height: 300px;
  padding: 26px 30px;
  border-radius: 38px;
  font-size: 17px;
  border: 2px solid #dbe6ff;
  resize: none;
}

.lb-textarea:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(55,125,255,0.15);
}

/* ✅ BARRE DE PROGRESSION */
.progress-wrapper {
  width: 100%;
  max-width: 280px;
  margin: 12px auto 0;
  background: #e0ecff;
  border-radius: 999px;
  overflow: hidden;
  height: 10px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1677ff, #4da3ff);
  border-radius: 999px;
  transition: width 3s linear;
}

/* ✅ ERREURS */
.form-error {
  color: #e53935;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.lb-input.error {
  border: 2px solid #e53935 !important;
}

/* ✅ CONFORT MOBILE */
@media (max-width: 600px) {

  #lb-fullpage {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 40px;
  }

  #lb-flow {
    max-width: 100%;
    padding-left: 4px;
    padding-right: 4px;
  }

  #lb-actions {
    padding-left: 4px;
    padding-right: 4px;
  }

  .lb-bubble {
    max-width: 88%;
    font-size: 15px;
  }

  .lb-btn {
    padding: 14px 18px;
    font-size: 15px;
  }

}

/* ✅ FORCE LE BACKGROUND À PRENDRE 100% DE L'ÉCRAN */
html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

#lb-fullpage {
  width: 100vw;              /* ✅ vraiment toute la largeur écran */
  max-width: 100vw;
  min-height: 100vh;
  margin-left: calc(-50vw + 50%); /* ✅ casse la contrainte du container Elementor */
  background: linear-gradient(135deg, #dff1ff, #f4f9ff);
}

.countdown-title {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #2b2b2b;
}

.countdown-timer {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 700;
  font-family: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 1px;
  color: #00a9ff; /* orange "urgence douce" */
}/* End custom CSS */