/* ==========================================================================
   ClonaPro — estilos compartilhados
   Temas: .theme-insta (roxo) | .theme-whats (verde) | .theme-hub (neutro)
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, .font-display {
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ----------------------------------------------------- Temas */

.theme-insta {
  --bg: #120a1c;
  --fg: #f7f2fb;
  --card: #1c1029;
  --muted: #b9a8cd;
  --border: #34204c;
  --primary: #a855f7;
  --primary-soft: #c084fc;
  --gradient-hero: linear-gradient(135deg, #a855f7 0%, #8b5cf6 50%, #6d28d9 100%);
  --gradient-cta: linear-gradient(90deg, #a855f7, #7c3aed);
  --gradient-text: linear-gradient(90deg, #d8b4fe, #a855f7);
  --shadow-neon: 0 10px 40px -10px rgba(168, 85, 247, .6), 0 0 60px -20px rgba(124, 58, 237, .5);
}

.theme-whats {
  --bg: #06140f;
  --fg: #f1fbf6;
  --card: #0e2119;
  --muted: #a3c4b4;
  --border: #1d3d2d;
  --primary: #25d366;
  --primary-soft: #6ee7a8;
  --gradient-hero: linear-gradient(135deg, #25d366 0%, #12b981 50%, #0b7a5e 100%);
  --gradient-cta: linear-gradient(90deg, #25d366, #0e9f6e);
  --gradient-text: linear-gradient(90deg, #86efac, #25d366);
  --shadow-neon: 0 10px 40px -10px rgba(37, 211, 102, .6), 0 0 60px -20px rgba(14, 159, 110, .5);
}

.theme-tiktok {
  --bg: #041017;
  --fg: #f0fdfa;
  --card: #081a24;
  --muted: #8ba8b8;
  --border: #133547;
  --primary: #00f2fe;
  --primary-soft: #67e8f9;
  --gradient-hero: linear-gradient(135deg, #00f2fe 0%, #0891b2 50%, #0369a1 100%);
  --gradient-cta: linear-gradient(90deg, #00bceb, #0284c7);
  --gradient-text: linear-gradient(90deg, #a5f3fc, #00f2fe);
  --shadow-neon: 0 10px 40px -10px rgba(0, 242, 254, .6), 0 0 60px -20px rgba(2, 132, 199, .5);
}

.theme-hub {
  --bg: #0a0714;
  --fg: #f6f3fb;
  --card: #150f24;
  --muted: #a99dc0;
  --border: #2a2040;
  --primary: #a855f7;
  --primary-soft: #c084fc;
  --gradient-hero: linear-gradient(135deg, #a855f7 0%, #6d28d9 50%, #25d366 100%);
  --gradient-cta: linear-gradient(90deg, #a855f7, #7c3aed);
  --gradient-text: linear-gradient(90deg, #d8b4fe, #86efac);
  --shadow-neon: 0 10px 40px -10px rgba(168, 85, 247, .5), 0 0 60px -20px rgba(37, 211, 102, .35);
}

/* ----------------------------------------------------- Utilitários */

.wrap      { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-sm   { max-width: 780px;  margin: 0 auto; padding: 0 20px; }
.wrap-md   { max-width: 940px;  margin: 0 auto; padding: 0 20px; }
.section   { padding: 64px 0; }
.center    { text-align: center; }
.muted     { color: var(--muted); }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

/* ----------------------------------------------------- Botão CTA */

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 34px;
  border-radius: 999px;
  background: var(--gradient-cta);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-neon);
  animation: pulseGlow 2.4s ease-in-out infinite;
  transition: transform .2s ease, filter .2s ease;
}

.btn-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-2px) scale(1.02);
}

.btn-cta svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ----------------------------------------------------- Cabeçalho */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: Poppins, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--gradient-cta);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-neon);
}

.logo-mark svg { width: 21px; height: 21px; color: #fff; }

/* Marca oficial ClonaPro (máscara roxa extraída da identidade da oferta) */
.logo-img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 14px color-mix(in srgb, var(--primary) 45%, transparent));
}

.theme-whats .logo-img { filter: hue-rotate(-128deg) saturate(1.2) drop-shadow(0 4px 14px rgba(37, 211, 102, .45)); }
.theme-tiktok .logo-img { filter: drop-shadow(0 4px 14px rgba(0, 242, 254, .45)); }

.footer .logo-img { height: 26px; }

/* 'Pro' sólido, como no lockup oficial da marca */
.logo .brand-pro { color: var(--primary); }

/* ----------------------------------------------------- Hero */

.hero {
  display: grid;
  gap: 48px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 72px;
}

@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; }
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.3rem, 6vw, 3.7rem);
  line-height: 1.05;
}

.hero-sub {
  margin-top: 20px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34rem;
}

.hero-sub b { color: var(--fg); }

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.hero-note svg { width: 16px; height: 16px; color: var(--primary); }

.social-proof {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.avatar-stack { display: flex; }

.avatar-stack img {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--bg);
  margin-right: -8px;
}

.avatar-stack img:last-child { margin-right: 0; }

.hero-art { position: relative; animation: float 5s ease-in-out infinite; }

.hero-art::before {
  content: "";
  position: absolute;
  inset: -32px;
  background: var(--gradient-hero);
  opacity: .28;
  filter: blur(60px);
  border-radius: 999px;
}

.hero-art svg {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-neon);
}

/* ----------------------------------------------------- Cards */

.section-head { max-width: 640px; margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4.4vw, 2.4rem); }
.section-head p { margin-top: 12px; color: var(--muted); }

.grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  padding: 26px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px -8px rgba(0, 0, 0, .5);
  transition: border-color .2s ease, transform .2s ease;
}

.card:hover {
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  transform: translateY(-2px);
}

.card h3 { margin-top: 16px; font-size: 1.06rem; font-weight: 700; }
.card p  { margin: 6px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--gradient-cta);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-neon);
}

.card-icon svg { width: 20px; height: 20px; color: #fff; }

.step-num {
  font-family: Poppins, sans-serif;
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1;
}

.step h3 { margin-top: 12px; font-size: 1.2rem; }

.hint {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.cta-row { margin-top: 40px; display: flex; justify-content: center; }

/* ----------------------------------------------------- Depoimentos */

.testimonials { margin-top: 48px; display: flex; flex-direction: column; gap: 32px; }

.testimonial {
  border-radius: 26px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  padding: 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px -8px rgba(0, 0, 0, .5);
  transition: border-color .2s ease;
}

.testimonial:hover { border-color: color-mix(in srgb, var(--primary) 50%, transparent); }

.testimonial-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

@media (min-width: 640px) {
  .testimonial { padding: 32px; }
  .testimonial-inner { flex-direction: row; align-items: flex-start; text-align: left; }
}

.testimonial-photo { position: relative; flex-shrink: 0; }

.testimonial-photo::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: var(--gradient-cta);
  opacity: .7;
  filter: blur(6px);
}

.testimonial-photo img {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid var(--bg);
}

.testimonial-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media (min-width: 640px) { .testimonial-head { justify-content: flex-start; } }

.testimonial-head h3 { font-size: 1.16rem; }

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  border-radius: 999px;
  padding: 3px 9px;
}

.badge-verified svg { width: 12px; height: 12px; }

.stars { margin-top: 6px; color: var(--primary); font-size: 13px; letter-spacing: 1px; }

.quote {
  margin: 16px 0 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--fg) 90%, transparent);
}

.quote-mark {
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
  vertical-align: -0.12em;
}

/* ----------------------------------------------------- Banner de garantia */

.guarantee {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  background:
    radial-gradient(120% 140% at 12% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 60%),
    color-mix(in srgb, var(--card) 80%, transparent);
  padding: 36px 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px -8px rgba(0, 0, 0, .5);
}

@media (min-width: 720px) {
  .guarantee { flex-direction: row; text-align: left; padding: 40px; gap: 36px; }
}

.guarantee-seal {
  width: 148px;
  height: 148px;
  flex-shrink: 0;
  color: var(--primary);
  filter: drop-shadow(0 8px 26px color-mix(in srgb, var(--primary) 40%, transparent));
  animation: sealPulse 3.6s ease-in-out infinite;
}

.guarantee h2 { font-size: clamp(1.5rem, 3.6vw, 2.05rem); }
.guarantee p  { margin: 12px 0 0; color: var(--muted); line-height: 1.6; max-width: 40rem; }

.guarantee-points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  font-size: 13px;
  font-weight: 600;
}

@media (min-width: 720px) { .guarantee-points { justify-content: flex-start; } }

.guarantee-points li { display: inline-flex; align-items: center; gap: 7px; }
.guarantee-points svg { width: 15px; height: 15px; color: var(--primary); flex-shrink: 0; }

