/* Câmeras TV — estilos compartilhados do site e da política de privacidade */
:root {
  --bg: #0b1016;
  --bg-2: #0f161e;
  --card: #141d26;
  --card-2: #1a2531;
  --line: #24323f;
  --text: #eef3f6;
  --muted: #9aabb8;
  --accent: #55c2a3;
  --accent-strong: #6fd8b9;
  --accent-ink: #062a20;
  --rec: #2ea043;
  --motion: #f2c12e;
  --empty: #1f2933;
  --live: #ff5a5f;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f8fa; --bg-2: #eaf0f3; --card: #ffffff; --card-2: #f1f5f7; --line: #d6dee5;
    --text: #13202b; --muted: #566573; --accent: #1f8f72; --accent-strong: #187a61; --accent-ink: #ffffff;
    --shadow: 0 24px 50px -28px rgba(15, 35, 50, .35);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }

/* Topo */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.logo svg { width: 36px; height: 36px; flex: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--accent-ink); }
.nav-links a.btn-ghost { color: var(--text); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--text); background: color-mix(in srgb, var(--card) 60%, transparent); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Tipografia */
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }
.center { text-align: center; margin-inline: auto; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(600px 380px at 78% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(500px 320px at 10% 10%, color-mix(in srgb, #3a7bd5 14%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); margin: 18px 0 20px; }
.hero h1 span { color: var(--accent); }
.hero .lead { font-size: 20px; color: var(--muted); margin: 0 0 32px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
.pill b { color: var(--text); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 25%, transparent); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; color: var(--muted); font-size: 14px; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 48px; }
}

/* Moldura de TV */
.tv { position: relative; }
.tv-screen {
  border-radius: 16px; padding: 10px; background: linear-gradient(160deg, #1d2833, #0b1117);
  border: 1.5px solid color-mix(in srgb, var(--accent) 55%, #2a3846); box-shadow: var(--shadow);
}
.tv-screen img { border-radius: 8px; aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: #05080b; }
.tv-stand { width: 28%; height: 8px; margin: 14px auto 0; border-radius: 99px; background: var(--accent); opacity: .85; }
.tv-badge {
  position: absolute; left: -14px; bottom: 40px; display: flex; gap: 10px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow); font-size: 14px;
}
.tv-badge small { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 560px) { .tv-badge { left: 8px; bottom: 30px; } }

/* Cartões de funcionalidades */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color .2s, transform .2s;
}
.features .card:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); transform: translateY(-2px); }
.card h3 { font-size: 19px; margin: 18px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
}
.icon svg { width: 26px; height: 26px; }
.tag { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent); padding: 2px 8px; border-radius: 99px; vertical-align: 3px; }

/* Faixa alternada */
.band { background: var(--bg-2); border-block: 1px solid var(--line); }

/* Gravações */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 16px; }

