/* Versão "Lunami": paleta dos overlays da lunami777 (preto, vinho, roxo das asas, verde dos olhos) */
:root {
  --preto: #0a0609;
  --noite: #140b16;
  --vinho: #5c1426;
  --vinho2: #8e2238;
  --roxo: #3b1f47;
  --roxo2: #7d4a8c;
  --lilas: #b896c8;
  --verde: #7ee8a2;
  --pele: #f4e7ea;
  --apagado: #a99aad;
  --linha: rgba(184, 150, 200, .16);
  --gotica: "UnifrakturMaguntia", "Old English Text MT", serif;
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --margem: clamp(16px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--pele);
  background:
    radial-gradient(900px 600px at 85% 8%, rgba(125, 74, 140, .28), transparent 70%),
    radial-gradient(800px 700px at 0% 45%, rgba(92, 20, 38, .32), transparent 70%),
    radial-gradient(900px 700px at 100% 85%, rgba(59, 31, 71, .45), transparent 70%),
    var(--preto);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.04; }
h1, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; }
.titulo {
  font-family: var(--display); font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  color: var(--pele);
  text-shadow: -2px 0 rgba(142, 34, 56, .75), 2px 0 rgba(126, 232, 162, .35), 0 0 30px rgba(125, 74, 140, .5);
  margin-bottom: clamp(32px, 5vw, 56px);
}
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }
::selection { background: var(--vinho2); color: #fff; }

/* CRT bem leve por cima de tudo */
.crt {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply; opacity: .5;
}

.terminal { font-family: var(--mono); color: var(--verde); font-size: .95rem; letter-spacing: .04em; text-shadow: 0 0 10px rgba(126, 232, 162, .45); }
.terminal.pequeno { font-size: .85rem; margin-top: 24px; }
.cursor { display: inline-block; width: .6em; height: 1.05em; background: var(--verde); margin-left: 4px; vertical-align: -3px; animation: piscar 1s steps(1) infinite; }
@keyframes piscar { 50% { opacity: 0; } }

.botao {
  display: inline-block;
  background: var(--verde); color: #0b1a10;
  font-weight: 600; text-decoration: none;
  padding: 15px 26px; border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(126, 232, 162, .4), 0 0 26px -6px rgba(126, 232, 162, .7);
  transition: transform .2s, box-shadow .2s;
}
.botao:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(126, 232, 162, .6), 0 0 40px -4px rgba(126, 232, 162, .9); }
.botao-grande { font-size: 1.15rem; padding: 18px 34px; }
.link { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--roxo2); padding-bottom: 2px; }
.link::after { content: " ↗"; color: var(--verde); }
.link:hover { border-color: var(--verde); }

/* topo */
.topo {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--margem);
}
.marca {
  position: relative;
  font-family: var(--gotica); font-size: 2.2rem; text-decoration: none; line-height: 1;
  text-shadow: 0 0 18px rgba(184, 150, 200, .5);
}
.marca::before, .marca::after {
  content: attr(data-texto); position: absolute; inset: 0; opacity: 0;
}
.marca:hover::before { opacity: .8; color: var(--vinho2); transform: translate(-2px, 1px); animation: glitch .3s steps(2) 2; }
.marca:hover::after { opacity: .7; color: var(--verde); transform: translate(2px, -1px); animation: glitch .3s steps(2) reverse 2; }
@keyframes glitch { 0% { clip-path: inset(0 0 60% 0); } 50% { clip-path: inset(40% 0 20% 0); } 100% { clip-path: inset(70% 0 0 0); } }
.topo-whats { font-size: .95rem; text-decoration: none; color: var(--lilas); }
.topo-whats span { color: var(--verde); font-size: .7em; vertical-align: 2px; }
.topo-whats:hover { color: var(--pele); }

