/* SysNav landing page
   Tokens: claro por padrão, escuro via prefers-color-scheme ou [data-theme="dark"].
   Raio: cards 16px, controles internos 10px, botões em pílula. Acento único: laranja de sinalização. */

:root {
  --bg: #f3f5f8;
  --surface: #fbfcfd;
  --surface-2: #e8edf3;
  --ink: #0b1b33;
  --ink-2: #33445c;
  --muted: #56667c;
  --line: rgb(11 27 51 / 0.12);
  --navy: #0c2549;
  --navy-2: #12305c;
  --accent: #ef6a21;
  --accent-soft: rgb(239 106 33 / 0.12);
  --on-accent: #0b1b33;
  --ok: #1f8a5b;
  --ok-soft: rgb(31 138 91 / 0.12);
  --sea: #dfe8f1;
  --sea-dot: rgb(12 37 73 / 0.12);
  --land: #c7d2df;
  --route: rgb(12 37 73 / 0.35);
  --shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, 0 18px 50px -24px rgb(12 37 73 / 0.35);
  --logo-filter: none;

  --radius: 16px;
  --radius-sm: 10px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07111f;
    --surface: #0c1a2e;
    --surface-2: #112339;
    --ink: #e8eef6;
    --ink-2: #b7c4d6;
    --muted: #8d9cb1;
    --line: rgb(232 238 246 / 0.1);
    --accent: #ff7a33;
    --accent-soft: rgb(255 122 51 / 0.14);
    --ok: #3ec98b;
    --ok-soft: rgb(62 201 139 / 0.14);
    --sea: #0a1729;
    --sea-dot: rgb(232 238 246 / 0.08);
    --land: #15273f;
    --route: rgb(232 238 246 / 0.28);
    --shadow: 0 1px 0 rgb(255 255 255 / 0.05) inset, 0 24px 60px -28px rgb(0 0 0 / 0.7);
    --logo-filter: brightness(0) invert(1);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07111f;
  --surface: #0c1a2e;
  --surface-2: #112339;
  --ink: #e8eef6;
  --ink-2: #b7c4d6;
  --muted: #8d9cb1;
  --line: rgb(232 238 246 / 0.1);
  --accent: #ff7a33;
  --accent-soft: rgb(255 122 51 / 0.14);
  --ok: #3ec98b;
  --ok-soft: rgb(62 201 139 / 0.14);
  --sea: #0a1729;
  --sea-dot: rgb(232 238 246 / 0.08);
  --land: #15273f;
  --route: rgb(232 238 246 / 0.28);
  --shadow: 0 1px 0 rgb(255 255 255 / 0.05) inset, 0 24px 60px -28px rgb(0 0 0 / 0.7);
  --logo-filter: brightness(0) invert(1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } body { font-size: 16px; } }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Botões ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--font); font-stretch: 105%;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn i { font-size: 1.25em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -12px rgb(239 106 33 / 0.7); }
