/* ═══════════════════════════════════════════
   VARIÁVEIS & RESET
═══════════════════════════════════════════ */
:root {
  --gold:         #d4a017;
  --gold-light:   #f5c842;
  --gold-dark:    #8b6914;
  --purple-deep:  #0d0618;
  --purple-mid:   #1a0b2e;
  --purple-med:   #2a1250;
  --rose-dark:    #9f1239;
  --rose-mid:     #be123c;
  --text-muted:   #9ca3af;

}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* Garante que .hidden funcione mesmo sem o Tailwind carregado */
.hidden { display: none !important; }

/* ═══════════════════════════════════════════
   SEÇÃO 1 — LAYOUT ESTRUTURAL (sem Tailwind)
═══════════════════════════════════════════ */
#sec-cards {
  /* Não usar justify-content:center — o overflow ficaria acima do topo */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2.5rem 1rem 3rem;
  position: relative;
  width: 100%;
}

#sparkles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#sec-cards-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 48rem;
}

#logo-wrap {
  margin-bottom: 1.75rem;
  text-align: center;
}

#progress-wrap {
  width: 100%;
  max-width: 20rem;
  margin-bottom: 0.6rem;
}

#urgency-badge {
  margin-bottom: 1.75rem;
}

#result-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ═══════════════════════════════════════════
   FUNDO SEÇÃO 1 — CÉU COM NUVENS
═══════════════════════════════════════════ */
.cloud-bg {
  background:
    /* Nuvens grandes — camada superior */
    radial-gradient(ellipse 55%  28% at  8%  18%, rgba(255,255,255,0.96) 0%, transparent 100%),
    radial-gradient(ellipse 35%  18% at 22%  10%, rgba(255,255,255,0.90) 0%, transparent 100%),
    radial-gradient(ellipse 48%  25% at 78%  15%, rgba(255,255,255,0.95) 0%, transparent 100%),
    radial-gradient(ellipse 40%  20% at 55%   8%, rgba(255,255,255,0.88) 0%, transparent 100%),
    /* Nuvens médias — camada do meio */
    radial-gradient(ellipse 50%  22% at 92%  38%, rgba(255,255,255,0.85) 0%, transparent 100%),
    radial-gradient(ellipse 42%  20% at  3%  48%, rgba(255,255,255,0.82) 0%, transparent 100%),
    radial-gradient(ellipse 38%  18% at 45%  42%, rgba(255,255,255,0.75) 0%, transparent 100%),
    /* Nuvens difusas — parte inferior */
    radial-gradient(ellipse 60%  30% at 70%  72%, rgba(255,255,255,0.70) 0%, transparent 100%),
    radial-gradient(ellipse 45%  22% at 20%  80%, rgba(255,255,255,0.65) 0%, transparent 100%),
    /* Gradiente de céu base */
    linear-gradient(180deg,
      #5ba3d0 0%,
      #7cbde0 12%,
      #a8d4ec 28%,
      #c8e4f4 45%,
      #deeef8 60%,
      #eef6fc 75%,
      #f8f4ff 88%,
      #fff8ff 100%
    );
  position: relative;
}

/* Nuvens extras com pseudo-elementos para mais profundidade */
.cloud-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 30% 14% at 35% 28%, rgba(255,255,255,0.60) 0%, transparent 100%),
    radial-gradient(ellipse 25% 12% at 65% 33%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(ellipse 28% 13% at 15% 62%, rgba(255,255,255,0.50) 0%, transparent 100%),
    radial-gradient(ellipse 32% 15% at 85% 65%, rgba(255,255,255,0.48) 0%, transparent 100%);
}

.cloud-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Névoa suave na parte inferior para fundir com o conteúdo */
  background: linear-gradient(to bottom,
    transparent 60%,
    rgba(248, 240, 255, 0.35) 80%,
    rgba(245, 235, 255, 0.55) 100%
  );
}

/* ═══════════════════════════════════════════
   FUNDO SEÇÃO ESCURA
═══════════════════════════════════════════ */
.dark-section {
  background-color: var(--purple-deep);
  color: #e5e7eb;
}

/* ═══════════════════════════════════════════
   LOGO IMAGEM
═══════════════════════════════════════════ */
.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(140, 60, 100, 0.25));
}

@media (min-width: 640px) {
  .logo-img { height: 100px; }
}