/* morceguinhos */
.morcego { position: absolute; z-index: 1; width: 64px; pointer-events: none; filter: drop-shadow(0 0 6px rgba(125, 74, 140, .7)); animation: voar 7s ease-in-out infinite; }
@keyframes voar { 0%, 100% { transform: translate(0, 0) rotate(-3deg); } 50% { transform: translate(10px, -14px) rotate(4deg); } }

/* hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(32px, 7vw, 100px) var(--margem) clamp(72px, 10vw, 140px);
}
.m-a { top: 8%; left: 46%; width: 70px; }
.m-b { top: 62%; left: 52%; width: 48px; animation-delay: -2s; animation-duration: 9s; }
.m-c { top: 4%; right: 6%; width: 54px; animation-delay: -4s; }
.hero-texto { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); margin: 18px 0 30px; }
.hero h1 em { font-style: normal; color: var(--verde); text-shadow: 0 0 24px rgba(126, 232, 162, .45); }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #d9c9d8; max-width: 34em; }
.hero-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }
.hero-celular { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.lua {
  position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #c7a8d6, #8c6aa0 55%, #5a3e6c 100%);
  box-shadow: 0 0 80px rgba(184, 150, 200, .35), inset -20px -30px 60px rgba(30, 10, 35, .45);
  opacity: .85;
}

.celular {
  position: relative;
  width: min(290px, 100%);
  border: 8px solid #1d1220; border-radius: 34px; overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgba(184, 150, 200, .25), 0 30px 60px -20px rgba(0, 0, 0, .9);
}
.celular img { width: 100%; }

/* trabalhos */
.trabalhos { position: relative; padding: clamp(48px, 7vw, 96px) var(--margem); }
.vidro {
  background: linear-gradient(135deg, rgba(59, 31, 71, .38), rgba(20, 11, 22, .55));
  border: 1px solid var(--linha);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 60px -40px rgba(0, 0, 0, .9);
}
.caso {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.caso-tipo { font-family: var(--mono); font-size: .85rem; color: var(--lilas); text-transform: lowercase; margin-bottom: 12px; }
.caso-tipo span { color: var(--apagado); }
.caso-tipo .no-ar { color: var(--verde); text-shadow: 0 0 10px rgba(126, 232, 162, .5); }
.caso h3 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 18px; }
.caso-texto > p { color: #d9c9d8; max-width: 30em; }
.caso-texto strong { color: var(--pele); }
.caso-itens { list-style: none; padding: 0; margin: 22px 0 28px; }
.caso-itens li { padding: 9px 0 9px 22px; border-top: 1px solid var(--linha); color: #d9c9d8; font-size: .98rem; position: relative; }
.caso-itens li::before { content: "†"; position: absolute; left: 2px; color: var(--vinho2); }
.caso-itens li:last-child { border-bottom: 1px solid var(--linha); }

.imagens-site { position: relative; padding-bottom: 60px; }
.imagens-site .tela { width: 88%; border-radius: 8px; border: 1px solid var(--linha); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .95); }
.imagens-site .celular-pequeno { position: absolute; right: 0; bottom: 0; width: 28%; border-width: 6px; border-radius: 24px; }
.imagens-app { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 24px); }
.imagens-app .celular { width: 100%; border-width: 6px; border-radius: 24px; }
.imagens-app .celular:nth-child(2) { transform: translateY(32px); }

/* pacote e dúvidas */
.pacote, .duvidas { padding: clamp(72px, 10vw, 130px) var(--margem); }
.pacote dl, .duvidas dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(28px, 4vw, 56px); margin: 0; }
.duvidas dl { grid-template-columns: repeat(2, 1fr); max-width: 1100px; }
dt { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: 8px; }
.pacote dt::before { content: "> "; font-family: var(--mono); color: var(--verde); }
dd { margin: 0; color: var(--apagado); }

