:root {
  --bg: #fbfbfd;
  --bg2: #f2f3f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --card: #ffffff;
  --blue: #0a6cf0;
  --blue-soft: #e8f1fe;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -12px rgba(16, 24, 40, .14);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Inter, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(40px, 6vw, 80px); }
/* Segunda linha dos títulos: mesma fonte, em cinza */
em { font-style: normal; color: var(--soft); }
.center { text-align: center; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); max-width: 600px; }
.small { color: var(--muted); font-size: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  color: var(--blue); font-size: 15px; font-weight: 600;
}
.eyebrow.center { display: flex; justify-content: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-weight: 600; font-size: 16px;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s;
  box-shadow: 0 8px 24px -8px rgba(10, 108, 240, .55);
}
.btn:hover { transform: translateY(-2px); background: #0860d8; box-shadow: 0 14px 30px -10px rgba(10, 108, 240, .7); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.btn-ghost:hover { background: rgba(0, 0, 0, .03); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.btn-small { padding: 8px 16px; font-size: 14px; box-shadow: none; }
.btn-big { padding: 18px 32px; font-size: 18px; }

/* Barra de progresso e navegação */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60;
  background: var(--blue);
  transform-origin: 0 50%; transform: scaleX(var(--page, 0));
}
.nav {
  position: fixed; top: 12px; left: 50%; z-index: 50;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -16px rgba(16, 24, 40, .25);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; }
.nav nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.lang {
  font: 600 13px var(--sans); color: var(--muted); cursor: pointer;
  background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px;
}
.lang:hover { color: var(--ink); }

