/* Pixel Uno BR — tema escuro da marca. Sem fontes externas (rápido e sem rastreamento). */
:root {
  --bg: #0b112f;
  --bg-2: #101846;
  --bg-3: #172260;
  --line: rgba(153, 165, 200, 0.24);
  --text: #f4f6ff;
  --muted: #b9c2e0;
  --cyan: #5be0e6;
  --blue: #2e5afd;
  --soft: #d6defe;
  --danger: #ff9aa8;
  --ok: #7ef0b0;
  --radius: 16px;
  --max: 1120px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--bg) url("/img/pixels.svg") repeat; background-attachment: scroll;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
small { font-size: .875em; }
.hl { color: var(--cyan); }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--cyan); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 100; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 17, 47, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand img { width: 30px; height: auto; }
.brand b { color: var(--cyan); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); text-decoration: none; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .98rem; }
.nav a:hover { background: var(--bg-3); color: #fff; }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: var(--bg); }
.btn-primary:hover { background: #8cecf0; color: var(--bg); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #4a72ff; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cyan); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Seções */
section { padding: 72px 0; }
.eyebrow { color: var(--cyan); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section-head { margin-bottom: 36px; }
.alt { background: rgba(16, 24, 70, 0.7); border-block: 1px solid var(--line); }

/* Hero */
.hero { padding: 64px 0 80px; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero p.lead { margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { width: 100%; max-width: 520px; justify-self: center; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .95rem; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--bg-3); color: var(--cyan); margin-bottom: 16px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: s; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Portfólio */
.demo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.demo img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; background: #e8ecfb; }
.demo .body { padding: 22px 24px 26px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(91, 224, 230, .12); color: var(--cyan); border: 1px solid rgba(91, 224, 230, .35); margin-bottom: 10px; }
.notice { border: 1px dashed var(--line); border-radius: 12px; padding: 14px 18px; color: var(--muted); font-size: .97rem; margin-top: 28px; }

/* Sobre / hospedagem */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; background: var(--cyan); border-radius: 4px; box-shadow: inset 0 0 0 4px var(--bg-2); outline: 2px solid var(--cyan); outline-offset: -2px; }
.price { font-size: 1.4rem; font-weight: 800; color: #fff; }

/* Formulário */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
form.card { padding: 30px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
label, legend { display: block; font-weight: 700; margin-bottom: 6px; font-size: .98rem; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: #0a1031; border: 1.5px solid #4a5690; border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.err { color: var(--danger); font-size: .92rem; margin-top: 6px; min-height: 0; }
.err:empty { display: none; }
.hint { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--cyan); }
.check label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.status:empty { display: none; }
.status.is-error { background: rgba(255, 154, 168, .12); border: 1px solid var(--danger); color: #ffd3d9; }
.status.is-ok { background: rgba(126, 240, 176, .12); border: 1px solid var(--ok); color: #d2ffe6; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.contact-list strong { display: block; color: var(--muted); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.pendente { background: rgba(255, 214, 102, .18); color: #ffe08a; padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* WhatsApp flutuante */
.wa { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #05210f; font-weight: 800; text-decoration: none; padding: 13px 20px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); min-height: 52px; }
.wa:hover { background: #4be585; color: #05210f; }
.wa svg { width: 24px; height: 24px; flex: none; }
.wa small { font-weight: 600; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); padding: 40px 0 96px; background: rgba(8, 12, 36, .8); font-size: .95rem; color: var(--muted); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h2 { font-size: 1rem; color: var(--text); margin-bottom: .6em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--soft); }
.legal-line { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; }

/* Páginas jurídicas */
.doc { max-width: 78ch; padding: 48px 0 80px; }
.doc h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: .4em; }
.rascunho { background: rgba(255, 214, 102, .12); border: 1px solid #e0b84a; color: #ffe9ad; padding: 14px 18px; border-radius: 12px; }
.doc .meta { color: var(--muted); font-size: .95rem; }

/* Responsivo */
@media (max-width: 960px) {
  .hero .container, .split, .form-wrap { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-art { max-width: 420px; }
}
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; gap: 4px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; }
  .nav .btn { margin: 8px 0 0; }
}
@media (max-width: 620px) {
  section { padding: 52px 0; }
  .hero { padding: 36px 0 52px; }
  .grid-3, .grid-2, .steps, .row, .footer .cols { grid-template-columns: 1fr; }
  form.card { padding: 20px; }
  .actions .btn { width: 100%; }
  .wa span.t { display: none; }
  .wa { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
