/* =========================================================
   IALIFE — tema claro, tecnológico e animado
   ========================================================= */
:root {
  --bg: #f4fbfa;
  --tint: #e9f6f4;
  --white: #ffffff;
  --ink: #0a2326;
  --ink-2: #24474b;
  --muted: #5b7579;
  --line: rgba(10, 35, 38, .09);
  --teal-900: #0c3a3f;
  --teal-700: #12646a;
  --teal: #1fa5ab;
  --cyan: #22d3d8;
  --mint: #9ff0dc;
  --lime: #c4f25c;
  --orange: #ff8a3d;
  --radius: 26px;
  --shadow-sm: 0 1px 2px rgba(10,35,38,.06), 0 6px 20px -8px rgba(10,35,38,.12);
  --shadow: 0 2px 4px rgba(10,35,38,.04), 0 24px 48px -20px rgba(12,58,63,.28);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 24px; }

.grad {
  background: linear-gradient(100deg, var(--teal-700) 0%, var(--teal) 35%, var(--cyan) 60%, var(--teal) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* barra de progresso + brilho do cursor */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--teal), var(--cyan), var(--lime));
}
.cursor-glow {
  position: fixed; z-index: 0; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(34,211,216,.16), transparent 65%);
}
@media (hover: hover) and (pointer: fine) { .cursor-glow { opacity: 1; } }

