:root {
  --bg: #0e0e10;
  --bg-2: #17171a;
  --card: #1c1c20;
  --linha: #2c2c32;
  --texto: #f3f1ec;
  --texto-2: #a9a6a0;
  --ouro: #c9a063;
  --ouro-2: #e2c08a;
  --ok: #2fbf71;
  --zap: #25d366;
  --alerta: #e0a43a;
  --erro: #e5534b;
  --raio: 14px;
  --sombra: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--texto);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .titulo-fonte { font-family: "Sora", "Inter", system-ui, sans-serif; letter-spacing: -.01em; line-height: 1.2; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.envelope { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.ouro { color: var(--ouro); }
.mudo { color: var(--texto-2); }
.oculto { display: none !important; }

/* ---------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--linha);
  background: var(--bg-2); color: var(--texto); font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.98); }
.btn:hover { border-color: #444; }
.btn-ouro { background: linear-gradient(180deg, var(--ouro-2), var(--ouro)); color: #1a1408; border-color: transparent; }
.btn-ouro:hover { border-color: transparent; filter: brightness(1.05); }
.btn-zap { background: var(--zap); color: #062b14; border-color: transparent; }
.btn-zap:hover { border-color: transparent; filter: brightness(1.05); }
.btn-peq { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn-bloco { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; }
.icone { width: 20px; height: 20px; flex: none; }

/* ---------- topo */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(14, 14, 16, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.topo .envelope { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca img { width: 40px; height: 40px; border-radius: 50%; }
.marca b { font-family: "Sora", sans-serif; font-size: 17px; letter-spacing: .02em; }
.marca span { display: block; font-size: 11px; color: var(--ouro); letter-spacing: .18em; text-transform: uppercase; }
.topo .espaco { flex: 1; }

/* ---------- chips / selos */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--linha); background: var(--bg-2); font-size: 14px; color: var(--texto-2); }
.selo { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.selo-reservado { background: var(--alerta); color: #2a1a00; }
.selo-vendido { background: var(--erro); color: #fff; }
.selo-destaque { background: var(--ouro); color: #1a1408; }

/* ---------- campos */
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo > span { font-size: 13px; color: var(--texto-2); font-weight: 500; }
input[type=text], input[type=number], input[type=password], input[type=search], input[type=tel], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--linha);
  background: var(--bg-2); outline: none; font-size: 16px; /* 16px evita zoom no iPhone */
}
textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: var(--ouro); box-shadow: 0 0 0 3px rgba(201, 160, 99, .18); }

/* ---------- aviso flutuante */
.aviso { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none; z-index: 100;
  background: #222227; border: 1px solid var(--linha); padding: 12px 16px; border-radius: 12px; box-shadow: var(--sombra); transition: .25s ease; max-width: calc(100% - 32px); font-size: 15px; }
.aviso.ver { opacity: 1; transform: translateX(-50%); }

.rodape { border-top: 1px solid var(--linha); margin-top: 48px; padding: 28px 0 100px; color: var(--texto-2); font-size: 14px; }
.rodape .envelope { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--ouro); }
.rodape-legal { flex-basis: 100%; font-size: 12px; color: var(--texto-2); opacity: .85; }
