/* Linktree do Lisbolts: identidade do canal (roxo escuro, magenta, raio amarelo). */

@font-face {
  font-family: "Lisbolts Display";
  src: url("fontes/nunito-sans-black-italic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --fundo: #0d0216;
  --cartao: #190930;
  --cartao-2: #221040;
  --linha: rgba(255, 255, 255, 0.1);
  --texto: #f7f2fc;
  --mudo: #c7b6da;
  --magenta: #9e15db;
  --violeta: #7c3aed;
  --lilas: #d64ff9;
  --laranja: #f58c0a;
  --amarelo: #ffd84d;
  --tinta: #1a0a2b;
  --grad-marca: linear-gradient(100deg, #ffd84d 0%, #f58c0a 28%, #d64ff9 64%, #7c3aed 100%);
  --grad-raio: linear-gradient(180deg, #ffe566 0%, #fdaa03 100%);
  --raio: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--fundo);
  color: var(--texto);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

button { font: inherit; color: inherit; }

svg.i, svg.m { display: block; width: 1em; height: 1em; flex: none; }

svg.defs { position: absolute; width: 0; height: 0; }

:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 12px; }

/* fundo: foto do canal com um véu roxo escuro por cima, para os textos e botões continuarem fáceis de ler */
.brilho {
  --veu: linear-gradient(180deg, rgba(13, 2, 22, 0.38) 0%, rgba(13, 2, 22, 0.6) 42%, rgba(13, 2, 22, 0.86) 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh; /* altura cheia do celular: o fundo não pula quando a barra do navegador some */
  z-index: -1;
  background-color: var(--fundo);
  background-image: var(--veu), url("img/fundo.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* tela em pé (celular): recorte do centro da foto, feito para retrato */
@media (max-aspect-ratio: 4/5) {
  .brilho { background-image: var(--veu), url("img/fundo-celular.webp"); }
}

/* página de texto: véu mais forte, porque o texto fica direto sobre a foto */
.brilho-forte { --veu: linear-gradient(180deg, rgba(13, 2, 22, 0.8) 0%, rgba(13, 2, 22, 0.9) 100%); }

.pagina {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 16px calc(36px + env(safe-area-inset-bottom));
}

/* topo: copiar e compartilhar */
.topo { display: flex; justify-content: space-between; align-items: flex-start; }

.acao-topo {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  min-width: 64px;
}

.acao-icone {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(20, 4, 36, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease;
}

.acao-topo:hover .acao-icone { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }

/* perfil */
.perfil { text-align: center; margin-top: -6px; }

.perfil-logo {
  display: block;
  width: min(78vw, 360px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 14px 34px rgba(158, 21, 219, 0.55));
}

.perfil-nome {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.perfil-lema {
  margin: 14px 0 0;
  font: italic 900 clamp(21px, 6vw, 27px) / 1.12 "Lisbolts Display", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.destaque {
  background: var(--grad-raio);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.12em;
}

.perfil-texto {
  max-width: 34ch;
  margin: 10px auto 0;
  color: var(--mudo);
  font-size: 15.5px;
  text-wrap: pretty;
}

.redes { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }

.rede {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(150deg, #3a1268 0%, #16052a 78%) padding-box, var(--grad-marca) border-box;
  box-shadow: 0 0 14px rgba(158, 21, 219, 0.45);
  font-size: 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rede svg.m { fill: url(#ouro); }

.rede:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 0 22px rgba(255, 216, 77, 0.55); }

/* cartões de link */
.links { display: grid; gap: 14px; margin-top: 26px; }

.cartao {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 11px;
  border-radius: var(--raio);
  border: 1px solid var(--linha);
  background: var(--cartao);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(5, 0, 12, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

a.cartao:hover, button.cartao:hover { transform: translateY(-2px); background: var(--cartao-2); }

.cartao-contato {
  border: 2px solid transparent;
  background: linear-gradient(var(--cartao), var(--cartao)) padding-box, var(--grad-marca) border-box;
  box-shadow: 0 10px 34px rgba(158, 21, 219, 0.42);
}

.cartao-contato:hover { background: linear-gradient(var(--cartao-2), var(--cartao-2)) padding-box, var(--grad-marca) border-box; }

.selo {
  display: grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(140deg, #9e15db, #4c1d95);
  font-size: 28px;
  color: #fff;
}

.selo img { width: auto; height: 46px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45)); }

/* Instagram e TikTok na marca Lisbolts: placa roxa com aro no degradê da marca, ícone dourado e o raio no canto */
.selo-rede {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(150deg, #3a1268 0%, #16052a 78%) padding-box, var(--grad-marca) border-box;
  box-shadow: inset 0 0 16px rgba(214, 79, 249, 0.38), 0 0 18px rgba(158, 21, 219, 0.5);
  font-size: 29px;
}

.selo-rede svg.m { fill: url(#ouro); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55)); }

.selo-rede::after {
  content: "";
  position: absolute;
  top: -13px;
  right: -14px;
  width: 30px;
  height: 33px;
  background: url("img/raio.webp") center / contain no-repeat;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55));
  transform: rotate(12deg);
  transition: transform 0.2s ease;
}

.cartao-rede:hover .selo-rede::after { transform: rotate(-6deg) scale(1.2); }

/* ícone em foto (arte 3D da marca, fundo transparente): sem moldura, um pouco maior que o selo comum */
.selo-foto { width: 68px; height: 68px; margin: -5px; border-radius: 0; background: none; }

.selo-foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(158, 21, 219, 0.55));
  transition: transform 0.2s ease;
}

.cartao-rede:hover .selo-foto img { transform: scale(1.08) rotate(-3deg); }

.cartao-texto { display: grid; flex: 1; min-width: 0; }

.cartao-texto strong { font-size: 17px; line-height: 1.25; }

.cartao-texto span { color: var(--mudo); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cartao-seta {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 19px;
}

.cartao-contato .cartao-seta { background: #fff; color: var(--tinta); }

.cartao-contato .cartao-texto span { white-space: normal; line-height: 1.3; }

/* YouTube */
.cartao-youtube { display: block; padding: 11px; cursor: default; }

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000 url("img/compartilhar.jpg") center / cover;
}

.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.youtube-rodape { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px 2px; }

.youtube-canal { display: grid; text-decoration: none; min-width: 0; }

.youtube-canal strong { font-size: 17px; line-height: 1.25; }

.youtube-canal span { display: flex; align-items: center; gap: 6px; color: var(--mudo); font-size: 14px; }

.youtube-canal svg { color: #ff3b30; font-size: 17px; }

/* Botão elétrico "Inscreva-se": efeito enviado pelo Victor, adaptado ao tamanho do cartão.
   O brilho pulsa o tempo todo; os raios são desenhados por pagina.js no quadro em volta do botão. */
.cartao-youtube { position: relative; z-index: 1; } /* os raios podem passar por cima dos cartões vizinhos */

.inscrever-area { position: relative; flex: none; margin: 6px 8px 6px 0; }

/* quadro dos raios: sobra 96px acima e abaixo do botão (mesmo número em pagina.js). Para os lados quem
   abre a sobra é o pagina.js, só até a borda da tela: assim a página nunca ganha rolagem lateral no celular. */
.inscrever-raios {
  position: absolute;
  top: -96px;
  left: 0;
  width: 100%;
  height: calc(100% + 192px);
  pointer-events: none;
}

.inscrever {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 20px 7px 7px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, #ff5100 0%, #ff8800 50%, #ffcc00 100%);
  color: #000;
  text-decoration: none;
  font: italic 900 16.5px/1 "Lisbolts Display", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: eletrico-brilho 2.5s ease-in-out infinite;
  transition: filter 0.3s ease;
}

/* pulsação do brilho em volta do botão */
@keyframes eletrico-brilho {
  0%, 100% { box-shadow: 0 0 10px #ff5100, 0 0 20px #ff9900, inset 0 0 8px #ffcc00; }
  50% { box-shadow: 0 0 18px #ff3300, 0 0 30px #ff6600, 0 0 45px #ffcc00, inset 0 0 13px #ffffff; }
}

/* tremor elétrico ao passar o mouse (só em computador: no celular o toque já abre o YouTube) */
@keyframes eletrico-tremor {
  0% { transform: translate(0, 0) scale(1.05); }
  20% { transform: translate(-2px, 2px) scale(1.05); }
  40% { transform: translate(2px, -2px) scale(1.05); }
  60% { transform: translate(-1px, -1px) scale(1.05); }
  80% { transform: translate(2px, 2px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1.05); }
}

@media (hover: hover) and (pointer: fine) {
  .inscrever:hover {
    animation: eletrico-tremor 0.3s ease-in-out infinite, eletrico-brilho 0.8s ease-in-out infinite;
    filter: brightness(1.2);
  }

  .inscrever:hover .inscrever-brilho { opacity: 1; }
}

.inscrever:active { filter: brightness(1.2); }

/* clarão branco por dentro, no mouse */
.inscrever-brilho { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.2); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }

.inscrever-icone {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
}

.inscrever-icone svg { width: 19px; height: 19px; fill: #000; filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)); }

.inscrever-rotulo { position: relative; filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.4)); }

/* faíscas que saltam do ponto do clique */
@keyframes faisca-some {
  0% { opacity: 1; transform: scale(0.5) translate(0, 0); }
  100% { opacity: 0; transform: scale(1.5) translate(var(--tx), var(--ty)); }
}

.faisca-clique {
  position: fixed;
  z-index: 60;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #ffcc00, 0 0 20px #ff3300;
  pointer-events: none;
  animation: faisca-some 0.6s forwards;
}

/* rodapé */
.rodape {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin-top: 32px;
  color: var(--mudo);
  font-size: 13px;
}

.rodape a { text-underline-offset: 3px; }

/* folhas (compartilhar e contato) */
.folha {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--texto);
  overflow: hidden;
}

.folha[open] { display: flex; align-items: flex-end; justify-content: center; }

.folha::backdrop { background: rgba(8, 0, 16, 0.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.folha-caixa {
  width: min(100%, 520px);
  max-height: min(92vh, 92dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 18px calc(22px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: #150726;
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.6);
  animation: subir 0.24s ease-out;
}

@keyframes subir { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }

.folha-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.folha-topo h2 { margin: 0; font-size: 21px; line-height: 1.2; }

.fechar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 20px;
  cursor: pointer;
}

.fechar:hover { background: rgba(255, 255, 255, 0.18); }

.folha-texto { margin: 10px 0 0; color: var(--mudo); font-size: 15px; }

/* formulário */
.campo { display: block; margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }

.campo > span:first-child, .campo > legend { display: block; padding: 0; font-size: 14px; font-weight: 700; }

.campo input[type="text"], .campo textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
  font-size: 16px;
}

.campo textarea { resize: vertical; min-height: 120px; }

.campo input::placeholder, .campo textarea::placeholder { color: #9d8bb3; }

.campo input:focus-visible, .campo textarea:focus-visible { outline: 2px solid var(--amarelo); outline-offset: 0; border-color: transparent; }

.campo.erro input, .campo.erro textarea { border-color: #ff7b7b; }

.assuntos { display: flex; flex-wrap: wrap; gap: 8px; }

.assuntos legend { width: 100%; margin-bottom: 9px; }

.chip { position: relative; cursor: pointer; }

.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.chip span {
  display: block;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 14.5px;
  transition: background 0.12s ease, color 0.12s ease;
}

.chip input:checked + span { background: #fff; border-color: #fff; color: var(--tinta); font-weight: 700; }

.chip input:focus-visible + span { outline: 3px solid var(--amarelo); outline-offset: 2px; }

.contador { display: block; margin-top: 5px; color: var(--mudo); font-size: 12px; text-align: right; }

.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.aviso-form {
  margin: 14px 0 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 123, 123, 0.5);
  border-radius: 12px;
  background: rgba(255, 80, 80, 0.12);
  color: #ffd9d9;
  font-size: 14.5px;
}

.aviso-form a { font-weight: 700; }

.botao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.botao:hover { transform: translateY(-1px); filter: brightness(1.06); }

.botao[disabled] { cursor: progress; opacity: 0.65; transform: none; }

.botao-forte {
  background: var(--grad-raio);
  color: var(--tinta);
  font: italic 900 17px/1 "Lisbolts Display", system-ui, sans-serif;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(253, 170, 3, 0.35);
}

.botao-forte svg { font-size: 19px; }

.botao-suave { background: rgba(255, 255, 255, 0.1); color: var(--texto); }

.nota { margin: 12px 0 0; color: var(--mudo); font-size: 12.5px; text-align: center; }

.sucesso { padding: 18px 4px 4px; text-align: center; }

.sucesso img { width: auto; height: 84px; filter: drop-shadow(0 6px 14px rgba(253, 170, 3, 0.45)); }

.sucesso h3 { margin: 10px 0 4px; font: italic 900 24px/1.1 "Lisbolts Display", system-ui, sans-serif; text-transform: uppercase; }

.sucesso p { margin: 0 auto; max-width: 30ch; color: var(--mudo); }

/* compartilhar */
.cartao-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid var(--linha);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.cartao-link img { width: 48px; height: 48px; border-radius: 12px; flex: none; }

.cartao-link div { display: grid; min-width: 0; }

.cartao-link span { color: var(--mudo); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.opcoes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 6px; margin-top: 18px; }

.opcao {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 12.5px;
  text-align: center;
  text-decoration: none;
}

.opcao-icone {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 23px;
  transition: transform 0.15s ease;
}

.opcao:hover .opcao-icone { transform: translateY(-2px); }

.op-whatsapp { background: #25d366; color: #fff; }
.op-telegram { background: #26a5e4; color: #fff; }
.op-x { background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.op-facebook { background: #0866ff; color: #fff; }
.op-threads { background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }

.qr-area { margin-top: 18px; text-align: center; }

.qr-area canvas { width: 220px; height: 220px; padding: 10px; border-radius: 18px; background: #fff; }

.qr-area p { margin: 8px 0 0; color: var(--mudo); font-size: 13.5px; }

/* aviso rápido (link copiado) */
.aviso {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 50;
  transform: translateX(-50%);
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--tinta);
  font-size: 14.5px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: aparecer 0.2s ease-out;
  white-space: nowrap;
}

@keyframes aparecer { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* página de texto (política de privacidade) */
.texto { max-width: 680px; }

.texto .voltar { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }

.texto .voltar img { width: auto; height: 44px; }

.texto h1 { margin: 26px 0 4px; font: italic 900 30px/1.1 "Lisbolts Display", system-ui, sans-serif; text-transform: uppercase; }

.texto h2 { margin: 28px 0 6px; font-size: 18px; }

.texto p, .texto li { color: var(--mudo); }

.texto a { color: var(--amarelo); text-underline-offset: 3px; }

.texto .data { margin: 0; font-size: 14px; }

@media (min-width: 640px) {
  .pagina { padding-top: 28px; }
  .folha[open] { align-items: center; }
  .folha-caixa { border-bottom: 1px solid rgba(255, 255, 255, 0.12); border-radius: 26px; padding-bottom: 22px; }
}

@media (max-width: 380px) {
  .youtube-rodape { flex-wrap: wrap; }
  .cartao-texto strong, .youtube-canal strong { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .inscrever-raios, .faisca-clique { display: none; }
}