/* ---------- botões das lojas ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stores--center { justify-content: center; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  width: 192px; height: 60px; padding: 0 18px; overflow: hidden;
  background: #000; color: #fff; border-radius: 15px;
  box-shadow: 0 12px 28px -12px rgba(0,0,0,.5);
  transition: box-shadow .3s, transform .25s var(--ease);
}
.store::after { /* reflexo passando */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transition: transform .7s var(--ease);
}
.store:hover::after { transform: translateX(120%); }
.store:hover { box-shadow: 0 18px 36px -12px rgba(18,100,106,.55); }
.store__logo { width: 26px; height: 30px; flex: 0 0 auto; }
.store__logo--play { height: 28px; }
.store span { display: flex; flex-direction: column; font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.store small { font-family: var(--font); font-size: 11px; font-weight: 500; letter-spacing: .02em; margin-bottom: 4px; opacity: .85; }
.store--light { background: #fff; color: #000; }

.nav__stores { display: flex; gap: 8px; }
.mini-store {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  background: #000; color: #fff; border-radius: 11px; font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: box-shadow .3s;
}
.mini-store:hover { box-shadow: 0 8px 20px -8px rgba(18,100,106,.7); }
.mini-store svg { width: 16px; height: 18px; flex: 0 0 auto; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled {
  background: rgba(244, 251, 250, .78);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .03em; color: var(--teal-900); }
.brand img { border-radius: 10px; box-shadow: var(--shadow-sm); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding: 130px 0 70px; }
.aurora { position: absolute; inset: -20% -10% 0; pointer-events: none; filter: blur(70px); opacity: .75; }
.aurora i { position: absolute; border-radius: 50%; animation: blob 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 520px; height: 520px; right: 8%; top: 8%; background: var(--cyan); opacity: .45; }
.aurora i:nth-child(2) { width: 440px; height: 440px; right: 30%; top: 38%; background: var(--mint); animation-delay: -6s; }
.aurora i:nth-child(3) { width: 360px; height: 360px; right: -4%; top: 52%; background: var(--lime); opacity: .4; animation-delay: -12s; }
@keyframes blob {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-60px, 40px) scale(1.12); }
  100% { transform: translate(40px, -30px) scale(.92); }
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 13px; color: var(--teal-700);
  background: rgba(255,255,255,.75); border: 1px solid rgba(31,165,171,.28); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.tag b { color: var(--ink); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(31,165,171,.6); animation: ping 1.6s ease-out infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(31,165,171,0); } 100% { box-shadow: 0 0 0 0 rgba(31,165,171,0); } }
.caret { width: 2px; height: 1.1em; background: var(--teal); margin-left: -4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero h1 { font-size: clamp(42px, 5.4vw, 66px); font-weight: 900; margin: 24px 0 22px; }
.hero h1 .line { display: block; }
.hero h1 .line > span { display: inline-block; opacity: 0; transform: translateY(40%) rotate(4deg); filter: blur(8px); animation: word .9s var(--ease) forwards; }
.hero h1 .line--grad > span {
  background: linear-gradient(100deg, var(--teal-700) 0%, var(--teal) 35%, var(--cyan) 60%, var(--teal) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: word .9s var(--ease) forwards, shimmer 6s linear infinite;
  padding-bottom: .08em;
}
.hero h1 .line:first-child > span:nth-child(1) { animation-delay: .15s; }
.hero h1 .line:first-child > span:nth-child(2) { animation-delay: .25s; }
.hero h1 .line:first-child > span:nth-child(3) { animation-delay: .35s; }
.hero h1 .line:last-child > span:nth-child(1) { animation-delay: .5s; }
.hero h1 .line:last-child > span:nth-child(2) { animation-delay: .58s; }
.hero h1 .line:last-child > span:nth-child(3) { animation-delay: .66s; }
.hero h1 .line:last-child > span:nth-child(4) { animation-delay: .74s; }
.hero h1 .line:last-child > span:nth-child(5) { animation-delay: .82s; }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }

.lead { font-size: 19px; color: var(--muted); max-width: 500px; }
.rating { margin-top: 18px; font-size: 14px; color: var(--muted); }
.rating b { color: var(--ink); }
.stars { color: #f5b301; letter-spacing: 2px; }

/* entrada do hero */
.in-1, .in-3, .in-4, .in-5 { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.in-1 { animation-delay: .05s; } .in-3 { animation-delay: .9s; } .in-4 { animation-delay: 1.05s; } .in-5 { animation-delay: 1.2s; }
.stage.in-3 { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* palco do celular */
.stage { position: relative; height: 640px; display: grid; place-items: center; perspective: 1200px; }
.stage .phone--hero { transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .4s var(--ease); }

.orbit { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1.5px dashed rgba(31,165,171,.35); animation: spin 36s linear infinite; }
.orbit--1 { width: 470px; height: 470px; margin: -235px 0 0 -235px; }
.orbit--2 { width: 600px; height: 600px; margin: -300px 0 0 -300px; animation-duration: 54s; animation-direction: reverse; border-color: rgba(31,165,171,.18); }
.orbit span {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  display: grid; place-items: center; font-size: 26px; border-radius: 50%;
  background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm);
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a)));
}
.orbit--1 span { --r: 235px; animation: unspin 36s linear infinite; }
.orbit--2 span { --r: 300px; animation: unspin-r 54s linear infinite; width: 44px; height: 44px; margin: -22px 0 0 -22px; font-size: 21px; }
@keyframes spin { to { transform: rotate(360deg); } }
/* mantém os emojis em pé enquanto a órbita gira */
@keyframes unspin   { from { transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); } to { transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a) - 360deg)); } }
@keyframes unspin-r { from { transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); } to { transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a) + 360deg)); } }

