/* ═══════════════════════════════════════════════════════
   home-cta.css — CTAs contextuais + sticky bar
   ═══════════════════════════════════════════════════════ */

/* ── Sticky bottom bar ───────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.sticky-cta--visible {
  transform: translateY(0);
}
.sticky-cta__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}
.sticky-cta__text strong {
  color: #fff;
  font-weight: 600;
}
.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
  flex-shrink: 0;
}
.sticky-cta__btn:hover {
  background: #e6e6e6;
  transform: translateY(-1px);
}
.sticky-cta__dismiss {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.2);
  padding: 4px;
  line-height: 1;
  font-size: 18px;
  transition: color 0.15s;
  flex-shrink: 0;
}
.sticky-cta__dismiss:hover {
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 600px) {
  .sticky-cta {
    gap: 12px;
    padding: 12px 16px;
  }
  .sticky-cta__text {
    display: none;
  }
}

/* ── Section-level CTA block ─────────────────────────── */
.section-cta {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-cta__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.section-cta__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.section-cta__sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}
.section-cta__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .section-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-cta__actions {
    width: 100%;
  }
  .section-cta__actions .btn-primary,
  .section-cta__actions .btn-outline {
    flex: 1;
    justify-content: center;
  }
}

/* ── Marketers section ───────────────────────────────── */
.mkt-section {
  padding: 80px 0;
  background: #0a0a0a;
}
.mkt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.mkt-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mkt-copy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5a623;
  margin-bottom: 16px;
}
.mkt-copy__eyebrow svg {
  flex-shrink: 0;
}
.mkt-copy__title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}
.mkt-copy__title span {
  background: linear-gradient(90deg, #f5a623 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mkt-copy__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.65;
  margin-bottom: 28px;
}
.mkt-proof {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.mkt-proof__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.mkt-proof__check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #f5a623;
}
.mkt-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.mkt-cta__primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 0.15s,
    transform 0.15s;
}
.mkt-cta__primary:hover {
  background: #e6e6e6;
  transform: translateY(-1px);
}
.mkt-cta__secondary {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.15s;
}
.mkt-cta__secondary:hover {
  color: rgba(255, 255, 255, 0.7);
}
.mkt-demo-wrap {
  position: relative;
}
.mkt-demo-wrap::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    ellipse,
    rgba(245, 166, 35, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
@media (max-width: 900px) {
  .mkt-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mkt-copy__title {
    font-size: 32px;
  }
}

/* ══════════════════════════════════════════════════════
   hfGrid — "Included in every plan"
   Badges (Unlimited, 1800+, etc.) com destaque vibrante
   ══════════════════════════════════════════════════════ */

/* Sobrescreve o badge genérico do home.css */
.hf-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;

  /* base — ficará invisível até --show */
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;

  /* default: azul neon */
  background: rgba(0, 112, 243, 0.15);
  color: #3291ff;
  border: 1px solid rgba(50, 145, 255, 0.35);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.hf-badge--show {
  opacity: 1;
  transform: scale(1);
}

/*
  Badges com valor "Unlimited" ou "2×" → verde neon
  Usamos nth-child nos hf-card para mapear quais são
  Alternativa mais robusta: classes diretas no JS — veja hfGrid.js
  Por ora, fazemos pelo conteúdo via :has() onde suportado, mais
  fallback pelo índice dos 8 cards:

  Cards 1,2,3,4,5,8 → "Unlimited / Unlimited / Unlimited / Unlimited / Unlimited / < 2s auto"
  Cards 6       → "1,800+"   (amber)
  Cards 7       → "2× every plan" (verde)
*/

/* Verde — "Unlimited" + "2× every plan" + "< 2s auto" */
.hf-card:nth-child(1) .hf-badge,
.hf-card:nth-child(2) .hf-badge,
.hf-card:nth-child(3) .hf-badge,
.hf-card:nth-child(4) .hf-badge,
.hf-card:nth-child(5) .hf-badge,
.hf-card:nth-child(7) .hf-badge,
.hf-card:nth-child(8) .hf-badge {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}

/* Amber — "1,800+" templates */
.hf-card:nth-child(6) .hf-badge {
  background: rgba(245, 166, 35, 0.12);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}

/*
  Alternativa robusta via data-attribute (adicione data-badge-type ao JS):
  .hf-badge[data-type="unlimited"] { verde }
  .hf-badge[data-type="count"]     { amber }
  .hf-badge[data-type="speed"]     { azul }
  Veja comentário no hfGrid.js
*/

/* ── hf-eyebrow — levemente mais visível ── */
.hf-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25); /* era #444, agora um pouco mais legível */
  margin-bottom: 20px;
}

/* ── hf-old (texto riscado) — um toque mais visível ── */
.hf-old {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.22);
  text-decoration: line-through;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hf-old--show {
  opacity: 1;
}

/* ══════════════════════════════════════════════════════
   hfGrid badges — via data-badge-type (robusto, JS-driven)
   Sobrescreve o nth-child acima quando o JS estiver carregado
   ══════════════════════════════════════════════════════ */

/* Verde — Unlimited, 2× every plan, ratio */
.hf-badge[data-badge-type="unlimited"],
.hf-badge[data-badge-type="ratio"] {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}

/* Amber — contagens como "1,800+" */
.hf-badge[data-badge-type="count"] {
  background: rgba(245, 166, 35, 0.12);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}

/* Azul neon — speed / performance */
.hf-badge[data-badge-type="speed"] {
  background: rgba(0, 112, 243, 0.15);
  color: #3291ff;
  border-color: rgba(50, 145, 255, 0.35);
}
