/* Landing Rastreon: preto, branco e o laranja da marca.
   Estrutura do pin (abertura com carro, app, frota, recursos, chamada final)
   com acabamento escuro: menu em pílula, cartões de borda fina. */
:root {
  --bg: #050506;
  --panel: #0d0e10;
  --panel-2: #131417;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f3ef;
  --muted: #9da1a8;
  --or: #ff6a00;
  --or-2: #ff8a33;
  --ok: #3ddc84;
  --alert: #ff4d3d;
  --head: 'Archivo', system-ui, sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --w: 1180px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--or-2); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--or); color: #000; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

h1, h2 { font-family: var(--head); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h1 em, h2 em { font-style: normal; color: var(--or); }
h3 { font-family: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; }
.eyebrow { font: 600 0.8rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--or-2); margin-bottom: 18px; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.25vw, 1.2rem); max-width: 46ch; margin-top: 20px; }
.fine { color: var(--muted); font-size: 0.88rem; margin-top: 18px; }
.link { color: var(--or-2); font-weight: 600; }
.link:hover { color: #fff; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--body); cursor: pointer; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn span { transition: transform 0.2s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--or); color: #0a0500; }
.btn-primary:hover { background: var(--or-2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Menu em pílula */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; translate: -50% 0;
  width: min(calc(100% - 28px), var(--w));
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(8, 8, 10, 0.62);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transition: background 0.3s, border-color 0.3s;
}
.nav.is-solid { background: rgba(8, 8, 10, 0.9); border-color: var(--line-2); }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-inline: auto; font-size: 0.95rem; color: #c9ccd1; }
.nav-links a:hover, .nav-login:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-login { font-size: 0.95rem; color: #c9ccd1; }

/* Abertura */
.hero { position: relative; height: 380vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1.4px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 68% 52%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 55% at 68% 52%, #000 0%, transparent 72%);
  opacity: 0.7;
}
.hero-car {
  position: absolute; inset: 0;
  transform: translate3d(calc(var(--shift, 18) * 1vw), calc(var(--rise, 0) * -1vh), 0) scale(var(--zoom, 1));
  -webkit-mask-image: radial-gradient(ellipse 40% 50% at 50% 52%, #000 36%, transparent 92%);
  mask-image: radial-gradient(ellipse 40% 50% at 50% 52%, #000 36%, transparent 92%);
  will-change: transform;
}
.hero-car canvas { width: 100%; height: 100%; object-fit: cover; }
.hero-stage::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 26%;
  background: linear-gradient(transparent, var(--bg)); pointer-events: none;
}

.hero-copy { position: absolute; inset: 0; z-index: 3; width: min(calc(100% - 48px), var(--w)); margin-inline: auto; pointer-events: none; }
.stage {
  position: absolute; left: 0; top: 50%; max-width: 640px;
  opacity: 0; visibility: hidden;
  transform: translateY(calc(-50% + var(--dy, 30px)));
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), visibility 0s 0.5s;
}
.stage.is-on { opacity: 1; visibility: visible; --dy: 0px; pointer-events: auto; transition-delay: 0s; }
.stage.is-past { --dy: -30px; }
.stage-center { left: 50%; top: auto; bottom: 7vh; max-width: 760px; width: 100%; text-align: center; transform: translate(-50%, var(--dy, 30px)); }
.stage-center .lead { margin-inline: auto; }
.stage-center h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }

.chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.chip {
  position: absolute; left: var(--x); top: var(--y);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(12, 12, 14, 0.78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 500 0.9rem/1 var(--body); white-space: nowrap;
  opacity: 0; transform: translateY(14px) scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}
.chip.is-on { opacity: 1; transform: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.16); }
.dot.or { background: var(--or); box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.2); }
.dot.alert { background: var(--alert); box-shadow: 0 0 0 4px rgba(255, 77, 61, 0.2); }

.scroll-hint {
  position: absolute; z-index: 3; left: 50%; bottom: 26px; translate: -50% 0;
  display: flex; align-items: center; gap: 10px;
  font: 500 0.78rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  transition: opacity 0.4s;
}
.scroll-hint span { width: 1px; height: 26px; background: linear-gradient(var(--or), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
.scroll-hint.is-off { opacity: 0; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Faixa */
.strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px;
  padding: 34px 24px; border-block: 1px solid var(--line);
  color: var(--muted); font-size: 0.95rem;
}
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; font: 700 1.05rem/1 var(--head); color: #d9dbde; letter-spacing: -0.01em; }
.strip li + li::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--or); margin-right: 36px; vertical-align: middle; }

/* Seções */
.section { width: min(calc(100% - 48px), var(--w)); margin-inline: auto; padding-block: clamp(84px, 11vw, 150px); }
.head { max-width: 760px; margin-inline: auto; text-align: center; }
.head .lead { margin-inline: auto; }
.head-left { margin-inline: 0; text-align: left; }
.center { text-align: center; }

.reveal { opacity: 0; transform: translateY(46px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* App */
.split { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 6vw, 90px); }
.phones { position: relative; height: clamp(440px, 46vw, 620px); }
.phone {
  position: absolute; width: 46%; aspect-ratio: 780 / 1688; border-radius: 34px; padding: 7px;
  background: linear-gradient(160deg, #2a2b2f, #0b0b0d 40%); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px #000, 0 0 0 1px #000 inset;
}
.phone > * { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.phone-a { left: 8%; top: 0; rotate: -7deg; z-index: 2; }
.phone-b { left: 44%; top: 9%; rotate: 6deg; }
.phones::before { content: ''; position: absolute; inset: 12% 6% 4%; background: radial-gradient(closest-side, rgba(255, 106, 0, 0.24), transparent); filter: blur(30px); }
.ticks { margin-top: 28px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: #d5d7da; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 18px; height: 10px; border-left: 2px solid var(--or); border-bottom: 2px solid var(--or); rotate: -45deg; scale: 0.7; transform-origin: left; }

/* Portal */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.tabs button {
  min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); color: #c9ccd1; font: 500 0.94rem/1 var(--body);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tabs button:hover { border-color: var(--line-2); color: #fff; }
.tabs button[aria-selected='true'] { background: #fff; border-color: #fff; color: #000; }
.browser { margin-top: 28px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--panel); overflow: hidden; box-shadow: 0 60px 120px -50px rgba(255, 106, 0, 0.3), 0 30px 60px -30px #000; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2d31; }
.browser-bar span { margin-inline: auto; padding: 5px 18px; border-radius: 999px; background: #17181b; color: var(--muted); font-size: 0.8rem; translate: -20px 0; }
.browser-view { aspect-ratio: 16 / 10; background: #0b1020; }
.browser-view > * { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser-view img { animation: fade 0.35s var(--ease); }
@keyframes fade { from { opacity: 0; } }

/* Recursos */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.card {
  padding: 28px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: border-color 0.25s, transform 0.35s var(--ease), opacity 0.8s var(--ease);
}
.card:hover { border-color: rgba(255, 106, 0, 0.5); }
.card p { color: var(--muted); margin-top: 10px; font-size: 0.98rem; }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 22px; background: rgba(255, 106, 0, 0.12); border: 1px solid rgba(255, 106, 0, 0.28); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--or-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cards .card:nth-child(3n + 2) { --d: 0.08s; }
.cards .card:nth-child(3n) { --d: 0.16s; }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 16px; margin-top: 48px; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 24px; border: 1px solid var(--line); background: var(--panel); }
.plan-hot { border-color: var(--or); background: linear-gradient(180deg, rgba(255, 106, 0, 0.13), var(--panel) 46%); --d: 0.1s; }
.badge { position: absolute; top: -13px; left: 28px; padding: 6px 12px; border-radius: 999px; background: var(--or); color: #0a0500; font: 600 0.76rem/1 var(--body); letter-spacing: 0.04em; }
.plan h3 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-for { color: var(--muted); margin-top: 6px; }
.plan dl { margin: 26px 0 30px; display: grid; }
.plan dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.plan dt { color: #c9ccd1; }
.plan dd { font-weight: 600; white-space: nowrap; }
.plan .btn { margin-top: auto; }
.personal { margin: 26px auto 0; max-width: 856px; padding: 22px 26px; border-radius: 20px; border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 28px; text-align: left; }
.personal-title { font: 700 1rem/1.2 var(--head); }
.personal ul { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.personal li { font-size: 0.92rem; }
.personal b { font-weight: 600; margin-right: 8px; }
.personal span { color: var(--muted); }

/* Dúvidas */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq .head { position: sticky; top: 110px; }
.search { display: block; margin-top: 28px; }
.search input, .cta-form input, .cta-form select {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: #0b0c0e; color: var(--text); font: 400 1rem var(--body);
}
.search input::placeholder { color: #6f747b; }
.search input:focus, .cta-form input:focus, .cta-form select:focus { outline: none; border-color: var(--or); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 1.08rem/1.3 var(--head); letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; color: var(--or); font: 400 1.5rem/0.9 var(--body); transition: rotate 0.25s var(--ease); }
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details p { color: var(--muted); padding: 0 40px 24px 0; }
.faq-empty { grid-column: 2; color: var(--muted); }

/* Chamada final */
.cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 32px; border: 1px solid var(--line-2);
  background: radial-gradient(ellipse 70% 90% at 0% 100%, rgba(255, 106, 0, 0.28), transparent 62%), var(--panel);
}
.cta-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-form label { display: grid; gap: 7px; font-size: 0.86rem; color: #c9ccd1; }
.cta-form .btn { grid-column: 1 / -1; margin-top: 6px; }
.form-note { grid-column: 1 / -1; min-height: 1.4em; font-size: 0.9rem; color: var(--or-2); }

.footer { width: min(calc(100% - 48px), var(--w)); margin-inline: auto; padding: 34px 0 44px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; color: var(--muted); font-size: 0.92rem; }
.footer img { height: 28px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.footer a:hover { color: #fff; }

/* Telas menores */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .split, .faq, .cta { grid-template-columns: 1fr; }
  .faq .head { position: static; }
  .faq-empty { grid-column: 1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .card { --d: 0s; }
  .personal { grid-template-columns: 1fr; }
  .phones { max-width: 520px; width: 100%; margin-inline: auto; height: clamp(420px, 96vw, 600px); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section, .footer, .hero-copy { width: calc(100% - 32px); }
  .nav { padding-left: 14px; gap: 10px; }
  .nav-login { display: none; }
  .nav-logo img { height: 24px; }
  .hero { height: 340vh; }
  .hero-car { --shift: 0 !important; -webkit-mask-image: radial-gradient(ellipse 66% 20% at 50% 66%, #000 36%, transparent 94%); mask-image: radial-gradient(ellipse 66% 20% at 50% 66%, #000 36%, transparent 94%); }
  .hero-grid { -webkit-mask-image: radial-gradient(ellipse 80% 34% at 50% 66%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 34% at 50% 66%, #000, transparent 75%); }
  .stage, .stage-center { left: 0; top: 96px; bottom: auto; text-align: left; transform: translateY(var(--dy, 24px)); max-width: none; }
  .stage-center .lead { margin-inline: 0; }
  .actions .btn { flex: 1 1 auto; }
  .chip { font-size: 0.8rem; padding: 8px 12px 8px 10px; }
  .chip:nth-child(1) { --x: 6% !important; --y: 54% !important; }
  .chip:nth-child(2) { --x: 52% !important; --y: 80% !important; }
  .chip:nth-child(3) { display: none; }
  .chip:nth-child(4) { --x: 8% !important; --y: 54% !important; }
  .chip:nth-child(5) { --x: 40% !important; --y: 80% !important; }
  .chip:nth-child(6) { --x: 6% !important; --y: 54% !important; }
  .chip:nth-child(7) { --x: 40% !important; --y: 80% !important; }
  .scroll-hint { display: none; }
  .strip li + li::before { margin-right: 14px; }
  .strip ul { gap: 10px 14px; }
  .cards, .plans, .cta-form { grid-template-columns: 1fr; }
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .tabs button { flex: none; }
  .browser { border-radius: 12px; }
  .footer nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span { animation: none; }
  .stage, .chip { transition-duration: 0.01s; }
}

/* =====================================================================
   Acabamento premium: painéis emoldurados, títulos metálicos em caixa
   alta, cartões com vídeo e botão branco.
   ===================================================================== */
:root { --bg: #0a0b0d; --frame: 10px; --r: 28px; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, .mega {
  text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.96; padding-top: 0.12em;
  background: linear-gradient(180deg, #ffffff 22%, #a4a8af 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 em, h2 em {
  background: linear-gradient(180deg, #ffa468 0%, var(--or) 62%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 { font-size: clamp(2.3rem, 4.5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 3.1rem); }
.stage { max-width: 680px; }
.stage-center h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }

.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #e6e7ea; }
.btn-primary { box-shadow: 0 10px 34px -12px rgba(255, 106, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3); }

/* Abertura emoldurada */
.hero-stage {
  top: var(--frame); height: calc(100vh - 2 * var(--frame)); height: calc(100svh - 2 * var(--frame));
  margin-inline: var(--frame); border-radius: var(--r); border: 1px solid var(--line); background: #000;
}
.hero-stage::after { background: linear-gradient(transparent, #000); height: 22%; }
.hero-stage::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none;
  background: radial-gradient(ellipse 46% 100% at 68% 100%, rgba(255, 106, 0, 0.2), transparent 70%);
}
.nav { top: calc(var(--frame) + 12px); width: min(calc(100% - 2 * var(--frame) - 28px), var(--w)); }
.strip { border: 0; padding-block: 30px; }

/* Painéis */
.panel {
  width: calc(100% - 2 * var(--frame)); margin: var(--frame) auto; border-radius: var(--r);
  border: 1px solid var(--line); background: #000;
  padding-inline: max(28px, calc((100% - var(--w)) / 2));
}
.panel-glow { background: radial-gradient(ellipse 60% 90% at 12% 100%, rgba(255, 106, 0, 0.26), transparent 62%), #000; }
.panel .cta { border: 0; background: none; padding: 0; border-radius: 0; }
.footer { border-top: 0; }

/* Painel de vídeo em tela cheia */
.cinema { position: relative; overflow: hidden; min-height: min(84vh, 760px); display: grid; place-items: center; text-align: center; padding-block: 90px; }
.cinema video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.55) contrast(1.08); }
.cinema::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9) 78%); }
.cinema-copy { position: relative; z-index: 1; }
.cinema-copy .lead { margin-inline: auto; color: #c9ccd1; }
.cinema-copy .btn { margin-top: 30px; }
.mega { font: 800 clamp(4rem, 15vw, 12.5rem) / 0.86 var(--head); letter-spacing: -0.05em; margin: 0; }

/* Grade de recursos */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 232px; gap: 12px; margin-top: 48px; }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #141518, #0b0c0e);
  transition: border-color 0.3s, opacity 0.8s var(--ease), transform 0.9s var(--ease);
}
.tile:hover { border-color: rgba(255, 106, 0, 0.55); }
.tile p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }
.tile .ico { margin-bottom: auto; }
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile:hover video { transform: scale(1.06); }
.tile-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 25%, rgba(0, 0, 0, 0.9)); }
.tile-copy { position: relative; z-index: 1; }
.tile-media p { color: #d0d3d7; max-width: 44ch; }
.t-a { grid-column: span 2; grid-row: span 2; }
.t-a h3 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.025em; }
.t-c { grid-row: span 2; }
.t-e { grid-column: span 2; }
.tag { display: inline-block; margin-bottom: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 600 0.72rem/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; }
.tile-num { justify-content: center; background: radial-gradient(ellipse 90% 80% at 50% 110%, rgba(255, 106, 0, 0.32), transparent 70%), #0b0c0e; }
.tile .num { font: 800 clamp(2.6rem, 4.4vw, 3.8rem) / 0.9 var(--head); letter-spacing: -0.04em; color: #fff !important; margin: 0 0 6px !important; text-transform: uppercase; }
.bento .tile:nth-child(2n) { --d: 0.08s; }
.bento .tile:nth-child(3n) { --d: 0.16s; }

.browser { border-radius: 22px; }
.plan { border-radius: 26px; background: linear-gradient(180deg, #121316, #0a0b0d); }
.plan-hot { background: linear-gradient(180deg, rgba(255, 106, 0, 0.16), #0a0b0d 50%); box-shadow: 0 40px 90px -50px rgba(255, 106, 0, 0.6); }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-c { grid-row: span 1; }
}
@media (max-width: 720px) {
  :root { --frame: 6px; --r: 22px; }
  .panel { width: calc(100% - 2 * var(--frame)); padding-inline: 18px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(200px, auto); }
  .t-a, .t-e { grid-column: auto; grid-row: auto; }
  .t-a { min-height: 320px; }
  .cinema { min-height: 70vh; }
}

/* O atributo hidden precisa vencer o display:block das mídias */
[hidden] { display: none !important; }

/* =====================================================================
   Efeitos Vibran + demonstrações mais ricas (celular e portal)
   ===================================================================== */
[data-efeito~='cartao-brilho'] { --luz-cor: #ff6a00; --luz-fundo: rgba(255, 106, 0, 0.13); --luz-tamanho: 300px; }
[data-efeito~='feixe-borda'] { --feixe-cor: #ff6a00; --feixe-tamanho: 140px; --feixe-tempo: 7s; }
[data-efeito~='botao-brilho'] { --botao-tempo: 3.6s; }

/* Faixa em manchete */
.strip { display: block; padding: 44px 0 34px; border: 0; }
.strip [data-efeito~='manchete-velocidade'] {
  font-family: var(--head); font-weight: 800; font-size: clamp(34px, 6.4vw, 92px); letter-spacing: -0.03em;
  color: #e9eaec; --manchete-contorno: rgba(255, 106, 0, 0.75);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip .ef-man-sep { color: var(--or); }

/* Celulares */
.phones { height: clamp(480px, 50vw, 680px); perspective: 1400px; }
.phones::before { inset: 18% 2% 0; background: radial-gradient(closest-side, rgba(255, 106, 0, 0.34), transparent); filter: blur(40px); }
.phones::after {
  content: ''; position: absolute; left: 4%; right: 4%; bottom: -3%; height: 12%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.1), transparent); filter: blur(14px);
}
.phone {
  border-radius: 40px; padding: 8px;
  background: linear-gradient(145deg, #45464c, #0a0a0c 32%, #1c1d21 78%, #3a3b40);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 60px 100px -34px #000, 0 34px 90px -44px rgba(255, 106, 0, 0.65);
}
.phone > * { width: auto; height: auto; }
.phone > img, .phone > video { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.phone-a { left: 5%; top: 0; width: 47%; rotate: -6deg; z-index: 2; }
.phone-b { left: 47%; top: 9%; width: 43%; rotate: 7deg; filter: brightness(0.82); }
.notch { position: absolute; z-index: 3; top: 17px; left: 50%; translate: -50% 0; width: 26%; height: 4%; min-height: 14px; border-radius: 999px; background: #000; }

.float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 18px; text-align: left; white-space: nowrap;
  border: 1px solid var(--line-2); background: rgba(16, 17, 20, 0.74);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 24px 44px -22px #000, inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: bob 6.5s ease-in-out infinite;
}
.float b { display: block; font: 600 0.92rem/1.2 var(--body); }
.float small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.float-1 { left: -4%; top: 15%; }
.float-2 { right: -3%; top: 42%; animation-delay: -2.2s; }
.float-3 { left: 2%; bottom: 9%; animation-delay: -4.1s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* Portal */
.browser-wrap { position: relative; margin-top: 28px; perspective: 1800px; }
.browser {
  margin-top: 0; transform-origin: 50% 0;
  transform: rotateX(calc(var(--tilt, 0) * 1deg)) scale(calc(1 - var(--tilt, 0) * 0.006));
  box-shadow: 0 80px 140px -60px rgba(255, 106, 0, 0.42), 0 40px 80px -40px #000, inset 0 1px 0 rgba(255, 255, 255, 0.08);
  will-change: transform;
}
.bfloat-1 { right: 5%; top: -24px; }
.bfloat-2 { left: -3%; bottom: 12%; gap: 20px; padding: 16px 22px; animation-delay: -3s; }
.mini { text-align: center; }
.mini b { font: 800 1.5rem/1 var(--head); letter-spacing: -0.03em; }
.mini + .mini { padding-left: 20px; border-left: 1px solid var(--line-2); }

@media (max-width: 960px) {
  .float-1 { left: 0; } .float-2 { right: 0; } .bfloat-1 { right: 0; } .bfloat-2 { left: 0; }
}
@media (max-width: 720px) {
  .phones { height: clamp(420px, 104vw, 600px); }
  .float { padding: 9px 13px 9px 11px; border-radius: 14px; }
  .float b { font-size: 0.82rem; }
  .float-3, .bfloat-1, .bfloat-2 { display: none; }
  .browser { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* =====================================================================
   Abertura com vídeo de fundo: o carro a caminho do destino
   ===================================================================== */
.hero-car { transform: none; -webkit-mask-image: none; mask-image: none; }
.hero-stage::before, .hero-stage::after { display: none; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.6) 30%, transparent 58%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 20%);
}
.stage { top: 45%; max-width: 560px; }

.route {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; translate: -50% 0;
  width: min(calc(100% - 48px), var(--w)); padding: 18px 26px 20px; border-radius: 22px;
  border: 1px solid var(--line-2); background: rgba(12, 13, 15, 0.58);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 60px -30px #000;
}
.route-track { display: flex; align-items: center; gap: 16px; }
.route-end { font: 600 0.7rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.route-line { position: relative; flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); }
.route-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); border-radius: 2px; background: linear-gradient(90deg, rgba(255, 106, 0, 0.15), var(--or)); }
.route-dot {
  position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 12px; height: 12px; border-radius: 50%;
  translate: -50% -50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 106, 0, 0.35), 0 0 22px 4px rgba(255, 106, 0, 0.8);
}
.route-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.route-stats li { padding: 2px 0 2px 18px; border-left: 1px solid var(--line); opacity: 0.32; transition: opacity 0.5s var(--ease); }
.route-stats li:first-child { padding-left: 0; border-left: 0; }
.route-stats li.is-on { opacity: 1; }
.route-stats small { display: block; font: 600 0.68rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.5s; }
.route-stats li.is-on small { color: var(--or-2); }
.route-stats b { display: block; margin-top: 7px; font: 600 1rem/1.2 var(--body); }

@media (max-width: 720px) {
  .hero-scrim { background: linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.5) 46%, transparent 66%), linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 30%); }
  .stage { top: 92px; }
  .route { width: calc(100% - 24px); bottom: 12px; padding: 14px 16px 16px; border-radius: 18px; }
  .route-stats { grid-template-columns: 1fr 1fr; gap: 12px 0; margin-top: 14px; }
  .route-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .route-stats b { font-size: 0.9rem; }
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }

/* =====================================================================
   Abertura final: uma tela só, vídeo em laço tocando sozinho
   ===================================================================== */
.hero { height: auto; }
.hero-stage { position: relative; top: auto; margin-top: var(--frame); min-height: 620px; }
.hero-car video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 100%;
  transform: translateX(15%); /* tira o carro de trás do título; a esquerda do vídeo já é preta */
}
.hero-scrim {
  background:
    linear-gradient(90deg, #000 0%, #000 15%, rgba(0, 0, 0, 0.72) 30%, transparent 56%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 20%);
}
.stage { position: absolute; top: 50%; }
@media (max-width: 720px) {
  .hero-car video { transform: none; object-position: 47% 100%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.55) 46%, transparent 68%); }
  .stage { top: 92px; }
}

/* =====================================================================
   Menu: três blocos, pílula deslizante, seção atual marcada
   ===================================================================== */
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px;
  padding: 7px 7px 7px 22px;
  background: rgba(10, 10, 12, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  transition: background 0.35s, border-color 0.35s, padding 0.35s var(--ease), box-shadow 0.35s;
}
.nav.is-solid { padding-block: 5px; background: rgba(10, 10, 12, 0.86); }
.nav-logo { justify-self: start; display: flex; align-items: center; }
.nav-logo img { height: 28px; transition: opacity 0.2s; }
.nav-logo:hover img { opacity: 0.8; }

.nav-links {
  position: relative; display: flex; gap: 2px; margin: 0; padding: 4px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.025);
}
.nav-links a {
  position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px;
  font: 500 0.92rem/1 var(--body); color: #a9adb4; white-space: nowrap;
  transition: color 0.25s;
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current] { color: #fff; }
.nav-links a:focus-visible { outline: none; }
.nav-pill {
  position: absolute; top: 4px; bottom: 4px; left: var(--l, 0); right: var(--r, 100%);
  border-radius: 999px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 18px -8px rgba(0, 0, 0, 0.8);
  transition:
    left 0.42s cubic-bezier(0.3, 0.9, 0.3, 1) var(--dl, 0s),
    right 0.42s cubic-bezier(0.3, 0.9, 0.3, 1) var(--dr, 0s),
    opacity 0.25s;
}
.nav-pill.is-on { opacity: 1; }
.nav-pill::after {
  content: ''; position: absolute; left: 50%; bottom: -5px; width: 16px; height: 2px; translate: -50% 0;
  border-radius: 2px; background: var(--or); box-shadow: 0 0 10px 1px rgba(255, 106, 0, 0.8);
  opacity: 0; transition: opacity 0.3s;
}
.nav-pill.is-current::after { opacity: 1; }

.nav-actions { justify-self: end; gap: 6px; margin: 0; }
.nav-login {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  font: 500 0.92rem/1 var(--body); color: #c9ccd1; transition: color 0.2s, background 0.2s;
}
.nav-login svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.nav-login:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-cta { min-height: 42px; padding: 0 20px; }

@media (max-width: 1100px) { .nav-links a { padding-inline: 12px; } }
@media (max-width: 960px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .nav-login { display: none; }
  .nav { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) { .nav-pill { transition: opacity 0.2s; } }



/* =====================================================================
   Visões: escolha a tela. Um aparelho por vez, grande, no centro.
   ===================================================================== */
.visoes .head { text-align: center; }
.vis-switch {
  position: relative; display: flex; width: max-content; max-width: 100%; margin: 30px auto 0; padding: 5px; gap: 2px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.vis-switch button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 22px;
  border: 0; border-radius: 999px; cursor: pointer; background: none; color: #a9adb4; font: 600 0.95rem/1 var(--body);
  transition: color 0.3s;
}
.vis-switch svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vis-switch button:hover { color: #fff; }
.vis-switch button[aria-selected='true'] { color: #0b0b0b; }
.vis-switch button:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.vis-pill {
  position: absolute; top: 5px; bottom: 5px; left: var(--l, 5px); width: var(--w, 0); border-radius: 999px;
  background: #f5f5f5; box-shadow: 0 8px 24px -10px rgba(255, 255, 255, 0.55);
  transition: left 0.5s cubic-bezier(0.3, 0.9, 0.3, 1), width 0.5s cubic-bezier(0.3, 0.9, 0.3, 1);
}

.vis-copy { display: grid; margin: 26px auto 0; max-width: 640px; text-align: center; }
.vc { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.4s, transform 0.5s var(--ease), visibility 0s 0.4s; }
.vc.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0.08s, 0.08s, 0s; }
.vc h3 { font: 700 1.35rem/1.2 var(--head); letter-spacing: -0.015em; }
.vc p { color: var(--muted); margin-top: 8px; }
.vc ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 14px; font-size: 0.92rem; color: #d5d7da; }
.vc li { display: inline-flex; align-items: center; gap: 7px; }
.vc li svg { width: 15px; height: 15px; fill: none; stroke: var(--or); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.vis-stage { position: relative; aspect-ratio: 16 / 9.4; margin-top: 30px; }
.vis-stage::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 10%; bottom: -4%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 106, 0, 0.26), rgba(255, 106, 0, 0.06) 60%, transparent); filter: blur(30px);
}
.vis-stage::after { /* chão: linha de luz e reflexo */
  content: ''; position: absolute; left: 14%; right: 14%; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}
.vd {
  position: absolute; left: 50%; bottom: 1px; margin: 0; translate: -50% 0;
  opacity: 0; visibility: hidden; transform: translateY(26px) scale(0.965);
  transition: opacity 0.5s, transform 0.8s var(--ease), visibility 0s 0.5s;
}
.vis-stage[data-ativo='celular'] .vd-celular,
.vis-stage[data-ativo='computador'] .vd-computador,
.vis-stage[data-ativo='tv'] .vd-tv { opacity: 1; visibility: visible; transform: none; transition-delay: 0.1s, 0.1s, 0s; }
.vd video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* moldura metálica comum */
.vd-phone, .vd-monitor, .vd-tv-moldura {
  position: relative; background: linear-gradient(150deg, #3a3b40, #0c0c0e 26%, #17181b 76%, #34353a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 60px 110px -50px #000, 0 30px 90px -50px rgba(255, 106, 0, 0.7);
}

.vd-celular { height: 96%; aspect-ratio: 780 / 1688; }
.vd-phone { height: 100%; padding: 2.4%; border-radius: 14% / 6.5%; }
.vd-phone video { border-radius: 12% / 5.6%; }
.vd-notch { position: absolute; z-index: 2; top: 3.2%; left: 50%; translate: -50% 0; width: 28%; height: 3%; border-radius: 999px; background: #000; }

.vd-computador { width: 74%; }
.vd-monitor { padding: 1.1%; border-radius: 16px; }
.vd-monitor-tela { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: #0b1020; }
.vd-monitor-pe { position: relative; width: 14%; height: 52px; margin: 0 auto; background: linear-gradient(90deg, #111214, #2a2b2f, #111214); }
.vd-monitor-pe::after { content: ''; position: absolute; left: -110%; right: -110%; bottom: -8px; height: 9px; border-radius: 8px; background: linear-gradient(180deg, #2e2f33, #0e0f11); }

.vd-tv { width: 92%; }
.vd-tv-moldura { padding: 0.7%; border-radius: 12px; }
.vd-tv-pes { position: relative; height: 26px; }
.vd-tv-pes i { position: absolute; top: 0; width: 7%; height: 100%; background: linear-gradient(180deg, #2a2b2f, #0f1012); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.vd-tv-pes i:first-child { left: 14%; }
.vd-tv-pes i:last-child { right: 14%; }

/* ---------- Modo TV (tela feita para ver de longe) ---------- */
.tvm { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #0b1020; container-type: inline-size; color: #f5f5f5; }
.tvm video { position: absolute; inset: 0; filter: saturate(0.7) brightness(0.85); }
.tvm-sombra {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 9, 12, 0.92) 0%, rgba(8, 9, 12, 0.6) 34%, transparent 58%),
    linear-gradient(0deg, rgba(8, 9, 12, 0.85), transparent 38%),
    linear-gradient(180deg, rgba(8, 9, 12, 0.75), transparent 18%);
}
.tvm-topo { position: absolute; left: 3.2cqw; right: 3.2cqw; top: 2.6cqw; display: flex; align-items: center; gap: 1.6cqw; font: 500 1.25cqw/1 var(--body); }
.tvm-marca { display: inline-flex; align-items: center; gap: 0.8cqw; }
.tvm-marca img { width: 2.6cqw; height: 2.6cqw; }
.tvm-marca b { font: 700 1.45cqw/1 var(--font-marca, var(--head)); letter-spacing: 0.01em; }
.tvm-chip { padding: 0.5cqw 1cqw; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); font-weight: 600; }
.tvm-empresa { margin-left: auto; color: #c9ccd1; }
.tvm-vivo { display: inline-flex; align-items: center; gap: 0.6cqw; color: #c9ccd1; }
.tvm-vivo i { width: 0.75cqw; height: 0.75cqw; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0.35cqw rgba(61, 220, 132, 0.2); animation: tvm-pulso 1.8s ease-in-out infinite; }
.tvm-hora { font: 600 1.6cqw/1 var(--body); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
@keyframes tvm-pulso { 50% { box-shadow: 0 0 0 0.7cqw rgba(61, 220, 132, 0); } }

.tvm-hero { position: absolute; left: 3.2cqw; bottom: 3.6cqw; }
.tvm-eyebrow { font: 600 1.05cqw/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--or-2); }
.tvm-titulo { margin-top: 0.9cqw; font: 800 4.6cqw/0.95 var(--head); letter-spacing: -0.035em; text-transform: uppercase; }
.tvm-numeros { display: flex; gap: 2.6cqw; margin: 2cqw 0 0; }
.tvm-numeros div { display: flex; flex-direction: column-reverse; gap: 0.4cqw; }
.tvm-numeros dt { font: 500 1.05cqw/1 var(--body); color: #a9adb4; }
.tvm-numeros dd { margin: 0; font: 700 3.2cqw/1 var(--head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tvm-numeros dd small { font-size: 0.42em; font-weight: 600; margin-left: 0.25em; color: #c9ccd1; letter-spacing: 0; }
.tvm-numeros div:nth-child(2) dd { color: #3ddc84; }

.tvm-lista {
  position: absolute; right: 3.2cqw; top: 7.6cqw; width: 30cqw; margin: 0; padding: 0.8cqw; list-style: none;
  border-radius: 1.4cqw; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(10, 11, 14, 0.66);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.tvm-lista li {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 0.9cqw; align-items: center;
  padding: 0.85cqw 1cqw; border-radius: 0.9cqw; border: 1px solid transparent; transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.tvm-lista li > i { grid-row: 1 / 3; width: 0.8cqw; height: 0.8cqw; border-radius: 50%; background: #3ddc84; }
.tvm-lista li > i.pa { background: #6b8cff; }
.tvm-lista li > i.al { background: #ff4d3d; box-shadow: 0 0 0 0.35cqw rgba(255, 77, 61, 0.25); }
.tvm-lista b { font: 600 1.2cqw/1.2 var(--body); }
.tvm-lista span { grid-column: 2; font-size: 0.95cqw; color: #a9adb4; line-height: 1.3; }
.tvm-lista em { grid-column: 3; grid-row: 1 / 3; font: 600 0.9cqw/1 var(--body); font-style: normal; color: #c9ccd1; padding: 0.45cqw 0.8cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.07); }
.tvm-lista em.al { color: #fff; background: rgba(255, 77, 61, 0.85); }
.tvm-lista li.is-foco { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.55); transform: scale(1.02); box-shadow: 0 0.8cqw 2cqw -1cqw #000; }

.tvm-alerta {
  position: absolute; right: 3.2cqw; bottom: 3.6cqw; width: 30cqw; display: flex; align-items: center; gap: 1.1cqw;
  padding: 1.1cqw 1.3cqw; border-radius: 1.2cqw; background: linear-gradient(90deg, rgba(255, 106, 0, 0.95), rgba(255, 106, 0, 0.78));
  box-shadow: 0 1cqw 3cqw -1cqw rgba(255, 106, 0, 0.8);
  opacity: 0; transform: translateY(1.2cqw); transition: opacity 0.5s, transform 0.6s var(--ease);
}
.tvm-alerta.is-on { opacity: 1; transform: none; }
.tvm-alerta i { flex: none; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: rgba(0, 0, 0, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E") center / 55% no-repeat; }
.tvm-alerta b { display: block; font: 700 1.3cqw/1.1 var(--body); color: #0b0b0b; }
.tvm-alerta span { display: block; margin-top: 0.3cqw; font: 500 0.95cqw/1.2 var(--body); color: rgba(11, 11, 11, 0.78); }

@media (max-width: 760px) {
  .vis-switch button { padding: 0 14px; gap: 7px; font-size: 0.88rem; }
  .vis-switch svg { display: none; }
  .vis-stage { aspect-ratio: 4 / 4.2; }
  .vis-stage[data-ativo='computador'], .vis-stage[data-ativo='tv'] { aspect-ratio: 16 / 11.5; }
  .vd-computador, .vd-tv { width: 100%; }
  .vd-celular { height: 98%; }
  .vc h3 { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .vd, .vc, .vis-pill, .tvm-lista li, .tvm-alerta { transition: none; } .tvm-vivo i { animation: none; } }
/* ajuste de altura: os três aparelhos ocupam quase todo o palco */
.vis-stage { aspect-ratio: 16 / 8.6; }
.vd-tv { width: 90%; }
.vd-celular { height: 94%; }
@media (max-width: 760px) { .vis-stage { aspect-ratio: 4 / 4.2; } .vis-stage[data-ativo='computador'], .vis-stage[data-ativo='tv'] { aspect-ratio: 16 / 11; } }

/* =====================================================================
   Portal da frota: o sistema refeito na página (cores da marca)
   ===================================================================== */
.portal-app .head { text-align: center; }
.pf {
  margin-top: 44px; border-radius: 18px; overflow: hidden; background: #0f0f11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 60px 120px -60px rgba(255, 106, 0, 0.45), 0 40px 80px -40px #000;
}
.pf-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: #0b0b0b; font-size: 0.86rem; }
.pf-marca { display: inline-flex; align-items: center; gap: 9px; padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.pf-marca img { width: 26px; height: 26px; }
.pf-marca b { font: 700 0.88rem/1 var(--font-marca, var(--head)); letter-spacing: 0.01em; }
.pf-empresa { font-weight: 600; color: #e8e9eb; }
.pf-busca { flex: 1; max-width: 340px; margin-left: auto; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 9px; background: #151618; border: 1px solid rgba(255, 255, 255, 0.07); color: #6f747b; }
.pf-busca svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pf-vivo { display: inline-flex; align-items: center; gap: 7px; color: #b9bdc3; }
.pf-vivo i, .al-feed-topo i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.18); }
.pf-user { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #1d1e21; border: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.75rem; font-weight: 700; }

.pf-body { display: grid; grid-template-columns: 330px 1fr; height: clamp(460px, 44vw, 600px); }
.pf-side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid rgba(255, 255, 255, 0.07); background: #0d0d0f; }
.pf-side-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 10px; }
.pf-side-head b { font: 700 1rem/1 var(--head); }
.pf-side-head span { min-width: 24px; padding: 4px 8px; border-radius: 99px; background: #1b1c1f; text-align: center; font-size: 0.78rem; font-weight: 700; }
.pf-filtros { display: flex; gap: 6px; padding: 0 16px 12px; }
.pf-filtros button {
  min-height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.1); background: none;
  color: #b9bdc3; font: 500 0.82rem/1 var(--body); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pf-filtros button:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.pf-filtros button[aria-pressed='true'] { background: #f5f5f5; color: #0b0b0b; border-color: #f5f5f5; }
.pf-lista { flex: 1; overflow-y: auto; padding: 0 8px 10px; scrollbar-width: thin; scrollbar-color: #2a2b2f transparent; }
.pf-lista li[hidden] { display: none; }
.pf-item {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; column-gap: 10px; row-gap: 3px; align-items: center;
  padding: 12px 10px; border: 1px solid transparent; border-radius: 12px; background: none; color: inherit; text-align: left; cursor: pointer;
  font: inherit; transition: background 0.2s, border-color 0.2s;
}
.pf-item:hover { background: rgba(255, 255, 255, 0.04); }
.pf-item[aria-pressed='true'] { background: rgba(255, 106, 0, 0.08); border-color: rgba(255, 106, 0, 0.45); }
.pf-item:focus-visible { outline: 2px solid var(--or); outline-offset: -2px; }
.pf-dot { grid-row: 1 / 3; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; }
.pf-dot.parado { background: #6f747b; }
.pf-dot.alerta { background: #ff4d3d; box-shadow: 0 0 0 4px rgba(255, 77, 61, 0.2); }
.pf-nome { font-weight: 600; font-size: 0.95rem; }
.pf-placa { grid-column: 3; font: 600 0.72rem/1 ui-monospace, monospace; color: #8b9097; letter-spacing: 0.04em; }
.pf-local { grid-column: 2; font-size: 0.8rem; color: #8b9097; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-estado { grid-column: 3; font-size: 0.72rem; font-weight: 600; color: #3ddc84; text-align: right; }
.pf-estado.parado { color: #8b9097; }
.pf-estado.alerta { color: #ff6b5e; }

.pf-mapa { position: relative; overflow: hidden; background: #111; }
.pf-camada {
  position: absolute; left: 0; top: 0; width: 135%; aspect-ratio: 1740 / 1110;
  transform: translate(var(--tx, 0px), var(--ty, 0px)); transition: transform 0.9s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.pf-camada img { display: block; width: 100%; height: 100%; }
.pf-mk {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0; border: 0; background: none; cursor: pointer; color: #f5f5f5;
}
.pf-mk i {
  position: relative; width: 30px; height: 30px; border-radius: 50%; background: #1c1d20; border: 2px solid #f5f5f5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6); transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.pf-mk i::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #3ddc84; }
.pf-mk.parado i::after { background: #8b9097; }
.pf-mk.alerta i::after { background: #ff4d3d; }
.pf-mk span { padding: 3px 6px; border-radius: 6px; background: #0b0b0b; font: 700 0.62rem/1 ui-monospace, monospace; letter-spacing: 0.04em; }
.pf-mk:hover i { transform: scale(1.12); }
.pf-mk.is-sel i { background: var(--or); border-color: #fff; transform: scale(1.18); box-shadow: 0 0 0 8px rgba(255, 106, 0, 0.22), 0 0 30px 6px rgba(255, 106, 0, 0.45); }
.pf-mk.is-sel i::after { background: #fff; }
.pf-mk.is-sel span { background: var(--or); color: #0b0b0b; }
.pf-mk:not(.parado) i::before {
  content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(61, 220, 132, 0.55);
  animation: pf-onda 2.8s ease-out infinite;
}
.pf-mk.alerta i::before { border-color: rgba(255, 77, 61, 0.7); }
@keyframes pf-onda { from { transform: scale(1); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.pf-mk:focus-visible { outline: none; }
.pf-mk:focus-visible i { outline: 2px solid var(--or); outline-offset: 4px; }

.pf-ficha {
  position: absolute; left: 16px; bottom: 16px; width: min(320px, calc(100% - 32px)); padding: 16px 18px; border-radius: 14px;
  background: rgba(11, 11, 11, 0.9); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -24px #000;
}
.pf-ficha-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pf-ficha-topo b { font: 700 1.1rem/1.2 var(--head); }
.pf-ficha-topo span { font: 700 0.75rem/1 ui-monospace, monospace; color: var(--or); letter-spacing: 0.05em; }
.pf-ficha > p { margin-top: 3px; font-size: 0.82rem; color: #8b9097; }
.pf-ficha dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 14px 0 0; }
.pf-ficha dt { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: #6f747b; }
.pf-ficha dd { margin: 3px 0 0; font-size: 0.9rem; font-weight: 600; }
.pf-ficha .pf-ficha-alerta { margin-top: 12px; padding: 9px 11px; border-radius: 9px; background: rgba(255, 77, 61, 0.14); color: #ff8a80; font-size: 0.82rem; font-weight: 600; }
.pf-ficha.troca { animation: pf-troca 0.45s var(--ease); }
@keyframes pf-troca { from { opacity: 0.2; transform: translateY(6px); } }

/* =====================================================================
   Alertas: o texto e o fluxo de avisos chegando
   ===================================================================== */
.al-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.al-tipos { margin: 30px 0 0; display: grid; gap: 0; }
.al-tipos div { padding: 16px 0; border-top: 1px solid var(--line); }
.al-tipos div:last-child { border-bottom: 1px solid var(--line); }
.al-tipos dt { font: 700 1.02rem/1.3 var(--head); }
.al-tipos dd { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

.al-feed {
  position: relative; padding: 18px; border-radius: 22px; background: #0f0f11; border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 100px -50px rgba(255, 106, 0, 0.5), 0 30px 60px -30px #000;
}
.al-feed-topo { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 14px; }
.al-feed-topo b { font: 700 1rem/1 var(--head); }
.al-feed-topo span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: #b9bdc3; }
.al-pilha { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.al-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px;
  background: #151618; border: 1px solid rgba(255, 255, 255, 0.07);
}
.al-card b { display: block; font-weight: 600; font-size: 0.98rem; }
.al-card span { display: block; margin-top: 3px; font-size: 0.82rem; color: #8b9097; }
.al-card time { font-size: 0.78rem; color: #8b9097; white-space: nowrap; }
.al-card.critico { background: linear-gradient(90deg, rgba(255, 77, 61, 0.16), #151618 70%); border-color: rgba(255, 77, 61, 0.45); }
.al-card.critico time { color: #ff8a80; font-weight: 600; }
.al-card.entra { animation: al-entra 0.7s var(--ease) both; }
@keyframes al-entra { from { opacity: 0; transform: translateY(-14px) scale(0.98); } }
.al-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 106, 0, 0.12) center / 20px no-repeat; border: 1px solid rgba(255, 106, 0, 0.28); }
.al-ico.energia { background-color: rgba(255, 77, 61, 0.16); border-color: rgba(255, 77, 61, 0.4); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b5e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.al-ico.cerca { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6.2-6.5-11a6.5 6.5 0 0 1 13 0c0 4.8-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E"); }
.al-ico.velocidade { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 16a8 8 0 1 1 16 0'/%3E%3Cpath d='m12 16 4-5'/%3E%3C/svg%3E"); }

@media (max-width: 960px) {
  .pf-body { grid-template-columns: 1fr; height: auto; }
  .pf-side { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .pf-lista { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 12px; }
  .pf-lista li { flex: none; width: 230px; }
  .pf-mapa { height: 420px; }
  .pf-busca, .pf-empresa { display: none; }
  .al-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pf-mapa { height: 380px; }
  .pf-camada { width: 230%; }
  .pf-ficha dl { grid-template-columns: 1fr 1fr; }
  .pf-marca { border-right: 0; }
  .al-card { grid-template-columns: auto 1fr; }
  .al-card time { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .pf-camada { transition: none; } .pf-mk i::before { animation: none; display: none; } .al-card.entra, .pf-ficha.troca { animation: none; } }