/* Seções com scroll: a altura dá a duração, o .sticky fica preso na tela */
[data-scroll] { --p: 0; position: relative; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* 1. Abertura */
.hero { height: 260vh; }
.hero .sticky { perspective: 1400px; }
.glow {
  position: absolute; inset: -20% -10% auto; height: 120%;
  background:
    radial-gradient(40% 35% at 50% 28%, rgba(10, 108, 240, .14), transparent 70%),
    radial-gradient(30% 30% at 18% 60%, rgba(56, 189, 248, .12), transparent 70%),
    radial-gradient(30% 30% at 82% 62%, rgba(129, 140, 248, .12), transparent 70%);
  transform: translateY(calc(var(--p) * -20%)) scale(calc(1 + var(--p) * .3));
}
.hero-text {
  position: absolute; left: 0; right: 0; top: 17vh;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 16px;
  opacity: calc(1 - var(--p) * 2.6);
  transform: translateY(calc(var(--p) * -14vh)) scale(calc(1 - var(--p) * .12));
}
.hero h1 { font-size: clamp(48px, 8vw, 116px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > * { display: inline-block; animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 .line:nth-child(2) > * { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(110%); } }
.hero .lead { margin: 22px auto 30px; animation: fade 1.2s .35s both; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; animation: fade 1.2s .5s both; }
@keyframes fade { from { opacity: 0; transform: translateY(20px); } }

.mac {
  position: absolute; left: 50%; top: 66vh;
  width: min(1100px, 90vw);
  transform-origin: 50% 0;
  transform:
    translateX(-50%)
    translateY(calc(var(--p) * -54vh))
    rotateX(max(0deg, calc(32deg - var(--p) * 64deg)))
    scale(calc(.86 + var(--p) * .24));
  animation: macIn 1.4s .2s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes macIn { from { opacity: 0; translate: 0 80px; } }
.mac-screen {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 10px solid #1d1d1f;
  box-shadow: 0 50px 100px -30px rgba(16, 24, 40, .45), 0 0 0 1px rgba(0, 0, 0, .2);
}
.mac-base {
  height: 16px; margin: 0 -6%;
  background: linear-gradient(#e3e4e8, #b9bbc2);
  border-radius: 0 0 20px 20px / 0 0 14px 14px;
  box-shadow: 0 20px 30px -16px rgba(16, 24, 40, .35);
}
.spot {
  position: absolute; left: 76.3%; top: .2%; width: 14.8%; height: 2.6%;
  border-radius: 8px; border: 2px solid #4b9bff;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, calc(clamp(0, (var(--p) - .6) * 3, 1) * .45)), 0 0 24px rgba(75, 155, 255, .9);
  opacity: clamp(0, calc((var(--p) - .6) * 4), 1);
}

/* 2. Faixa */
.marquee {
  position: relative; z-index: 2;
  border-block: 1px solid var(--line); background: var(--bg2);
  padding: 22px 0; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.track { display: flex; align-items: center; gap: 32px; width: max-content; will-change: transform; }
.track span { font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.02em; color: #8a8a90; white-space: nowrap; }
.track i { width: 6px; height: 6px; border-radius: 50%; background: #c7c7cc; flex: none; }

/* 3. Contagem regressiva */
.countdown { height: 320vh; background: linear-gradient(var(--bg), #eef3fb 50%, var(--bg)); }
.countdown .sticky { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 0 16px; }
.menubar {
  display: flex; align-items: center; gap: .9em;
  max-width: 100%;
  padding: 14px clamp(14px, 2vw, 26px); border-radius: 18px;
  background: #0b0b0d; color: #fff; border: 1px solid rgba(255, 255, 255, .08);
  font-size: clamp(12px, 1.35vw, 17px); font-weight: 500; white-space: nowrap;
  box-shadow: var(--shadow);
  transform: scale(calc(.92 + min(var(--p), .3) * .26));
}
.mb-date { background: #e4e4e6; color: #1d1d1f; border-radius: 6px; padding: 1px 8px; font-weight: 600; }
.mb-title { padding: 2px 10px; border-radius: 8px; transition: background .3s, color .3s; }
.mb-title b { font-weight: 600; font-variant-numeric: tabular-nums; }
.menubar.now .mb-title { background: var(--blue); color: #fff; }
.mb-icons { display: flex; align-items: center; gap: 2.1em; margin: 0 1.2em; }
.mb-icons svg, .mb-play { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mb-icons svg .fill, .mb-play .fill { fill: #fff; stroke: none; }
.mb-icons svg .hole { fill: #0b0b0d; stroke: none; }
.mb-icons .mb-battery { width: 1.75em; }
.mb-day { margin-right: -.4em; }
.mb-clock { font-variant-numeric: tabular-nums; }
.toast {
  display: flex; align-items: center; gap: 14px;
  width: min(420px, 100%); padding: 14px 16px; border-radius: 20px;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 48px -20px rgba(16, 24, 40, .35);
  opacity: 0; transform: translateY(30px) scale(.95);
  transition: opacity .5s, transform .6s cubic-bezier(.2, 1.4, .3, 1);
}
.toast.show { opacity: 1; transform: none; }
.toast img { width: 40px; height: 40px; }
.toast div { flex: 1; display: flex; flex-direction: column; font-size: 15px; line-height: 1.3; }
.toast div span { color: var(--muted); }
.toast-btn { background: var(--blue); color: #fff; padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.cd-caption { color: var(--muted); max-width: 560px; margin: 0; }

/* 4. História dos recursos */
.story { height: 460vh; }
.story .sticky {
  display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 4vw;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.story-text { position: relative; height: 340px; }
.step {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(40px); filter: blur(8px);
  transition: opacity .6s, transform .7s cubic-bezier(.2, .8, .2, 1), filter .6s;
  pointer-events: none;
}
.step.on { opacity: 1; transform: none; filter: none; }
.step .num { font-size: 15px; font-weight: 700; color: var(--blue); letter-spacing: .04em; }
.step h3 { font-size: clamp(32px, 4vw, 56px); margin: 12px 0 16px; }
.step p { color: var(--muted); font-size: 19px; max-width: 440px; margin: 0; }
.bars { position: absolute; left: 0; bottom: 0; display: flex; gap: 8px; }
.bars i { width: 48px; height: 4px; border-radius: 4px; background: rgba(0, 0, 0, .1); overflow: hidden; position: relative; }
.bars i::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: 0; transform: scaleX(var(--f, 0)); }
.stage { position: relative; height: min(78vh, 720px); display: grid; place-items: center; }
.stage-bg {
  position: absolute; inset: 6%; border-radius: 40px;
  background:
    radial-gradient(60% 60% at 25% 15%, #d6e6ff, transparent 70%),
    radial-gradient(60% 60% at 85% 90%, #e4e0ff, transparent 70%),
    #eef2f8;
  border: 1px solid var(--line);
  transform: rotate(calc(var(--p) * 8deg - 4deg));
}
.shot {
  position: absolute; max-height: 88%; max-width: 92%; width: auto;
  border-radius: 14px;
  filter: drop-shadow(0 30px 40px rgba(16, 24, 40, .25));
  opacity: 0; transform: translateY(60px) scale(.92) rotate(-3deg);
  transition: opacity .6s, transform .8s cubic-bezier(.2, .8, .2, 1);
}
.shot.on { opacity: 1; transform: none; }
.shot.past { opacity: 0; transform: translateY(-60px) scale(.96) rotate(2deg); }
.shot[data-shot="2"] { max-width: 88%; width: 560px; max-height: none; }

/* 5. Galeria */
.gallery { height: 340vh; background: var(--bg2); }
.gallery .sticky { display: flex; flex-direction: column; justify-content: center; gap: 48px; }
.gallery-title { padding: 0 6vw; font-size: clamp(36px, 5vw, 72px); }
.rail { display: flex; gap: 32px; padding: 0 6vw; width: max-content; transform: translateX(calc(var(--shift, 0px) * -1)); will-change: transform; }
.rail figure { margin: 0; width: min(64vw, 820px); }
.rail img {
  border-radius: 16px;
  box-shadow: 0 30px 60px -24px rgba(16, 24, 40, .4);
  transform: scale(calc(.94 + var(--near, 0) * .06));
  transition: transform .2s linear;
}
.rail figcaption { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* 6. Grade */
.bento-wrap { padding: 160px 24px; max-width: 1200px; margin: 0 auto; }
.bento-wrap h2 { margin-bottom: 64px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  grid-column: span 2; min-height: 300px; padding: 28px; border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.card:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 48px -16px rgba(16, 24, 40, .22); }
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(10, 108, 240, .07), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
.card h3 { font-size: 24px; margin-bottom: 8px; letter-spacing: -0.02em; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card.tz, .card.join { grid-column: span 3; }
.clocks { display: flex; gap: 16px; margin-top: 32px; }
.clocks div { flex: 1; padding: 18px; border-radius: 18px; background: var(--bg2); }
.clocks span { display: block; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.clocks b { font-size: clamp(36px, 4.4vw, 56px); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.join-demo { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.cam { width: 64px; height: 44px; border-radius: 10px; border: 3px solid var(--blue); position: relative; }
.cam::after { content: ""; position: absolute; right: -18px; top: 9px; border: 10px solid transparent; border-left: 14px solid var(--blue); }
.join-pill {
  margin-left: 18px; padding: 12px 28px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 700;
  animation: tap 2.6s infinite;
}
@keyframes tap { 0%, 60%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(10, 108, 240, .45); } 70% { transform: scale(.92); } 85% { box-shadow: 0 0 0 18px rgba(10, 108, 240, 0); } }
.card.detail img { width: 100%; border-radius: 12px; margin: -4px 0 24px; box-shadow: 0 12px 28px -14px rgba(16, 24, 40, .35); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips span { padding: 8px 14px; border-radius: 999px; font-size: 14px; background: var(--bg2); }
.theme-demo { display: flex; margin-top: 28px; height: 90px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.theme-demo span { flex: 1; }
.theme-demo span:first-child { background: linear-gradient(135deg, #ffffff, #e9ebf0); }
.theme-demo span:last-child { background: linear-gradient(135deg, #3a3d46, #17181c); }

/* 7. Pro */
.pro { padding: 120px 24px 160px; background: linear-gradient(var(--bg), #eef3fb); }
.pro-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.pro .lead { margin: 24px 0 32px; }
.price { display: flex; gap: 16px; margin-bottom: 32px; }
.price div { flex: 1; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.price b { display: block; font-size: 44px; letter-spacing: -0.03em; line-height: 1.1; }
.price span { color: var(--muted); font-size: 15px; }
.pro-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pro-list li { display: flex; gap: 12px; align-items: center; }
.pro-list li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }
.pro-visual {
  display: flex; flex-direction: column; gap: 14px; max-width: 460px; margin: 0 auto; width: 100%;
  transform: translateY(calc((.5 - var(--p)) * 100px));
}
.notif {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 20px;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow); font-size: 14px; line-height: 1.4;
}
.notif:nth-child(2) { margin-left: 32px; margin-right: -16px; }
.notif img { width: 36px; height: 36px; flex: none; }
.notif div { flex: 1; display: flex; flex-direction: column; }
.notif div > span { color: var(--muted); }
.notif-btn { align-self: center; padding: 6px 12px; border-radius: 999px; background: var(--bg2); font-weight: 600; font-size: 13px; white-space: nowrap; }
.pro-shot { border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(16, 24, 40, .35); margin-top: 10px; transform: rotate(calc((.5 - var(--p)) * 4deg)); }

/* 8. Privacidade */
.privacy { height: 260vh; }
.privacy .sticky { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 0 24px; }
.shield svg { width: 72px; height: 72px; fill: var(--blue-soft); stroke: var(--blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transform: scale(calc(.7 + var(--p) * .6)); }
.words { max-width: 1000px; margin: 0; text-align: center; font-size: clamp(32px, 5vw, 68px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; }
.words span { color: rgba(0, 0, 0, .12); transition: color .35s; }
.words span.lit { color: var(--ink); }

/* 9. Final */
.final { padding: 140px 24px 120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; background: linear-gradient(var(--bg), #eaf1fd); }
.final-icon { width: 128px; height: 128px; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 24px 30px rgba(10, 108, 240, .3)); }
@keyframes float { 50% { translate: 0 -14px; } }
.final .lead { margin: 0; }

.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding: 40px 16px 56px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); background: #eaf1fd; }
.foot a:hover { color: var(--ink); }

/* Entrada ao aparecer na tela */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity .9s, transform 1s cubic-bezier(.2, .8, .2, 1), filter .9s; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.card.reveal.in { transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }

/* Telas menores */
@media (max-width: 860px) {
  .nav nav { display: none; }
  .story .sticky { grid-template-columns: 1fr; align-content: center; gap: 8px; padding: 72px 16px 24px; }
  .stage { order: -1; height: 52vh; height: 52svh; }
  .story-text { height: 230px; }
  .step p { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .card, .card.tz, .card.join { grid-column: auto; min-height: 0; }
  .pro-inner { grid-template-columns: 1fr; }
  .rail figure { width: 82vw; }
  .mb-icons, .mb-day, .mb-play { display: none; }
  .hero-text { top: 13vh; }
  .mac { top: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
