@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --fundo: #0a0a0b;
  --fundo-2: #111113;
  --superficie: rgba(255, 255, 255, 0.04);
  --superficie-forte: rgba(255, 255, 255, 0.08);
  --borda: rgba(255, 255, 255, 0.09);
  --texto: #f3efe8;
  --suave: #9a958c;
  --destaque: #d4af6a;
  --destaque-claro: #ecd29b;
  --destaque-texto: #17120a;
  --ok: #7fd6a2;
  --erro: #ff8a80;
  --raio: 18px;
  --serifa: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --suave-curva: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 300 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grão de filme bem sutil por cima de tudo */
body::after {
  content: '';
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grao 1.2s steps(4) infinite;
}
@keyframes grao {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); }
}

a { color: var(--destaque); text-decoration: none; }
::selection { background: var(--destaque); color: var(--destaque-texto); }
img { -webkit-user-drag: none; user-select: none; }

/* ---------- Cabeçalho ---------- */
header.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(16px, 4vw, 48px);
  transition: padding 0.5s var(--suave-curva), background 0.5s, backdrop-filter 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
header.topo.rolado {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--borda);
}
.marca {
  font-family: var(--serifa); font-style: italic; font-weight: 500;
  font-size: 26px; letter-spacing: 0.01em; color: var(--texto);
  display: inline-flex; align-items: baseline; gap: 10px;
}
.marca small {
  font: 500 10px/1 var(--sans); font-style: normal; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--suave);
}
.nav { display: flex; gap: 28px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { color: var(--suave); transition: color 0.3s; }
.nav a:hover { color: var(--texto); }

main { max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
main.estreito { max-width: 760px; padding-top: 120px; }

h1, h2, h3 { font-family: var(--serifa); font-weight: 400; letter-spacing: -0.01em; line-height: 1.05; }
h1 { font-size: clamp(40px, 7vw, 92px); margin: 0; }
h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 16px; }
.rotulo {
  font: 500 11px/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--destaque); display: inline-flex; align-items: center; gap: 12px;
}
.rotulo::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.sub { color: var(--suave); margin: 0 0 16px; }
.aviso { color: var(--suave); font-size: 14px; }
.erro { color: var(--erro); }
.ok { color: var(--ok); }
.oculto { display: none !important; }

/* ---------- Botões e formulários ---------- */
.botao {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  border: 1px solid var(--borda); background: var(--superficie); color: var(--texto);
  font: 500 14px/1 var(--sans); letter-spacing: 0.04em; cursor: pointer;
  transition: transform 0.4s var(--suave-curva), border-color 0.3s, background 0.3s, color 0.3s, box-shadow 0.4s;
  -webkit-tap-highlight-color: transparent;
}
.botao:hover { border-color: rgba(255, 255, 255, 0.25); transform: translateY(-1px); }
.botao:active { transform: scale(0.97); }
.botao.primario {
  background: linear-gradient(135deg, var(--destaque-claro), var(--destaque) 55%, #b48d4a);
  border-color: transparent; color: var(--destaque-texto);
  box-shadow: 0 10px 40px -12px rgba(212, 175, 106, 0.55);
}
.botao.primario:hover { box-shadow: 0 14px 50px -10px rgba(212, 175, 106, 0.75); }
/* Reflexo que atravessa o botão no hover */
.botao.primario::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--suave-curva);
}
.botao.primario:hover::after { transform: translateX(120%); }
.botao:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.botao .seta { transition: transform 0.4s var(--suave-curva); }
.botao:hover .seta { transform: translateX(4px); }

input, select, textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--borda); background: rgba(255, 255, 255, 0.03); color: var(--texto);
  font: 400 16px/1.4 var(--sans); transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: rgba(212, 175, 106, 0.6); background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(212, 175, 106, 0.12);
}
label { display: block; margin: 16px 0 6px; color: var(--suave); font-size: 13px; letter-spacing: 0.04em; }
.aceite { display: flex; gap: 12px; align-items: flex-start; color: var(--texto); font-size: 14px; line-height: 1.5; cursor: pointer; }
.aceite input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--destaque); }

.cartao {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--borda); border-radius: var(--raio); padding: clamp(18px, 3vw, 28px);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.acoes { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 0; }

/* ---------- Animações de entrada ---------- */
.revelar { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--suave-curva), transform 1.1s var(--suave-curva); }
.revelar.visivel { opacity: 1; transform: none; }
.letras span { display: inline-block; opacity: 0; transform: translateY(0.6em) rotate(2deg); animation: letra 1s var(--suave-curva) forwards; }
@keyframes letra { to { opacity: 1; transform: none; } }

