/* Complements pro - charte L Eco-Renov (#2a7ab5 / #1e2f4f) */

.eco-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 12px 20px;
  background: #1e2f4f;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.eco-skip-link:focus {
  left: 0;
  outline: 2px solid #67e8ff;
  outline-offset: 2px;
}

#main-content:focus {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Bloc d appel professionnel */
.eco-call-block {
  background: #f7f9fc;
  border: 1px solid #c8dff0;
  border-left: 4px solid #2a7ab5;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 1.4em 0 1.6em;
  max-width: 640px;
}

.eco-call-block .eco-call-title {
  margin: 0 0 12px;
  font-weight: 700;
  color: #1e2f4f;
  font-size: 1.05em;
}

.eco-call-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

a.eco-call-btn {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  justify-content: center;
  min-width: 200px;
  padding: 12px 16px;
  background: #2a7ab5 !important;
  color: #fff !important;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(42, 122, 181, 0.28);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  line-height: 1.25;
  white-space: normal !important;
}

a.eco-call-btn:hover,
a.eco-call-btn:focus {
  background: #1e2f4f !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(30, 47, 79, 0.35);
  transform: translateY(-1px);
  border-bottom: none !important;
}

a.eco-call-btn .eco-call-name {
  display: block !important;
  font-size: 0.82em;
  font-weight: 600;
  opacity: 0.92;
  letter-spacing: 0.02em;
}

a.eco-call-btn .eco-call-num {
  display: block !important;
  font-size: 1.12em;
  font-weight: 700;
  margin-top: 2px;
}

a.eco-call-btn.eco-call-btn-alt {
  background: #fff !important;
  color: #1e2f4f !important;
  border: 2px solid #2a7ab5 !important;
  box-shadow: none;
}

a.eco-call-btn.eco-call-btn-alt:hover,
a.eco-call-btn.eco-call-btn-alt:focus {
  background: #eaf4fb !important;
  color: #1e2f4f !important;
  border-color: #1e2f4f !important;
}

.eco-call-block .eco-call-alt {
  margin: 12px 0 0;
  font-size: 0.92em;
  color: #555;
}

.eco-call-block .eco-call-alt a {
  color: #2a7ab5;
  font-weight: 600;
}

/* Liens tel dans le texte courant (hors boutons) */
a[href^="tel:"]:not(.eco-call-btn) {
  color: #2a7ab5;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
a[href^="tel:"]:not(.eco-call-btn):hover {
  color: #1e2f4f;
  text-decoration: underline;
}

/* Footer : numeros plus confortables au doigt */
#footer a[href^="tel:"] {
  padding: 6px 2px;
  display: inline-block;
}

/* Barre d appel mobile fixe */
#cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e2f4f, #2a7ab5);
  color: #ffffff !important;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 14px 14px;
  z-index: 99990 !important;
  text-decoration: none !important;
  box-shadow: 0 -4px 18px rgba(30, 47, 79, 0.35);
  line-height: 1.35;
}
#cta-mobile .eco-mob-label {
  display: block;
  font-size: 0.78em;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
#cta-mobile .eco-mob-num {
  display: block;
  font-size: 1.15em;
  margin-top: 2px;
}

@media (max-width: 768px) {
  #chat-widget,
  #chatbot,
  .chat-bubble,
  [id*="chat"],
  [class*="chat-btn"] {
    bottom: 72px !important;
  }

  a.eco-call-btn {
    flex: 1 1 100%;
    min-width: 0;
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 769px) {
  #cta-mobile {
    display: none !important;
  }
}

/* Boutons d appel dans la bande CTA (fond sombre) */
#cta .eco-call-buttons {
  justify-content: center;
  margin-top: 14px;
}
#cta a.eco-call-btn {
  background: #fff !important;
  color: #1e2f4f !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
#cta a.eco-call-btn:hover,
#cta a.eco-call-btn:focus {
  background: #eaf4fb !important;
  color: #1e2f4f !important;
}
#cta a.eco-call-btn.eco-call-btn-alt {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}
#cta a.eco-call-btn.eco-call-btn-alt:hover,
#cta a.eco-call-btn.eco-call-btn-alt:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-color: #fff !important;
}
#cta a.eco-call-btn .eco-call-name {
  color: inherit;
  opacity: 0.85;
}
