/**
 * LiveBroker - parcours sélection / devis.
 * Toutes les règles sont inertes hors du parcours Roja45.
 */

body.lb-quote-flow-active .lb-quote-flow-intro {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid #d8d8d8;
  border-left: 4px solid #111;
  border-radius: 4px;
  background: #fafafa;
}

body.lb-quote-flow-active .lb-quote-flow-intro__title {
  margin: 0 0 0.35rem;
  color: #111;
  font-size: 1.1rem;
  font-weight: 700;
}

body.lb-quote-flow-active .lb-quote-flow-intro__text {
  margin: 0;
  color: #555;
  font-size: 0.94rem;
  line-height: 1.5;
}

body.lb-quote-flow-active .lb-quote-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

body.lb-quote-flow-active .lb-quote-step {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #555;
  font-size: 0.86rem;
  line-height: 1.3;
  text-align: center;
}

body.lb-quote-flow-active .lb-quote-step strong {
  display: block;
  margin-bottom: 0.18rem;
  color: #111;
  font-size: 0.95rem;
}

body.lb-quote-flow-active .lb-quote-submit {
  min-height: 52px !important;
  padding: 0.9rem 1.4rem !important;
  border: 2px solid #111 !important;
  border-radius: 4px !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
}

body.lb-quote-flow-active .lb-quote-submit:hover,
body.lb-quote-flow-active .lb-quote-submit:focus {
  background: #fff !important;
  color: #111 !important;
  outline: 2px solid #111;
  outline-offset: 2px;
}

body.lb-quote-flow-active .lb-quote-secondary {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.lb-quote-flow-active .lb-quote-submit-help {
  margin: 0.55rem 0 0;
  max-width: 42rem;
  color: #555;
  font-size: 0.88rem;
  line-height: 1.45;
}

body.lb-quote-flow-active .lb-quote-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0;
}

body.lb-quote-flow-active .lb-quote-trust__item {
  padding: 0.75rem;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  background: #fafafa;
  color: #333;
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: center;
}

body.lb-quote-flow-active .lb-quote-phone {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.lb-quote-flow-active input[type="email"],
body.lb-quote-flow-active input[type="tel"],
body.lb-quote-flow-active input[type="text"],
body.lb-quote-flow-active textarea,
body.lb-quote-flow-active select {
  max-width: 100%;
}

body.lb-quote-flow-active .lb-quote-mobile-bar {
  display: none;
}

@media (max-width: 767px) {
  body.lb-quote-flow-active .lb-quote-steps,
  body.lb-quote-flow-active .lb-quote-trust {
    grid-template-columns: 1fr;
  }

  body.lb-quote-flow-active {
    padding-bottom: 78px;
  }

  body.lb-quote-flow-active .lb-quote-submit {
    width: 100%;
  }

  body.lb-quote-flow-active .lb-quote-mobile-bar {
    position: fixed;
    z-index: 1040;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 0.55rem;
    align-items: center;
    padding: 0.65rem;
    border-top: 1px solid #d8d8d8;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  }

  body.lb-quote-flow-active .lb-quote-mobile-bar__submit {
    flex: 1 1 auto;
    min-height: 48px;
    border: 2px solid #111;
    border-radius: 4px;
    background: #111;
    color: #fff;
    font-weight: 700;
  }

  body.lb-quote-flow-active .lb-quote-mobile-bar__phone {
    display: inline-flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: #fff;
    color: #111;
    font-size: 1.2rem;
    text-decoration: none;
  }
}