/* passos */
.passos { padding: clamp(72px, 10vw, 130px) var(--margem); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); background: rgba(20, 11, 22, .55); }
.passos ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.passos li { display: flex; flex-direction: column; gap: 10px; }
.passos li > span { font-family: var(--mono); font-size: .9rem; color: var(--verde); }
.passos h3 { font-size: 1.4rem; }
.passos p { color: var(--apagado); margin: 0; }

/* sobre */
.sobre {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(72px, 10vw, 130px) var(--margem);
}
.sobre-texto p:not(.terminal) { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d9c9d8; max-width: 34em; }
.sobre-foto { position: relative; margin: 0; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.sobre-foto .lua { width: min(400px, 92%); opacity: .55; }
.sobre-foto img:not(.morcego), .foto-vaga {
  position: relative; width: min(320px, 80%); aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--linha);
  box-shadow: 0 0 0 6px rgba(20, 11, 22, .6), 0 30px 60px -20px rgba(0, 0, 0, .9);
}
.foto-vaga {
  display: grid; place-items: center; align-content: center;
  background: repeating-linear-gradient(45deg, rgba(59, 31, 71, .5) 0 12px, rgba(20, 11, 22, .6) 12px 24px);
  font-family: var(--mono); font-size: .85rem; color: var(--lilas);
}
.m-d { top: 2%; right: 8%; width: 46px; animation-name: balancar; animation-duration: 4s; transform-origin: top center; }
@keyframes balancar { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

/* final */
.final {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--margem);
  text-align: center;
  background: radial-gradient(55% 75% at 50% 100%, rgba(126, 232, 162, .12), transparent 70%);
  border-top: 1px solid var(--linha);
}
.final h2 { margin-bottom: 18px; }
.final p { color: #d9c9d8; max-width: 32em; margin: 0 auto 34px; }
.m-e { top: 18%; left: 14%; width: 60px; }

.rodape {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding: 28px var(--margem); border-top: 1px solid var(--linha);
  font-family: var(--mono); font-size: .8rem; color: var(--apagado);
}
.rodape p { margin: 0; }

/* responsivo */
@media (max-width: 900px) {
  .hero, .caso, .sobre { grid-template-columns: 1fr; }
  .hero-celular { display: none; }
  .m-a { left: auto; right: 8%; top: 2%; }
  .m-b { display: none; }
  .pacote dl { grid-template-columns: 1fr 1fr; }
  .passos ol { grid-template-columns: 1fr; }
  .sobre-foto { min-height: 380px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .marca { font-size: 1.9rem; }
  .topo-whats { color: var(--verde); }
  .m-c { display: none; }
  .pacote dl, .duvidas dl { grid-template-columns: 1fr; gap: 28px; }
  .caso { padding: 20px 16px; border-radius: 14px; }
  .imagens-site { padding-bottom: 40px; }
  .imagens-site .tela { width: 100%; }
  .imagens-site .celular-pequeno { width: 34%; right: -4px; }
  .imagens-app { gap: 8px; }
  .imagens-app .celular { border-width: 4px; border-radius: 16px; }
  .imagens-app .celular:nth-child(2) { transform: translateY(18px); }
  .botao { width: 100%; text-align: center; }
  .m-e { left: 6%; top: 8%; width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .morcego, .cursor { animation: none; }
}

/* cursor: seta estilo macOS nas cores da Lunami + morceguinho em cima do que é clicável (só com mouse) */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("../img/cursor/seta.svg") 5 3, url("../img/cursor/seta.png") 5 3, auto; }
  a, button, summary, select, label, [role="button"] {
    cursor: url("../img/cursor/morcego.png") 16 8, pointer;
    cursor: -webkit-image-set(url("../img/cursor/morcego.png") 1x, url("../img/cursor/morcego@2x.png") 2x) 16 8, pointer;
    cursor: image-set(url("../img/cursor/morcego.png") 1x, url("../img/cursor/morcego@2x.png") 2x) 16 8, pointer;
  }
  input, textarea { cursor: text; }
}
