/* ==========================================================================
   components.css — Componentes compartilhados entre as seções
   (botões CTA, badges, ícones, carrosséis, cartões de CTA, textos)
   ========================================================================== */

/* ── Botões CTA ──────────────────────────────────────────────────────── */

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--cta);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.btn-cta--lg { padding: 20px clamp(24px, 7vw, 40px); }

.btn-cta--md {
  padding: 16px 32px;
  letter-spacing: 0.1em;
}

.btn-cta--sm {
  gap: 8px;
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.btn-cta--pulse { animation: ctaPulse 2.2s ease-in-out infinite; }

/* Brilho metálico que atravessa o botão (antes: style-after) */
.btn-cta--shine {
  position: relative;
  overflow: hidden;
}

.btn-cta--shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 26%;
  height: 100%;
  background: linear-gradient(115deg, transparent, var(--cta-shine), transparent);
  transform: skewX(-20deg);
  animation: metalShine 4.5s ease-in-out infinite;
  pointer-events: none;
}

.btn-cta__label { min-width: 0; }

/* Botão WhatsApp (seção ajuda) */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: var(--wa-ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 4px;
}

/* ── Badge "Diagnóstico Gratuito" ────────────────────────────────────── */

.badge-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  padding: 10px 26px 10px 18px;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%);
}

.badge-gold__dot {
  width: 7px;
  height: 7px;
  background: var(--ink);
  border-radius: 50%;
  animation: duoPulse 3s ease-in-out infinite;
}

.badge-gold__text {
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
}

/* ── Eyebrow (rótulo pequeno acima dos títulos) ─────────────────────── */

.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-weight: 600;
}

.eyebrow--light { color: var(--gold); }

/* ── Títulos de seção (Playfair, caixa alta) ────────────────────────── */

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-title--center { text-align: center; }

/* ── Textos utilitários ──────────────────────────────────────────────── */

.text-muted {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.strong-gold {
  color: var(--gold);
  font-weight: 700;
}

/* Ícone dourado em linha (dores / custo) */
.icon-gold {
  font-size: 22px;
  color: var(--gold);
  flex: 0 0 auto;
  margin-top: 1px;
}

/* ── Carrosséis ──────────────────────────────────────────────────────── */

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar { display: none; }
.carousel { scrollbar-width: none; }

.carousel__item {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

/* ── Card de CTA final (dentro dos carrosséis) ──────────────────────── */

.cta-card {
  background: linear-gradient(135deg, rgba(200, 164, 78, 0.14), rgba(200, 164, 78, 0.06));
  border: 1px solid var(--gold-soft);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-card--res {
  background: linear-gradient(135deg, rgba(200, 164, 78, 0.1), rgba(200, 164, 78, 0.05));
  border-color: rgba(200, 164, 78, 0.3);
}

.cta-card__rocket {
  position: relative;
  display: inline-flex;
  margin-bottom: 16px;
}

.cta-card__flame {
  position: absolute;
  bottom: 2px;
  left: 2px;
  width: 7px;
  height: 7px;
  background: radial-gradient(circle, var(--gold-light), var(--gold) 70%);
  border-radius: 50%;
  filter: blur(1px);
  animation: flameFlicker 0.5s ease-in-out infinite;
}

.cta-card__rocket-icon {
  font-size: 40px;
  color: var(--gold);
  font-variation-settings: 'FILL' 1;
  display: inline-block;
  animation: rocketShake 1.4s ease-in-out infinite;
}

.cta-card__label {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-card__text {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 24px;
}

.cta-card__text--light { color: #fff; }

/* ── Cartões com hover (antes: style-hover) ─────────────────────────── */

.card-hover {
  transition: transform var(--ease);
}

.card-hover:hover {
  transform: translateY(-6px);
}

/* ── Play overlay (vídeos e depoimentos) ────────────────────────────── */

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Trecho de texto dinâmico (peso/cor vêm dos dados via CSS vars) */
.txt-part {
  font-weight: var(--w, 400);
  color: var(--c, inherit);
}
