/* ═══════════════════════════════════════════════════════════════
   Tri Massa Festas — Teaser / Coming Soon
   style.css — independente do site principal
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:      #5B2D8E;
  --purple-dark: #3D1A66;
  --purple-mid:  #7B45B0;
  --yellow:      #FFD600;
  --cyan:        #00B4D8;
  --green:       #7DC63B;
  --orange:      #F5821F;
  --pink:        #E84393;

  --white:  #ffffff;
  --text:   rgba(255,255,255,0.95);
  --muted:  rgba(255,255,255,0.65);

  --radius: 14px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-head: 'Baloo 2', 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --transition: .25s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  /* Gradient de fundo: roxo profundo → roxo médio → tom escuro */
  background: linear-gradient(135deg,
    #1a0b33 0%,
    #2e1257 35%,
    #4a1a7a 60%,
    #1f0a40 100%
  );
  background-attachment: fixed;
}

/* Canvas de partículas — fundo absoluto */
#canvas-particulas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Layout principal ─────────────────────────────────────────── */
.teaser-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 24px 56px;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

/* ── Logo ─────────────────────────────────────────────────────── */
.teaser-logo-wrap {
  margin-bottom: 32px;
  animation: logo-entrada .9s cubic-bezier(.34,1.56,.64,1) both;
}

.teaser-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(255,214,0,.30));
}

/* ── Badge "Em construção" ────────────────────────────────────── */
.teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  color: var(--yellow);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  animation: subir .7s .2s ease both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255,214,0,.5);
  animation: pulsar 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulsar {
  0%   { box-shadow: 0 0 0 0   rgba(255,214,0,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(255,214,0,0);  }
  100% { box-shadow: 0 0 0 0   rgba(255,214,0,0);  }
}

/* ── Headline ─────────────────────────────────────────────────── */
.teaser-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.20;
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
  animation: subir .7s .35s ease both;
}

.teaser-headline .hl {
  color: var(--yellow);
  font-style: italic;
  position: relative;
  display: inline-block;
}

/* ── Subtítulo ────────────────────────────────────────────────── */
.teaser-sub {
  font-size: clamp(.95rem, 2.4vw, 1.08rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 40px;
  animation: subir .7s .5s ease both;
}

.teaser-sub strong {
  color: var(--white);
  font-weight: 700;
}

/* ── Countdown ────────────────────────────────────────────────── */
.countdown-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 44px;
  animation: subir .7s .65s ease both;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 72px;
}

.cd-num {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 14px 20px;
  min-width: 80px;
  text-align: center;
  backdrop-filter: blur(10px);
  letter-spacing: -.02em;
  box-shadow: 0 4px 24px rgba(0,0,0,.25),
              inset 0 1px 0 rgba(255,255,255,.15);
}

.cd-label {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cd-sep {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(255,255,255,.4);
  margin-top: -18px;
  align-self: center;
}

/* ── CTAs ─────────────────────────────────────────────────────── */
.teaser-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 36px;
  animation: subir .7s .8s ease both;
}

/* WhatsApp */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-wa:hover, .btn-wa:focus-visible {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
  outline: none;
}

.btn-wa:active { transform: translateY(0); }

/* Instagram */
.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .97rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.30);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-ig:hover, .btn-ig:focus-visible {
  border-color: rgba(255,255,255,.70);
  background: rgba(255,255,255,.10);
  transform: translateY(-2px);
  outline: none;
}

.btn-ig:active { transform: translateY(0); }

/* ── Info de contato / endereço ───────────────────────────────── */
.teaser-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  color: var(--muted);
  font-size: .88rem;
  animation: subir .7s .95s ease both;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-icon { font-size: 1rem; }

.info-sep {
  color: rgba(255,255,255,.25);
  font-size: 1.2rem;
}

/* ── Animações ────────────────────────────────────────────────── */
@keyframes subir {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes logo-entrada {
  from { opacity: 0; transform: scale(.8) translateY(-10px); }
  to   { opacity: 1; transform: scale(1)  translateY(0);     }
}

/* ── Responsivo Mobile ────────────────────────────────────────── */
@media (max-width: 480px) {
  .teaser-main {
    padding: 48px 20px 48px;
  }

  .teaser-logo { max-width: 180px; }

  .cd-num {
    min-width: 64px;
    padding: 10px 14px;
  }

  .countdown-item { min-width: 58px; }

  .countdown-wrap { gap: 5px; }

  .cd-sep { font-size: 2rem; }

  .teaser-ctas { flex-direction: column; align-items: stretch; }

  .btn-wa, .btn-ig {
    justify-content: center;
    font-size: .95rem;
  }

  .teaser-info { flex-direction: column; gap: 6px; }
  .info-sep { display: none; }
}

/* ── Botão flutuante de música ─────────────────────────────── */
#btn-musica {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255,214,0,0.6);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    animation: pulsar-musica 1.8s ease-in-out infinite;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#btn-musica.tocando {
    animation: none;
    border-color: rgba(255,214,0,0.3);
    opacity: 0.5;
}
#btn-musica.sumiu {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}
@keyframes pulsar-musica {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,214,0,0.4); }
    50%       { box-shadow: 0 0 0 10px rgba(255,214,0,0); }
}
