:root {
  --gold: #d5b15b;
  --gold-dark: #9e7a32;
  --muted: #e2d9ca;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; overflow-x: hidden; }

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.85)),
              url("imagens/fundo.jpg") center/cover no-repeat fixed;
  color: var(--muted);
}

/* === Partículas douradas === */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0; /* partículas atrás de tudo */
}

.overlay {
  position: relative;
  z-index: 2; /* balões, textos e formulário acima */
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(255,221,135,1) 0%, rgba(255,220,150,0) 70%);
  border-radius: 50%;
  animation: float 10s linear infinite;
  opacity: 0.6;
}
@keyframes float {
  from { transform: translateY(100vh) scale(0.6); opacity: 0.8; }
  to { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* === Estrutura === */
.hero {
  min-height: 100svh; /* usa safe viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
  position: relative;
  z-index: 2;
}

.overlay {
  width: 100%;
  max-width: 480px;
  padding: 36px 22px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  text-align: center;
  position: relative;
  z-index: 3;
}

/* === Título === */
.logo { width: 74px; margin-bottom: 20px; opacity: 0.95; }
.title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap; /* impede que os balões quebrem de linha */
  overflow: hidden;
  white-space: nowrap;
}
.title-text {
  font-family: "Marcellus", serif;
  font-size: 2rem;
  background: linear-gradient(90deg,#fff9e8 0%,var(--gold) 25%,#fff 50%,var(--gold-dark) 75%,#fff9e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}
.balloon {
  width: clamp(45px, 8vw, 65px);
  height: auto;
  flex-shrink: 0; /* impede que os balões diminuam demais */
  animation: floatBalloon 4s ease-in-out infinite;
}
@keyframes upDown { from {transform:translateY(0);} to {transform:translateY(-6px);} }

.brand { color: #e9e1d5; font-size: 16px; margin-bottom: 12px; }
.date-badge {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(90deg,var(--gold),var(--gold-dark));
  border-radius: 10px;
  color: #111;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(201,155,75,0.25);
  font-size: 16px;
  margin-bottom: 16px;
}
.promo-line { color: var(--gold); font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.promo-sub {
  color: #f1ece4;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 0 8px;
}

/* === Formulário === */
.form { display: flex; flex-direction: column; gap: 14px; }
input[type="text"], input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255, 255, 255, 0.699);
  color: #111;
  font-size: 16px;
  transition: all 0.25s ease;
}
input::placeholder { color: rgba(0,0,0,0.6); }
input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.45);
  box-shadow: 0 0 10px rgba(213,177,91,0.5);
  outline: none;
}

/* === Botão === */
.cta {
  margin-top: 10px;
  padding: 18px 28px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 22px;
  background: linear-gradient(90deg, #b30000, #ff1a1a, #b30000);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(255, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  animation: pulseMove 3s ease-in-out infinite;
  }
  @keyframes pulseMove {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 24px rgba(255, 83, 60, 0.5);
  }
  50% {
    transform: translateY(-4px) scale(1.07);
    box-shadow: 0 10px 30px rgba(255, 100, 100, 0.7);
  }
}


  .cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: rgba(255,255,255,0.45);
  transform: skewX(-20deg);
  animation: shineMove 2.5s infinite;
}

.cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 200, 60, 0.6);
  background: linear-gradient(90deg, #ffe88c, #ffc42c);
}

.cta.secondary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

/* === Confirmação === */
.confirm p { color: #f1ece4; }
footer { margin-top: 18px; font-size: 12px; color: #cfc7b6; opacity: 0.8; }

/* === Responsividade === */
@media (min-width: 480px) {
  .overlay { max-width: 520px; padding: 40px; }
  .title-text { font-size: 2.4rem; }
  .balloon { width: 70px; }
}
@media (min-width: 768px) {
  .overlay { max-width: 640px; }
  .title-text { font-size: 2.8rem; }
  .promo-sub { font-size: 15px; }
  input { font-size: 17px; }
}