/* ═══════════════════════════════════════════
   HEADLINE HERO (SEÇÃO 1)
═══════════════════════════════════════════ */
.hero-headline {
  font-size: clamp(1.6rem, 7vw, 3.4rem);
  color: #be1258;
  text-shadow: 0 2px 12px rgba(190, 18, 88, 0.18);
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
  text-align: center;
  line-height: 1.2;
  font-weight: 900;
}
.hero-accent {
  color: #9f1239;
  display: inline-block;
  position: relative;
}
.hero-sub {
  font-size: clamp(0.92rem, 3.5vw, 1.3rem);
  color: #5a3a50;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.25rem;
}

/* ═══════════════════════════════════════════
   BARRA DE PROGRESSO
═══════════════════════════════════════════ */
.progress-track {
  height: 8px;
  background: rgba(200, 170, 210, 0.3);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #db2777, #9f1239);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════
   BADGE DE URGÊNCIA (SEÇÃO 1)
═══════════════════════════════════════════ */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(254, 226, 226, 0.75);
  border: 1.5px solid #fca5a5;
  color: #991b1b;
  font-size: 0.86rem;
  padding: 9px 26px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  backdrop-filter: blur(6px);
}

/* Barra de urgência (seção 3) */
.urgency-bar {
  background: linear-gradient(90deg, #2a1250, #3d1080, #2a1250);
  border-bottom: 1px solid rgba(212, 160, 23, 0.25);
  padding: 13px 20px;
  text-align: center;
  font-size: 0.87rem;
  letter-spacing: 0.4px;
  color: var(--gold-light);
}
.urgency-bar strong { color: #fff; }

/* ═══════════════════════════════════════════
   CARTAS — FLIP 3D
═══════════════════════════════════════════ */
/* Grade de cartas — 3×3 em todas as telas */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.card-wrap {
  width: 100%;
  aspect-ratio: 5 / 8;   /* proporção retrato de tarô */
  min-height: 120px;      /* fallback para browsers sem suporte a aspect-ratio */
  position: relative;     /* necessário para height:100% no filho funcionar */
  perspective: 1100px;
  cursor: pointer;
  animation: fadeInUp 0.5s ease both;
}

/* Atraso de entrada por índice (via JS) */

.card-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Flip ao clicar */
.card-wrap.flipped .card-inner {
  transform: rotateY(180deg);
}

/* Hover (apenas se não virada) */
.card-wrap:not(.flipped):not(.disabled):hover .card-inner {
  transform: translateY(-12px) rotateY(6deg);
}
.card-wrap:not(.flipped):not(.disabled):hover {
  filter: drop-shadow(0 10px 28px rgba(170, 40, 80, 0.45));
}

/* Desabilitada */
.card-wrap.disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.card-wrap.disabled:hover .card-inner { transform: none; }

/* Face base */
.card-face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ── VERSO (carta virada para baixo — CSS ornamentado) ── */
.card-back {
  background: linear-gradient(160deg, #dc2626 0%, #991b1b 55%, #7f1d1d 100%);
  border: 3px solid #fca5a5;
  box-shadow:
    0 6px 28px rgba(0,0,0,0.28),
    inset 0 0 0 7px rgba(185, 28, 28, 0.45),
    inset 0 0 0 8px rgba(252, 165, 165, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* NÃO definir position — herda position: absolute; inset: 0 do .card-face */
}

/* Grade de pontos sutis */
.card-back::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(252,165,165,0.14) 1px, transparent 1px);
  background-size: 11px 11px;
}

/* Borda interna ornamentada */
.card-back::after {
  content: '';
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(252, 165, 165, 0.45);
  border-radius: 7px;
  box-shadow: inset 0 0 0 5px rgba(252,165,165,0.1);
}

.card-ornament {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: rgba(252, 165, 165, 0.32);
  position: relative;
  z-index: 1;
  line-height: 1;
  user-select: none;
}

/* Cantos */
.card-corner {
  position: absolute;
  font-size: 0.68rem;
  color: rgba(252, 165, 165, 0.38);
  z-index: 2;
  user-select: none;
}
.card-corner.tl { top: 18px; left: 10px; }
.card-corner.tr { top: 18px; right: 10px; }
.card-corner.bl { bottom: 18px; left: 10px; }
.card-corner.br { bottom: 18px; right: 10px; }

/* Florinhas topo/base */
.card-flourish {
  position: absolute;
  font-size: 0.65rem;
  color: rgba(252, 165, 165, 0.38);
  letter-spacing: 4px;
  z-index: 2;
  user-select: none;
}
.card-flourish.top  { top: 14px; left: 50%; transform: translateX(-50%); }
.card-flourish.bot  { bottom: 14px; left: 50%; transform: translateX(-50%); }

/* ── FRENTE (carta revelada — usa imagem) ── */
.card-front-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px;
  user-select: none;
  pointer-events: none;
}

/* ── FRENTE (carta revelada — mostra imagem) ── */
.card-front {
  transform: rotateY(180deg);
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(0,0,0,0.45);
}

.card-emoji {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
  position: relative;
  z-index: 1;
}
.card-number {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.5rem, 1.1vw, 0.65rem);
  color: rgba(255,255,255,0.5);
  letter-spacing: 3px;
  position: relative;
  z-index: 1;
}
.card-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.58rem, 1.2vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  position: relative;
  z-index: 1;
}

