:root {
  --ground: #0e1216;
  --plate: #141a20;
  --plate-2: #1a2229;
  --edge: #252f39;
  --edge-hi: #36424e;
  --ink: #edf1f3;
  --ink-2: #aab5bf;
  --ink-3: #8794a0;
  --gold: #e0a944;
  --gold-hi: #f0c46a;
  --gold-ink: #1a1306;
  --gold-soft: rgba(224, 169, 68, 0.12);
  --ok: #46c28a;
  --fail: #ef6b5b;
  --grid: rgba(130, 150, 170, 0.06);
  --r: 14px;
  --r-sm: 8px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(30deg, var(--grid) 0 1px, transparent 1px 32px),
                    repeating-linear-gradient(150deg, var(--grid) 0 1px, transparent 1px 32px);
  mask-image: linear-gradient(to bottom, #000 0, #000 70vh, transparent 140vh);
}
img { max-width: 100%; display: block; }
a { color: var(--gold-hi); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(14, 18, 22, 0.82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--edge); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.brand-name b { color: var(--gold-hi); font-weight: 700; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 10px 12px; border-radius: var(--r-sm); transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: var(--plate-2); }
.top .btn-sm { margin-left: auto; }
@media (min-width: 900px) { .nav { display: flex; } .top .btn-sm { margin-left: 8px; } }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: 12px; border: 1px solid transparent; background: var(--gold); color: var(--gold-ink);
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 24px -10px rgba(224, 169, 68, 0.6);
  transition: transform .15s var(--ease), background .15s, box-shadow .15s;
}
.btn:hover { background: var(--gold-hi); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--edge-hi); box-shadow: none; }
.btn-ghost:hover { background: var(--plate-2); border-color: var(--gold); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-hi); font: 600 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(70, 194, 138, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(70, 194, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 194, 138, 0); } }

/* ---------- hero ---------- */
.hero { padding: 40px 0 56px; }
.hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 96px; } .hero-in { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
h1 { font-size: clamp(36px, 6.4vw, 64px); font-weight: 700; letter-spacing: -0.035em; }
.lead { color: var(--ink-2); font-size: clamp(17px, 2vw, 19px); max-width: 56ch; margin-top: 20px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.proof { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: 15px; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 18px; height: 18px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.live-card { margin: 0; background: linear-gradient(180deg, var(--plate-2), var(--plate)); border: 1px solid var(--edge); border-radius: 20px; padding: 10px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset; position: relative; overflow: hidden; }
.live-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #0a0d10; }
.live-frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.live-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(10, 13, 16, .78); backdrop-filter: blur(6px); font: 600 13px/1 var(--mono); color: var(--ink); }
.live-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.live-badge.on .dot { background: #ff4d4d; animation: pulse-red 1.6s infinite; }
.live-badge.idle .dot { background: var(--ok); }
@keyframes pulse-red { 50% { opacity: .35; } }
.live-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 8px 10px; }
.live-title { font-weight: 600; }
.live-sub { color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.live-colors { display: flex; gap: 6px; flex: none; }
.live-colors i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset; }
.bar { height: 4px; background: var(--edge); border-radius: 4px; margin: 0 8px 6px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transition: width .8s var(--ease); }

/* ---------- seções ---------- */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section-alt { background: linear-gradient(180deg, rgba(20, 26, 32, .7), rgba(20, 26, 32, .35)); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 700; }
.sec-sub { color: var(--ink-2); font-size: 17px; margin-top: 14px; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--plate); border: 1px solid var(--edge); border-radius: var(--r); padding: 24px; transition: border-color .2s, transform .2s var(--ease); }
.card:hover { border-color: var(--edge-hi); transform: translateY(-2px); }
.ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--gold-soft); fill: none; stroke: var(--gold-hi); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15px; }

.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.g-item { background: var(--plate); border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; }
.g-img { aspect-ratio: 1; background: #0a0d10; }
.g-img img { width: 100%; height: 100%; object-fit: cover; }
.g-body { padding: 14px 16px 16px; }
.g-title { font-weight: 600; font-size: 15px; line-height: 1.35; }
.g-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--ink-3); font: 13px/1 var(--mono); }
.g-meta i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: s; }
.steps li { position: relative; background: var(--plate); border: 1px solid var(--edge); border-radius: var(--r); padding: 24px; }
.steps .n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font: 700 16px/1 var(--mono); margin-bottom: 16px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 15px; }

.mats { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.mats li { background: var(--plate); border: 1px solid var(--edge); border-radius: var(--r); padding: 22px; }
.mats h3 { font-size: 19px; margin: 14px 0 6px; }
.mats p { color: var(--ink-2); font-size: 15px; }
.sw-row { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-row i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset, 0 2px 6px rgba(0, 0, 0, .4); }
.sw-row i.duo { background: linear-gradient(135deg, var(--c) 0 50%, var(--c2) 50% 100%); }
.sw-row i.glit { background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .9) 0 1px, transparent 1.5px), radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .8) 0 1px, transparent 1.5px), radial-gradient(circle at 45% 75%, rgba(255, 255, 255, .7) 0 1px, transparent 1.5px), var(--c); }

/* ---------- orçamento ---------- */
.orc-in { display: grid; gap: 32px; }
@media (min-width: 960px) { .orc-in { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } .orc-head { position: sticky; top: 100px; } }
.orc-notes { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; }
.orc-notes li { padding-left: 26px; position: relative; }
.orc-notes li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.form, .done { background: var(--plate); border: 1px solid var(--edge); border-radius: 18px; padding: 22px; }
@media (min-width: 720px) { .form, .done { padding: 32px; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row-3 { grid-template-columns: .7fr 1fr 1fr; } }
label { font-size: 15px; font-weight: 600; }
.opt { color: var(--ink-3); font-weight: 400; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--edge-hi);
  background: var(--ground); color: var(--ink); font: 16px/1.4 var(--font); transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input::placeholder, textarea::placeholder { color: #67737e; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--fail); }
.hint { color: var(--ink-3); font-size: 14px; margin: -8px 0 16px; }
.field .hint { margin: 2px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { color: var(--fail); font-size: 15px; min-height: 0; margin-bottom: 12px; }
.form-msg:empty { display: none; }
.done { text-align: center; display: grid; justify-items: center; gap: 14px; }
.done svg { width: 64px; height: 64px; fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.done h3 { font-size: 26px; }
.done p { color: var(--ink-2); max-width: 44ch; }

/* ---------- dúvidas ---------- */
.faq-in { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--plate); border: 1px solid var(--edge); border-radius: var(--r); padding: 0 20px; transition: border-color .2s; }
.faq details[open] { border-color: var(--edge-hi); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { color: var(--ink-2); padding-bottom: 18px; }

.final { padding: 80px 0; text-align: center; background: radial-gradient(ellipse at center, rgba(224, 169, 68, .14), transparent 65%); }
.final-in { display: grid; justify-items: center; gap: 24px; }
.final h2 { max-width: 20ch; }

/* ---------- rodapé ---------- */
.foot { border-top: 1px solid var(--edge); padding: 40px 0 28px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot-tag { color: var(--ink-3); font-size: 14px; margin-top: 8px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 4px 0; display: inline-block; }
.foot-links a:hover { color: var(--gold-hi); }
.foot-copy { color: var(--ink-3); font-size: 13px; margin-top: 28px; }

/* entrada suave das seções */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