/* ---------- Capa (home e evento) ---------- */
.capa-hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 0 clamp(16px, 4vw, 48px) clamp(48px, 10vh, 96px);
  overflow: hidden; isolation: isolate;
}
.capa-hero.baixa { min-height: 72svh; }
.capa-hero .fundo {
  position: absolute; inset: -6%; z-index: -2;
  background: radial-gradient(ellipse at 70% 20%, #2a2418, transparent 60%), var(--fundo-2) center / cover no-repeat;
  animation: kenburns 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.capa-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, rgba(10, 10, 11, 0.1) 35%, rgba(10, 10, 11, 0.65) 75%, var(--fundo) 100%),
    radial-gradient(ellipse at 20% 100%, rgba(10, 10, 11, 0.8), transparent 60%);
}
.capa-hero .conteudo { max-width: 1400px; width: 100%; margin: 0 auto; }
.capa-hero h1 { max-width: 14ch; margin: 18px 0 20px; }
.capa-hero h1 em { color: var(--destaque-claro); }
.capa-hero p.lead { max-width: 46ch; color: rgba(243, 239, 232, 0.78); font-size: clamp(16px, 1.6vw, 19px); margin: 0 0 32px; }
.capa-hero .meta { display: flex; gap: 24px; flex-wrap: wrap; color: rgba(243, 239, 232, 0.75); font-size: 14px; margin-bottom: 28px; }
.capa-hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.rolar {
  position: absolute; right: clamp(16px, 4vw, 48px); bottom: 40px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--suave);
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px;
}
.rolar::after { content: ''; width: 1px; height: 64px; background: linear-gradient(var(--suave), transparent); animation: rolar 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes rolar { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Lista de eventos (home) ---------- */
.secao { padding: clamp(64px, 12vh, 140px) 0; }
.secao-topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.lista-eventos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.evento-cartao {
  position: relative; display: block; border-radius: var(--raio); overflow: hidden;
  aspect-ratio: 4 / 5; color: var(--texto); isolation: isolate;
  transform-style: preserve-3d; transition: transform 0.6s var(--suave-curva), box-shadow 0.6s;
}
.evento-cartao:hover { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.evento-cartao .capa {
  position: absolute; inset: 0; z-index: -2; background: var(--fundo-2) center / cover;
  transform: scale(1.06); transition: transform 1.4s var(--suave-curva), filter 1s;
  filter: saturate(0.9);
}
.evento-cartao:hover .capa { transform: scale(1.14); filter: saturate(1.1); }
.evento-cartao::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85));
}
.evento-cartao .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.evento-cartao h3 { font-size: clamp(28px, 3vw, 38px); margin: 10px 0 8px; }
.evento-cartao .ver {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--destaque-claro); opacity: 0; transform: translateY(10px); transition: all 0.5s var(--suave-curva);
}
.evento-cartao:hover .ver { opacity: 1; transform: none; }
.vazio { padding: 64px 24px; text-align: center; border: 1px dashed var(--borda); border-radius: var(--raio); color: var(--suave); }

/* ---------- Galeria do evento ---------- */
.barra-busca {
  position: relative; z-index: 2; margin-top: -64px;
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.barra-busca .icone {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 30% 30%, rgba(236, 210, 155, 0.35), rgba(212, 175, 106, 0.08));
  border: 1px solid rgba(212, 175, 106, 0.35); color: var(--destaque-claro);
}
.barra-busca .texto { display: flex; gap: 18px; align-items: center; }
.barra-busca strong { font-family: var(--serifa); font-size: 26px; font-weight: 500; display: block; line-height: 1.1; }
@media (max-width: 640px) { .barra-busca { grid-template-columns: 1fr; } .barra-busca .icone { display: none; } }

.contagem { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 48px 0 20px; flex-wrap: wrap; }
.contagem p { margin: 0; color: var(--suave); font-size: 14px; letter-spacing: 0.04em; }