/* Brilho dourado nas cartas selecionadas */
.card-wrap.selected {
  filter: drop-shadow(0 0 18px var(--gold));
}

/* ═══════════════════════════════════════════
   BOTÕES
═══════════════════════════════════════════ */
.btn-rose {
  display: inline-block;
  background: linear-gradient(135deg, #be123c 0%, #db2777 50%, #be123c 100%);
  background-size: 200% auto;
  color: white;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 16px 42px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 6px 30px rgba(190, 18, 60, 0.5);
}
.btn-rose:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 12px 42px rgba(190, 18, 60, 0.7);
}

.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% auto;
  color: #0d0618;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 44px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 6px 30px rgba(212, 160, 23, 0.5);
}
.btn-gold:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 12px 42px rgba(212, 160, 23, 0.7);
}

.btn-gold-full {
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% auto;
  color: #0d0618;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 17px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 6px 28px rgba(212, 160, 23, 0.4);
}
.btn-gold-full:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(212, 160, 23, 0.6);
}
.btn-gold-full:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ═══════════════════════════════════════════
   COMPONENTES SEÇÃO ESCURA
═══════════════════════════════════════════ */
.gold-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0d0618;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
}

.gold-divider {
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

.gold-line {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 14px auto 0;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, #fff, var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reader-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, #3d1080, #1a0b2e);
  border: 3px solid var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  box-shadow: 0 0 40px rgba(212, 160, 23, 0.25);
}

/* ═══════════════════════════════════════════
   BENEFIT CARDS
═══════════════════════════════════════════ */
.benefit-card {
  background: linear-gradient(145deg, #1a0b2e, #2a1250);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 12px;
  padding: 26px 20px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(212, 160, 23, 0.18);
  border-color: rgba(212, 160, 23, 0.4);
}
.benefit-icon { font-size: 2.2rem; margin-bottom: 12px; }

/* ═══════════════════════════════════════════
   TESTIMONIAL CARDS
═══════════════════════════════════════════ */
.testimonial-card {
  background: linear-gradient(145deg, #1a0b2e, #0f0720);
  border: 1px solid rgba(212, 160, 23, 0.14);
  border-radius: 12px;
  padding: 28px 22px;
  position: relative;
}
.quote-mark {
  position: absolute;
  top: 8px; left: 16px;
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  color: var(--gold-dark);
  line-height: 1;
  opacity: 0.38;
}
.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 18px;
  padding-top: 22px;
  font-size: 0.92rem;
  line-height: 1.8;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, #3d1080, #1a0b2e);
  border: 2px solid var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   OFFER BOX
═══════════════════════════════════════════ */
.offer-box {
  background: linear-gradient(145deg, #1a0b2e, #2a1250);
  border: 1px solid var(--gold-dark);
  border-radius: 16px;
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(212, 160, 23, 0.12);
}
.offer-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,160,23,0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   VALUE CHIPS
═══════════════════════════════════════════ */
.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip {
  background: transparent;
  border: 1px solid rgba(212, 160, 23, 0.4);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.83rem;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s;
}
.chip:hover { background: rgba(212, 160, 23, 0.1); }
.chip.active {
  background: rgba(212, 160, 23, 0.2);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 14px rgba(212, 160, 23, 0.3);
}

/* ═══════════════════════════════════════════
   INPUTS
═══════════════════════════════════════════ */
.form-input {
  background: #0d0618;
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 8px;
  padding: 13px 16px;
  color: #e5e7eb;
  font-size: 0.95rem;
  font-family: 'Lato', sans-serif;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(212, 160, 23, 0.28);
}
.form-input::placeholder { color: #4a3a6a; }

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: linear-gradient(145deg, #1a0b2e, #0f0720);
  border: 1px solid rgba(212, 160, 23, 0.14);
  border-radius: 10px;
  overflow: hidden;
}
.faq-btn {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  color: var(--gold-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 12px;
  transition: background 0.3s;
}
.faq-btn:hover { background: rgba(42, 18, 80, 0.5); }
.faq-icon { transition: transform 0.3s; flex-shrink: 0; }
.faq-btn.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}
.faq-answer.open { max-height: 220px; padding: 0 20px 16px; }

/* ═══════════════════════════════════════════
   MINI-CARTAS NA SEÇÃO DE RESULTADO
═══════════════════════════════════════════ */
.mini-card {
  width: 90px;
  height: 138px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  animation: floatCard 3s ease-in-out infinite;
}
.mini-card:nth-child(2) { animation-delay: 0.3s; }
.mini-card:nth-child(3) { animation-delay: 0.6s; }

/* ═══════════════════════════════════════════
   WHATSAPP FLOAT
═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   RESULTADO IN-SECTION — fileira de cartas
═══════════════════════════════════════════ */

/* Fade-out da grade */
#cards-state {
  width: 100%;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#cards-state.fading {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

/* Fade-in do resultado */
#result-state:not(.hidden) {
  animation: fadeInUp 0.6s ease both;
}

/* Fileira das 3 cartas reveladas */
.result-cards-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.result-card-item {
  width: clamp(90px, 22vw, 150px);
  aspect-ratio: 5 / 8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.22);
  animation: floatCard 3.5s ease-in-out infinite;
  flex-shrink: 0;
}
.result-card-item:nth-child(2) { animation-delay: 0.4s; }
.result-card-item:nth-child(3) { animation-delay: 0.8s; }

.result-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badge "Destino revelado" */
.urgency-badge.revealed {
  background: rgba(252, 228, 236, 0.85);
  border-color: #f9a8c0;
  color: #9f1239;
  font-weight: 700;
}

/* Caixa INTERVENÇÃO DO DESTINO */
.destiny-box {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  border: 2px solid #f472b6;
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(190, 18, 60, 0.1);
}

.destiny-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.destiny-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  font-weight: 900;
  color: #be123c;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.destiny-text {
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: #3b1a28;
  line-height: 1.75;
  margin-bottom: 14px;
}
.destiny-text:last-child { margin-bottom: 0; }

.destiny-highlight {
  color: #be123c;
  font-weight: 800;
}

/* Botão CTA urgente */
.btn-urgente {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #9f1239 0%, #be123c 50%, #9f1239 100%);
  background-size: 200% auto;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 8px 32px rgba(159, 18, 57, 0.5);
  animation: pulse-cta 2.5s infinite;
}
.btn-urgente:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(159, 18, 57, 0.65);
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 8px 32px rgba(159,18,57,0.5); }
  50%       { box-shadow: 0 8px 48px rgba(159,18,57,0.7), 0 0 0 8px rgba(159,18,57,0.1); }
}