.btn--primary:hover { box-shadow: 0 16px 30px -12px rgb(239 106 33 / 0.75); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-2); }
.btn--ghost-inverse { background: transparent; color: #eef3fa; border-color: rgb(238 243 250 / 0.3); }
.btn--ghost-inverse:hover { border-color: rgb(238 243 250 / 0.7); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 1.05rem; }

/* ---------- Nav ---------- */
.top-sentinel { position: absolute; top: 0; height: 24px; width: 1px; }
.nav {
  position: sticky; top: 0; z-index: 40;
  height: var(--nav-h);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav--solid {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 36px; width: auto; filter: var(--logo-filter); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--ink-2); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 900px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 420px) { .nav .btn span { display: none; } .nav .btn { width: 42px; padding: 0; } }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 72px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100dvh - var(--nav-h) - 112px);
}
.hero__copy { display: grid; gap: 22px; }
.hero__title { font-size: clamp(2.3rem, 3.6vw, 3.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.hero__sub { font-size: 1.15rem; color: var(--ink-2); max-width: 40ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.herovideo {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: #f3f5f8;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.herovideo__media { display: block; width: 100%; height: 100%; object-fit: cover; }
.herovideo__controls { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.herovideo__btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgb(12 37 73 / 0.12); border-radius: 50%;
  background: rgb(251 252 253 / 0.88); color: #0c2549;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 1.05rem; cursor: pointer;
  opacity: 0.55; transition: opacity 0.2s, transform 0.2s;
}
.herovideo:hover .herovideo__btn, .herovideo__btn:focus-visible { opacity: 1; }
.herovideo__btn:active { transform: scale(0.94); }
@media (hover: none) { .herovideo__btn { opacity: 0.9; } }

.livemap {
  container-type: inline-size;
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.livemap__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  font-size: 0.85rem; color: var(--ink-2);
}
.livemap__live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); }
.livemap__canvas { position: relative; }
.livemap .map { width: 100%; height: auto; aspect-ratio: 6 / 5; }

.map__sea { fill: var(--sea); }
.map__dot { fill: var(--sea-dot); }
.map__land { fill: var(--land); }
.map__isobath { fill: none; stroke: var(--sea-dot); stroke-width: 1.5; stroke-dasharray: 2 6; }
.map__route { fill: none; stroke: var(--route); stroke-width: 2; stroke-dasharray: 5 7; stroke-linecap: round; }
.map__route--solid { stroke-dasharray: none; stroke-width: 2.5; }
.map__port circle { fill: var(--navy); stroke: var(--surface); stroke-width: 3; }
:root[data-theme="dark"] .map__port circle { fill: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map__port circle { fill: var(--ink); } }
.map__ship path { fill: var(--surface); stroke: var(--ink-2); stroke-width: 2; stroke-linejoin: round; }
.map__anchorage { fill: color-mix(in srgb, var(--accent) 5%, transparent); stroke: var(--route); stroke-width: 1.5; stroke-dasharray: 3 6; }
.map .map__zone { font-size: 11px; letter-spacing: 0.12em; fill: var(--muted); }
.map text { font-family: var(--mono); font-size: 13px; fill: var(--ink-2); font-weight: 500; }
.boat__dot { fill: var(--navy); stroke: var(--surface); stroke-width: 2.5; }
:root[data-theme="dark"] .boat__dot { fill: #8fb4ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .boat__dot { fill: #8fb4ff; } }
.boat__halo { fill: rgb(12 37 73 / 0.16); }
:root[data-theme="dark"] .boat__halo { fill: rgb(143 180 255 / 0.18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .boat__halo { fill: rgb(143 180 255 / 0.18); } }
.map .boat--alert .boat__dot { fill: var(--accent); }
.map .boat--alert .boat__halo { fill: var(--accent-soft); }

.chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 10px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px -18px rgb(12 37 73 / 0.5);
  font-size: 0.8rem; line-height: 1.3;
}
.chip i { font-size: 1.15rem; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); color: var(--ink); }
.chip b { display: block; font-weight: 650; }
.chip span { color: var(--muted); }
.chip--a { top: 5%; left: 26%; }
.chip--b { top: 40%; left: 3%; }
.chip--alert { bottom: 4%; left: 4%; border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.chip--alert i { background: var(--accent-soft); color: var(--accent); }
.chip--alert span { color: var(--accent); font-weight: 500; }
@container (max-width: 520px) {
  .chip { font-size: 0.7rem; padding: 6px 10px 6px 7px; gap: 7px; border-radius: 10px; }
  .chip i { width: 24px; height: 24px; font-size: 0.95rem; }
  .chip--a { left: auto; right: 3%; top: 3%; }
  .chip--b { top: 36%; }
  .map text { font-size: 15px; }
}

@media (max-width: 960px) {
  .hero { padding-top: 24px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero__sub { max-width: 52ch; }
}
@media (max-width: 560px) {
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* entrada do hero */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: enter 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  .live-dot { animation: live 2s ease-out infinite; }
  .chip--alert { animation: nudge 3.2s var(--ease) infinite; }
}
@keyframes enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes nudge { 0%, 80%, 100% { transform: none; } 86% { transform: translateX(-3px); } 92% { transform: translateX(3px); } }

/* ---------- Reveal genérico ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Caos ---------- */
.chaos { padding: 96px 0 72px; }
.chaos__head { max-width: 760px; display: grid; gap: 18px; }
.chaos__head p { color: var(--ink-2); font-size: 1.1rem; max-width: 62ch; }
.chaos-stage { position: relative; height: 520px; margin-top: 48px; }
.bubble {
  position: absolute; left: var(--x); top: var(--y);
  max-width: 300px;
  padding: 10px 14px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  font-size: 0.95rem; line-height: 1.4;
  box-shadow: 0 12px 30px -20px rgb(12 37 73 / 0.45);
}
.bubble small { display: block; margin-top: 2px; text-align: right; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.bubble--me { border-radius: 14px 14px 4px 14px; background: color-mix(in srgb, var(--ok) 10%, var(--surface)); }
.chaos-card {
  position: absolute; left: 50%; top: 50%;
  width: min(380px, 100%);
  translate: -50% -50%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  display: grid; gap: 12px;
}
.chaos-card__top { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--muted); }
.chaos-card__route { font-size: 1.5rem; font-weight: 750; font-stretch: 110%; display: flex; align-items: center; gap: 10px; letter-spacing: -0.02em; }
.chaos-card__route i { color: var(--accent); font-size: 1.2rem; }
.chaos-card__facts { display: grid; gap: 8px; color: var(--ink-2); font-size: 0.95rem; }
.chaos-card__facts li { display: flex; align-items: center; gap: 10px; }
.chaos-card__facts i { color: var(--muted); font-size: 1.1rem; }
.chaos-card__note { padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }

@media (max-width: 899px) {
  .chaos { padding-top: 64px; }
  .chaos-stage { height: auto; display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
  .bubble { position: static; max-width: 85%; }
  .bubble--me { align-self: flex-end; }
  .bubble:nth-child(n+5) { display: none; }
  .chaos-card { position: relative; left: auto; top: auto; translate: none; width: 100%; margin-top: 18px; }
}

.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 0.74rem; font-weight: 600; white-space: nowrap;
}
.status--idle { background: var(--surface-2); color: var(--ink-2); }
.status--ok { background: var(--ok-soft); color: var(--ok); }
.status--go { background: var(--accent-soft); color: var(--accent); }

/* ---------- Como funciona (film) ---------- */
.how { padding: 72px 0 96px; }
.how__title { max-width: 18ch; margin-bottom: 48px; }

/* Layout padrão (sem JS, celular, movimento reduzido): frames empilhados */
.film { position: relative; display: grid; gap: 56px; }
.film__rail { display: none; }
.frame { display: grid; gap: 22px; }
.frame__copy { display: grid; gap: 10px; max-width: 46ch; }
.frame__copy p { color: var(--ink-2); }
.frame__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--ink); font-size: 1.35rem;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.frame__visual {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  min-height: 420px;
  display: grid; place-items: center;
  padding: 28px;
  overflow: hidden;
}
.frame__visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--sea-dot) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

/* Modo pinado (desktop com movimento): texto à esquerda, palco único à direita */
.film.is-pinned {
  grid-template-columns: 44px minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-rows: repeat(4, auto);
  column-gap: 32px; row-gap: 10px;
  align-items: center;
}
.film.is-pinned .frame { display: contents; }
.film.is-pinned .frame__copy {
  grid-column: 2;
  padding: 18px 0;
  opacity: 0.38;
  cursor: pointer;
  transition: opacity 0.4s var(--ease);
}
.film.is-pinned .frame__copy p { font-size: 0.97rem; }
.film.is-pinned .frame:nth-child(2) .frame__copy { grid-row: 1; }
.film.is-pinned .frame:nth-child(3) .frame__copy { grid-row: 2; }
.film.is-pinned .frame:nth-child(4) .frame__copy { grid-row: 3; }
.film.is-pinned .frame:nth-child(5) .frame__copy { grid-row: 4; }
.film.is-pinned .frame__copy.is-active { opacity: 1; }
.film.is-pinned .frame__copy.is-active .frame__icon { background: var(--accent); color: var(--on-accent); }
.film.is-pinned .frame__visual { grid-column: 3; grid-row: 1 / span 4; height: min(560px, 72dvh); min-height: 0; }
.film.is-pinned .film__rail {
  display: block; grid-column: 1; grid-row: 1 / span 4; justify-self: center;
  width: 2px; height: 100%; background: var(--line); border-radius: 2px; position: relative;
}
.film.is-pinned .film__rail i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); border-radius: 2px; }