.player { background: #070b0f; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.player-view { position: relative; aspect-ratio: 16 / 9; }
.player-view img { width: 100%; height: 100%; object-fit: cover; }
.timeline-ui { padding: 14px 16px 16px; background: linear-gradient(#0e1319, #0a0f14); color: #c8d4dc; }
.tl-bar { position: relative; height: 26px; border-radius: 6px; background: var(--empty); overflow: hidden; }
.tl-bar i { position: absolute; top: 0; bottom: 0; }
.tl-bar .r { background: var(--rec); }
.tl-bar .m { background: var(--motion); }
.tl-bar .f { background: #141a20; }
.tl-cursor { position: absolute; top: -4px; bottom: -4px; width: 3px; background: #fff; border-radius: 2px; box-shadow: 0 0 0 2px rgba(0,0,0,.45); }
.tl-hours { display: flex; justify-content: space-between; font-size: 11px; color: #8696a3; margin-top: 6px; font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 10px; font-size: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.caption { color: var(--muted); font-size: 13px; text-align: center; margin-top: 12px; }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; } }
.shot { margin: 0; }
.shot img { border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.shot figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
.shot figcaption b { color: var(--text); display: block; font-size: 16px; }

/* Passos */
.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin-top: 0; }
.phones { display: flex; gap: 18px; justify-content: center; margin-top: 40px; }
.phone {
  width: min(240px, 44%); border-radius: 28px; padding: 8px; background: #0b1117;
  border: 1.5px solid #2a3846; box-shadow: var(--shadow);
}
.phone img { border-radius: 21px; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; width: 100%; }

/* Controle remoto */
.keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin: 0; }
@media (max-width: 700px) { .keys { grid-template-columns: 1fr; } }
.keys div { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.keys dt { flex: none; min-width: 112px; }
.keys dd { margin: 0; color: var(--muted); }
kbd {
  display: inline-block; min-width: 28px; text-align: center; padding: 2px 8px; border-radius: 7px;
  background: var(--card-2); border: 1px solid var(--line); border-bottom-width: 3px;
  font: 600 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text);
}

/* Perguntas */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Chamada final */
.final {
  text-align: center; padding: 64px 24px; border-radius: 28px; border: 1px solid var(--line);
  background:
    radial-gradient(500px 240px at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 75%),
    var(--card);
}
.final h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.final p { color: var(--muted); margin: 0 0 28px; font-size: 18px; }
.final .cta { justify-content: center; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 96px; color: var(--muted); font-size: 15px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr; } }
.footer h4 { color: var(--text); margin: 0 0 10px; font-size: 15px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; }

/* Política de privacidade */
.doc-hero { padding: 64px 0 24px; }
.doc-hero h1 { font-size: clamp(34px, 5vw, 50px); margin: 14px 0 12px; }
.doc-hero p { color: var(--muted); margin: 0; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 36px 0 8px; }
@media (max-width: 720px) { .highlights { grid-template-columns: 1fr; } }
.highlights .card { padding: 20px; }
.highlights h3 { font-size: 17px; margin: 14px 0 4px; }
.highlights p { font-size: 15px; }
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; padding-top: 40px; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; gap: 24px; } }
.toc { position: sticky; top: 88px; font-size: 14px; }
.toc b { display: block; margin-bottom: 10px; color: var(--text); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; counter-reset: t; }
.toc a { color: var(--muted); text-decoration: none; display: block; padding: 4px 10px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 900px) { .toc { position: static; } .toc ol { grid-template-columns: 1fr 1fr; } }
.prose section { scroll-margin-top: 88px; padding-bottom: 12px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose section:first-child h2 { margin-top: 0; }
.prose p, .prose li { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--card-2); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td code, .prose code { font-size: 13px; background: var(--card-2); padding: 1px 6px; border-radius: 6px; }
.note {
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 8%, var(--card));
  border-radius: 14px; padding: 16px 20px; margin: 16px 0;
}
.note p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Configurar o DVR: ilustrações dos menus do DVR */
.answer {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--line));
  background: color-mix(in srgb, var(--accent) 9%, var(--card)); margin-bottom: 40px;
}
.answer .icon { flex: none; }
.answer h3 { font-size: 20px; margin: 2px 0 6px; }
.answer p { margin: 0; color: var(--muted); }
.answer p + p { margin-top: 8px; }
.dvr-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 960px) { .dvr-steps { grid-template-columns: 1fr; } }
.dvr-step h3 { font-size: 20px; margin: 0 0 6px; }
.dvr-step > p { color: var(--muted); margin: 0 0 16px; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; font-size: 14px; }
.crumb span { background: var(--card-2); border: 1px solid var(--line); border-radius: 8px; padding: 3px 10px; font-weight: 600; }
.crumb i { color: var(--muted); font-style: normal; }
.dvr {
  border-radius: 12px; overflow: hidden; border: 1px solid #2a3440; box-shadow: var(--shadow);
  background: #1d2124; color: #d6dde2; font-size: 12.5px; line-height: 1.3;
}
.dvr-top { background: #1e8e3e; color: #fff; padding: 8px 14px; font-weight: 600; display: flex; justify-content: space-between; }
.dvr-body { display: grid; grid-template-columns: 34% 1fr; min-height: 250px; }
.dvr-side { background: #2a2f33; padding: 6px 0; }
.dvr-side div { padding: 7px 14px; color: #b9c2c8; }
.dvr-side .on { background: #1d2124; color: #fff; font-weight: 600; }
.dvr-side .on::before { content: "› "; }
.dvr-main { padding: 12px 14px; display: grid; gap: 8px; align-content: start; }
.dvr-row { display: grid; grid-template-columns: 92px 64px 1fr; gap: 8px; align-items: center; border-radius: 6px; padding: 3px 6px; margin: 0 -6px; }
.dvr-row .v { border: 1px solid #4a545c; padding: 2px 6px; color: #fff; background: #15181a; }
.dvr-row small { color: #8d979e; }
.dvr-row.hl { background: color-mix(in srgb, var(--motion) 22%, transparent); outline: 2px solid var(--motion); }
.dvr-box { display: inline-block; width: 11px; height: 11px; border: 1px solid #6a747b; vertical-align: -1px; margin-right: 4px; }
.dvr-box.ck { background: #1e8e3e; border-color: #1e8e3e; box-shadow: inset 0 0 0 2px #1d2124; }
.dvr-tabs { display: flex; gap: 4px; border-bottom: 1px solid #3a4248; }
.dvr-tabs span { padding: 5px 10px; color: #9aa4ab; }
.dvr-tabs .on { color: #fff; border-bottom: 2px solid #1e8e3e; }
.dvr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding-top: 4px; }
.dvr-foot { display: flex; justify-content: flex-end; gap: 6px; padding: 8px 14px; border-top: 1px solid #2c3338; }
.dvr-foot span { padding: 3px 12px; border: 1px solid #4a545c; }
.dvr-foot .ok { background: #1e8e3e; border-color: #1e8e3e; color: #fff; }
.dvr-tabs-wrap { padding: 4px 6px; margin: 0 -6px; border-radius: 6px; }
.dvr-tabs-wrap.hl { background: color-mix(in srgb, var(--motion) 18%, transparent); outline: 2px solid var(--motion); }
.dvr-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.tips { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.tips li { display: flex; gap: 10px; color: var(--muted); font-size: 15px; }
.tips svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.tips b { color: var(--text); }
.source { margin-top: 32px; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) {
  .dvr-body { grid-template-columns: 1fr; }
  .dvr-side { display: flex; overflow-x: auto; padding: 0; }
  .dvr-side div { white-space: nowrap; }
  .dvr-row { grid-template-columns: 84px 58px 1fr; }
}
@media (max-width: 520px) { .answer { padding: 18px; } .answer > .icon { display: none; } }
