/**
 * seo-cta.css — CTA simulateur pour pages SEO / FAQ
 * Utilisé par : cas-concrets/, guides/, lexique/
 * Ne pas modifier les balises FAQPage JSON-LD.
 */

/* ── CTA article (bloc mid-content ou fin d'article) ──────────────── */
.cta-simulateur {
  background: #18304a;
  border-radius: 16px;
  padding: 28px 32px;
  margin: 36px 0;
  text-align: center;
  color: #f0ece4;
}
.cta-simulateur__hook {
  font-size: 0.88rem;
  color: rgba(240, 236, 228, 0.6);
  margin-bottom: 6px;
}
.cta-simulateur__title {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.35;
  color: #f0ece4;
}
.cta-simulateur__btn {
  display: inline-block;
  background: #e8a830;
  color: #18304a;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.cta-simulateur__btn:hover {
  background: #f5c452;
  color: #18304a;
  transform: translateY(-1px);
}
.cta-simulateur__note {
  font-size: 0.72rem;
  color: rgba(240, 236, 228, 0.35);
  margin-top: 12px;
}

/* ── CTA compact inline dans une réponse FAQ ─────────────────────── */
.faq-cta {
  margin: 2px 0 14px;
  padding: 10px 14px;
  background: #eaf6f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.faq-cta__text {
  font-size: 0.82rem;
  color: #1a2f42;
  font-style: italic;
  flex: 1;
}
.faq-cta__btn {
  display: inline-block;
  background: #18304a;
  color: #f0ece4;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 7px 15px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.faq-cta__btn:hover {
  background: #e8a830;
  color: #18304a;
}

/* ── CTA fin de bloc FAQ ─────────────────────────────────────────── */
.cta-faq-end {
  margin: 20px 0 8px;
  padding: 16px 20px;
  background: #f0f7fc;
  border: 1px solid #dde8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-faq-end__text {
  font-size: 0.88rem;
  color: #1a2f42;
  font-weight: 600;
  flex: 1;
}
.cta-faq-end__btn {
  display: inline-block;
  background: #18304a;
  color: #f0ece4;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 9px 18px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cta-faq-end__btn:hover {
  background: #e8a830;
  color: #18304a;
}

/* ── Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 540px) {
  .cta-simulateur { padding: 22px 20px; }
  .cta-simulateur__btn { display: block; width: 100%; box-sizing: border-box; }
  .faq-cta, .cta-faq-end { flex-direction: column; align-items: flex-start; }
  .faq-cta__btn, .cta-faq-end__btn { align-self: stretch; text-align: center; }
}