/* UI dos frames */
.ui {
  position: relative; z-index: 1;
  width: min(400px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: grid; gap: 14px;
}
.ui__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ui__head b { font-size: 1.05rem; font-stretch: 108%; }
.ui__head > span { font-size: 0.8rem; color: var(--muted); }
.ui__row { display: grid; gap: 6px; }
.ui__row > span { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.ui__field {
  display: flex; align-items: center; justify-content: space-between;
  height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); font-size: 0.95rem;
}
.ui__field .type { white-space: nowrap; }
.caret { display: none; width: 1.5px; height: 18px; background: var(--accent); margin-left: 2px; margin-right: auto; }
.ui__btn {
  height: 44px; border-radius: 999px; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); font-weight: 650;
}
.ui__toast {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--ok-soft); color: var(--ok); font-size: 0.9rem; font-weight: 500;
}
.ui__toast i { font-size: 1.2rem; }
.ui__toast--soft { background: var(--surface-2); color: var(--ink-2); }
.ui__route { display: flex; align-items: center; gap: 8px; font-size: 1.35rem; font-weight: 750; font-stretch: 110%; letter-spacing: -0.02em; }
.ui__route i { color: var(--accent); font-size: 1.1rem; }

.statusflip { display: grid; justify-items: start; }
.statusflip > * { grid-area: 1 / 1; }
.statusflip > :first-child { opacity: 0; }
.statusflip--sm .status { font-size: 0.7rem; }

