/* ================================================================
   LANDING PAGE — ESTRUTURA PRONTA TIKTOK SHOP
   Tema: Dark Mode + Verde Neon / Roxo
   Fundo estilizado com elementos visuais do TikTok Shop
   ================================================================ */

/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --accent: #39ff14;
  --accent-glow: rgba(57, 255, 20, .35);
  --accent-secondary: #a855f7;
  --gradient-accent: linear-gradient(135deg, #39ff14 0%, #00e676 100%);
  --tiktok-cyan: #25f4ee;
  --tiktok-red: #fe2c55;
  --tiktok-pink: #ff0050;
  --radius: 14px;
  --max-width: 480px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

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

/* ================================================================
   FUNDO ESTILIZADO — ELEMENTOS VISUAIS DO TIKTOK SHOP
   Orbes de gradiente, nota musical flutuante, grid sutil
   ================================================================ */

/* Camada de fundo fixa com gradientes (orbes TikTok) */
.bg-decoration {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Orbe ciano (cor do TikTok) — canto superior direito */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
  animation: orb-float 14s ease-in-out infinite alternate;
}
.bg-orb--cyan {
  width: 400px;
  height: 400px;
  background: var(--tiktok-cyan);
  top: -100px;
  right: -120px;
}
.bg-orb--red {
  width: 350px;
  height: 350px;
  background: var(--tiktok-red);
  bottom: 20%;
  left: -140px;
  animation-delay: -5s;
  animation-duration: 18s;
}
.bg-orb--green {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 50%;
  right: -80px;
  opacity: .12;
  animation-delay: -8s;
  animation-duration: 20s;
}

@keyframes orb-float {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-30px, 40px) scale(1.1); }
  100% { transform: translate(20px, -20px) scale(.95); }
}

/* Grid pontilhada sutil de fundo — dá aspecto tech */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Notas musicais flutuantes (ícone icônico do TikTok) */
.bg-notes {
  position: absolute;
  inset: 0;
}
.bg-note {
  position: absolute;
  opacity: .1;
  animation: note-rise linear infinite;
}
.bg-note svg {
  fill: currentColor;
}
.bg-note--1 {
  color: var(--tiktok-cyan);
  left: 8%;
  bottom: -60px;
  animation-duration: 22s;
  animation-delay: 0s;
}
.bg-note--2 {
  color: var(--tiktok-red);
  left: 75%;
  bottom: -60px;
  animation-duration: 28s;
  animation-delay: -6s;
}
.bg-note--3 {
  color: var(--accent);
  left: 40%;
  bottom: -60px;
  animation-duration: 25s;
  animation-delay: -12s;
}
.bg-note--4 {
  color: var(--tiktok-pink);
  left: 90%;
  bottom: -60px;
  animation-duration: 30s;
  animation-delay: -3s;
}
.bg-note--5 {
  color: var(--tiktok-cyan);
  left: 22%;
  bottom: -60px;
  animation-duration: 26s;
  animation-delay: -15s;
}
.bg-note--6 {
  color: var(--accent-secondary);
  left: 58%;
  bottom: -60px;
  animation-duration: 24s;
  animation-delay: -9s;
}

@keyframes note-rise {
  0%   { transform: translateY(0) rotate(0deg) scale(.8);   opacity: 0; }
  5%   { opacity: .1; }
  90%  { opacity: .1; }
  100% { transform: translateY(-120vh) rotate(35deg) scale(1.1); opacity: 0; }
}

/* Ícones de sacola de compras flutuantes (TikTok Shop) */
.bg-shop {
  position: absolute;
  opacity: .08;
  animation: shop-float linear infinite;
}
.bg-shop svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bg-shop--1 {
  color: var(--tiktok-cyan);
  right: 12%;
  bottom: -50px;
  animation-duration: 32s;
  animation-delay: -4s;
}
.bg-shop--2 {
  color: var(--tiktok-red);
  left: 50%;
  bottom: -50px;
  animation-duration: 36s;
  animation-delay: -16s;
}
.bg-shop--3 {
  color: var(--accent);
  left: 15%;
  bottom: -50px;
  animation-duration: 34s;
  animation-delay: -22s;
}

@keyframes shop-float {
  0%   { transform: translateY(0) rotate(-5deg) scale(.9); opacity: 0; }
  5%   { opacity: .08; }
  90%  { opacity: .08; }
  100% { transform: translateY(-130vh) rotate(15deg) scale(1); opacity: 0; }
}

/* Linha diagonal decorativa estilo "scan" */
.bg-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(255,255,255,.015) 80px,
    rgba(255,255,255,.015) 81px
  );
}

/* ==================== CONTEÚDO ACIMA DO FUNDO ==================== */
.page-content {
  position: relative;
  z-index: 1;
}

