/* ═══════════════════════════════════════════════
 *  Shared Article CTA Components — EN + PT
 *  Used on: research articles, research hubs
 *  Version: 1
 * ═══════════════════════════════════════════════ */

/* ── ABOVE-FOLD CTA (after verdict / anvisa-callout) ── */
.article-cta-inline {
  background: linear-gradient(135deg, rgba(219,38,108,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(219,38,108,0.22);
  border-left: 3px solid var(--pink);
  padding: 24px 28px;
  margin: 0 0 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-cta-inline .cta-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink-text);
  margin-bottom: 6px;
}

.article-cta-inline .cta-headline {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 4px;
}

.article-cta-inline .cta-desc {
  font-size: 13px;
  color: var(--gray, #aaa);
  margin: 0;
  line-height: 1.6;
}

/* ── Shared CTA button ── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  background: var(--pink-hover);
  border: none;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn-cta:hover {
  background: var(--pink-hover);
  box-shadow: 0 0 40px rgba(219,38,108,0.35);
}

.btn-cta:focus-visible,
.btn-wa-article:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.btn-cta:visited { color: #fff; }

/* Override .container a color on research pages */
.container .btn-cta,
.container .btn-cta:visited,
.container .btn-cta:hover { color: #fff; text-decoration: none; }

/* ── END-OF-ARTICLE CTA (replaces old .cta-section / .article-footnote) ── */
.article-cta-end {
  text-align: center;
  padding: 48px 0;
  margin: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.article-cta-end .cta-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pink-text);
  margin-bottom: 16px;
}

.article-cta-end .section-heading {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
}

.article-cta-end .section-heading em {
  font-style: italic;
  color: var(--pink-text);
}

.article-cta-end .cta-desc {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ── WhatsApp CTA button (injected by article-wa-cta.js) ── */
.btn-wa-article {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  background: var(--green);
  border: none;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn-wa-article:hover {
  background: var(--green-hover);
  box-shadow: 0 0 40px rgba(37,211,102,0.3);
}

.btn-wa-article:visited { color: #fff; }

.container .btn-wa-article,
.container .btn-wa-article:visited,
.container .btn-wa-article:hover { color: #fff; text-decoration: none; }

/* ── CTA button row (order + whatsapp side-by-side) ── */
.cta-btn-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.article-cta-end .cta-btn-row {
  justify-content: center;
}

/* mobile-sticky-cta: styles in article.css */

  /* Stack CTA buttons full-width on mobile */
  .article-cta-inline .btn-cta {
    width: 100%;
    justify-content: center;
  }

  /* Stack CTA button row on mobile */
  .cta-btn-row {
    flex-direction: column;
    width: 100%;
  }

  .cta-btn-row .btn-cta,
  .cta-btn-row .btn-wa-article {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════
 *  Intent Router Cards
 *  Use on research + mixed-intent pages
 * ═══════════════════════════════════════════════ */
.intent-router {
  margin: 32px 0 48px;
}

.intent-router-heading {
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 300;
  color: var(--white, #f8f8f8);
  margin: 0 0 20px;
  line-height: 1.3;
}

.intent-router-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.intent-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 8px;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}

.intent-card:hover {
  border-color: var(--pink, #db266c);
  background: rgba(219,38,108,0.05);
}

.intent-card-label {
  font-family: var(--mono, 'DM Mono', monospace);
  font-size: 13px;
  font-weight: 500;
  color: var(--white, #f8f8f8);
  letter-spacing: 0.02em;
}

.intent-card-desc {
  font-size: 13px;
  color: var(--gray, #aaa);
  line-height: 1.5;
  margin: 0;
}

.intent-card-arrow {
  font-size: 12px;
  color: var(--pink, #db266c);
  margin-top: 4px;
}

/* Override article link colors inside intent cards */
.container .intent-card,
.container .intent-card:visited { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════════
 *  Trust Proof Strip
 *  Compact proof line for top of high-intent pages
 * ═══════════════════════════════════════════════ */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 16px 20px;
  margin: 0 0 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 6px;
  font-family: var(--mono, 'DM Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray, #aaa);
}

.trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.trust-strip-item .trust-val {
  color: var(--white, #f8f8f8);
  font-weight: 500;
}

.trust-strip-sep {
  width: 1px;
  height: 14px;
  background: var(--border, rgba(255,255,255,0.07));
  flex-shrink: 0;
}

.trust-strip a {
  color: var(--pink, #db266c);
  text-decoration: none;
  transition: color .2s;
}

.trust-strip a:hover {
  color: var(--pink-hover, #e63d7a);
  text-decoration: underline;
}

/* Override container link styles */
.container .trust-strip a,
.container .trust-strip a:visited { color: var(--pink, #db266c); }

@media (max-width: 768px) {
  .intent-router-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip {
    gap: 6px 12px;
    padding: 14px 16px;
    font-size: 10px;
  }
  .trust-strip-sep {
    display: none;
  }
}

/* ── H3 Subsection Heading (research articles) ── */
.subsection-heading {
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--white, #f8f8f8);
  margin: 48px 0 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
