/* Layout: página única, hero em duas colunas com palco NFC animado, seções em grade, linha de progresso ligada ao scroll nos 3 passos */
:root {
  --bg: #0a0b0f;
  --bg-2: #0e1117;
  --surface: #12161f;
  --line: rgba(255, 255, 255, 0.09);
  --fg: #eef2f8;
  --muted: #8d97aa;
  --accent: #2e6bff;
  --accent-t: #77a0ff;
  --accent-deep: #0b3aa8;
  --glow: rgba(46, 107, 255, 0.32);
  --f-display: 'Sora', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent-t); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.eyebrow { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-t); }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(36px, 6vw, 64px); max-width: 640px; }
.sec-head h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); font-weight: 600; }
.sec-head p { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--accent-deep), var(--accent-t)); transform: scaleX(0); transform-origin: left; }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10, 11, 15, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand img { height: 30px; width: auto; display: block; }
.links { display: flex; gap: 28px; font-size: 0.92rem; color: var(--muted); }
.links a { position: relative; padding-block: 6px; transition: color 0.2s; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent-t); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.links a:hover, .links a.on { color: var(--fg); }
.links a.on::after, .links a:hover::after { transform: scaleX(1); }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 500; font-size: 0.95rem; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s; }
.btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.28); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 30px -8px var(--glow); }
.btn.primary:hover { background: #4079ff; box-shadow: 0 12px 38px -6px var(--glow); }
.btn .ico { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn.sm { padding: 9px 18px; font-size: 0.85rem; }

/* hero */
.hero { --hp: 0; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 62% 42%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 62% 42%, #000 10%, transparent 75%); opacity: 0.7; }
.glow { position: absolute; width: 640px; height: 640px; right: -120px; top: -80px; background: radial-gradient(circle, var(--glow), transparent 65%); filter: blur(30px); pointer-events: none; transform: translateY(calc(var(--hp) * 80px)); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; opacity: calc(1 - var(--hp) * 1.3); transform: translateY(calc(var(--hp) * -56px)); will-change: transform, opacity; }
.tag { font-family: var(--f-display); font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); font-weight: 300; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.7rem); font-weight: 700; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--accent-t); }
.hero .lead { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 50ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chips span { border: 1px solid var(--line); padding: 6px 12px; border-radius: 6px; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.e { animation: rise 0.9s var(--ease) both; animation-delay: var(--d, 0s); }

/* stage */
.stage { position: relative; height: clamp(500px, 52vw, 540px); transform: translateY(calc(var(--hp) * 36px)); opacity: calc(1 - var(--hp) * 1.1); animation: rise 1.1s var(--ease) 0.25s backwards; }
.rings { position: absolute; left: 50%; top: 46%; width: 0; height: 0; }
.rings i { position: absolute; left: -210px; top: -210px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid var(--accent-t); opacity: 0; animation: ring 4.8s linear infinite; }
.rings i:nth-child(2) { animation-delay: 1.6s; }
.rings i:nth-child(3) { animation-delay: 3.2s; }
@keyframes ring { 0% { transform: scale(0.25); opacity: 0.7; } 100% { transform: scale(1.25); opacity: 0; } }
.phone { position: absolute; right: 2%; top: 4%; width: clamp(190px, 50%, 250px); aspect-ratio: 1 / 2; border-radius: 34px; border: 1px solid rgba(255, 255, 255, 0.16); background: linear-gradient(180deg, #151a25, #0d1017); padding: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 60px -20px var(--glow); animation: float 7s ease-in-out infinite; }
.phone::before { content: ''; position: absolute; top: 9px; left: 50%; width: 54px; height: 5px; margin-left: -27px; background: #05060a; border-radius: 4px; }
.screen { height: 100%; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); padding: 28px 14px 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.screen .mono { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.14em; color: var(--accent-t); text-transform: uppercase; }
.screen h4 { margin: 0; font-family: var(--f-display); font-size: 1.02rem; line-height: 1.2; font-weight: 600; }
.stars { display: flex; gap: 3px; color: #f5c451; }
.stars .ico { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.fake-btn { background: var(--accent); border-radius: 10px; padding: 9px; text-align: center; font-size: 0.78rem; font-weight: 600; font-family: var(--f-display); }
.row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); font-size: 0.78rem; color: #cfd6e4; }
.row .ico { width: 16px; height: 16px; color: var(--accent-t); }
.nfc-card { position: absolute; left: 0; bottom: 6%; width: clamp(210px, 62%, 290px); aspect-ratio: 1.62; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(120% 120% at 0% 0%, #1b2f6e 0%, #0e1630 45%, #0a0d18 100%); border: 1px solid rgba(119, 160, 255, 0.35); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 50px -18px var(--glow); transform: rotate(-7deg); animation: float2 6s ease-in-out infinite; }
.nfc-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.nfc-card img { height: 20px; width: auto; display: block; }
.nfc-card .ico { color: var(--accent-t); width: 26px; height: 26px; }
.nfc-card .bot { display: flex; justify-content: space-between; align-items: flex-end; }
.nfc-card b { display: block; font-family: var(--f-display); font-size: 1rem; font-weight: 600; }
.nfc-card small { color: var(--muted); font-size: 0.72rem; }
.nfc-card .qr { width: 44px; height: 44px; color: var(--fg); opacity: 0.9; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float2 { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(8px); } }

/* marquee */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding-block: 18px; }
.strip-track { display: flex; width: max-content; animation: slide 36s linear infinite; font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.strip-track span { display: inline-flex; align-items: center; gap: 48px; padding-right: 48px; white-space: nowrap; }
.strip-track span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@keyframes slide { to { transform: translateX(-25%); } }

/* reveal (entrada e saída) */
.js [data-a] { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s), filter 0.8s var(--ease) var(--d, 0s); filter: blur(5px); }
.js [data-a="left"] { transform: translateX(-56px); }
.js [data-a="right"] { transform: translateX(56px); }
.js [data-a="zoom"] { transform: scale(0.92); }
.js [data-a].in { opacity: 1; transform: none; filter: none; }
.js [data-a].out { opacity: 0; transform: translateY(-40px) scale(0.98); filter: blur(4px); transition-delay: 0s; transition-duration: 0.5s; }

/* cards */
.card { position: relative; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); border-radius: 20px; overflow: hidden; transition: border-color 0.3s, transform 0.4s var(--ease); }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 107, 255, 0.16), transparent 60%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.card:hover { border-color: rgba(119, 160, 255, 0.4); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }

/* produtos */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.prod .vis { height: 250px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; }
.prod .vis::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.prod h3 { font-size: 1.5rem; font-weight: 600; }
.prod p { color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.97rem; color: #cdd4e2; }
.ticks .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-t); }
.mini-card { position: relative; width: 250px; aspect-ratio: 1.62; border-radius: 14px; padding: 14px; background: radial-gradient(120% 120% at 0% 0%, #1b2f6e, #0e1630 50%, #0a0d18); border: 1px solid rgba(119, 160, 255, 0.35); display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-4deg); box-shadow: 0 24px 50px -20px #000; transition: transform 0.5s var(--ease); }
.prod:hover .mini-card { transform: rotate(0deg) scale(1.04); }
.mini-card .ico { color: var(--accent-t); }
.mini-card b { font-family: var(--f-display); font-weight: 600; display: block; }
.mini-card small { color: var(--muted); font-size: 0.7rem; }
.mini-card .qr { width: 40px; height: 40px; }
.plaque { position: relative; width: 190px; border-radius: 12px; background: #f3f6fb; color: #0b1220; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; box-shadow: 0 24px 50px -18px #000; transform: rotate(3deg); transition: transform 0.5s var(--ease); }
.prod:hover .plaque { transform: rotate(0deg) scale(1.04); }
.plaque b { font-family: var(--f-display); font-size: 0.85rem; line-height: 1.2; }
.plaque .stars .ico { width: 14px; height: 14px; }
.plaque .qr { width: 96px; height: 96px; color: #0b1220; }
.plaque .nfc-line { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); }
.plaque .nfc-line .ico { width: 14px; height: 14px; }
.keyfob { position: relative; display: flex; flex-direction: column; align-items: center; transform: rotate(-6deg); transition: transform 0.5s var(--ease); }
.prod:hover .keyfob { transform: rotate(0deg) scale(1.04); }
.keyfob-ring { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #8a919e; box-shadow: inset 0 0 0 4px var(--bg-2); margin-bottom: -6px; z-index: 1; }
.keyfob-body { width: 120px; height: 150px; border-radius: 18px 18px 42px 42px; padding: 22px 14px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: linear-gradient(160deg, #6b4423 0%, #3d2412 55%, #2a180c 100%); border: 1px solid rgba(180, 130, 70, 0.45); box-shadow: 0 24px 50px -18px #000, inset 0 1px 0 rgba(255, 220, 160, 0.15); color: #f3e6d4; }
.keyfob-body .ico { width: 28px; height: 28px; color: #e8c07a; }
.keyfob-body b { font-family: var(--f-display); font-weight: 600; font-size: 0.85rem; }
.keyfob-body small { font-family: var(--f-mono); font-size: 0.55rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(243, 230, 212, 0.7); }
.qr svg { width: 100%; height: 100%; display: block; }

/* steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; --p: 0; }
.steps::before, .steps::after { content: ''; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--accent-deep), var(--accent-t)); transform-origin: left; transform: scaleX(var(--p)); box-shadow: 0 0 12px var(--glow); }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.marker { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--bg); border: 1px solid rgba(119, 160, 255, 0.45); color: var(--accent-t); box-shadow: 0 0 30px -8px var(--glow); }
.step h3 { font-size: 1.45rem; font-weight: 600; margin-top: 10px; }
.step h3 span { color: var(--accent-t); }
.step p { color: var(--muted); max-width: 34ch; }

/* usos */
.uses { background: var(--bg-2); border-block: 1px solid var(--line); }
.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.use { padding: 22px; display: flex; flex-direction: column; gap: 14px; border-radius: 16px; }
.use .ico { width: 26px; height: 26px; color: var(--accent-t); transition: transform 0.4s var(--ease); }
.use:hover .ico { transform: scale(1.18) rotate(-6deg); }
.use b { font-family: var(--f-display); font-weight: 500; font-size: 1.02rem; line-height: 1.25; display: block; }
.use span { color: var(--muted); font-size: 0.9rem; }
.who { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.who .eyebrow { margin-right: 6px; color: var(--muted); }
.who .pill { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.9rem; color: #cdd4e2; transition: border-color 0.2s, color 0.2s; }
.who .pill:hover { border-color: var(--accent-t); color: #fff; }

/* benefits */
.ben-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ben { padding: 28px; display: flex; gap: 20px; align-items: flex-start; }
.ben .ico { width: 30px; height: 30px; color: var(--accent-t); margin-top: 2px; }
.ben h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }
.ben p { color: var(--muted); }

/* WhatsApp flutuante */
.wa-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 16px 32px -10px rgba(37, 211, 102, 0.45); }
.wa-fab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wa-fab svg { width: 30px; height: 30px; display: block; }
.wa-fab[hidden] { display: none !important; }

footer { border-top: 1px solid var(--line); padding-block: 48px; }
.foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot img { height: 44px; width: auto; display: block; }
.foot p { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 900px) {
  .links { display: none; }
  .hero-grid, .prod-grid { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .ben-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before, .steps::after { left: 28px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--p)); background: linear-gradient(180deg, var(--accent-deep), var(--accent-t)); }
  .step { padding-left: 84px; }
  .step .marker { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 0; padding-top: 14px; }
  .stage { height: 560px; }
}
@media (max-width: 480px) {
  .nav .btn { padding: 8px 14px; }
  .use-grid { grid-template-columns: 1fr; }
  .stage { height: 440px; }
  .mini-card { width: min(250px, 100%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-copy, .stage, .glow { transform: none !important; opacity: 1 !important; }
}