.grade { columns: 4 260px; column-gap: 12px; }
.foto {
  position: relative; display: block; width: 100%; margin: 0 0 12px; break-inside: avoid;
  border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--fundo-2);
  opacity: 0; transform: translateY(24px) scale(0.98);
  transition: opacity 0.9s var(--suave-curva), transform 0.9s var(--suave-curva), box-shadow 0.5s;
  -webkit-tap-highlight-color: transparent;
}
.foto.visivel { opacity: 1; transform: none; }
.foto img { width: 100%; height: auto; display: block; transition: transform 1.2s var(--suave-curva), filter 0.6s; }
.foto:hover img { transform: scale(1.05); }
.foto::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55));
  opacity: 0; transition: opacity 0.5s;
}
.foto:hover::after { opacity: 1; }
/* Brilho que segue o mouse (posição vem do JS) */
.foto::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 240, 210, 0.16), transparent 45%);
}
.foto:hover::before { opacity: 1; }
.foto.escolhida { box-shadow: 0 0 0 2px var(--destaque), 0 20px 50px -20px rgba(212, 175, 106, 0.6); }
.foto.escolhida img { filter: brightness(0.85); }
.foto .selo {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(10, 10, 11, 0.45); border: 1.5px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--destaque-texto); display: grid; place-items: center; font: 700 15px/1 var(--sans);
  cursor: pointer; transition: transform 0.4s var(--suave-curva), background 0.3s, border-color 0.3s;
}
.foto .selo:hover { transform: scale(1.12); }
.foto.escolhida .selo { background: var(--destaque); border-color: var(--destaque); animation: pulo 0.5s var(--suave-curva); }
@keyframes pulo { 0% { transform: scale(0.6); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
.foto .esqueleto { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%) var(--fundo-2); background-size: 200% 100%; animation: brilho 1.6s linear infinite; }
@keyframes brilho { to { background-position: -200% 0; } }

/* Barra de compra flutuante */
.barra-compra {
  position: fixed; left: 50%; bottom: 20px; z-index: 40;
  transform: translate(-50%, 140%); transition: transform 0.7s var(--suave-curva);
  display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 24px;
  border-radius: 999px; background: rgba(20, 20, 22, 0.78); border: 1px solid var(--borda);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); width: max-content; max-width: calc(100vw - 24px);
}
.barra-compra.ativa { transform: translate(-50%, 0); }
.barra-compra .numero { font-family: var(--serifa); font-size: 28px; color: var(--destaque-claro); line-height: 1; }
.barra-compra .resumo { font-size: 14px; color: var(--suave); white-space: nowrap; }

/* ---------- Diálogos ---------- */
dialog {
  background: rgba(18, 18, 20, 0.92); color: var(--texto); border: 1px solid var(--borda);
  border-radius: 24px; padding: 0; max-width: min(520px, calc(100vw - 24px)); width: 100%;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9);
}
dialog[open] { animation: abrir 0.6s var(--suave-curva); }
@keyframes abrir { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
dialog::backdrop { background: rgba(5, 5, 6, 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog .conteudo { padding: clamp(22px, 4vw, 34px); }
dialog h2 { font-size: 36px; margin: 8px 0 12px; }

/* Visualizador em tela cheia */
dialog.visualizador {
  max-width: none; max-height: none; width: 100vw; height: 100svh; margin: 0; border: 0; border-radius: 0;
  background: rgba(5, 5, 6, 0.97);
}
dialog.visualizador[open] { animation: aparecer 0.4s ease; display: flex; flex-direction: column; }
@keyframes aparecer { from { opacity: 0; } }
.visualizador .palco { flex: 1; position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.visualizador .palco img {
  max-width: calc(100vw - 32px); max-height: calc(100svh - 150px); object-fit: contain; border-radius: 4px;
  transition: opacity 0.35s, transform 0.5s var(--suave-curva); box-shadow: 0 40px 100px -30px #000;
}
.visualizador .palco img.saindo { opacity: 0; transform: scale(0.98); }
.visualizador .topo-viz, .visualizador .base-viz {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px clamp(12px, 3vw, 28px);
}
.visualizador .contador { color: var(--suave); font-size: 13px; letter-spacing: 0.15em; }
.visualizador .navegar {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--borda);
  background: rgba(20, 20, 22, 0.6); color: var(--texto); font-size: 22px; cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background 0.3s, transform 0.3s;
}
.visualizador .navegar:hover { background: rgba(40, 40, 44, 0.8); transform: translateY(-50%) scale(1.06); }
.visualizador #anterior { left: 20px; }
.visualizador #proxima { right: 20px; }
@media (max-width: 640px) { .visualizador .navegar { display: none; } }
.botao.fechar { width: 48px; padding: 0; font-size: 20px; }

/* Busca: prévia da selfie com efeito de escaneamento */
.scanner {
  position: relative; width: 200px; aspect-ratio: 1; margin: 8px auto 4px; border-radius: 50%; overflow: hidden;
  border: 1px solid rgba(212, 175, 106, 0.45); box-shadow: 0 0 0 8px rgba(212, 175, 106, 0.06), 0 0 60px -10px rgba(212, 175, 106, 0.5);
}
.scanner img { width: 100%; height: 100%; object-fit: cover; }
.scanner::before {
  content: ''; position: absolute; left: 0; right: 0; height: 40%; top: -40%;
  background: linear-gradient(180deg, transparent, rgba(236, 210, 155, 0.45) 85%, rgba(255, 245, 220, 0.9));
  animation: escanear 1.6s ease-in-out infinite;
}
.scanner::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(236, 210, 155, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(236, 210, 155, 0.12) 1px, transparent 1px);
  background-size: 20px 20px; mix-blend-mode: screen;
}
@keyframes escanear { 0% { top: -40%; } 100% { top: 100%; } }
.escolher-selfie {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 140px; border: 1px dashed rgba(212, 175, 106, 0.4); border-radius: 18px; cursor: pointer;
  color: var(--suave); text-align: center; padding: 18px; transition: background 0.3s, border-color 0.3s;
}
.escolher-selfie:hover { background: rgba(212, 175, 106, 0.05); border-color: rgba(212, 175, 106, 0.7); }
.escolher-selfie input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; pointer-events: none; }
.escolher-selfie .icone { color: var(--destaque-claro); }

/* ---------- Pedido / Pix ---------- */
.pix { text-align: center; }
.pix .qr {
  width: 260px; height: 260px; margin: 22px auto; padding: 14px; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px var(--borda), 0 30px 80px -20px rgba(212, 175, 106, 0.35);
}
.pix .qr img { width: 100%; height: 100%; display: block; }
.copia { word-break: break-all; font-family: ui-monospace, monospace; font-size: 11px; color: var(--suave); opacity: 0.7; }
.aguardando { display: inline-flex; align-items: center; gap: 10px; color: var(--suave); font-size: 14px; margin-top: 18px; }
.aguardando::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--destaque); animation: pulsar 1.4s ease-in-out infinite; }
@keyframes pulsar { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 0 6px rgba(212, 175, 106, 0.15); } }
.sucesso-icone {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(127, 214, 162, 0.25), transparent 70%); border: 1px solid rgba(127, 214, 162, 0.5);
  animation: pulo 0.8s var(--suave-curva);
}
.sucesso-icone path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: tracar 0.8s 0.3s var(--suave-curva) forwards; }
@keyframes tracar { to { stroke-dashoffset: 0; } }

