:root {
  --navy: #0c1f40;
  --navy-2: #12305e;
  --navy-deep: #071429;
  --gold: #c49a49;
  --gold-2: #dcb766;
  --gold-ink: #1d1404;
  --paper: #f5f3ee;
  --surface: #ffffff;
  --ink: #131a2c;
  --muted: #586079;
  --line: #e1ddd2;
  --rec: #e5484d;
  --danger: #c0392b;
  --radius: 18px;
  --head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Consolas", monospace;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--head); text-wrap: balance; }

/* Barra do topo */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 10px;
  background: rgba(12, 31, 64, .97); color: #fff; backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 46px; width: auto; margin-block: -6px; }
.nav { display: flex; gap: 26px; font: 600 14px var(--body); }
.nav a { text-decoration: none; color: #cfd6ea; }
.nav a:hover { color: #fff; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.lang button { border: 0; background: transparent; color: #cdd4ea; cursor: pointer; font: 700 12px var(--body); padding: 6px 9px; border-radius: 999px; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 560px) { .top-actions .top-call { display: none; } .brand-logo { height: 42px; margin-left: -6px; } }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 16px var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-line:hover { border-color: #fff; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; }

main { overflow-x: clip; }

/* Abertura */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(48px, 7vw, 96px);
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(196,154,73,.22), transparent 70%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.hero > * { max-width: 640px; }
.hero-copy { justify-self: end; }
.eyebrow { font: 700 13px var(--body); letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-2); margin: 0 0 16px; }
h1 { font-weight: 800; font-size: clamp(34px, 5vw, 58px); line-height: 1.06; margin: 0 0 18px; letter-spacing: -0.8px; }
.lead { font-size: clamp(17px, 2vw, 19px); color: #d6ddef; max-width: 46ch; margin: 0 0 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips li { font: 600 13px var(--body); padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #e3e8f5; }
.chips a { text-decoration: none; }
.stars { color: var(--gold-2); letter-spacing: 1px; }

/* "Tela de monitoramento" com fotos reais */
.monitor { margin: 0; justify-self: start; width: 100%; }
.monitor-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-radius: 14px 14px 0 0; background: #050d1c; border: 1px solid #1d2c4d; border-bottom: 0;
  font: 700 12px var(--mono); letter-spacing: 1.5px; color: #8ea0c6;
}
.rec { display: inline-flex; align-items: center; gap: 7px; color: #ffb4b6; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px rgba(229,72,77,.18); animation: rec 1.6s infinite; }
@keyframes rec { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .rec i { animation: none; } }
.monitor-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  background: #050d1c; border: 1px solid #1d2c4d; border-top: 0; border-radius: 0 0 14px 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.cam { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1830; }
.cam img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); }
.cam-tag { position: absolute; left: 8px; bottom: 8px; font: 700 11px var(--mono); letter-spacing: 1px; color: #fff; background: rgba(5,13,28,.72); padding: 3px 7px; border-radius: 4px; }
.monitor figcaption { margin-top: 12px; font-size: 13px; color: #9fb0d3; }

/* Blocos gerais */
.block { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter) 0; }
.kicker { font: 700 13px var(--body); letter-spacing: 1.6px; text-transform: uppercase; color: #9a7531; margin: 0 0 10px; }
h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.4px; color: var(--navy); }
.sub { color: var(--muted); max-width: 62ch; margin: -6px 0 28px; font-size: 17px; }

/* Serviços */
.serv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.serv { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; }
.serv h3 { font-size: 21px; margin: 18px 0 8px; color: var(--navy); }
.serv p { color: var(--muted); margin: 0 0 18px; flex: 1; }
.serv-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold-2); }
.serv-ico svg { width: 28px; height: 28px; }
.serv-alt { background: var(--navy); border-color: var(--navy); color: #fff; }
.serv-alt h3 { color: #fff; }
.serv-alt p { color: #c9d2ea; }
.serv-alt .serv-ico { background: var(--gold); color: var(--navy); }
.more-link { font-weight: 700; color: #8a6522; text-decoration: none; }
.serv-alt .more-link { color: var(--gold-2); }
.more-link:hover { text-decoration: underline; }
.extras { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; }
.extras li { padding: 9px 16px; border-radius: 999px; background: #ebe6da; color: var(--navy); font: 600 14px var(--body); }
.extras li::before { content: "+ "; color: #9a7531; font-weight: 800; }
@media (max-width: 860px) { .serv-grid { grid-template-columns: 1fr; } }

/* Kit 4K */
.kit {
  max-width: 1180px; margin: clamp(56px, 8vw, 96px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 64px); align-items: center;
}
.kit-copy { background: var(--navy); color: #fff; border-radius: 26px; padding: clamp(28px, 4vw, 52px); position: relative; overflow: hidden; }
.kit-copy::after { content: "4K"; position: absolute; right: -10px; bottom: -40px; font: 800 200px/1 var(--head); color: rgba(196,154,73,.1); pointer-events: none; }
.kit-copy .kicker { color: var(--gold-2); }
.kit-copy h2 { color: #fff; }
.kit-copy > p { color: #d3dbef; max-width: 54ch; }
.kit-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.kit-list li { position: relative; padding-left: 32px; font-weight: 600; }
.kit-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3 3 7-7' fill='none' stroke='%231d1404' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.kit-copy .note { font-size: 14px; color: #a9b6d4; margin: 0 0 22px; }
.kit-photo { margin: 0; position: relative; }
.kit-photo img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 26px; }
.kit-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(12,31,64,.85); color: #fff; font: 600 13px var(--body); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 860px) { .kit { grid-template-columns: 1fr; } .kit-photo img { max-height: 420px; } }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; grid-auto-flow: dense; gap: 10px; }
.g-item { border: 0; padding: 0; margin: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #ddd; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.g-item:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; }
.proj-title { font-size: clamp(20px, 2.4vw, 24px); color: var(--navy); margin: 34px 0 8px; }
.gallery-4 { margin-bottom: 8px; }
.g-video { position: relative; cursor: default; background: #0d1830; }
.g-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-badge { position: absolute; left: 10px; top: 10px; font: 700 11px var(--mono); letter-spacing: 1px; color: #fff; background: rgba(229,72,77,.9); padding: 3px 8px; border-radius: 4px; }
.g-tall { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(5, 12, 26, .88); }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 12px; }
.lb-close { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font: 700 28px/1 var(--body); cursor: pointer; }

/* Como funciona */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { border-top: 3px solid var(--navy); padding-top: 18px; }
.steps .num { font: 700 14px var(--mono); color: #9a7531; letter-spacing: 1px; }
.steps h3 { font-size: 20px; margin: 6px 0 6px; color: var(--navy); }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Avaliação + quem atende */
.trust { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.review, .who { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.review-head { margin: 0 0 12px; font-size: 18px; }
.review-head .stars { font-size: 20px; }
.review blockquote { margin: 0 0 14px; font: 600 clamp(18px, 2vw, 21px)/1.45 var(--body); color: var(--navy); }
.review-by { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.who { display: flex; gap: 20px; align-items: flex-start; }
.who-mark { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.who h2 { font-size: 26px; margin-bottom: 8px; }
.who p { color: var(--muted); margin: 0 0 14px; }
.pay { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.pay li { font: 600 13px var(--body); padding: 6px 12px; border-radius: 999px; background: #ebe6da; color: var(--navy); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* Perguntas */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; max-width: 820px; }
.faq summary { cursor: pointer; font: 700 17px var(--body); padding: 14px 0; color: var(--navy); }
.faq p { margin: 0 0 16px; color: var(--muted); }

/* Pedido de orçamento */
.quote {
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(48px, 7vw, 88px) var(--gutter);
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start;
}
.quote > * { max-width: 600px; }
.quote-copy { justify-self: end; color: #fff; }
.quote-copy .kicker { color: var(--gold-2); }
.quote-copy h2 { color: #fff; }
.quote-copy > p { color: #d3dbef; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; font-size: 17px; }
.contact-list li > span:first-child { font: 700 12px var(--body); letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-2); }
.contact-list a { color: #fff; font-weight: 700; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } .quote > * { max-width: none; } .quote-copy { justify-self: stretch; } }

.form-card { background: var(--surface); border-radius: 24px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 70px rgba(0,0,0,.35); width: 100%; }
.form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.form-head h2 { font-size: 24px; margin: 0; }
.progress-label { margin: 0; color: var(--muted); font-weight: 700; font-size: 14px; }
.progress { height: 5px; background: #ece8de; border-radius: 99px; margin: 14px 0 20px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 50%; background: var(--gold); transition: width .3s; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step legend { font: 800 18px var(--head); color: var(--navy); margin-bottom: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; font-weight: 700; font-size: 15px; }
.field i { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 500 16px var(--body); padding: 13px 14px; border: 1.5px solid #d6d1c4; border-radius: 12px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 3px solid rgba(196,154,73,.35); border-color: var(--gold); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.options button {
  border: 1.5px solid #d6d1c4; background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 15px;
  font: 600 14px var(--body); cursor: pointer;
}
.options button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.options.invalid button { border-color: var(--danger); }
.hint { font-size: 13px; color: var(--muted); margin: -6px 0 14px; }
.recap { background: #f3f0e8; border-radius: 12px; padding: 10px 14px; font-weight: 600; color: var(--navy); margin: 0 0 16px; font-size: 14px; }
.more { margin: 4px 0 16px; }
.more summary { cursor: pointer; font-weight: 700; color: #8a6522; margin-bottom: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.consent.invalid { color: var(--danger); }
.form-error { color: var(--danger); font-weight: 700; margin: 6px 0 0; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.form-nav .btn:last-child { margin-left: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { text-align: center; padding: 20px 4px; }
.done-mark { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); font: 800 30px var(--head); }
.done-code strong { font-family: var(--mono); }

/* Rodapé */
.footer { background: var(--navy-deep); color: #b8c3de; padding: 40px var(--gutter) calc(96px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.foot-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.foot-logo { height: 44px; width: auto; margin-bottom: 12px; }
.footer a { color: #fff; }
.footer strong { color: #fff; }
.linklike { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } }

/* Barra fixa no celular */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: none; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(7, 20, 41, .96);
}
.mobile-bar .btn { flex: 1; min-height: 48px; padding: 0 12px; font-size: 15px; white-space: nowrap; }
@media (max-width: 899px) { .mobile-bar { display: flex; } }

/* Aviso de privacidade */
.notice {
  position: fixed; left: 16px; right: 16px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 40; max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 18px 50px rgba(0,0,0,.25); font-size: 14px;
}
@media (min-width: 900px) { .notice { bottom: 20px; } }
.notice p { margin: 0 0 12px; }
.notice-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* Abertura no celular */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero > * { max-width: none; }
  .hero-copy { justify-self: stretch; }
}
@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; }
}