@media (max-width: 480px) {
  .destiny-box { padding: 24px 18px; }
  .btn-urgente { padding: 16px 28px; font-size: 0.88rem; }
}

/* ══════════════════════════════════════════ */

.wpp-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse-wpp 2.5s infinite;
}
.wpp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7);
}

/* ═══════════════════════════════════════════
   OVERLAY DE TRANSIÇÃO
═══════════════════════════════════════════ */
.transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--purple-deep);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ═══════════════════════════════════════════
   REVEAL AO ROLAR
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   ANIMAÇÕES
═══════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse-wpp {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 6px 36px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

@keyframes cardRevealGlow {
  0%   { box-shadow: 0 0 0 0 rgba(212,160,23,0); }
  50%  { box-shadow: 0 0 30px 8px rgba(212,160,23,0.4); }
  100% { box-shadow: 0 0 16px 4px rgba(212,160,23,0.2); }
}

.card-wrap.flipped {
  animation: cardRevealGlow 1s ease forwards;
}

/* ═══════════════════════════════════════════
   RESPONSIVO — MOBILE
═══════════════════════════════════════════ */
@media (max-width: 640px) {

  /* Seção 1 */
  #sec-cards {
    padding: 1.5rem 0.75rem 2rem;
  }
  #logo-wrap {
    margin-bottom: 1rem;
  }
  .logo-img {
    height: 64px;
  }
  #urgency-badge {
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    padding: 7px 18px;
  }
  #progress-wrap {
    margin-bottom: 0.4rem;
  }

  /* Grade de cartas — menor no mobile */
  .cards-grid {
    gap: 7px;
    max-width: 300px;
  }
  .card-wrap {
    min-height: 100px;
  }

  /* Offer box */
  .offer-box { padding: 30px 18px; }
}

/* Telas muito pequenas (< 380px, ex: iPhone SE) */
@media (max-width: 380px) {
  #sec-cards {
    padding: 1rem 0.5rem 1.5rem;
  }
  .cards-grid {
    max-width: 260px;
    gap: 5px;
  }
  .logo-img {
    height: 54px;
  }
  #urgency-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }
}
