/* ============================================================
   ELEVENT RECORD — Optimisations Conversion & SEO
============================================================ */

/* ==============================
   BANNIÈRE PROMO
============================== */
.promo-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: var(--gradient);
  color: #000;
  padding: 10px 50px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  transition: transform .3s ease, opacity .3s ease;
}

.promo-banner.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.promo-banner p { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }

.promo-badge {
  background: rgba(0,0,0,0.2);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.promo-cta {
  background: rgba(0,0,0,0.18);
  color: #000;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  transition: background .2s;
  white-space: nowrap;
  text-decoration: none;
}
.promo-cta:hover { background: rgba(0,0,0,0.32); }

.promo-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #000;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  opacity: .7;
  transition: opacity .2s;
}
.promo-close:hover { opacity: 1; }

/* Décaler le navbar quand la bannière est visible */
body.promo-visible .navbar { top: 42px; }
body.promo-visible .hero  { margin-top: 42px; }

/* ==============================
   SOCIAL PROOF HERO
============================== */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  padding: 8px 16px;
  width: fit-content;
}

.hero-stars {
  color: #F4B942;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
}

.hero-social-proof p {
  font-size: 12px;
  color: var(--white);
  font-weight: 400;
  margin: 0;
}

.hero-social-proof strong { font-weight: 600; }

/* ==============================
   STATS SECTION
============================== */
.stats-section {
  background: var(--bg);
  padding: 0 10px 10px;
}

.stats-inner {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  padding: 30px 20px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-family: var(--font);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  display: inline;
}

.stat-suffix {
  font-family: var(--font);
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 600;
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.stat-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ==============================
   BOUTON FLOTTANT CTA
============================== */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  transform: none;
  pointer-events: all;
}

.floating-phone {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background .25s, transform .25s;
}
.floating-phone svg { width: 18px; height: 18px; }
.floating-phone:hover { background: rgba(255,255,255,0.2); transform: scale(1.08); }

.floating-devis {
  background: var(--gradient);
  color: #000;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  padding: 13px 22px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(250,3,193,0.35);
  transition: transform .25s, box-shadow .25s;
}
.floating-devis svg { width: 13px; height: 13px; }
.floating-devis:hover { transform: scale(1.04); box-shadow: 0 12px 32px rgba(250,3,193,0.5); }

/* ==============================
   TRUST BADGES (section témoignages)
============================== */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .5px;
}

.trust-badge-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.trust-badge-icon--google { background: #4285F4; }
.trust-badge-icon--tp { background: #00b67a; }
.trust-badge-icon--m { background: #E91E8C; }

/* ==============================
   URGENCE / CTA dans contact CTA
============================== */
.cta-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250,3,193,0.12);
  border: 1px solid rgba(250,3,193,0.3);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 12px;
  color: #FA03C1;
  font-weight: 600;
  margin-bottom: 16px;
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(250,3,193,0.3); }
  50% { border-color: rgba(250,3,193,0.7); }
}

.cta-urgency::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FA03C1;
  flex-shrink: 0;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ==============================
   RESPONSIVE CONVERSION
============================== */
@media (max-width: 767px) {
  .promo-banner { font-size: 11px; padding: 10px 40px 10px 12px; }
  .promo-badge { display: none; }
  .stats-inner { flex-direction: column; gap: 20px; }
  .stat-divider { width: 50px; height: 1px; }
  .floating-cta { bottom: 20px; right: 16px; }
  .hero-social-proof { font-size: 11px; }
  .trust-badges { gap: 14px; }
}

@media (max-width: 480px) {
  .floating-devis { font-size: 12px; padding: 11px 16px; }
  .floating-phone { width: 42px; height: 42px; }
}
