:root {
  --bg: #0a0a0b;
  --bg2: #111114;
  --card: #16161a;
  --line: #26262c;
  --text: #eeeef0;
  --muted: #9a9aa3;
  --red: #e0151f;
  --red-dark: #8f0b12;
  --yellow: #ffd400;
  --display: "Anton", Impact, "Arial Black", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--body);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.02; letter-spacing: .5px; margin: 6px 0 14px; text-transform: uppercase; }
h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.kicker { color: var(--red); font-weight: 800; letter-spacing: 3px; font-size: 13px; }
.lead { color: var(--muted); font-size: 18px; max-width: 560px; }

/* barra do topo */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: calc(12px + env(safe-area-inset-top)) 22px 12px; background: linear-gradient(#0a0a0bee, #0a0a0b00);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 22px; letter-spacing: 1px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; transition: color .2s; }
.nav nav a:hover { color: var(--text); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--muted); font: 700 12px var(--body); padding: 7px 11px; cursor: pointer; }
.lang button.on { background: var(--red); color: #fff; }

/* topo com vídeo */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05); }
.hero-shade {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, #0a0a0b55 0%, #0a0a0bcc 70%), linear-gradient(90deg, #0a0a0bf2 0%, #0a0a0b99 45%, #0a0a0b33 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero-content { position: relative; z-index: 2; width: min(1180px, 100% - 32px); margin: 0 auto; padding: 120px 0 90px; }
.badge {
  display: inline-block; border: 1px solid #ffffff2a; background: #ffffff10; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #ddd; backdrop-filter: blur(4px);
}
.title {
  font-family: var(--display); font-weight: 400; font-size: clamp(84px, 15vw, 190px); line-height: .86; margin: 18px 0 18px;
  letter-spacing: 2px; text-shadow: 0 6px 40px #000;
}
.title span { color: var(--red); text-shadow: 0 0 40px #e0151f66, 0 6px 40px #000; }
.tagline { font-size: clamp(17px, 2vw, 21px); max-width: 560px; color: #d7d7dc; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 12px; font-weight: 800;
  text-decoration: none; font-size: 16px; letter-spacing: .3px; transition: transform .15s, box-shadow .2s, background .2s; border: 0; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px #e0151f55; }
.btn-red:hover { background: #f2232d; box-shadow: 0 12px 40px #e0151f88; }
.btn-ghost { background: #ffffff12; color: #fff; border: 1px solid #ffffff2a; }
.btn-ghost:hover { background: #ffffff20; }
.btn-yellow { background: var(--yellow); color: #111; box-shadow: 0 10px 30px #ffd40040; }
.btn-yellow:hover { box-shadow: 0 12px 40px #ffd40070; }
.hazard { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; z-index: 3; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, #111 18px 36px); opacity: .9; }

/* seção do iPhone */
.iphone { padding: 110px 0; background: radial-gradient(ellipse at 80% 30%, #3a050822, transparent 60%), var(--bg); }
.iphone-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 30px 0 22px; display: grid; gap: 14px; }
.steps li {
  display: grid; grid-template-columns: 34px 50px 1fr; gap: 14px; align-items: center; background: var(--card);
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; transition: border-color .2s, transform .2s;
}
.steps li:hover { border-color: #e0151f66; transform: translateX(4px); }
.num { width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 800; }
.ico { width: 50px; height: 50px; border-radius: 13px; background: #ffffff0d; display: grid; place-items: center; color: #4da3ff; }
.ico svg { width: 30px; height: 30px; }
.ico img { width: 40px; height: 40px; border-radius: 10px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }
.status { border-radius: 14px; padding: 16px 18px; background: #e0151f14; border: 1px solid #e0151f44; font-size: 15px; }
.status:empty { display: none; }
.status .row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.status .btn { padding: 10px 16px; font-size: 14px; }
.qr { background: #fff; padding: 8px; border-radius: 10px; width: 112px; height: 112px; flex: none; }
.qr img, .qr canvas { width: 96px !important; height: 96px !important; }

.phone-stage { position: relative; display: grid; place-items: center; min-height: 420px; }
.phone {
  position: relative; z-index: 2; width: min(100%, 520px); aspect-ratio: 19.5 / 9; border-radius: 46px; padding: 14px;
  background: linear-gradient(145deg, #3a3a42, #121216); box-shadow: 0 30px 80px #000c, inset 0 0 0 2px #55555f;
  transform: rotate(-6deg); animation: float 6s ease-in-out infinite;
}
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.island { position: absolute; left: 22px; top: 50%; width: 14px; height: 70px; margin-top: -35px; border-radius: 10px; background: #000; }
.glow { position: absolute; inset: 15% 10%; background: radial-gradient(circle, #e0151f55, transparent 65%); filter: blur(30px); }
@keyframes float { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-10px); } }

/* novidades */
.features { padding: 100px 0; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); border-color: #e0151f66; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.card:hover img { transform: scale(1.05); }
.card > div { padding: 18px 20px 22px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; background: var(--yellow); color: #111; font-weight: 800; font-size: 11px; letter-spacing: 1.2px; padding: 4px 8px; border-radius: 6px; margin-bottom: 10px; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.strip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }

/* trailer */
.trailer { padding: 100px 0; }
.video-frame { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px #000a, 0 0 0 1px #e0151f22; margin-top: 26px; }
.video-frame video { width: 100%; display: block; background: #000; aspect-ratio: 16 / 9; }

/* outras plataformas */
.platforms { padding: 30px 0 110px; }
.platform-box {
  text-align: center; padding: 50px 24px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0%, #ffd40018, transparent 60%), var(--card);
}
.platform-icons { display: flex; justify-content: center; gap: 18px; margin-bottom: 16px; }
.platform-icons svg { width: 34px; height: 34px; fill: #cfcfd6; }
.platform-text { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; margin: 0 auto 22px; max-width: 760px; }
.platform-box small { display: block; color: var(--muted); margin-top: 16px; }

.foot { border-top: 1px solid var(--line); padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); color: var(--muted); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; font-size: 14px; }

/* guia de instalação por cima da página (iPhone no Safari) */
.install { position: fixed; inset: 0; z-index: 50; background: #000000d9; display: grid; place-items: center; padding: 20px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.install[hidden] { display: none; }
.install-card { position: relative; width: min(420px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 24px 24px; text-align: center; }
.install-card .close { position: absolute; right: 12px; top: 8px; background: none; border: 0; color: var(--muted); font-size: 30px; cursor: pointer; }
.install-icon { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 12px; box-shadow: 0 10px 30px #e0151f55; }
.install-card h2 { font-size: 34px; margin: 0 0 6px; }
.install-card p { color: var(--muted); margin: 0 0 14px; }
.install-card ol { text-align: left; margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.install-card b { color: #fff; }
.install-arrow { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); width: 34px; margin-left: -17px; color: var(--yellow); animation: bounce 1.1s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }

@media (max-width: 900px) {
  .nav nav { display: none; }
  .lang { margin-left: auto; }
  .iphone-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-stage { order: -1; min-height: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 110px; }
  .steps li { grid-template-columns: 30px 44px 1fr; padding: 14px; gap: 12px; }
  .ico { width: 44px; height: 44px; }
  .phone { border-radius: 30px; padding: 9px; }
  .phone-screen { border-radius: 22px; }
  .iphone, .features, .trailer { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) { .phone, .install-arrow { animation: none; } html { scroll-behavior: auto; } }
