/* ===========================
   VARIÁVEIS
   =========================== */

:root {
  --rosa-escuro:  #C2185B;
  --rosa-medio:   #E91E8C;
  --rosa-claro:   #F48FB1;
  --rosa-suave:   #FCE4EC;
  --creme:        #FFF8F9;
  --texto-escuro: #3D0B1E;
  --texto-medio:  #7B2D5A;
  --branco:       #FFFFFF;
  --sombra:       rgba(194, 24, 91, 0.18);

  --fonte-display: 'Playfair Display', Georgia, serif;
  --fonte-corpo:   'Lato', 'Helvetica Neue', sans-serif;

  --radius:      16px;
  --radius-pill: 999px;
  --transicao:   0.3s ease;
}

body {
  font-family: var(--fonte-corpo);
  background-color: var(--creme);
  color: var(--texto-escuro);
  overflow-x: hidden;
}

/* ===========================
   PARTÍCULAS
   =========================== */

#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.heart-particle {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0;
  animation: floatUp var(--dur, 6s) ease-in var(--delay, 0s) infinite;
  left: var(--x, 50%);
  bottom: -2rem;
}

@keyframes floatUp {
  0%   { opacity: 0;   transform: translateY(0) scale(0.6); }
  15%  { opacity: 0.7; }
  85%  { opacity: 0.4; }
  100% { opacity: 0;   transform: translateY(-110vh) scale(1.1); }
}

/* ===========================
   TELA 1 — PERGUNTA
   =========================== */

#tela-pergunta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  gap: 2rem;
  text-align: center;
}

.emoji-topo {
  width: clamp(120px, 20vw, 200px);
  height: auto;
  filter: drop-shadow(0 8px 24px var(--sombra));
  animation: pulse-emoji 3s ease-in-out infinite;
}

@keyframes pulse-emoji {
  0%, 100% { transform: scale(1)    rotate(-2deg); }
  50%       { transform: scale(1.06) rotate(2deg);  }
}

.pergunta {
  font-family: var(--fonte-display);
  font-size: clamp(1.7rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.pergunta span {
  color: var(--rosa-medio);
}

.subtitulo {
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 300;
  color: var(--texto-medio);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: -1rem;
}

/* Área onde o botão "não" vai se mover */
.botoes-wrapper {
  position: relative;
  width: min(480px, 92vw);
  height: 220px;
}

/* Botão SIM — levemente à esquerda */
.btn-sim {
  position: absolute;
  left: 35%;
  top: 50%;
  transform: translate(-50%, -50%);

  padding: 0.9rem 2.4rem;
  background: linear-gradient(135deg, var(--rosa-medio), var(--rosa-escuro));
  color: var(--branco);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 24px var(--sombra);
  transition: transform var(--transicao), box-shadow var(--transicao);
  z-index: 2;
}

.btn-sim:hover {
  transform: translate(-50%, -50%) scale(1.07) translateY(-3px);
  box-shadow: 0 12px 32px var(--sombra);
}

.btn-sim:active {
  transform: translate(-50%, -50%) scale(0.97);
}

/* Botão NÃO — começa afastado */
.btn-nao {
  position: absolute;
  left: 70%;
  top: 50%;
  transform: translate(-50%, -50%);

  padding: 0.9rem 2.4rem;
  background: transparent;
  color: var(--texto-medio);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border: 2px solid var(--rosa-claro);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  z-index: 2;
  transition: border-color 0.15s;
  pointer-events: all;
}

.btn-nao:hover {
  border-color: var(--rosa-escuro);
  color: var(--rosa-escuro);
}

/* Mensagem de deboche */
#msg-deboche {
  font-size: 0.85rem;
  color: var(--rosa-medio);
  font-style: italic;
  opacity: 0;
  transition: opacity 0.4s;
  min-height: 1.2em;
  margin-top: -1rem;
}

#msg-deboche.visivel {
  opacity: 1;
}

/* ===========================
   TELA 2 — AGENDAMENTO
   =========================== */

#tela-encontro {
  display: none;
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  gap: 2rem;
  text-align: center;
  animation: fadeIn 0.5s ease both;
}

#tela-encontro.ativa {
  display: flex;
}

.emoji-topo-2 {
  width: clamp(120px, 20vw, 200px);
  height: auto;
  filter: drop-shadow(0 8px 24px var(--sombra));
  animation: balanco 2.5s ease-in-out infinite;
}

@keyframes balanco {
  0%, 100% { transform: rotate(-5deg); }
  50%       { transform: rotate(5deg);  }
}

.card-encontro {
  background: var(--branco);
  border: 1px solid var(--rosa-suave);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 5vw, 3rem);
  box-shadow: 0 4px 30px var(--sombra);
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.card-titulo {
  font-family: var(--fonte-display);
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
}

.card-titulo span {
  color: var(--rosa-medio);
}

.campo-grupo {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.campo-grupo label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-medio);
}

.campo-grupo input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--rosa-suave);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--texto-escuro);
  background: var(--creme);
  transition: border-color var(--transicao), box-shadow var(--transicao);
  cursor: text;
  width: 100%;
}

.campo-grupo input:focus {
  border-color: var(--rosa-medio);
  box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.12);
  background: var(--branco);
}

.btn-marcar {
  padding: 1rem;
  background: linear-gradient(135deg, var(--rosa-medio), var(--rosa-escuro));
  color: var(--branco);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px var(--sombra);
  transition: transform var(--transicao), box-shadow var(--transicao);
  margin-top: 0.3rem;
}

.btn-marcar:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px var(--sombra);
}

.btn-marcar:active {
  transform: scale(0.97);
}

/* ===========================
   TELA 3 — CONFIRMAÇÃO
   =========================== */

#tela-confirmacao {
  display: none;
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  gap: 2rem;
  text-align: center;
  animation: fadeIn 0.5s ease both;
}

#tela-confirmacao.ativa {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.confirmacao-icon {
  font-size: 5rem;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.confirmacao-titulo {
  font-family: var(--fonte-display);
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 700;
}

.confirmacao-detalhe {
  font-size: 1rem;
  color: var(--texto-medio);
  line-height: 1.8;
}

.confirmacao-detalhe strong {
  color: var(--rosa-escuro);
}

.link-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: #25D366;
  color: var(--branco);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform var(--transicao), box-shadow var(--transicao);
  border: none;
  cursor: pointer;
}

.link-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* ===========================
   RESPONSIVO
   =========================== */

@media (max-width: 420px) {
  .botoes-wrapper {
    width: 100%;
    height: 240px;
  }

  .btn-sim,
  .btn-nao {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
  }

  .card-encontro {
    padding: 1.4rem 1.2rem;
  }
}