/* Conversion CSS — fallback statique non compilé via Vite.
   Source : resources/scss/pages/conversion-*.scss
   À supprimer une fois `npm run build` exécuté (les styles seront alors
   inclus dans build/css/app.min.css). */

/* ===== HERO ===== */
.hero-conversion {
  background: #f3f6f9;
  color: #1a1a1a;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-conversion .badge-trust {
  display: inline-block;
  background: rgba(0, 102, 255, 0.08);
  color: #0066ff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-conversion h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #1a1a1a;
}
.hero-conversion .hero-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin-bottom: 2.5rem;
  color: #6b7280;
}
.hero-conversion .eligibility-form-hero {
  background: white;
  color: #1a1a1a;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-width: 720px;
}
.hero-conversion .eligibility-form-hero .form-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.hero-conversion .eligibility-form-hero .form-tabs .tab-btn {
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.hero-conversion .eligibility-form-hero .form-tabs .tab-btn.active {
  color: #0066ff;
  border-bottom-color: #0066ff;
}
.hero-conversion .eligibility-form-hero .form-fields {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.hero-conversion .eligibility-form-hero .form-fields input.form-control {
  flex: 1;
  min-width: 250px;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
}
.hero-conversion .eligibility-form-hero .form-fields input.form-control:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: none;
}
.hero-conversion .eligibility-form-hero .btn-cta-primary {
  background: #ff6b00;
  color: white;
  border: none;
  padding: 1rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-conversion .eligibility-form-hero .btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4);
  color: white;
}
.hero-conversion .eligibility-form-hero .form-helper {
  margin-top: 0.75rem;
  color: #6b7280;
  font-size: 0.85rem;
}
.hero-conversion .hero-trust {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-conversion .hero-trust .trust-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
}
.hero-conversion .hero-trust .trust-item span {
  font-size: 0.95rem;
  color: #6b7280;
}
.hero-conversion .hero-trending {
  margin-top: 1.5rem;
  color: #6b7280;
  font-size: 0.85rem;
}
.hero-conversion .hero-trending a {
  color: #0066ff;
  text-decoration: none;
  font-weight: 600;
  margin: 0 0.25rem;
}
.hero-conversion .hero-trending a:hover { text-decoration: underline; }
.hero-conversion .live-counter {
  background: rgba(0, 102, 255, 0.08);
  color: #1a1a1a;
}
.hero-conversion .live-counter strong { color: #0066ff; }
@media (max-width: 640px) {
  .hero-conversion { padding: 3rem 0 2.5rem; }
  .hero-conversion .eligibility-form-hero .form-fields { flex-direction: column; }
  .hero-conversion .eligibility-form-hero .form-fields input.form-control,
  .hero-conversion .eligibility-form-hero .btn-cta-primary { width: 100%; }
  .hero-conversion .hero-trust { gap: 1.5rem; }
}

/* ===== EXIT-INTENT POPUP ===== */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.exit-popup[hidden] { display: none; }
.exit-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
}
.exit-popup__content {
  position: relative;
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  color: #1a1a1a;
  text-align: center;
}
.exit-popup__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}
.exit-popup__close:hover { color: #1a1a1a; }
.exit-popup__badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.exit-popup h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.exit-popup__form {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.exit-popup__form input[type="email"] {
  padding: 0.85rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
}
.exit-popup__form input[type="email"]:focus {
  outline: none;
  border-color: #0066ff;
}
.exit-popup__form .btn-cta-primary {
  background: #ff6b00;
  color: #ffffff;
  border: none;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.exit-popup__form .btn-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35);
}
.exit-popup__legal {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: #6b7280;
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 0.75rem;
  gap: 0.5rem;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.sticky-mobile-cta .sticky-btn {
  flex: 1;
  text-align: center;
  padding: 0.875rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.sticky-mobile-cta .sticky-btn i { font-size: 1.05rem; }
.sticky-mobile-cta .sticky-btn--call { background: #f3f4f6; color: #1a1a1a; }
.sticky-mobile-cta .sticky-btn--test { background: #ff6b00; color: #ffffff; }
@media (max-width: 768px) {
  .sticky-mobile-cta { display: flex; }
  body.has-sticky-cta { padding-bottom: 80px; }
}

/* ===== CALLBACK WIDGET ===== */
.floating-callback {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 998;
  background: #0066ff;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.floating-callback i { font-size: 1.1rem; }
.floating-callback:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.45);
}
@media (max-width: 768px) {
  .floating-callback { bottom: 5.5rem; padding: 0.7rem 1rem; }
  .floating-callback span { display: none; }
}
.callback-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.callback-modal[hidden] { display: none; }
.callback-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}
.callback-modal__content {
  position: relative;
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  color: #1a1a1a;
}
.callback-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}
.callback-modal__close:hover { color: #1a1a1a; }
.callback-modal h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.callback-modal__sub {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.callback-modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.callback-modal__form input,
.callback-modal__form select {
  padding: 0.85rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
}
.callback-modal__form input:focus,
.callback-modal__form select:focus {
  outline: none;
  border-color: #0066ff;
}
.callback-modal__form .btn-cta-primary {
  background: #ff6b00;
  color: #ffffff;
  border: none;
  padding: 0.95rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 0.25rem;
}
.callback-modal__form .btn-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.35);
}
.callback-modal__legal {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: #6b7280;
  text-align: center;
}
.callback-modal__feedback {
  margin-top: 0.85rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}
.callback-modal__feedback.is-success { background: #ecfdf5; color: #047857; }
.callback-modal__feedback.is-error   { background: #fef2f2; color: #b91c1c; }

/* ===== TESTIMONIALS / SOCIAL PROOF ===== */
.testimonials-section { background: #f9fafb; }
.testimonials-section .testimonial-card {
  border-radius: 0.85rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.testimonials-section .testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}
.testimonials-section .testimonial-avatar {
  object-fit: cover;
  width: 56px;
  height: 56px;
}
.testimonials-section .testimonial-avatar--initials {
  background: linear-gradient(135deg, #0066ff, #004cbf);
  color: #ffffff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.testimonials-section .testimonial-rating {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 1px;
}
.testimonials-section blockquote {
  font-style: italic;
  line-height: 1.55;
}

/* live counter — visible sur fond clair ET fond sombre */
.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-top: 1rem;
}
.live-counter .pulse-dot {
  width: 0.6rem;
  height: 0.6rem;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: live-pulse 1.6s infinite;
}
.live-counter strong { font-weight: 800; }
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.reviews-widget { background: #ffffff; }
.reviews-widget .reviews-fallback {
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  background: #f9fafb;
}
.reviews-widget .reviews-rating-stars {
  color: #f59e0b;
  font-size: 1.6rem;
  letter-spacing: 2px;
}

.client-logos {
  background: #ffffff;
  padding: 3rem 0;
}
.client-logos .client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  height: 90px;
  background: #f9fafb;
  border-radius: 0.75rem;
  text-align: center;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.85rem;
}
.client-logos .client-logo-item img {
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s;
}
.client-logos .client-logo-item img:hover {
  filter: none;
  opacity: 1;
}

/* ===== HEADER PHONE ===== */
.header-phone { color: inherit; }
.header-phone strong { font-weight: 700; }
