/* Geada Tech · site próprio
   Ideia da página: geada. Linha fina (o cristal crescendo) contra bloco pesado (o gelo formado).
   Por isso os títulos misturam peso 250 e 900 da mesma letra, e o que "gela" engrossa. */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* cores tiradas da logo */
  --breu: #04010b;
  --breu-2: #0a0416;
  --roxo: #8b0af8;
  --roxo-2: #a34dff;
  --lilas: #c3a2ff;
  --gelo: #efe7ff;
  --nevoa: #b7aad2;
  --claro: #e7dcff;
  --tinta: #0b0518;

  --titulo: "Unbounded", "Arial Black", system-ui, sans-serif;
  --texto: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --lado: clamp(20px, 5.2vw, 64px);
  --larg: 1160px;
  --corte: 11px;
  --mola: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  background: var(--breu);
}
html.calmo { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--breu);
  color: var(--gelo);
  font: 400 1.0625rem/1.55 var(--texto);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
a { color: inherit; }
::selection { background: var(--roxo); color: #fff; }

:focus-visible { outline: 2px solid var(--lilas); outline-offset: 4px; border-radius: 2px; }

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

.medida { width: min(100% - var(--lado) * 2, var(--larg)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ===== título de seção: fino + pesado ===== */
.titulo {
  font-family: var(--titulo);
  font-size: clamp(1.6rem, 6.5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.titulo .leve { display: block; font-weight: 250; color: var(--lilas); }
.titulo .forte { display: block; font-weight: 800; margin-top: .14em; }
.apoio { margin-top: 1.3rem; max-width: 46ch; color: var(--nevoa); font-size: 1.0625rem; }

/* ===== botão: canto chanfrado, igual as faces do G da logo ===== */
.botao {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 58px; padding: 0 1.55em;
  font: 600 .875rem/1.1 var(--titulo); letter-spacing: -.005em;
  color: #fff; text-decoration: none; text-align: center;
  filter: drop-shadow(0 10px 26px rgba(139, 10, 248, .55));
  transition: transform .3s var(--mola), filter .3s;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.botao::before, .botao::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  clip-path: polygon(var(--corte) 0, 100% 0, 100% calc(100% - var(--corte)), calc(100% - var(--corte)) 100%, 0 100%, 0 var(--corte));
}
.botao::before { background: linear-gradient(180deg, #a64bff 0%, var(--roxo) 55%, #6c05cb 100%); }
.botao::after {
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 140% 0;
}
.vivo .botao::after { animation: brilho 4.2s ease-in-out 1.6s infinite; }
.botao:hover { transform: translateY(-2px); filter: drop-shadow(0 14px 34px rgba(139, 10, 248, .8)); }
.botao:active { transform: translateY(1px) scale(.985); }
.botao .ico { width: 1.35em; height: 1.35em; }

.botao-p { min-height: 42px; padding: 0 1.05em; font-size: .72rem; --corte: 8px; filter: drop-shadow(0 6px 16px rgba(139, 10, 248, .5)); }
.botao-claro { color: var(--tinta); filter: drop-shadow(0 12px 26px rgba(4, 1, 11, .35)); }
.botao-claro::before { background: #fff; }
.botao-claro::after { background-image: linear-gradient(105deg, transparent 38%, rgba(139, 10, 248, .22) 50%, transparent 62%); }
.botao-claro:hover { filter: drop-shadow(0 16px 32px rgba(4, 1, 11, .5)); }
.botao-vazado { filter: none; }
.botao-vazado::before { background: rgba(255, 255, 255, .14); }
.botao-vazado::after { display: none; }
.botao-vazado:hover { filter: none; }
.botao-vazado:hover::before { background: rgba(255, 255, 255, .24); }

@keyframes brilho {
  0%, 62% { background-position: 140% 0; }
  100% { background-position: -40% 0; }
}

/* ===== fio de gelo que cresce no alto conforme a página rola ===== */
.fio {
  position: fixed; inset: 0 0 auto 0; z-index: 55; height: 2px;
  background: linear-gradient(90deg, var(--roxo), #fff);
  box-shadow: 0 0 10px rgba(163, 77, 255, .9);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ===== o que entra em cena quando chega na tela ===== */
.vivo.js :is(.titulo, .chama-titulo)[data-gela] > span,
.vivo.js :is(.apoio, .obras-nota, .entra-mais)[data-gela],
.vivo.js .obra-texto[data-gela] > * {
  opacity: 0; transform: translateY(26px); filter: blur(8px);
  transition: opacity .7s ease var(--espera, 0s), transform .9s var(--mola) var(--espera, 0s), filter .7s ease var(--espera, 0s);
}
.vivo.js :is(.titulo, .chama-titulo).gelou > span,
.vivo.js :is(.apoio, .obras-nota, .entra-mais).gelou,
.vivo.js .obra-texto.gelou > * { opacity: 1; transform: none; filter: none; }
:is(.titulo, .chama-titulo) > .forte { --espera: .14s; }
.apoio { --espera: .26s; }
.obra-texto > :nth-child(2) { --espera: .07s; }
.obra-texto > :nth-child(3) { --espera: .14s; }
.obra-texto > :nth-child(4) { --espera: .21s; }
.obra-texto > :nth-child(5) { --espera: .28s; }

/* ===== topo ===== */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--lado);
  padding-top: calc(10px + env(safe-area-inset-top));
  transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.topo.solto {
  background: rgba(4, 1, 11, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: rgba(195, 162, 255, .14);
}
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.marca img {
  width: 44px; height: 44px; border-radius: 50%;
  -webkit-mask: radial-gradient(closest-side, #000 62%, transparent 92%); mask: radial-gradient(closest-side, #000 62%, transparent 92%);
}
.marca span { font: 300 .82rem/1 var(--titulo); letter-spacing: .14em; text-transform: uppercase; color: var(--gelo); }
.marca b { font-weight: 800; }
/* no topo da página a logo grande já está na tela: o menu só mostra a marca depois que ela sai */
.js .topo .marca { opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s var(--mola); pointer-events: none; }
.js .topo.solto .marca { opacity: 1; transform: none; pointer-events: auto; }
.js .topo .botao-p { opacity: 0; transition: opacity .35s, transform .3s var(--mola), filter .3s; pointer-events: none; }
.js .topo.solto .botao-p { opacity: 1; pointer-events: auto; }

/* ===== abertura ===== */
.abre {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(30px + env(safe-area-inset-top)) var(--lado) 58px;
  background:
    radial-gradient(120% 70% at 50% 18%, rgba(139, 10, 248, .22), transparent 62%),
    var(--breu);
}
.geada { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.abre .geada { opacity: calc(1 - var(--s, 0) * 1.25); }

.cintila { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cintila i {
  position: absolute; width: 3px; height: 3px; margin: -1.5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px rgba(195, 162, 255, .9);
  opacity: 0;
}
.vivo .cintila i { animation: cintila 3.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.calmo .cintila i { opacity: .7; }
@keyframes cintila {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50% { opacity: 1; transform: scale(1.5); }
}

.abre-miolo {
  width: min(100%, var(--larg)); margin-inline: auto;
  display: grid; gap: clamp(22px, 4.2svh, 40px); justify-items: center; text-align: center;
}

.selo {
  position: relative; width: min(58vw, 30svh, 270px); aspect-ratio: 1; border-radius: 50%;
  transform: perspective(900px) rotateY(calc(var(--ix, 0) * 18deg)) rotateX(calc(var(--iy, 0) * -18deg)) scale(calc(1 - var(--s, 0) * .22));
  transition: transform .6s var(--mola);
  opacity: calc(1 - var(--s, 0) * 1.1);
}
.selo img { width: 100%; height: 100%; border-radius: 50%; }
.selo-brilho {
  position: absolute; inset: -22%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 10, 248, .7), rgba(139, 10, 248, .22) 58%, transparent 74%);
}
.vivo .selo-brilho { animation: pulsa 4.6s ease-in-out infinite; }
/* um brilho correndo pelo aro de néon da logo */
.selo-giro {
  position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: screen;
  background: conic-gradient(from 0deg, transparent 0 66%, rgba(255, 255, 255, .95) 84%, transparent 92%);
  -webkit-mask: radial-gradient(closest-side, transparent 92.4%, #000 93.6% 96.6%, transparent 97.8%);
  mask: radial-gradient(closest-side, transparent 92.4%, #000 93.6% 96.6%, transparent 97.8%);
}
.vivo .selo-giro { animation: gira 5.5s linear infinite; }
.calmo .selo-giro { opacity: .5; }
@keyframes pulsa { 0%, 100% { opacity: .75; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes gira { to { transform: rotate(1turn); } }

.abre h1 { font-family: var(--titulo); line-height: .98; letter-spacing: -.03em; }
.h1-leve {
  display: block; margin-bottom: .55em;
  font-weight: 300; font-size: clamp(1.05rem, 5.3vw, 1.9rem); letter-spacing: -.015em; color: var(--lilas);
}
.h1-forte { display: block; font-weight: 900; font-size: clamp(2.2rem, 11.4vw, 5.4rem); white-space: nowrap; }
.gela { display: inline-block; text-shadow: 0 0 30px rgba(139, 10, 248, .38); }

.abre-sub { margin: clamp(18px, 3svh, 28px) auto 0; max-width: 34ch; color: var(--nevoa); }
.abre-sub strong { color: var(--gelo); font-weight: 600; }

.abre-acoes { margin-top: clamp(20px, 3.4svh, 32px); display: grid; gap: 16px; justify-items: center; }
.abre-acoes .botao { width: min(100%, 380px); }
.link-desce {
  display: inline-flex; align-items: center; gap: .5em; padding: 8px 4px;
  font-weight: 600; font-size: .95rem; color: var(--lilas); text-decoration: none;
}
.link-desce .ico { transition: transform .3s var(--mola); }
.link-desce:hover { color: #fff; }
.link-desce:hover .ico { transform: translateY(3px); }
.vivo .link-desce .ico { animation: desce 2.2s ease-in-out infinite; }
@keyframes desce { 0%, 100% { transform: none; } 50% { transform: translateY(4px); } }

.abre-dica {
  position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
  font-size: .74rem; letter-spacing: .04em; color: rgba(183, 170, 210, .7);
  opacity: calc(1 - var(--s, 0) * 4);
}
/* no modo calmo do celular o botão de ligar animações ocupa esse canto */
@media (max-width: 919px) { .calmo .abre-dica { display: none; } }
.so-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .so-mouse { display: inline; } .so-toque { display: none; } }

/* entrada: só com movimento ligado. Sem JS ou no modo calmo, tudo já nasce no lugar. */
.vivo.js .selo, .vivo.js .h1-leve, .vivo.js .gela, .vivo.js .abre-sub, .vivo.js .abre-acoes, .vivo.js .abre-dica { opacity: 0; }
.vivo.pronto .selo { animation: surge 1s var(--mola) .05s both; }
.vivo.pronto .h1-leve { animation: sobe .7s var(--mola) .35s both; }
.vivo.pronto .gela { animation: gelar .85s var(--mola) calc(.5s + var(--i) * .17s) both; }
.vivo.pronto .abre-sub { animation: sobe .7s var(--mola) 1.1s both; }
.vivo.pronto .abre-acoes { animation: sobe .7s var(--mola) 1.25s both; }
.vivo.pronto .abre-dica { animation: aparece 1s ease 2.4s both; }
/* depois da entrada a logo volta a obedecer o mouse e o scroll */
.vivo.entrou .selo { animation: none; opacity: calc(1 - var(--s, 0) * 1.1); }
.vivo.entrou .abre-dica { animation: none; opacity: calc(1 - var(--s, 0) * 4); }

@keyframes surge {
  0% { opacity: 0; transform: scale(.7); filter: blur(16px) brightness(2.4); }
  60% { opacity: 1; filter: blur(0) brightness(1.3); }
  100% { opacity: 1; transform: scale(1); filter: none; }
}
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }
/* a palavra chega fina e embaçada, e "gela": engrossa até o peso máximo */
@keyframes gelar {
  0% { opacity: 0; font-weight: 200; filter: blur(10px); transform: translateY(.18em); }
  55% { opacity: 1; font-weight: 300; filter: blur(0); transform: none; }
  100% { opacity: 1; font-weight: 900; filter: blur(0); transform: none; }
}

@media (min-width: 920px) {
  .abre { padding-top: 84px; padding-bottom: 72px; }
  .abre-miolo { grid-template-columns: 1.18fr .82fr; align-items: center; justify-items: start; text-align: left; gap: clamp(32px, 5vw, 80px); }
  .selo { order: 2; justify-self: center; width: min(34vw, 62svh, 470px); }
  .h1-forte { font-size: clamp(3.2rem, 5.9vw, 5.6rem); }
  .h1-leve { font-size: clamp(1.3rem, 2.1vw, 1.9rem); }
  .abre-sub { margin-left: 0; max-width: 40ch; font-size: 1.15rem; }
  .abre-acoes { justify-items: start; grid-auto-flow: column; align-items: center; gap: 26px; }
  .abre-acoes .botao { width: auto; }
}

/* ===== sites que já fiz ===== */
.obras { padding-top: clamp(84px, 13vw, 170px); }
.obras-faixa { display: grid; margin-top: clamp(40px, 7vw, 84px); }

.obra {
  --fundo: #0a1428; --letra: #f7f3ec; --apagado: rgba(247, 243, 236, .68); --acento: #d4af6a; --sobre: #0a1428;
  position: relative; overflow: hidden;
  display: grid; justify-items: center; align-content: start; gap: clamp(26px, 5vw, 40px);
  padding: clamp(52px, 11vw, 88px) var(--lado) clamp(52px, 10vw, 80px);
  background: var(--fundo); color: var(--letra); text-align: center;
}
.obra-cu { --fundo: #efe9dc; --letra: #14110c; --apagado: rgba(20, 17, 12, .7); --acento: #6f5b2e; --sobre: #efe9dc; }
.obra-bb { --fundo: #ff5a1f; --letra: #1d0a02; --apagado: rgba(29, 10, 2, .78); --acento: #1d0a02; --sobre: #ffe9d6; }

.fone {
  position: relative; width: min(66vw, 288px); aspect-ratio: 432 / 864; padding: 8px;
  border-radius: 40px; background: #0a0a0d;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), 0 34px 60px -22px rgba(0, 0, 0, .65);
  transform: perspective(1000px) rotateX(calc((1 - var(--e, 1)) * 16deg)) translateY(calc((1 - var(--e, 1)) * 46px));
  transform-origin: 50% 100%;
  will-change: transform;
}
.fone::after {
  content: ""; position: absolute; top: 17px; left: 50%; z-index: 3; width: 58px; height: 15px; margin-left: -29px;
  border-radius: 9px; background: #0a0a0d;
}
.fone-tela { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #000; }
.fone video { width: 100%; height: 100%; object-fit: cover; }
/* a tela começa coberta de geada e descongela do meio pra fora conforme a página rola */
.fone-gelo {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 44%, transparent calc(var(--e, 1) * 116% - 30%), #000 calc(var(--e, 1) * 116%));
  mask-image: radial-gradient(circle at 50% 44%, transparent calc(var(--e, 1) * 116% - 30%), #000 calc(var(--e, 1) * 116%));
}
.fone-toca {
  position: absolute; inset: auto 0 22px 0; z-index: 4; margin: auto; width: 54px; height: 54px;
  display: none; place-items: center; border: 0; border-radius: 50%; padding: 0 0 0 3px;
  background: rgba(4, 1, 11, .72); color: #fff; font-size: 1.3rem; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.fone.parado .fone-toca { display: grid; }

.obra-texto { display: grid; justify-items: center; gap: 8px; max-width: 34ch; }
.obra-selo {
  padding: 6px 12px 5px; margin-bottom: 6px;
  font: 600 .64rem/1 var(--titulo); letter-spacing: .1em; text-transform: uppercase;
  color: var(--sobre); background: var(--acento);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.obra h3 { font: 800 clamp(1.45rem, 6vw, 1.9rem)/1.05 var(--titulo); letter-spacing: -.03em; text-wrap: balance; }
.obra-ramo { font-weight: 600; font-size: .92rem; color: var(--apagado); }
.obra-frase { margin-top: 6px; color: var(--apagado); }
.obra-link {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 10px; padding: 10px 2px 8px;
  font: 600 .82rem/1 var(--titulo); text-decoration: none; color: var(--letra);
  border-bottom: 2px solid currentColor;
}
.obra-link .ico { transition: transform .3s var(--mola); }
.obra-link:hover .ico { transform: translate(3px, -3px); }

.obras-nota { padding-top: 26px; font-size: .9rem; color: var(--nevoa); max-width: 62ch; }

@media (min-width: 920px) {
  .obras { padding-top: clamp(110px, 10vw, 150px); }
  .obras-cabeca { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; gap: clamp(32px, 5vw, 80px); }
  .obras-cabeca .apoio { margin: 0 0 .5rem; }
  .obras-faixa { grid-template-columns: repeat(3, 1fr); }
  .obra { padding-inline: clamp(20px, 3vw, 44px); }
  .fone { width: min(22vw, 288px); }
  /* as três telas descongelam em escadinha */
  .obra-cu { padding-top: clamp(90px, 12vw, 150px); }
  .obra-bb { padding-top: clamp(64px, 8vw, 110px); }
}

/* ===== como funciona ===== */
.passos { padding: clamp(88px, 14vw, 180px) 0 clamp(88px, 13vw, 160px); }
.trilha-caixa { position: relative; margin-top: clamp(44px, 7vw, 80px); max-width: 760px; }
.trinca {
  position: absolute; top: 0; left: 0; width: 64px; height: 100%; overflow: visible;
  filter: drop-shadow(0 0 6px rgba(163, 77, 255, .9));
}
.trinca path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.trinca-fio { stroke: #f4edff; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--l, 1)); }
.trinca-ramos { stroke: rgba(195, 162, 255, .55); stroke-width: 1; opacity: calc(var(--l, 1) * 1.4 - .2); }

.trilha { position: relative; list-style: none; padding: 0; display: grid; gap: clamp(46px, 8vw, 84px); }
.passo { display: grid; grid-template-columns: 64px 1fr; gap: clamp(14px, 3vw, 28px); align-items: start; }
.passo-n {
  justify-self: center; padding: 6px 0 10px; background: var(--breu);
  font: 200 clamp(3rem, 12vw, 4.4rem)/.9 var(--titulo); color: rgba(239, 231, 255, .34);
  transition: font-weight .6s var(--mola), color .6s, text-shadow .6s;
}
.passo h3 { font: 700 clamp(1.2rem, 5vw, 1.6rem)/1.15 var(--titulo); letter-spacing: -.025em; padding-top: .35em; }
.passo p { margin-top: .6em; color: var(--nevoa); max-width: 46ch; }
.passo > div { opacity: .45; transition: opacity .6s; }
.passo.gelou .passo-n { font-weight: 900; color: #fff; text-shadow: 0 0 30px rgba(139, 10, 248, 1); }
.passo.gelou > div { opacity: 1; }

@media (min-width: 920px) {
  .passos-grade { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
  .passos-grade .titulo { position: sticky; top: 26vh; }
  .trilha-caixa { margin-top: 6px; }
  .trilha { gap: clamp(70px, 9vw, 120px); }
}

/* ===== o que vem no site (bloco claro) ===== */
.entra { background: var(--claro); color: var(--tinta); padding: clamp(80px, 12vw, 150px) 0; }
.entra .titulo .leve { color: #5a2bb5; }
.lista { list-style: none; padding: 0; margin-top: clamp(36px, 6vw, 64px); border-top: 1.5px solid rgba(11, 5, 24, .9); }
.item { display: grid; gap: 8px 48px; padding: clamp(20px, 3.6vw, 30px) 0; border-bottom: 1px solid rgba(11, 5, 24, .22); }
.item h3 {
  font: 200 clamp(1.3rem, 6.5vw, 2.7rem)/1.1 var(--titulo); letter-spacing: -.035em; white-space: nowrap;
  color: rgba(11, 5, 24, .42);
  transition: font-weight .55s var(--mola), color .55s;
}
.item p { max-width: 44ch; color: rgba(11, 5, 24, .74); opacity: .55; transition: opacity .55s; }
.item.gelou h3 { font-weight: 900; color: var(--tinta); }
.item.gelou p { opacity: 1; }
.entra-mais { margin-top: clamp(28px, 5vw, 44px); max-width: 52ch; font-weight: 600; color: #3d1a85; }
@media (min-width: 860px) {
  .item { grid-template-columns: 1.15fr 1fr; align-items: center; }
}

/* ===== o cristal do seu negócio ===== */
.cristal {
  position: relative; overflow: hidden;
  padding: clamp(88px, 13vw, 170px) 0 clamp(80px, 12vw, 150px);
  background: radial-gradient(90% 60% at 50% 55%, rgba(139, 10, 248, .2), transparent 70%), var(--breu);
}
.cristal-grade { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 5vw, 40px); }
.campo { display: block; margin-top: clamp(22px, 4vw, 34px); }
.campo input {
  width: 100%; padding: 14px 2px 12px; border: 0; border-bottom: 2px solid rgba(195, 162, 255, .5); border-radius: 0;
  background: transparent; color: #fff; caret-color: var(--roxo-2);
  font: 700 clamp(1.2rem, 5.6vw, 1.9rem)/1.2 var(--titulo); letter-spacing: -.02em;
  transition: border-color .3s;
}
.campo input::placeholder { color: rgba(195, 162, 255, .42); font-weight: 300; }
.campo input:focus { outline: none; border-bottom-color: #fff; }
.cristal-peca { display: grid; justify-items: center; gap: 14px; }
#cristal-tela { width: min(82vw, 430px); aspect-ratio: 1; }
.vivo #cristal-tela { animation: gira 90s linear infinite; }
.cristal-peca figcaption {
  font: 500 .68rem/1.3 var(--titulo); letter-spacing: .12em; text-transform: uppercase; text-align: center; color: var(--lilas);
  max-width: 100%; overflow-wrap: anywhere;
}
.cristal-fecha { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; justify-items: start; }
.cristal-fala { max-width: 40ch; color: var(--nevoa); }
.cristal-fala b { color: #fff; font-weight: 700; }
.cristal-fecha .botao { width: min(100%, 420px); max-width: 100%; }
.cristal-fecha .botao span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; padding-block: .2em; }

@media (min-width: 920px) {
  .cristal-grade { grid-template-columns: 1fr minmax(0, 430px); grid-template-areas: "texto peca" "fecha peca"; align-items: center; column-gap: clamp(40px, 7vw, 110px); }
  .cristal-texto { grid-area: texto; align-self: end; }
  .cristal-peca { grid-area: peca; }
  .cristal-fecha { grid-area: fecha; align-self: start; }
  #cristal-tela { width: 100%; }
}

/* ===== chamada final ===== */
.chama {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--roxo); color: #fff;
  padding: clamp(96px, 15vw, 190px) 0 clamp(96px, 14vw, 170px);
  text-align: center;
}
.chama-miolo { display: grid; justify-items: center; gap: clamp(18px, 3vw, 28px); }
.chama-titulo { font-family: var(--titulo); line-height: .98; letter-spacing: -.035em; }
.chama-titulo .leve { display: block; font-weight: 250; font-size: clamp(1.7rem, 8.4vw, 4.2rem); }
.chama-titulo .forte { display: block; font-weight: 900; font-size: clamp(3.2rem, 17vw, 8.6rem); margin-top: .04em; }
.chama-sub { max-width: 36ch; font-size: 1.1rem; color: rgba(255, 255, 255, .9); }
.chama-acoes { display: grid; gap: 12px; width: min(100%, 400px); margin-top: 8px; }
@media (min-width: 720px) {
  .chama-acoes { grid-auto-flow: column; width: auto; }
}

/* ===== rodapé ===== */
.rodape { display: grid; justify-items: center; gap: 12px; padding: 56px var(--lado) calc(64px + env(safe-area-inset-bottom)); text-align: center; }
.rodape img { width: 132px; height: 132px; border-radius: 50%; }
.rodape-linha { font: 500 .72rem/1 var(--titulo); letter-spacing: .22em; text-transform: uppercase; color: var(--lilas); }
.rodape-linha i { font-style: normal; color: var(--roxo-2); margin-inline: .3em; }
.rodape-fim { font-size: .85rem; color: rgba(183, 170, 210, .7); }

/* ===== barra fixa do celular ===== */
.barra {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  transform: translateY(120%); transition: transform .45s var(--mola); pointer-events: none;
}
.barra .botao { width: 100%; min-height: 54px; pointer-events: auto; filter: drop-shadow(0 10px 22px rgba(4, 1, 11, .6)) drop-shadow(0 0 18px rgba(139, 10, 248, .5)); }
.barra.visivel { transform: none; }
@media (min-width: 920px) { .barra { display: none; } }

/* ===== botão de ligar/pausar animações e aviso ===== */
.mexe {
  position: fixed; left: 12px; bottom: 12px; z-index: 45;
  padding: 9px 13px; border: 1px solid rgba(195, 162, 255, .4); border-radius: 999px;
  background: rgba(4, 1, 11, .86); color: var(--gelo); font: 600 .78rem/1 var(--texto); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.mexe:hover { border-color: #fff; }
@media (max-width: 919px) { .barra.visivel ~ .mexe { bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* ===== botão da música: quatro barrinhas que dançam enquanto ela toca ===== */
.som {
  position: fixed; right: 12px; bottom: 12px; z-index: 45; isolation: isolate;
  display: flex; align-items: center; justify-content: center; gap: 3px;
  width: 46px; height: 46px; padding: 0; border: 0; background: none; color: var(--gelo); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.som[hidden] { display: none; }
.som::before, .som::after {
  content: ""; position: absolute; z-index: -1;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.som::before { inset: 0; background: rgba(195, 162, 255, .5); transition: background .3s; }
.som::after { inset: 1px; background: rgba(4, 1, 11, .92); }
.som:hover::before, .som.tocando::before { background: var(--roxo-2); }
.som i { width: 3px; height: 4px; border-radius: 1px; background: currentColor; opacity: .5; transition: height .35s var(--mola), opacity .3s; }
.som.tocando i { opacity: 1; height: 15px; }
.som.tocando i:nth-child(2n) { height: 9px; }
.vivo .som.tocando i { animation: batuca .86s ease-in-out infinite; }
.vivo .som.tocando i:nth-child(2) { animation-delay: -.32s; }
.vivo .som.tocando i:nth-child(3) { animation-delay: -.6s; }
.vivo .som.tocando i:nth-child(4) { animation-delay: -.16s; }
@keyframes batuca { 0%, 100% { height: 5px; } 50% { height: 17px; } }
/* quando a música começa no primeiro toque, o botão dá um pulo pra pessoa ver de onde vem o som */
.vivo .som.chegou { animation: chegou 1.1s var(--mola) 2; }
@keyframes chegou { 0%, 100% { transform: none; filter: none; } 35% { transform: scale(1.22); filter: drop-shadow(0 0 14px rgba(163, 77, 255, .95)); } }
@media (max-width: 919px) { .barra.visivel ~ .som { bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* o player do YouTube que toca a música, no rodapé (o YouTube pede no mínimo 200 px de altura e nada por cima) */
.tocador { display: grid; justify-items: center; gap: 10px; width: 100%; margin-bottom: 26px; }
.tocador[hidden] { display: none; }
.tocador-rotulo { font: 500 .68rem/1 var(--titulo); letter-spacing: .2em; text-transform: uppercase; color: var(--lilas); }
.tocador-quadro { width: min(100%, 380px); height: 214px; background: #000; outline: 1px solid rgba(195, 162, 255, .35); }
.tocador-quadro iframe { display: block; width: 100%; height: 100%; border: 0; }
.tocador-credito { font-size: .8rem; color: rgba(183, 170, 210, .8); }
.tocador-credito i { font-style: normal; color: var(--roxo-2); margin-inline: .2em; }

.aviso {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60;
  max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 10px;
  background: #fff; color: var(--tinta); font-weight: 600; font-size: .9rem; text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--mola);
}
.aviso.visivel { opacity: 1; transform: translate(-50%, 0); }

/* modo calmo: nada se mexe sozinho. O que anda com o scroll continua, é a pessoa que move. */
.calmo *, .calmo *::before, .calmo *::after { animation: none !important; }
.calmo .selo, .calmo .link-desce .ico { transition: none; }