/* ----------------------------------------------------- Back redirect */

.bkr-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primary);
  animation: pulse 1.8s ease-in-out infinite;
}

.bkr {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}

.bkr h1 {
  margin-top: 22px;
  font-size: clamp(2rem, 5.4vw, 3.2rem);
  line-height: 1.08;
}

.bkr-lead {
  margin: 20px auto 0;
  max-width: 40rem;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--muted);
}

.bkr-lead b { color: var(--fg); }

.price-card {
  margin: 36px auto 0;
  max-width: 520px;
  width: 100%;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  background: color-mix(in srgb, var(--card) 85%, transparent);
  padding: 32px 26px;
  box-shadow: var(--shadow-neon);
}

.price-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.price {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  font-family: Poppins, sans-serif;
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
}

.price .cur  { font-size: 1.5rem; margin-top: 8px; }
.price .amt  { font-size: clamp(3.4rem, 11vw, 4.6rem); letter-spacing: -0.03em; }

.price-note { margin-top: 10px; font-size: 13px; color: var(--muted); }

.price-card .btn-cta { margin-top: 26px; width: 100%; }

.bkr-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  text-align: left;
}

.bkr-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; }
.bkr-list svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

.bkr-warning {
  margin: 28px auto 0;
  max-width: 34rem;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ----------------------------------------------------- FAQ */

.faq { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }

.faq-item {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  padding: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  backdrop-filter: blur(8px);
}

.faq-item > svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.faq-item h3 { font-size: 1rem; font-weight: 700; }
.faq-item p  { margin: 6px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* ----------------------------------------------------- Oferta final */

.offer {
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  background: var(--gradient-hero);
  padding: 48px 28px;
  text-align: center;
  box-shadow: var(--shadow-neon);
  position: relative;
  overflow: hidden;
}

.offer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--bg) 45%, transparent);
}

.offer > * { position: relative; }

.offer h2 { margin-top: 16px; font-size: clamp(1.9rem, 5vw, 3rem); color: #fff; }
.offer p  { margin: 16px auto 0; max-width: 34rem; color: rgba(255, 255, 255, .9); }

.offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.offer-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, .9);
}

.trust span { display: inline-flex; align-items: center; gap: 5px; }
.trust svg  { width: 14px; height: 14px; }

/* ----------------------------------------------------- Rodapé */

.footer {
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  padding: 40px 0;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer a { color: var(--primary); font-weight: 600; text-decoration: none; }
.footer .copy { font-size: 12px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.back-link:hover { color: var(--fg); }
.back-link svg { width: 15px; height: 15px; }

/* ----------------------------------------------------- Hub */

.hub {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* evita que conteudo mais alto que a viewport seja cortado no topo */
  justify-content: safe center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hub h1 {
  margin-top: 20px;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.08;
}

.hub-choices {
  margin-top: 48px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 28px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  text-decoration: none;
  text-align: center;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}

.choice::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 200px;
  background: var(--choice-glow);
  opacity: .22;
  filter: blur(60px);
}

.choice:hover { transform: translateY(-4px); border-color: var(--choice-color); }

.choice > * { position: relative; }

.choice-icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--choice-glow);
  box-shadow: 0 10px 36px -12px var(--choice-color);
}

.choice-icon svg { width: 34px; height: 34px; color: #fff; }

.choice h2 { font-size: 1.5rem; }
.choice p  { margin: 0; font-size: .9rem; color: var(--muted); max-width: 22rem; line-height: 1.55; }

.choice-go {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--choice-glow);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 8px 28px -10px var(--choice-color);
}

.choice-go svg { width: 16px; height: 16px; }

.choice-insta { --choice-color: #a855f7; --choice-glow: linear-gradient(135deg, #a855f7, #7c3aed); }
.choice-whats { --choice-color: #25d366; --choice-glow: linear-gradient(135deg, #25d366, #0e9f6e); }
.choice-tiktok { --choice-color: #00f2fe; --choice-glow: linear-gradient(135deg, #00f2fe, #0284c7); }

.hub-trust {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  font-size: 12px;
  color: var(--muted);
}

.hub-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hub-trust svg  { width: 14px; height: 14px; color: var(--primary); }

/* ----------------------------------------------------- Animações */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

@keyframes sealPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: var(--shadow-neon); }
  50%      { box-shadow: 0 14px 52px -10px color-mix(in srgb, var(--primary) 75%, transparent); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