.seats { display: grid; gap: 10px; }
.seats__label { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); }
.seats__label b { color: var(--ink); font-weight: 600; }
.seats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.seat { aspect-ratio: 1; border-radius: 8px; border: 1.5px dashed var(--line); position: relative; }
.seat b { position: absolute; inset: -1.5px; border-radius: 8px; background: var(--navy); }
:root[data-theme="dark"] .seat b { background: #8fb4ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seat b { background: #8fb4ff; } }

.phone {
  position: relative; z-index: 1;
  width: 250px; padding: 12px;
  background: var(--ink); border-radius: 36px;
  box-shadow: var(--shadow);
}
.phone__notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 70px; height: 18px; background: var(--ink); border-radius: 12px; z-index: 2; }
.phone__screen { background: var(--surface); border-radius: 26px; padding: 44px 16px 18px; display: grid; gap: 14px; }
.phone__title { font-weight: 650; font-size: 0.9rem; text-align: center; }
.qr { position: relative; aspect-ratio: 1; background: #fbfcfd; border-radius: 12px; padding: 12px; border: 1px solid var(--line); overflow: hidden; }
.qr__svg { width: 100%; height: 100%; }
.qr__svg rect { fill: #0b1b33; }
.qr__scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); box-shadow: 0 0 16px 4px rgb(239 106 33 / 0.5); opacity: 0; }
.phone__result { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--radius-sm); background: var(--ok-soft); }
.phone__result i { color: var(--ok); font-size: 1.5rem; }
.phone__result b { display: block; font-size: 0.9rem; }
.phone__result span { font-size: 0.78rem; color: var(--ok); }
.phone__tally { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); }
.phone__tally b { color: var(--ink); font-size: 0.95rem; }

