/* Bruno Martos · Engenharia do Comportamento — estilo compartilhado
   Escuro + Lora + dourado (padrão do Bruno) com detalhes de prancheta de engenharia. */
:root {
  --bg: #0B0B0C;
  --bg2: #141416;
  --bg3: #1C1C1F;
  --linha: rgba(243, 241, 236, .09);
  --grade: rgba(228, 169, 59, .045);
  --txt: #F3F1EC;
  --txt2: #A9A49A;
  --ouro: #E4A93B;
  --ouro2: #C88F25;
  --claro: #E9E6DF;
  --escuro: #17140F;
  --ouro-claro: #9A6B12;
  --serif: "Lora", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --raio: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.g { color: var(--ouro); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.estreito { max-width: 720px; }

/* grade de prancheta */
.grade {
  background-image:
    linear-gradient(var(--grade) 1px, transparent 1px),
    linear-gradient(90deg, var(--grade) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* rótulo técnico */
.rotulo {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ouro);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.rotulo::before { content: ""; width: 22px; height: 1px; background: var(--ouro); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 6vw, 60px); }
h2 { font-size: clamp(28px, 4.4vw, 44px); }
h3 { font-size: 22px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--txt2); }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 28px;
  border: 0; border-radius: 999px;
  background: var(--ouro); color: #17140F;
  font-family: var(--sans); font-size: 17px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #F0B54A; }
.btn:active { transform: scale(.98); }
.btn.cheio { width: 100%; }
.btn.fantasma { background: transparent; color: var(--txt); border: 1px solid var(--linha); }
.btn.fantasma:hover { border-color: var(--ouro); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* cabeçalho */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 11, 12, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linha);
}
.topo .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.marca { font-family: var(--serif); font-size: 18px; text-decoration: none; }
.marca small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--ouro); text-transform: uppercase; margin-top: -2px; }
.topo .rev { font-family: var(--mono); font-size: 11px; color: var(--txt2); letter-spacing: .1em; }
@media (max-width: 520px) { .topo .rev { display: none; } }

/* campos */
.campo { display: block; margin-bottom: 14px; }
.campo span { display: block; font-size: 14px; color: var(--txt2); margin-bottom: 6px; }
.campo input, .campo select {
  width: 100%; min-height: 52px; padding: 12px 16px;
  background: var(--bg2); color: var(--txt);
  border: 1px solid var(--linha); border-radius: 10px;
  font: inherit; font-size: 17px;
}
.campo input:focus, .campo select:focus { outline: none; border-color: var(--ouro); }
.campo.erro input { border-color: #E5664B; }

.rodape { border-top: 1px solid var(--linha); padding-top: 28px; padding-bottom: 40px; color: var(--txt2); font-size: 13px; }
.rodape .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
