/* ============================================
   KeyZen — CTA avec icônes (anti friction cognitive)
   ============================================ */

/* L'icône dans un bouton */
.btn svg.cta-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2;
  transition: transform 260ms var(--ease);
}

/* Flèche qui avance au hover (indicateur de passage à l'action) */
.btn:hover svg.cta-icon-arrow {
  transform: translateX(3px);
}
.btn:hover svg.cta-icon-external {
  transform: translate(2px, -2px);
}

/* WhatsApp : teinte conservée malgré btn-outline/primary */
.btn-whatsapp {
  background: #25D366 !important;
  color: white !important;
  border-color: transparent !important;
}
.btn-whatsapp:hover {
  background: #1ebe5b !important;
  color: white !important;
  transform: translateY(-2px);
}

/* CTA avec micro-copy en dessous */
.cta-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.cta-wrap.center { align-items: center; }
.cta-microcopy {
  font-size: 0.75rem;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.02em;
}
.cta-microcopy::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Groupe de boutons alignés horizontalement, microcopy en dessous */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.cta-group .cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero specific */
.hero-actions .cta-group { align-items: flex-start; }

/* CTA band centré */
.cta-band .cta-group { align-items: center; }
.cta-band .cta-group .cta-buttons { justify-content: center; }
/* CR 08/2026 : contraste renforcé — microcopy en sable clair sur fond vert.
   Ratio de contraste >= 6:1 (WCAG AA large). */
.cta-band .cta-microcopy {
  color: #e8dfc8;
  font-weight: 500;
}
.cta-band .cta-microcopy::before {
  background: #e8dfc8;
  opacity: 0.9;
}

/* Badge en haut du CTA band (« SANS ENGAGEMENT ») — CR 08/2026 */
.cta-band-badge {
  background: rgba(232, 223, 200, 0.16) !important;
  color: #f4ecd5 !important;
  border: 1px solid rgba(232, 223, 200, 0.32);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.cta-band-badge .badge-dot {
  background: #e8dfc8;
  box-shadow: 0 0 0 3px rgba(232, 223, 200, 0.22);
}

/* WhatsApp float : ajouter un tooltip textuel persistant sur desktop */
@media (min-width: 601px) {
  .whatsapp-float::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    background: var(--ink);
    color: var(--bg);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  }
  .whatsapp-float:hover::after {
    opacity: 1;
    transform: translateY(0);
  }
}