.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 18px;
  background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow); white-space: nowrap;
  translate: var(--px, 0) var(--py, 0); transition: translate .3s var(--ease);
}
.chip > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.chip b { font-family: var(--display); font-size: 16px; }
.chip small { font-size: 12px; color: var(--muted); }
.chip__ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-size: 19px; }
.chip__ico--orange { background: #fff1e6; }
.chip__ico--lime { background: #f1fbd9; }
.chip__ico--green { background: #dcf7ec; color: #0f9d6b; font-weight: 800; }
.chip--a { left: -10%; top: 14%; animation: bob 5s ease-in-out infinite; }
.chip--b { right: -10%; top: 32%; animation: bob 6s ease-in-out -2s infinite; }
.chip--c { left: -8%; bottom: 20%; animation: bob 5.5s ease-in-out -1s infinite; }
.chip--d { right: -8%; bottom: 6%; animation: bob 6.5s ease-in-out -3s infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }

.ring { width: 38px; height: 38px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring__bg { stroke: #fde2e2; }
.ring__fg { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 94.25; animation: ring 1.6s 1.4s var(--ease) forwards; }
@keyframes ring { to { stroke-dashoffset: calc(94.25 * (1 - var(--p))); } }

/* ---------- celular realista ---------- */
.phone {
  position: relative; width: 290px; max-width: 100%; padding: 10px; border-radius: 50px;
  background: linear-gradient(150deg, #3a4448, #0d1213 40%, #1b2225);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 50px 90px -35px rgba(12,58,63,.55), 0 25px 40px -25px rgba(12,58,63,.35);
}
.phone::before, .phone::after { /* botões laterais */
  content: ""; position: absolute; width: 3px; border-radius: 3px; background: #1b2225;
}
.phone::before { left: -3px; top: 22%; height: 9%; box-shadow: 0 60px 0 #1b2225; }
.phone::after { right: -3px; top: 28%; height: 14%; }
.screen { position: relative; overflow: hidden; border-radius: 40px; background: #f2f3f7; }
.screen img { width: 100%; }
.sb {
  position: relative; z-index: 2; height: 40px; display: flex; align-items: center; justify-content: space-between;
  padding: 2px 22px 0 30px; color: #000; background: #f2f3f7;
}
.sb b { font-family: -apple-system, "SF Pro Text", var(--font); font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.sb svg { width: 56px; height: 11px; fill: currentColor; }
.island { position: absolute; top: 9px; left: 50%; width: 32%; height: 25px; margin-left: -16%; border-radius: 20px; background: #000; }
.sb--light { color: #fff; background: #3b3b3b; }
.phone--hero { width: 300px; z-index: 2; }

/* scanner */
.scan__frame {
  position: absolute; z-index: 3; left: 12%; right: 12%; top: 13%; height: 29%;
  border: 2.5px solid var(--cyan); border-radius: 20px;
  -webkit-mask: conic-gradient(at 28px 28px, transparent 75%, #000 0) 0 0 / calc(100% - 28px) calc(100% - 28px);
          mask: conic-gradient(at 28px 28px, transparent 75%, #000 0) 0 0 / calc(100% - 28px) calc(100% - 28px);
  filter: drop-shadow(0 0 8px var(--cyan));
  animation: breathe 2.6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.03); } }
.scan__line {
  position: absolute; z-index: 3; left: 0; right: 0; top: 13%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 22px 6px rgba(34,211,216,.55);
  animation: scanY 2.4s ease-in-out infinite;
}
@keyframes scanY { 50% { top: 41%; } }
.det {
  position: absolute; z-index: 4; font-family: var(--mono); font-size: 10.5px; font-weight: 600; color: #003a3d;
  background: var(--cyan); padding: 3px 8px; border-radius: 6px; white-space: nowrap;
  box-shadow: 0 0 14px rgba(34,211,216,.6); opacity: 0; transform: scale(.6);
  animation: det 6s var(--ease) infinite;
}
.det::before { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 14px; background: var(--cyan); }
.det--1 { left: 20%; top: 18%; animation-delay: .6s; }
.det--2 { left: 42%; top: 26%; animation-delay: 1.2s; }
.det--3 { left: 24%; top: 34%; animation-delay: 1.8s; }
@keyframes det { 0%, 5% { opacity: 0; transform: scale(.6); } 12%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: scale(.9); } }
.scan__status {
  position: absolute; z-index: 4; left: 50%; top: 44.5%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(10,35,38,.86); color: #fff; font-family: var(--mono); font-size: 11px; white-space: nowrap;
}
.scan__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: blink .8s steps(1) infinite; }
.scan__status em { font-style: normal; }
.st-b { display: none; color: var(--lime); }
.scan__status.done .st-a { display: none; }
.scan__status.done .st-b { display: inline; }
.scan__status.done i { animation: none; background: var(--lime); }

/* ---------- faixas de alimentos ---------- */
.foods { padding: 18px 0 8px; overflow: hidden; display: grid; gap: 12px; }
.foods__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.foods__track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.foods__row--rev .foods__track { animation-direction: reverse; animation-duration: 58s; }
.foods__track span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 15px; white-space: nowrap;
}
.foods__track em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--teal-700); background: var(--tint); padding: 2px 8px; border-radius: 999px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { position: relative; padding: 120px 0; overflow: clip; }
.section--tint { background: linear-gradient(180deg, var(--tint), #f0faf8); }
.head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--teal-700); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--cyan)); border-radius: 2px; }
.sub { font-size: 18px; color: var(--muted); margin-top: 18px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(36px) scale(.98); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* spotlight que segue o mouse */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(34,211,216,.18), transparent 70%);
}
.spot:hover::before { opacity: 1; }

/* passos */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__art { height: 130px; border-radius: 18px; background: linear-gradient(160deg, var(--tint), #f7fdfc); margin-bottom: 24px; position: relative; overflow: hidden; display: grid; place-items: center; }
.step__n { display: block; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--teal); margin-bottom: 8px; }
.step p { margin-top: 8px; color: var(--muted); }

.cam { position: relative; width: 74px; height: 54px; border-radius: 14px; background: var(--teal-900); display: grid; place-items: center; animation: camshake 3s ease-in-out infinite; }
.cam::before { content: ""; position: absolute; top: -8px; left: 14px; width: 22px; height: 10px; border-radius: 4px 4px 0 0; background: var(--teal-900); }
.cam i { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7ff3f5, var(--teal) 55%, var(--teal-900)); border: 3px solid #e9f6f4; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash 3s ease-out infinite; }
@keyframes flash { 0%, 58% { opacity: 0; } 60% { opacity: .95; } 75%, 100% { opacity: 0; } }
@keyframes camshake { 0%, 55%, 70%, 100% { transform: none; } 60% { transform: scale(.94); } }

.art-ai svg { width: 70%; height: auto; overflow: visible; }
.net-lines path { fill: none; stroke: var(--teal); stroke-opacity: .35; stroke-width: 1.5; stroke-dasharray: 4 5; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.net-nodes circle { fill: var(--teal); animation: node 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.net-nodes circle:nth-child(2n) { animation-delay: -.8s; fill: var(--cyan); }
.net-nodes circle:nth-child(3n) { animation-delay: -1.6s; }
.net-nodes circle:nth-child(5) { fill: var(--teal-900); }
@keyframes node { 50% { transform: scale(1.35); } }

.art-bars { display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 22px 0 0; }
.art-bars i { width: 16px; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--cyan), var(--teal)); transform-origin: bottom; animation: grow 2.8s var(--ease) infinite; }
.art-bars i:nth-child(2) { animation-delay: .1s; } .art-bars i:nth-child(3) { animation-delay: .2s; } .art-bars i:nth-child(4) { animation-delay: .3s; } .art-bars i:nth-child(5) { animation-delay: .4s; }
.art-bars i:nth-child(6) { animation-delay: .5s; background: linear-gradient(180deg, var(--lime), #8bd12a); }
@keyframes grow { 0% { transform: scaleY(.1); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.1); } }

/* linhas de recursos */
.row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.row--rev .row__copy { order: 2; }
.row__copy { max-width: 480px; }
.row__media { display: flex; justify-content: center; perspective: 1200px; }
.row__media .phone { transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .4s var(--ease); }

/* card de macros */
.macro-card {
  display: grid; grid-template-columns: 120px 1fr; grid-template-rows: auto; align-items: center; gap: 8px 24px;
  margin-top: 32px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.donut { grid-row: 1; grid-column: 1; width: 120px; height: 120px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 5.5; }
.donut__bg { stroke: #eef3f3; }
.donut__seg { stroke: var(--c); stroke-dasharray: 0 100; stroke-dashoffset: calc(-1 * var(--off)); transition: stroke-dasharray 1.4s var(--ease); }
.is-in .donut__seg { stroke-dasharray: calc(var(--len) - 1.2) calc(101.2 - var(--len)); }
.macro-card__total { grid-row: 1; grid-column: 1; text-align: center; display: flex; flex-direction: column; line-height: 1; }
.macro-card__total b { font-family: var(--display); font-size: 26px; }
.macro-card__total small { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 3px; }
.macro-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.macro-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.macro-list i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.macro-list b { margin-left: auto; font-family: var(--mono); font-size: 15px; color: var(--ink); }

/* chat animado */
.chat { margin-top: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; text-align: left; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.chat__head img { border-radius: 8px; }
.online { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #0f9d6b; }
.online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16b67c; }
.chat__ex { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.chat__body { height: 248px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; animation: pop .45s var(--ease) both; }
.msg--me { align-self: flex-end; background: var(--teal-900); color: #fff; border-bottom-right-radius: 6px; }
.msg--ai { align-self: flex-start; background: #e7f8f1; color: #08372a; border-bottom-left-radius: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #0f9d6b; animation: typing 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* semana */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 32px; padding: 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.week span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0; border-radius: 14px; font-size: 12px; color: var(--muted); font-weight: 600; transition: background .4s, color .4s, transform .4s var(--ease); }
.week b { font-size: 18px; color: var(--ink); transition: color .4s; }
.week span.on { background: #16b67c; color: #e5fff3; transform: translateY(-4px); box-shadow: 0 10px 20px -10px rgba(22,182,124,.8); }
.week span.on b { color: #fff; }

/* xp */
.xp { margin-top: 32px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.xp__top { display: flex; align-items: baseline; gap: 10px; }
.xp__top b { font-family: var(--display); font-size: 30px; color: #f08a00; }
.xp__top small { color: var(--muted); }
.flame { font-size: 30px; display: inline-block; animation: flame 1.2s ease-in-out infinite alternate; transform-origin: bottom; }
@keyframes flame { from { transform: scale(1) rotate(-4deg); } to { transform: scale(1.12) rotate(4deg); } }
.xp__lvl { display: flex; justify-content: space-between; margin-top: 18px; font-size: 14px; font-weight: 600; }
.xp__lvl span:last-child { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 500; }
.xp__bar { height: 10px; border-radius: 10px; background: #eef3f3; margin-top: 8px; overflow: hidden; }
.xp__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #9bd832, var(--lime)); transition: width 1.6s .3s var(--ease); position: relative; overflow: hidden; }
.xp__bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: sweep 2s ease-in-out infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.is-in .xp__bar i { width: var(--w); }
.badges { display: flex; gap: 10px; margin-top: 18px; }
.badges span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--tint); font-size: 22px; transition: transform .3s var(--ease); }
.badges span:hover { transform: translateY(-4px) rotate(-6deg); }
.badges .off { filter: grayscale(1); opacity: .4; }

/* números */
.stats { padding: 56px 0; background: linear-gradient(120deg, var(--teal-900), var(--teal-700) 55%, var(--teal)); color: #fff; position: relative; overflow: hidden; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: clamp(36px, 4.4vw, 54px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.stat > span { font-size: 14px; color: rgba(255,255,255,.75); }

/* galeria infinita */
.gallery { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery__track { display: flex; gap: 20px; width: max-content; padding: 10px 0 30px; animation: marquee 60s linear infinite; }
.gallery:hover .gallery__track { animation-play-state: paused; }
.gallery img { width: 240px; border-radius: 26px; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.gallery img:hover { transform: translateY(-10px) scale(1.03); }

/* faq */
.faq-wrap { max-width: 800px; }
.faq { display: grid; gap: 12px; }
.qa { border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.qa:hover { box-shadow: var(--shadow); }
.qa button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left;
  padding: 22px 24px; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 18px;
}
.qa button i { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); transition: background .3s, transform .4s var(--ease); }
.qa button i::before, .qa button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--teal-700); border-radius: 2px; }
.qa button i::after { transform: rotate(90deg); }
.qa.open button i { transform: rotate(135deg); background: var(--teal); }
.qa.open button i::before, .qa.open button i::after { background: #fff; }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa.open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 24px 22px; color: var(--muted); }

/* cta */
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 130px 0; color: #fff;
  background: radial-gradient(70% 90% at 50% 110%, rgba(34,211,216,.45), transparent 70%), linear-gradient(150deg, var(--teal-900), var(--teal-700));
}
.cta__rain { position: absolute; inset: 0; pointer-events: none; }
.cta__rain span { position: absolute; bottom: -60px; font-size: var(--s, 28px); opacity: .9; animation: floatUp var(--t, 12s) linear infinite; animation-delay: var(--dl, 0s); }
@keyframes floatUp { from { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: .85; } 90% { opacity: .85; } to { transform: translateY(-900px) rotate(var(--r, 180deg)); opacity: 0; } }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__icon { position: relative; margin-bottom: 30px; }
.cta__icon img { position: relative; border-radius: 22px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.4); }
.cta__icon::before, .cta__icon::after { content: ""; position: absolute; inset: 0; border-radius: 22px; border: 2px solid rgba(159,240,220,.7); animation: wave 2.4s ease-out infinite; }
.cta__icon::after { animation-delay: 1.2s; }
@keyframes wave { to { transform: scale(1.8); opacity: 0; } }
.cta h2 { max-width: 680px; }
.cta p { color: rgba(255,255,255,.78); font-size: 18px; margin-top: 16px; }

/* rodapé */
.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__links { display: flex; gap: 24px; font-size: 15px; color: var(--muted); }
.footer__links a:hover { color: var(--teal-700); }
.footer__copy { width: 100%; font-size: 14px; color: var(--muted); }


/* ---------- tour do app ---------- */
.tour__tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.tour__tab {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px 12px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.tour__tab:hover { transform: translateY(-2px); }
.tour__num { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--teal-700); font-family: var(--mono); font-size: 12px; transition: background .3s, color .3s; }
.tour__tab.on { background: var(--teal-900); color: #fff; border-color: transparent; }
.tour__tab.on .tour__num { background: var(--cyan); color: var(--teal-900); }
.tour__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0); }
.tour__tab.on .tour__bar { animation: tourbar var(--tour-ms, 6000ms) linear forwards; }
.tour.paused .tour__tab.on .tour__bar { animation-play-state: paused; }
@keyframes tourbar { to { transform: scaleX(1); } }

.tour__body { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; max-width: 960px; margin: 0 auto; }
.tour__media { display: flex; justify-content: center; }
.tour__media .phone { width: 280px; }
.tour__screens { position: relative; display: grid; }
.tour__screen { grid-area: 1 / 1; opacity: 0; transform: scale(1.04); transition: opacity .5s ease, transform .6s var(--ease); background: #f2f3f7; }
.tour__screen.on { opacity: 1; transform: none; z-index: 1; }
.tour__screens { aspect-ratio: 780 / 1600; overflow: hidden; }
.tour__screen img { width: 100%; height: auto; }
.tour__screen { align-self: start; }

.tour__panels { position: relative; display: grid; }
.tour__panel { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .45s ease, transform .5s var(--ease); }
.tour__panel.on { opacity: 1; transform: none; pointer-events: auto; }
.tour__kicker { font-family: var(--mono); font-size: 13px; color: var(--teal); margin-bottom: 12px; }
.tour__panel h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.tour__lead { font-size: 18px; color: var(--muted); margin-top: 10px; }
.tour__panel ul { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 12px; }
.tour__panel li { position: relative; padding: 14px 16px 14px 48px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 16px; color: var(--ink-2); }
.tour__panel li b { color: var(--ink); }
.tour__panel li::before { content: "✓"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #dcf7ec; color: #0f9d6b; font-size: 12px; font-weight: 800; }
.tour__panel.on li { animation: pop .5s var(--ease) both; }
.tour__panel.on li:nth-child(2) { animation-delay: .08s; } .tour__panel.on li:nth-child(3) { animation-delay: .16s; } .tour__panel.on li:nth-child(4) { animation-delay: .24s; }
.tour__nav { grid-area: 2 / 1; display: flex; gap: 10px; margin-top: 28px; }
.tour__nav button { height: 46px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; transition: transform .2s; }
.tour__nav button:hover { transform: translateY(-2px); }
.tour__next { background: var(--teal-900) !important; color: #fff; border-color: transparent !important; }

/* suporte */
.mail { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer__mail { width: 100%; font-size: 15px; color: var(--muted); }
.footer__mail a { color: var(--teal-700); font-weight: 600; }

/* foco visível para teclado */
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 12px; }
picture { display: block; }

/* ---------- responsivo ---------- */
@media (max-width: 1240px) {
  .chip--a, .chip--c { left: -4%; }
  .chip--b, .chip--d { right: -2%; }
}

@media (max-width: 1000px) {
  .tour__body { grid-template-columns: 1fr; gap: 40px; max-width: 520px; }
  .tour__nav { justify-content: center; }
  .stage { max-width: 600px; width: 100%; margin-inline: auto; }
  .chip--a, .chip--c { left: 2%; }
  .chip--b, .chip--d { right: 2%; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-inline: auto; }
  .stores { justify-content: center; }
  .row, .row--rev { grid-template-columns: 1fr; gap: 56px; }
  .row--rev .row__copy { order: 0; }
  .row__copy { justify-self: center; text-align: center; }
  .macro-card, .chat, .week, .xp { text-align: left; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}

@media (max-width: 640px) {
  .tour__tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 32px; padding: 4px 20px 8px; scroll-snap-type: x mandatory; }
  .tour__tabs::-webkit-scrollbar { display: none; }
  .tour__tab { flex: 0 0 auto; font-size: 14px; scroll-snap-align: center; }
  .tour__media .phone { width: 240px; }
  .tour__panel li { font-size: 15px; }
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .nav__inner { height: 62px; }
  .brand { font-size: 18px; }
  .brand img { width: 32px; height: 32px; }
  .mini-store { height: 38px; width: 42px; padding: 0; justify-content: center; }
  .mini-store span { display: none; }
  .mini-store svg { width: 17px; height: 19px; }
  .hero { padding: 104px 0 40px; }
  .tag { font-size: 12px; padding: 7px 14px; }
  .lead { font-size: 17px; }
  .stores { flex-wrap: nowrap; gap: 10px; width: 100%; }
  .store { width: auto; flex: 1 1 0; max-width: 175px; height: 54px; padding: 0 12px; gap: 9px; }
  .store span { font-size: 17px; }
  .store small { font-size: 10px; }
  .store__logo { width: 22px; height: 26px; }

  .stage { height: 560px; width: 100%; }
  .phone { width: 252px; border-radius: 44px; padding: 9px; }
  .screen { border-radius: 35px; }
  .sb { height: 34px; padding: 2px 18px 0 26px; }
  .sb b { font-size: 12.5px; }
  .sb svg { width: 48px; }
  .island { top: 8px; height: 21px; }
  .phone--hero { width: 238px; }
  .orbit--1 { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
  .orbit--1 span { --r: 170px; width: 42px; height: 42px; margin: -21px 0 0 -21px; font-size: 20px; }
  .orbit--2 { display: none; }
  .chip { display: none; }

  .section { padding: 84px 0; }
  .head { margin-bottom: 40px; }
  .steps { grid-template-columns: 1fr; }
  .step__art { height: 110px; }
  .macro-card { grid-template-columns: 100px 1fr; padding: 18px; gap: 8px 18px; }
  .donut { width: 100px; height: 100px; }
  .macro-card__total b { font-size: 22px; }
  .macro-list li, .macro-list b { font-size: 14px; }
  .chat__body { height: 270px; }
  .msg { font-size: 14px; }
  .week { gap: 4px; padding: 10px; }
  .week b { font-size: 16px; }
  .gallery img { width: 190px; border-radius: 22px; }
  .qa button { font-size: 16px; padding: 18px 18px; }
  .qa__a p { padding: 0 18px 18px; }
  .cta { padding: 100px 0; }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 38px; }
  .tag { font-size: 11px; }
  .store span { font-size: 15px; }
  .store small { font-size: 9px; }
  .store__logo { width: 18px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .in-1, .in-3, .in-4, .in-5, .hero h1 .line > span { opacity: 1; transform: none; filter: none; }
}
