:root {
  --paper: #f6f4ef;
  --paper-dark: #ebe8e1;
  --ink: #141c26;
  --ink-muted: #4a5a6b;
  --ink-faint: #7a8a99;
  --deep: #1a5b92;
  --bright: #3da1bc;
  --night: #0a1018;
  --night-2: #121a24;
  --line: #d8d3c8;
  --accent-soft: #e8f2f7;
  --card: #ffffff;
  --display: "Newsreader", Georgia, serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img, video { max-width: 100%; }
:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.kicker {
  margin: 0 0 8px;
  color: var(--deep);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; overflow-wrap: break-word; }
h1 { margin: 0; font-size: clamp(34px, 9vw, 72px); line-height: 0.98; }
h2 { margin: 0 0 10px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
h3 { margin: 0 0 8px; font-size: 26px; line-height: 1.15; }
.lead { margin: 0; color: var(--ink-muted); max-width: 62ch; }
.muted { color: var(--ink-faint); }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 16, 24, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: white;
}
.nav-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-logo { display: block; height: 36px; width: auto; }
.wsis {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.35;
}
.wsis:hover { color: white; border-color: rgba(255, 255, 255, 0.5); }
.links { display: flex; gap: 16px; margin-left: auto; align-items: center; }
.links a { text-decoration: none; color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.links a:hover { color: white; }
.lang {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.lang:hover { color: white; }
.menu-btn {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 8px 12px;
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}
.btn.solid { background: linear-gradient(90deg, var(--deep), var(--bright)); color: white; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn.tiny { min-height: 38px; padding: 0 12px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
  background: var(--night);
  color: white;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 70vmax;
  height: 70vmax;
  right: -18vmax;
  top: -28vmax;
  background: rgba(26, 91, 146, 0.55);
}
.hero::after {
  width: 46vmax;
  height: 46vmax;
  left: -16vmax;
  bottom: -22vmax;
  background: rgba(61, 161, 188, 0.22);
}
.hero .wrap { position: relative; z-index: 1; }
.hero .lead { color: rgba(255, 255, 255, 0.75); }
.hero .kicker { color: var(--bright); }
.hero .btn.ghost { color: white; border-color: rgba(255, 255, 255, 0.28); }
.hero-copy { max-width: 740px; }
.hero-grid, .split, .two, .calc, .close {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}
.stage { margin-top: 36px; }
.authority {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  max-width: 100%;
  text-decoration: none;
  border: 1px solid rgba(61, 161, 188, 0.55);
  background: rgba(61, 161, 188, 0.12);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  margin-bottom: 16px;
}
.trust { margin: 14px 0 0; color: var(--ink-faint); font-size: 14px; }
.hero .trust { color: rgba(255, 255, 255, 0.62); }

.sim {
  background: rgba(18, 26, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}
.sim-grid {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.phone, .desk {
  background: var(--night-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.82);
}
.handset {
  width: min(240px, 100%);
  max-width: 100%;
  margin: 14px auto 0;
  padding: 10px 10px 14px;
  border-radius: 36px;
  background: #05080f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.notch {
  display: block;
  width: 88px;
  height: 12px;
  margin: 0 auto 8px;
  border-radius: 0 0 10px 10px;
  background: #111827;
}
.screen {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 444 / 960;
  background: #05080f;
}
.screen.wide {
  border-radius: 0;
  aspect-ratio: 1280 / 684;
}
.reel {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  background: #05080f;
}
.reel.wide { object-position: top center; }
.window {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b1220;
}
.titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  min-width: 0;
  padding: 0 12px;
  background: #111827;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
  font-size: 12px;
}
.titlebar span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dots { display: flex; gap: 5px; }
.dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}
.tag { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--bright); }
.note { margin: 12px 0 0; color: var(--ink-faint); font-size: 14px; }
.hero .note, .sim .note { color: rgba(255, 255, 255, 0.62); }

section { padding: 72px 0; }
main > section + section { box-shadow: inset 0 1px 0 var(--line); }
.band { background: var(--paper-dark); }
.night-band { background: var(--night); color: #fff; }
.hero + .night-band,
.night-band + .night-band { box-shadow: none; }
.night-band .kicker { color: var(--bright); }
.night-band .lead,
.night-band .note,
.night-band .card p { color: rgba(255, 255, 255, 0.72); }
.night-band h2,
.night-band h3 { color: #fff; }
.night-band .card {
  background: var(--night-2);
  border-color: rgba(255, 255, 255, 0.1);
}
.night-band .pills span {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.75);
}
.night-band a { color: var(--bright); }
.night-band .shot img { border-color: rgba(255, 255, 255, 0.12); }
.cards, .segments, .steps, .suite, .facts { display: grid; gap: 14px; margin-top: 22px; }
.cards, .steps { grid-template-columns: 1fr 1fr; }
.facts { grid-template-columns: 1fr 1fr 1fr; }
.shot { margin: 22px 0 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.segments, .suite { grid-template-columns: 1fr 1fr; }
.product {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.product > p:not(.meta) { min-height: 6.6em; }
.product img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--night);
}
.segment.photo > img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  background: var(--night);
}
.product h3, .product p { margin-left: 18px; margin-right: 18px; }
.product h3 { margin-top: 16px; }
.product p:last-child { margin-bottom: 18px; }
.segment.photo { padding: 0; overflow: hidden; }
.segment.photo > img { height: 220px; object-position: center; }
.segment.photo > div { padding: 18px; }
.card, .segment {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.card p, .segment p { margin: 0; color: var(--ink-muted); }
#datos .wrap > p:not(.kicker):not(.lead):not(.meta) { margin: 14px 0 0; max-width: 68ch; }
#datos .statutes { display: grid; gap: 10px; margin-top: 28px; }
#datos .statutes p {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-faint);
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pills span, .chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ink-muted);
  font-size: 13px;
  background: var(--paper);
}
.spec { margin-top: 14px; display: grid; gap: 8px; }
.spec div { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 12px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 15px; }
.spec span { color: var(--ink-muted); }
.spec b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--deep);
  background: var(--accent-soft);
  border: 1px solid rgba(26, 91, 146, 0.22);
  border-radius: 999px;
  padding: 3px 10px;
}

.step i { font-style: normal; font-family: var(--mono); color: var(--deep); font-size: 12px; }
.step ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-muted); }
.meta { margin: 12px 0 0; font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }

.table-wrap { overflow-x: auto; max-width: 100%; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th.win, td.win { background: var(--accent-soft); color: var(--ink); }
th.win { box-shadow: inset 0 2px 0 var(--deep); }
.tick { color: var(--deep); margin-right: 6px; }
th { color: var(--deep); font-family: var(--display); font-weight: 500; }
td:first-child { color: var(--ink-muted); width: 18%; }

.via {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.via legend { grid-column: 1 / -1; font-size: 15px; color: var(--ink-muted); margin-bottom: 2px; }
.via label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}
.via label:has(input:checked) { border-color: var(--deep); background: var(--accent-soft); color: var(--ink); }
.field { display: grid; gap: 6px; margin-top: 14px; font-size: 15px; color: var(--ink-muted); }
.field output { font-family: var(--display); font-size: 28px; line-height: 1.1; color: var(--ink); }
.field input, .field select {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.stepper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
}
.stepper button {
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--deep);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.stepper button:hover { background: var(--accent-soft); }
.field input[type="range"] {
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c9d5de;
  accent-color: var(--deep);
  cursor: pointer;
}
.field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--deep);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--deep);
}
.field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--deep);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--deep);
}
.figures { display: grid; gap: 10px; }
.figure {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.figure b { display: block; font-family: var(--display); font-size: clamp(36px, 4vw, 52px); font-weight: 500; letter-spacing: -0.03em; }
.figure .btn { margin-top: 12px; }
.figure.good { border-color: rgba(26, 91, 146, 0.45); background: var(--accent-soft); }
.ready {
  margin-top: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.ready p { white-space: pre-wrap; margin: 0 0 10px; font-size: 15px; }

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  margin-top: 10px;
}
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; color: var(--ink-muted); }

footer {
  background: var(--night);
  color: rgba(255, 255, 255, 0.62);
  padding: 36px 0 18px;
  font-size: 15px;
}
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 18px; }
footer a { color: rgba(255, 255, 255, 0.82); }
footer h3 { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: white; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li + li { margin-top: 8px; }
footer .meta { color: rgba(255, 255, 255, 0.5); }
.legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; }

.door-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 12px; }
.boleto {
  background: linear-gradient(165deg, #1a3d62, #0a1018);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 14px;
  color: white;
}
.boleto .muted { color: rgba(255, 255, 255, 0.62); }
.boleto strong { display: block; font-family: var(--display); font-size: 28px; font-weight: 500; }
.boleto .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.code {
  margin-top: 12px;
  padding: 8px;
  border-radius: 8px;
  background: #070b14;
  color: var(--bright);
  font-family: var(--mono);
  font-size: 11px;
  word-break: break-all;
}
.verdict {
  margin-top: 12px;
  border-radius: 12px;
  padding: 12px;
  min-height: 72px;
  background: rgba(255, 255, 255, 0.04);
}
.verdict.ok { background: rgba(61, 161, 188, 0.16); color: #b7e4ef; }
.verdict.bad { background: rgba(139, 58, 58, 0.28); color: #f3d0d0; }
.verdict b { display: block; font-family: var(--display); font-size: 26px; font-weight: 500; }

@media (max-width: 1080px) {
  .nav-inner { flex-wrap: wrap; row-gap: 8px; padding: 10px 0; }
  .menu-btn { display: inline-flex; margin-left: 8px; order: 3; }
  .lang { order: 2; margin-left: auto; }
  .wsis { flex: 1 1 100%; order: 4; }
  .links { order: 5; }
  .links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    z-index: 30;
    background: var(--night-2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .links.open { display: flex; }
  .links a, .links .btn { width: 100%; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .two, .calc, .close, .cards, .steps, .segments, .suite, .facts, .sim-grid, .door-grid, .foot { grid-template-columns: 1fr; }
  .product img { height: auto; }
  .product > p:not(.meta) { min-height: 0; }
  .hero { padding: 40px 0 32px; }
  section { padding: 48px 0; }
  .figure b { font-size: 36px; }
  .figure .btn { width: 100%; margin-top: 12px; }
}
@media (max-width: 420px) {
  .wrap, .nav-inner { width: min(1120px, calc(100% - 28px)); }
  .via { grid-template-columns: 1fr; }
  .brand-logo { height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