.minimap { width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.minimap text { font-family: var(--mono); font-size: 12px; fill: var(--ink-2); }
.pings { display: grid; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.pings li { display: flex; gap: 12px; }
.pings span { color: var(--ink); font-weight: 500; }

@media (max-width: 640px) {
  .frame__visual { min-height: 0; padding: 20px 14px; }
  .film { gap: 44px; }
}

/* ---------- Bento (telas) ---------- */
.roles { padding: 96px 0; }
.roles h2 { max-width: 16ch; margin-bottom: 44px; }
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(240px, auto);
  gap: 16px;
}
.tile {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface);
}
.tile p { color: var(--ink-2); max-width: 46ch; }
.tile__icon { font-size: 1.6rem; margin-bottom: 6px; color: var(--accent); }
.tile--ops { grid-column: span 4; grid-row: span 2; background: var(--navy); color: #eef3fa; border-color: transparent; }
.tile--ops p { color: rgb(238 243 250 / 0.75); }
.tile--ops::after {
  content: ""; position: absolute; inset: auto -10% -40% 30%; height: 80%;
  background: radial-gradient(closest-side, rgb(255 122 51 / 0.22), transparent);
  pointer-events: none;
}
.tile--supplier { grid-column: span 2; }
.tile--pilot { grid-column: span 2; background: var(--surface-2); }
.tile--brand { grid-column: span 6; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 32px; background:
  linear-gradient(120deg, var(--accent-soft), transparent 55%), var(--surface); }
.tile--brand .tile__icon { margin: 0; }
.tile--brand h3 { min-width: 200px; }
.tile--brand p { flex: 1 1 320px; }
.tile__url { flex-basis: 100%; font-size: clamp(1.1rem, 2.6vw, 1.9rem); color: var(--muted); margin-top: 8px; }
.tile__url span { color: var(--accent); font-weight: 600; }

.tile--ops { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: stretch; }
.ops__text { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.tile--ops .livemap { position: relative; z-index: 1; align-self: center; border-color: rgb(255 255 255 / 0.12); }
.kpis { margin-top: auto; padding-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; position: relative; z-index: 1; }
.kpis div { padding: 16px; border-radius: 14px; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.08); display: grid; gap: 4px; }
.kpis span { font-size: 0.8rem; color: rgb(238 243 250 / 0.7); }
.kpis b { font-size: 2rem; font-weight: 600; line-height: 1; }
.kpis__alert b { color: #ff9a5f; }

.flow { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.72rem; }
.flow li { padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.flow li:last-child { background: var(--ok-soft); color: var(--ok); border-color: transparent; }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--ops { grid-column: span 2; grid-row: auto; grid-template-columns: 1fr; }
  .tile--supplier, .tile--pilot { grid-column: span 1; }
  .tile--brand { grid-column: span 2; }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--ops, .tile--supplier, .tile--pilot, .tile--brand { grid-column: auto; }
  .tile { padding: 22px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Detalhes ---------- */
.details { padding: 96px 0; border-top: 1px solid var(--line); }
.details__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.details__more { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.details__more a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.details__more i { color: var(--accent); }
.details__aside { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 16px; }
.details__aside p { color: var(--ink-2); max-width: 40ch; }
.details__groups { display: grid; gap: 40px; }
.group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.group h3 i { color: var(--accent); font-size: 1.3rem; }
.group ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.group li { color: var(--ink-2); padding-left: 18px; position: relative; font-size: 0.98rem; }
.group li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--accent); border-radius: 2px; }
.group + .group { padding-top: 40px; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .details__grid { grid-template-columns: 1fr; gap: 40px; }
  .details__aside { position: static; }
}
@media (max-width: 640px) { .group ul { grid-template-columns: 1fr; } }

/* ---------- Implantação ---------- */
.founders { padding: 96px 0; }
.founders__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.founders__copy { display: grid; gap: 20px; }
.founders__copy p:last-child { color: var(--ink-2); font-size: 1.1rem; max-width: 52ch; }
.founders__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: calc(var(--radius) + 4px);
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid; gap: 22px;
}
.founders__panel ul { display: grid; gap: 18px; }
.founders__panel li { display: flex; gap: 14px; }
.founders__panel li i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.3rem; }
.founders__panel li b { display: block; font-weight: 650; }
.founders__panel li span { color: var(--ink-2); font-size: 0.95rem; }
.founders__panel .btn { justify-self: start; }
@media (max-width: 900px) { .founders__grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .founders__panel { padding: 24px 20px; } .founders__panel .btn { justify-self: stretch; } }

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq h2 { max-width: 14ch; }
.faq__list { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: 1.1rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 62ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] p { animation: enter 0.5s var(--ease) both; }
}
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; gap: 28px; } .faq details p { padding-right: 0; } }

/* ---------- CTA final ---------- */
.final { padding: 24px 0 96px; }
.final__inner {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: #eef3fa;
  border: 1px solid rgb(238 243 250 / 0.08);
  border-radius: 28px;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px);
  display: grid; gap: 20px; justify-items: start;
}
.final__inner::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(255 122 51 / 0.25), transparent);
  pointer-events: none;
}
.final__inner::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(238 243 250 / 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.final__inner > * { position: relative; z-index: 1; }
.final__logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 8px; }
.final h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 18ch; }
.final p { font-size: 1.15rem; color: rgb(238 243 250 / 0.78); max-width: 48ch; }
.final__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.final__contacts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 8px; }
.final__contacts a { color: rgb(238 243 250 / 0.85); font-size: 0.95rem; text-underline-offset: 4px; }
.final__contacts a:hover { color: #fff; }
@media (max-width: 560px) { .final__ctas .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.footer { padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a { color: var(--ink-2); text-underline-offset: 3px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Dock mobile ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  display: none;
  transform: translateY(140%);
  transition: transform 0.45s var(--ease);
}
.dock .btn { width: 100%; box-shadow: 0 18px 40px -12px rgb(12 37 73 / 0.55); }
.dock.is-visible { transform: none; }
@media (max-width: 760px) { .dock { display: block; } }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }
