/* ===== Cores do site: troque aqui se quiser outro tom ===== */
:root {
  --fundo: #0a0614;          /* fundo da página (quase preto arroxeado) */
  --roxo: #6d28d9;           /* botões */
  --roxo-hover: #7c3aed;
  --roxo-claro: #c4b5fd;     /* nome e destaques */
  --verde: #0d2b1f;          /* cartão central (verde escuro) */
  --verde-2: #14402d;        /* chips e detalhes */
  --verde-brilho: #34d399;
  --texto: #f5f3ff;
  --texto-suave: #c9c3dc;
  --borda: rgba(196, 181, 253, .18);
  --botao-texto: #f5f3ff;
  --luz1: #6d28d9;           /* luzes do fundo */
  --luz2: #105a3c;
  --fonte-titulo: "Unbounded";
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background: var(--fundo);
  color: var(--texto);
  font-family: "DM Sans", system-ui, sans-serif;
  display: flex;
  justify-content: center;
  padding: 48px 16px;
  overflow-x: hidden;
}

/* Fundo com luzes roxa e verde que se movem devagar, como luz de pista */
.fundo {
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(40% 35% at 20% 25%, color-mix(in srgb, var(--luz1) 55%, transparent), transparent 70%),
    radial-gradient(45% 40% at 85% 70%, color-mix(in srgb, var(--luz2) 60%, transparent), transparent 70%),
    radial-gradient(30% 30% at 70% 15%, color-mix(in srgb, var(--luz1) 35%, transparent), transparent 70%),
    var(--fundo);
  animation: luzes 18s ease-in-out infinite alternate;
}
@keyframes luzes {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(4%, -3%) rotate(8deg); }
}

/* ===== Cartão central ===== */
.cartao {
  width: 100%;
  max-width: 680px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--verde) 94%, transparent), color-mix(in srgb, var(--verde) 85%, black));
  border: 1px solid var(--borda);
  border-radius: 32px;
  padding: 32px 32px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .2) inset;
  align-self: flex-start;
}

.topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.marca, .btn-redondo {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--verde-2);
  border: 1px solid var(--borda);
  color: var(--roxo-claro);
}
.btn-redondo { cursor: pointer; transition: background .2s, transform .2s; }
.btn-redondo:hover { background: var(--roxo); color: var(--texto); transform: translateY(-2px); }
.btn-redondo:focus-visible { outline: 2px solid var(--roxo-claro); outline-offset: 3px; }
.marca svg, .btn-redondo svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ===== Perfil ===== */
.perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 8px;
}

/* Foto dentro de um "disco de vinil" girando */
.disco {
  position: relative;
  width: 136px; height: 136px;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(from 0deg, var(--roxo), var(--verde-brilho), var(--roxo-claro), var(--roxo));
  animation: girar 8s linear infinite;
}
.disco img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 4px solid var(--verde);
  background: var(--verde);
  animation: girar 8s linear infinite reverse; /* a foto fica parada, só o anel gira */
}
@keyframes girar { to { transform: rotate(360deg); } }

h1 {
  font-family: var(--fonte-titulo), "Unbounded", "DM Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 6vw, 32px);
  letter-spacing: .5px;
  margin-top: 20px;
  color: var(--roxo-claro);
  text-shadow: 0 0 24px color-mix(in srgb, var(--roxo-claro) 45%, transparent);
}

.bio {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto-suave);
  max-width: 520px;
}

.chip {
  margin-top: 12px;
  display: inline-block;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--verde-2);
  border: 1px solid var(--borda);
  color: var(--texto);
}
.chip:empty { display: none; }

/* Barrinhas de equalizador */
.equalizador {
  display: flex; gap: 4px; align-items: flex-end;
  height: 18px; margin-top: 16px;
}
.equalizador i {
  width: 4px; border-radius: 2px;
  background: linear-gradient(var(--roxo-claro), var(--verde-brilho));
  animation: barra 1s ease-in-out infinite alternate;
}
.equalizador i:nth-child(1) { animation-delay: -.2s; }
.equalizador i:nth-child(2) { animation-delay: -.6s; }
.equalizador i:nth-child(3) { animation-delay: -.1s; }
.equalizador i:nth-child(4) { animation-delay: -.8s; }
.equalizador i:nth-child(5) { animation-delay: -.4s; }
.equalizador i:nth-child(6) { animation-delay: -.9s; }
.equalizador i:nth-child(7) { animation-delay: -.3s; }
@keyframes barra { from { height: 4px; } to { height: 18px; } }

/* ===== Botões ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.botao {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 12px 72px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--roxo), color-mix(in srgb, var(--roxo) 80%, black));
  border: 1px solid color-mix(in srgb, var(--roxo-claro) 25%, transparent);
  color: var(--botao-texto);
  text-decoration: none;
  text-align: center;
  font: inherit;
  width: 100%;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--roxo) 35%, transparent);
}
.botao:hover {
  transform: translateY(-3px) scale(1.01);
  background: linear-gradient(135deg, var(--roxo-hover), var(--roxo));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--roxo) 50%, transparent);
}
.botao:focus-visible { outline: 2px solid var(--roxo-claro); outline-offset: 3px; }

.botao .icone {
  position: absolute;
  left: 22px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
}
.botao .icone svg { width: 30px; height: 30px; fill: currentColor; }
.botao .icone svg.linha { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.botao .titulo { display: block; font-weight: 700; font-size: 18px; line-height: 1.3; }
.botao .titulo:only-child { }
.faixa-previa { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: #f59e0b; color: #000; font-weight: 700; font-size: 13px; text-align: center; padding: 6px; }
.botao .sub { display: block; font-size: 14px; opacity: .78; margin-top: 2px; }

.botao .seta {
  position: absolute;
  right: 26px;
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  opacity: .8;
  transition: transform .25s;
}
.botao[aria-expanded="true"] .seta { transform: rotate(180deg); }

/* ===== Agenda ===== */
.agenda {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
  margin-top: -8px;
}
.agenda.aberta { grid-template-rows: 1fr; }
.agenda > div { overflow: hidden; }
.agenda ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  padding: 8px 4px 4px;
}
.data-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-radius: 20px;
  background: var(--verde-2);
  border: 1px solid var(--borda);
}
.data-dia {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--roxo);
  color: var(--botao-texto);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1;
}
.data-dia b { font-family: "Unbounded", sans-serif; font-size: 20px; }
.data-dia small { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.data-info { flex: 1; min-width: 0; text-align: left; }
.data-info strong { display: block; font-size: 16px; }
.data-info span { display: block; font-size: 14px; color: var(--texto-suave); margin-top: 2px; }
.data-item a {
  flex: none;
  font-size: 13px; font-weight: 700;
  color: var(--roxo-claro);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--borda);
  border-radius: 999px;
}
.data-item a:hover { background: var(--roxo); color: var(--botao-texto); }
.data-info em { font-style: normal; opacity: .8; }
.agenda-vazia { text-align: center; color: var(--texto-suave); padding: 12px; font-size: 15px; }

/* ===== Rodapé ===== */
.rodape {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--texto-suave);
  opacity: .7;
}

/* ===== QR code (só no computador) ===== */
.qr {
  position: fixed;
  left: 28px; bottom: 28px;
  text-align: center;
  background: var(--verde);
  border: 1px solid var(--borda);
  border-radius: 18px;
  padding: 12px 12px 14px;
}
.qr p { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--roxo-claro); }
.qr #qr-codigo { background: #fff; padding: 8px; border-radius: 10px; line-height: 0; }
.qr #qr-codigo img, .qr #qr-codigo canvas { width: 120px; height: 120px; }
@media (max-width: 1100px) { .qr { display: none; } }

/* ===== Balão flutuante do WhatsApp ===== */
.zap {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 10;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.zap[hidden] { display: none; }
.zap-botao {
  position: relative;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45), 0 0 0 3px rgba(196, 181, 253, .35);
  transition: transform .2s;
  animation: flutuar 3s ease-in-out infinite;
}
.zap-botao svg { width: 32px; height: 32px; fill: currentColor; }
/* onda que pulsa em volta, chamando atenção */
.zap-botao::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: pulso 2.2s ease-out infinite;
}
.zap:hover .zap-botao { transform: scale(1.08); }
.zap:focus-visible .zap-botao { outline: 2px solid var(--roxo-claro); outline-offset: 4px; }
@keyframes flutuar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes pulso { from { transform: scale(1); opacity: .6; } to { transform: scale(1.7); opacity: 0; } }

.zap-balao {
  background: var(--texto);
  color: color-mix(in srgb, var(--roxo) 60%, black);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .35s, transform .35s;
  pointer-events: none;
}
.zap-balao.mostrar, .zap:hover .zap-balao { opacity: 1; transform: none; }

/* ===== Aviso "link copiado" ===== */
.aviso {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translate(-50%, 120px);
  background: var(--roxo);
  color: var(--texto);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .3s, opacity .3s, visibility .3s;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.aviso.mostrar { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ===== Celular ===== */
@media (max-width: 640px) {
  body { padding: 0; }
  .cartao {
    border-radius: 0;
    border: 0;
    min-height: 100vh;
    padding: 20px 16px 104px;
  }
  .disco { width: 116px; height: 116px; }
  .bio { font-size: 15px; }
  .botao { min-height: 68px; padding: 10px 56px; }
  .botao .icone { left: 16px; }
  .botao .icone svg { width: 26px; height: 26px; }
  .botao .titulo { font-size: 16px; }
  .botao .seta { right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .fundo, .disco, .disco img, .equalizador i, .zap-botao, .zap-botao::before { animation: none; }
  .botao, .agenda { transition: none; }
}