/* ==================== LAYOUT ==================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

/* ==================== TOPBAR — BADGE ==================== */
.topbar {
  background: rgba(20, 20, 20, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #222;
  padding: 10px 0;
  text-align: center;
}
.topbar span {
  font-size: .75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ==================== HERO ==================== */
.hero {
  padding: 48px 0 36px;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  background: rgba(57, 255, 20, .1);
  border: 1px solid rgba(57, 255, 20, .25);
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__headline {
  font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #fff;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero__headline .highlight {
  color: var(--accent);
  position: relative;
}

.hero__sub {
  font-size: clamp(0.88rem, 3.5vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 32px;
}

/* ==================== CTA BUTTON ==================== */
/* ============================================================
   🔽 SUBSTITUA O LINK DO WHATSAPP NO HREF DOS BOTÕES 🔽
   Procure todos os <a> com classe "cta-btn" no HTML e substitua
   o valor do atributo href="https://wa.me/SEUNUMERO"
   pelo seu link real do WhatsApp
   ============================================================ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  min-height: 52px;
  padding: 16px 24px;
  background: var(--gradient-accent);
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 3.8vw, 1.05rem);
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 0 24px var(--accent-glow), 0 4px 20px rgba(0,0,0,.4);
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 40px var(--accent-glow), 0 8px 30px rgba(0,0,0,.5);
}
.cta-btn:active {
  transform: scale(.98);
}
.cta-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 24px var(--accent-glow), 0 4px 20px rgba(0,0,0,.4); }
  50%      { box-shadow: 0 0 44px var(--accent-glow), 0 4px 30px rgba(0,0,0,.5); }
}

/* ==================== PROOF BAR ==================== */
.proof-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 0 0;
}
.proof-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--text-secondary);
}
.proof-bar__item svg {
  width: 16px; height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==================== DIVIDER ==================== */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 3px;
  margin: 44px auto;
  opacity: .6;
}

/* ==================== BENEFITS ==================== */
.benefits {
  padding: 0 0 20px;
}
.benefits__title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: #fff;
}
.benefits__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.benefit-card {
  background: rgba(20, 20, 20, .7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #1f1f1f;
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color .3s, background .3s;
}
.benefit-card:hover {
  border-color: rgba(57, 255, 20, .25);
  background: rgba(26, 26, 26, .8);
}
.benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.benefit-card__icon--green  { background: rgba(57,255,20,.1); }
.benefit-card__icon--purple { background: rgba(168,85,247,.12); }
.benefit-card__icon--blue   { background: rgba(56,189,248,.1); }

.benefit-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.benefit-card__desc {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==================== HOW IT WORKS ==================== */
.steps {
  padding: 0 0 20px;
}
.steps__title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: #fff;
}
.step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.step__number {
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  background: rgba(57,255,20,.1);
  color: var(--accent);
  border: 1px solid rgba(57,255,20,.2);
  flex-shrink: 0;
}
.step__label {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 4px;
  color: #fff;
}
.step__desc {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==================== SOCIAL PROOF / STATS ==================== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 0 20px;
}
.stat-card {
  background: rgba(20, 20, 20, .7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #1f1f1f;
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
}
.stat-card__number {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card__label {
  font-size: clamp(0.6rem, 2.2vw, 0.7rem);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.3;
}

/* ==================== FAQ ==================== */
.faq {
  padding: 0 0 20px;
}
.faq__title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}
.faq-item {
  background: rgba(20, 20, 20, .7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #1f1f1f;
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  min-height: 48px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item__question:hover { background: var(--bg-card-hover); }
.faq-item__icon {
  width: 20px; height: 20px;
  transition: transform .3s ease;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-item.active .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 20px;
}
.faq-item.active .faq-item__answer {
  max-height: 200px;
  padding: 0 20px 18px;
}
.faq-item__answer p {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==================== FINAL CTA ==================== */
.final-cta {
  text-align: center;
  padding: 10px 0 120px;
}
.final-cta__title {
  font-size: clamp(1.15rem, 4.5vw, 1.35rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  word-break: break-word;
  overflow-wrap: break-word;
}
.final-cta__sub {
  font-size: .9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ==================== STICKY CTA (MOBILE) ==================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(to top, var(--bg-primary) 70%, transparent 100%);
  padding: 18px 20px calc(22px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .cta-btn {
  max-width: 360px;
  padding: 16px 24px;
  font-size: .95rem;
}

/* ==================== FOOTER ==================== */
.footer {
  text-align: center;
  padding: 0 0 calc(100px + env(safe-area-inset-bottom));
  font-size: .72rem;
  color: #555;
  line-height: 1.5;
}

/* ==================== ANIMATIONS — SCROLL REVEAL ==================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== SMALL PHONE ADJUSTMENTS (< 360px) ==================== */
@media (max-width: 359px) {
  .container { padding: 0 14px; }
  .hero { padding: 36px 0 28px; }
  .hero__badge { font-size: .65rem; padding: 5px 12px; }
  .topbar span { font-size: .68rem; letter-spacing: 1px; }
  .proof-fan__card { width: 100px; border-radius: 10px; }
  .proof-fan__card--1 { margin-right: -16px; }
  .proof-fan__card--3 { margin-left: -16px; }
  .stat-card { padding: 16px 8px; }
  .stat-card__number { font-size: 1.2rem; }
  .stat-card__label { font-size: .62rem; }
  .benefit-card { padding: 20px 16px; }
  .benefit-card__icon { width: 40px; height: 40px; font-size: 1.2rem; }
  .step__number { min-width: 36px; height: 36px; font-size: .85rem; }
  .faq-item__question { padding: 16px 14px; font-size: .85rem; }
  .faq-item__answer { padding: 0 14px; }
  .faq-item.active .faq-item__answer { padding: 0 14px 16px; }
  .final-cta__title { font-size: 1.15rem; }
  .divider { margin: 32px auto; }
}

/* ==================== MEDIUM PHONE (360-479px) ==================== */
@media (min-width: 360px) and (max-width: 479px) {
  .proof-fan__card { width: clamp(130px, 30vw, 160px); }
}

/* ==================== LARGER PHONE (480px+) — proof bar row ==================== */
@media (min-width: 480px) {
  .proof-bar {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
  }
}

/* ==================== DESKTOP ADJUSTMENTS ==================== */
@media (min-width: 600px) {
  :root { --max-width: 540px; }
  .hero__headline { font-size: 2.2rem; }
  .benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .bg-orb--cyan  { width: 600px; height: 600px; }
  .bg-orb--red   { width: 500px; height: 500px; }
  .bg-orb--green { width: 450px; height: 450px; }
  .proof-fan { gap: 0; }
  .proof-fan__card { width: 220px; border-radius: 16px; }
  .proof-fan__card--1 { transform: rotate(-10deg) translateY(10px); }
  .proof-fan__card--2 { transform: rotate(0deg) translateY(-18px) scale(1.06); z-index: 3; }
  .proof-fan__card--3 { transform: rotate(10deg) translateY(10px); }
}

/* ==================== PROVA VISUAL — PRINTS EM LEQUE ==================== */
.proof-screens {
  padding: 0 0 20px;
}
.proof-screens__title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}
.proof-screens__sub {
  text-align: center;
  font-size: .88rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Container em leque */
.proof-fan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  position: relative;
  padding: 20px 0 10px;
}

/* Card individual */
.proof-fan__card {
  width: clamp(120px, 28vw, 180px);
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #2a2a2a;
  box-shadow:
    0 8px 32px rgba(0,0,0,.6),
    0 0 0 1px rgba(255,255,255,.04);
  transition: transform .4s cubic-bezier(.25,.8,.25,1), box-shadow .4s ease;
  position: relative;
  z-index: 1;
  background: var(--bg-card);
}
.proof-fan__card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Posição em leque — Mobile */
.proof-fan__card--1 {
  transform: rotate(-8deg) translateY(8px);
  margin-right: -24px;
  z-index: 1;
}
.proof-fan__card--2 {
  transform: rotate(0deg) translateY(-14px) scale(1.05);
  z-index: 3;
  border-color: var(--accent);
  box-shadow:
    0 8px 32px rgba(0,0,0,.6),
    0 0 20px rgba(57, 255, 20, .15),
    0 0 0 1px rgba(57, 255, 20, .2);
}
.proof-fan__card--3 {
  transform: rotate(8deg) translateY(8px);
  margin-left: -24px;
  z-index: 1;
}

/* Hover nos cards */
.proof-fan__card:hover {
  transform: rotate(0deg) translateY(-22px) scale(1.08) !important;
  z-index: 10 !important;
  box-shadow:
    0 16px 48px rgba(0,0,0,.7),
    0 0 30px rgba(57, 255, 20, .2),
    0 0 0 2px var(--accent);
}

/* Brilho de reflexo no topo do card */
.proof-fan__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(255,255,255,.06), transparent);
  pointer-events: none;
  z-index: 2;
  border-radius: 16px 16px 0 0;
}

/* Animação flutuante leve (translate para não afetar layout) */
.proof-fan__card--1 { animation: card-float-1 5s ease-in-out infinite; }
.proof-fan__card--2 { animation: card-float-2 5s ease-in-out infinite .8s; }
.proof-fan__card--3 { animation: card-float-3 5s ease-in-out infinite 1.6s; }

@keyframes card-float-1 {
  0%, 100% { transform: rotate(-8deg) translateY(8px); }
  50%      { transform: rotate(-8deg) translateY(2px); }
}
@keyframes card-float-2 {
  0%, 100% { transform: rotate(0deg) translateY(-14px) scale(1.05); }
  50%      { transform: rotate(0deg) translateY(-20px) scale(1.05); }
}
@keyframes card-float-3 {
  0%, 100% { transform: rotate(8deg) translateY(8px); }
  50%      { transform: rotate(8deg) translateY(2px); }
}