/* ---------- Painel ---------- */
.painel h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 24px; }
.painel h2 { margin-top: 48px; font-size: 32px; }
progress { width: 100%; height: 6px; appearance: none; border: 0; border-radius: 99px; overflow: hidden; background: var(--superficie-forte); margin-top: 16px; }
progress::-webkit-progress-bar { background: var(--superficie-forte); }
progress::-webkit-progress-value { background: linear-gradient(90deg, var(--destaque), var(--destaque-claro)); border-radius: 99px; }
progress::-moz-progress-bar { background: var(--destaque); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
td, th { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--borda); vertical-align: middle; }
th { color: var(--suave); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
td .botao { min-height: 36px; padding: 8px 14px; font-size: 13px; }
.log { font-family: ui-monospace, monospace; font-size: 12px; color: var(--suave); max-height: 220px; overflow: auto; white-space: pre-wrap; margin-top: 12px; }
.texto-longo h2 { font-size: 28px; margin-top: 40px; }
.texto-longo p, .texto-longo li { color: rgba(243, 239, 232, 0.82); }

/* ---------- Rodapé ---------- */
footer {
  margin-top: 96px; padding: 48px clamp(16px, 4vw, 48px); border-top: 1px solid var(--borda);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--suave); font-size: 13px;
}
footer a { color: var(--suave); transition: color 0.3s; }
footer a:hover { color: var(--texto); }

/* ---------- Cursor personalizado (só com mouse) ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; }
.cursor .ponto { width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.cursor .anel {
  position: fixed; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -50%); transition: width 0.4s var(--suave-curva), height 0.4s var(--suave-curva), background 0.4s;
  display: grid; place-items: center; font: 600 10px/1 var(--sans); letter-spacing: 0.15em; color: #000;
}
.cursor.sobre-foto .anel { width: 86px; height: 86px; background: #fff; }
.cursor.sobre-link .anel { width: 56px; height: 56px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .revelar, .foto { opacity: 1; transform: none; }
  .cursor { display: none; }
}

.marca { align-items: center; }
.marca .simbolo { width: 34px; height: 34px; transition: transform 1.2s var(--suave-curva); }
.marca:hover .simbolo { transform: rotate(60deg); }
