/* Estilo compartilhado por todas as páginas do VJLStudio.
   Cabeçalho, logo, abas, formulário, rodapé e o visor de câmera são iguais em todas.
   Cada página define as próprias cores e fontes em tema-*.css, usando os mesmos nomes de variáveis. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
}
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%; max-width: 1140px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- cabeçalho fixo: igual em todas as páginas ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: #111A15; color: #F4F1EA; border-bottom: 1px solid rgba(244,241,234,.14); }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding-block: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: "Jost", "Segoe UI", system-ui, sans-serif; font-size: 1.3rem; letter-spacing: .01em; margin-right: auto; padding-bottom: 8px; }
.brand svg { width: 44px; height: 44px; flex: none; display: block; }
.brand b { font-weight: 600; }
.brand span { font-weight: 400; }
.quote { font: 500 .95rem/1 "Jost", "Segoe UI", system-ui, sans-serif; text-decoration: none; color: #111A15; background: #F4F1EA; padding: 10px 16px; border-radius: 999px; white-space: nowrap; margin-bottom: 8px; }
.quote:hover { background: #fff; }
.tabs { display: flex; gap: 2px; overflow-x: auto; flex: 1 1 100%; scrollbar-width: none; font-family: "Jost", "Segoe UI", system-ui, sans-serif; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 10px 14px 9px; text-decoration: none; color: rgba(244,241,234,.78); font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; }
.tab:hover { color: #fff; }
.tab[aria-current="page"] { color: #fff; border-bottom-color: var(--tab, #F4F1EA); }
.topbar :focus-visible { outline-color: #F4F1EA; }
@media (min-width: 860px) {
  .topbar .wrap { flex-wrap: nowrap; padding-block: 8px; gap: 20px; }
  .brand { margin-right: 0; padding-bottom: 0; }
  .tabs { flex: 1 1 auto; margin-left: 8px; }
  .tab { padding-block: 14px 13px; }
  .quote { margin-bottom: 0; }
}

/* ---------- elementos comuns ---------- */
.eyebrow { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rec); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rec) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border-radius: var(--btn-radius, 12px); background: var(--accent); color: var(--on-accent); font: 500 1.02rem/1.2 var(--font-body); text-decoration: none; border: 2px solid var(--accent); cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.sec-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 58ch; }
.sec-head p { color: var(--muted); }
section.block { padding-block: 64px; }
.mono { font-family: var(--font-mono); }

/* ---------- visor de câmera ---------- */
.vf { position: relative; overflow: hidden; border-radius: 16px; background: #1b1b1b; color: #fff; }
.vf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vf > svg.art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vf .c { position: absolute; width: 28px; height: 28px; border: 3px solid rgba(255,255,255,.92); }
.vf .tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.vf .tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.vf .bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.vf .br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.vf .pill { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.5); padding: 5px 12px; border-radius: 999px; font: 500 .78rem/1.3 "Jost", system-ui, sans-serif; letter-spacing: .08em; backdrop-filter: blur(3px); color: #fff; }
.vf .pill i { width: 9px; height: 9px; border-radius: 50%; background: #FF5A6E; flex: none; }
.vf .rec { top: 24px; left: 52px; }
.vf .rec b { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-weight: 500; }
.vf .bat { top: 24px; right: 52px; padding: 5px 10px; }
.vf .bat svg { width: 28px; height: 14px; display: block; }
.vf .cap { bottom: 24px; left: 52px; letter-spacing: .02em; font-size: .85rem; }
.vf .tc { bottom: 24px; right: 52px; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: .95rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.vf .focus { position: absolute; left: 47%; top: 52%; width: 70px; height: 54px; transform: translate(-50%, -50%); border: 2px solid rgba(255,255,255,.9); border-radius: 3px; animation: lock 3.2s ease-in-out infinite; }
@keyframes lock { 0%, 55% { transform: translate(-50%, -50%) scale(1.5); opacity: .6; } 70%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.vf.hud::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, transparent calc(33.33% - .5px), rgba(255,255,255,.26) calc(33.33% - .5px), rgba(255,255,255,.26) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.26) calc(66.66% - .5px), rgba(255,255,255,.26) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
    linear-gradient(to bottom, transparent calc(33.33% - .5px), rgba(255,255,255,.26) calc(33.33% - .5px), rgba(255,255,255,.26) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.26) calc(66.66% - .5px), rgba(255,255,255,.26) calc(66.66% + .5px), transparent calc(66.66% + .5px));
}
@media (max-width: 560px) {
  .vf .cap { display: none; }
  .vf .c { width: 20px; height: 20px; }
  .vf .rec { left: 42px; }
  .vf .bat { right: 42px; }
  .vf .tc { right: 42px; }
}

/* ---------- formulário (igual em todas as páginas) ---------- */
.card { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius, 18px); padding: 30px; display: grid; gap: 18px; }
.card h2 { font-size: 2rem; }
.card .sub { color: var(--muted); font-size: 1rem; }
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
label { font-weight: 500; font-size: .95rem; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%; font: inherit; color: var(--ink); background: var(--field, var(--bg));
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
input::placeholder { color: var(--muted); opacity: .8; }
input:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 1px; }
input[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: .88rem; min-height: 1.2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button.send { font: inherit; font-weight: 500; font-size: 1.05rem; letter-spacing: .02em; min-height: 52px; cursor: pointer; background: var(--accent); color: var(--on-accent); border: 0; border-radius: var(--btn-radius, 12px); padding: 12px 20px; }
button.send:hover { filter: brightness(1.08); }
button.send[disabled] { opacity: .65; cursor: progress; }
.fine { font-size: .85rem; color: var(--muted); }
.ok { background: var(--tint); border-radius: 12px; padding: 18px; display: grid; gap: 6px; }
.ok strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.demo { font-size: .85rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 4px; }

/* ---------- outras ocasiões (rodapé de cada página) ---------- */
.cross { border-top: 1px solid var(--line); padding-block: 48px; }
.cross h2 { font-size: 1.7rem; margin-bottom: 18px; }
.cross-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cross-list a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius, 18px); text-decoration: none; background: var(--surface); }
.cross-list a:hover { border-color: var(--ink); }
.cross-list strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.cross-list span { color: var(--muted); font-size: .95rem; }

/* ---------- rodapé ---------- */
.rodape { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: .92rem; }
.rodape .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: center; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.rodape a { text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot, .vf .focus { animation: none; }
}
