/* Livihub · livihub.app
   The landing page of Livihub Personal: the app for the personal trainer, and the waiting list.
   Light theme in :root, dark (OLED black) under prefers-color-scheme. Font: Instrument Sans 400/500/600.
   Tokens follow product/brand-kit/tokens.css. */

:root {
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --ink: #101318;
  --muted: #5F6672;
  --line: #E7E9EE;
  --red: #B23E47;          /* fills */
  --red-text: #B23E47;     /* text, icons and outlines */
  --inner: rgba(16,19,24,0.05);
  --glass: rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.95);
  --shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 12px 28px -20px rgba(16,19,24,0.25);
  --top: rgba(245,246,248,0.78);
  --shine-base: #101318;
  --shine: #5C6370;
  --shine-red: #CF6E76;
  --rim: rgba(16,19,24,0.10);
  --phone-shadow: 0 50px 90px -46px rgba(16,19,24,0.5);
  --ease: cubic-bezier(.2,.8,.2,1);
  --gutter: clamp(20px, 5vw, 56px);
  color-scheme: light;
}
/* Dark: the device's choice, unless the person picked a theme with the button (data-theme on <html>).
   The two blocks hold the same values; keep them equal. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --surface: #141414; --ink: #FFFFFF; --muted: #9E9E9E; --line: #262626;
    --red-text: #E0545F; --inner: rgba(255,255,255,0.06);
    --glass: rgba(22,22,22,0.9); --glass-border: rgba(255,255,255,0.07); --shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    --top: rgba(0,0,0,0.72);
    --shine-base: rgba(255,255,255,0.84); --shine: #FFFFFF; --shine-red: #D9787F;
    --rim: rgba(255,255,255,0.14); --phone-shadow: 0 40px 80px -40px rgba(178,62,71,0.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --surface: #141414; --ink: #FFFFFF; --muted: #9E9E9E; --line: #262626;
  --red-text: #E0545F; --inner: rgba(255,255,255,0.06);
  --glass: rgba(22,22,22,0.9); --glass-border: rgba(255,255,255,0.07); --shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  --top: rgba(0,0,0,0.72);
  --shine-base: rgba(255,255,255,0.84); --shine: #FFFFFF; --shine-red: #D9787F;
  --rim: rgba(255,255,255,0.14); --phone-shadow: 0 40px 80px -40px rgba(178,62,71,0.25);
  color-scheme: dark;
}
body { transition: background-color .35s var(--ease), color .35s var(--ease); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Instrument Sans', 'Helvetica Neue', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }

/* Texto */
.title {
  font-weight: 500;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--muted);
  text-wrap: pretty;
  max-width: 34em;
}

/* Topo */
.top {
  position: fixed; inset: 0 0 auto; z-index: 20;
  padding-top: env(safe-area-inset-top);
  background: var(--top);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.top.scrolled { border-bottom-color: var(--line); }
.top-in {
  max-width: 1120px; margin: 0 auto; height: 64px;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand .logo { height: 26px; width: auto; display: block; }
.brand-sep { width: 1px; height: 18px; background: var(--ink); opacity: .25; }
.brand-sub { font-size: 19px; font-weight: 500; letter-spacing: -0.035em; color: var(--red-text); transform: translateY(-1px); }
.top-cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}
.top-cta:hover { opacity: .86; }
.top-right { display: flex; align-items: center; gap: 10px; }
.theme {
  position: relative; width: 40px; height: 40px; border: 0; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--inner); color: var(--ink);
  transition: transform .2s ease, background-color .2s ease;
}
.theme:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.theme:active { transform: scale(.94); }
.theme svg {
  position: absolute; width: 19px; height: 19px;
  stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round;
  transition: opacity .35s var(--ease), transform .5s var(--ease);
}
/* Light shows the moon (go dark), dark shows the sun (go light). */
.theme .sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme="dark"] .theme .sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme .moon { opacity: 0; transform: rotate(90deg) scale(.6); }
.top-cta:active { transform: scale(.97); }

/* Celular */
.phone {
  aspect-ratio: 736 / 1575;
  padding: 8px;
  border-radius: 48px;
  background: #0B0C0E;
  box-shadow: 0 0 0 1.5px var(--rim), var(--phone-shadow);
}
.screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--bg); isolation: isolate; }
.shot, .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(40px, 6vw, 88px);
  padding-top: calc(64px + clamp(32px, 6vh, 64px) + env(safe-area-inset-top));
  padding-bottom: clamp(48px, 8vh, 96px);
}
.words {
  font-weight: 500;
  font-size: clamp(42px, min(7.4vh, 6.6vw), 84px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.w { display: flex; align-items: center; gap: 0.2em; width: fit-content; padding-bottom: 0.12em; margin-bottom: -0.12em; opacity: 0; animation: rise .7s var(--ease) both; }
.w svg {
  width: 0.5em; height: 0.5em; flex: 0 0 auto;
  stroke: var(--red-text); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round;
  transform: scale(0);
  animation: pop .5s var(--ease) forwards;
  -webkit-text-fill-color: initial;
}
.red { margin-top: 0.14em; }
.sh {
  background-image: linear-gradient(100deg, var(--b) 0%, var(--b) 34%, var(--h) 50%, var(--b) 66%, var(--b) 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sh.ink { --b: var(--shine-base); --h: var(--shine); }
.sh.redc { --b: var(--red-text); --h: var(--shine-red); }
.hero-lead { margin-top: clamp(18px, 3vh, 28px); max-width: 30em; opacity: 0; animation: rise .7s var(--ease) 1.2s both; }
.hero-wait { margin-top: clamp(24px, 4vh, 36px); opacity: 0; animation: rise .7s var(--ease) 1.35s both; }
.hero-phone { position: relative; opacity: 0; animation: rise .9s var(--ease) .45s both; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-phone .phone { height: min(66vh, 580px); }

/* Hero: o mesmo app, outras marcas */
.hero-phone .shot { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-phone .shot.on { opacity: 1; }
.brand-chip {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-size: 13px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
}
.bc-label { color: var(--muted); }
.bc-sep { display: none; }
.bc-names { position: relative; display: inline-grid; }
.bc { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.bc.on { opacity: 1; transform: none; }
.bc-note { margin-top: 4px; font-size: 13px; line-height: 1.4; letter-spacing: -0.005em; color: var(--muted); text-align: center; max-width: 300px; }
.bc img { width: 20px; height: 20px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); }

/* Topo: atalhos */
.top-nav { display: flex; gap: 22px; margin-right: 8px; }
.top-nav a { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); text-decoration: none; transition: color .2s; }
.top-nav a:hover { color: var(--ink); }

/* Livi */
.livi { padding-top: clamp(72px, 10vw, 128px); }
.livi-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.livi-body { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 7vw, 104px); align-items: center; }
.livi-points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); }
.lp { border-top: 1px solid var(--line); padding-top: 22px; }
.lp h3, .feat h3 { margin-top: 16px; font-size: 20px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
.lp p, .feat p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; letter-spacing: -0.01em; color: var(--muted); text-wrap: pretty; }
.livi-phone .phone { height: min(60vh, 520px); }
.curve { margin-top: clamp(56px, 8vw, 96px); padding: clamp(24px, 3vw, 36px); border-radius: 32px; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.curve-title { font-size: clamp(20px, 2vw, 24px); font-weight: 500; letter-spacing: -0.03em; }
.stages { list-style: none; margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.stages::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--line), var(--red-text)); }
.stages li { position: relative; padding-top: 26px; padding-right: 16px; display: flex; flex-direction: column; gap: 4px; }
.st-dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 999px; background: var(--bg); border: 2px solid var(--line); }
.stages li:nth-child(2) .st-dot { border-color: color-mix(in srgb, var(--red-text) 55%, var(--line)); }
.stages li:nth-child(3) .st-dot { border-color: var(--red-text); background: var(--red-text); }
.stages strong { font-size: 13px; font-weight: 500; letter-spacing: 0.01em; color: var(--muted); }
.stages span:last-child { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }

/* Story */
.story { padding-top: clamp(96px, 12vw, 160px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); align-items: center; }
.story-phone .phone { height: min(60vh, 520px); }
.story-copy { display: flex; flex-direction: column; gap: 18px; }
.story-copy .step-det { margin-top: 10px; }
.livi-head .step-num, .story-copy .step-num { font-size: 15px; }
.checks { list-style: none; margin-top: 8px; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.checks svg { width: 22px; height: 22px; flex: 0 0 auto; stroke: var(--red-text); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Recursos */
.feats { padding-top: clamp(112px, 14vw, 180px); }
.feat-grid { list-style: none; margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.feat { padding: 22px; border-radius: 26px; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.feat h3 { margin-top: 14px; font-size: 17px; }
.feat p { font-size: 14.5px; }

/* Perguntas */
.faq { padding-top: clamp(112px, 14vw, 180px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.qas { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa-plus { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 999px; background: var(--inner); }
.qa-plus::before, .qa-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.qa-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa p { padding: 0 44px 24px 0; font-size: 16px; line-height: 1.6; letter-spacing: -0.01em; color: var(--muted); text-wrap: pretty; }

/* Lista de espera */
.wait { width: 100%; max-width: 480px; }
.field {
  display: flex; align-items: center; gap: 6px;
  height: 60px; padding: 6px 6px 6px 22px; border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow), 0 0 0 0 transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.field:focus-within { box-shadow: var(--shadow), 0 0 0 2px var(--red-text); }
.wait.error .field { box-shadow: var(--shadow), 0 0 0 2px var(--red-text); }
.field input {
  flex: 1 1 auto; min-width: 0; height: 100%;
  background: none; border: 0; outline: none; color: var(--ink);
  font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: -0.01em;
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field button {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px;
  height: 48px; padding: 0 6px 0 20px; border: 0; border-radius: 999px;
  background: var(--red); color: #FFFFFF; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .2s ease, filter .2s ease;
}
.field button:hover { filter: brightness(1.08); }
.field button:active { transform: scale(.97); }
.go { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,0.18); }
.go svg, .done-check svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.field button:hover .go svg { transform: translateX(2px); }
.go svg { transition: transform .25s var(--ease); }
/* Loading: the arrow gives way to a spinner while the e-mail is saved. */
.go { position: relative; }
.wait.loading .go svg { opacity: 0; }
.wait.loading .go::after {
  content: ""; position: absolute; inset: 9px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: #FFFFFF;
  animation: spin .7s linear infinite;
}
.wait.loading .field button { cursor: progress; filter: none; }
.wait.loading .field input { opacity: .6; }
.wait-note { margin: 12px 0 0 22px; font-size: 13px; font-weight: 500; letter-spacing: 0.01em; color: var(--muted); min-height: 1.2em; }
.wait.error .wait-note { color: var(--red-text); }
.done {
  display: flex; align-items: center; gap: 14px;
  min-height: 60px; padding: 10px 22px 10px 10px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow);
  font-size: 15px; line-height: 1.35; letter-spacing: -0.01em; color: var(--muted);
  animation: rise .5s var(--ease) both;
}
.done strong { font-weight: 500; color: var(--ink); }
.done-check {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; background: var(--red); color: #FFFFFF;
}
.done-check svg path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw .45s var(--ease) .15s forwards; }
.wait.sent .wait-note { visibility: hidden; }

/* Princípios */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(72px, 10vw, 128px);
}
.pillar { border-top: 1px solid var(--line); padding-top: 24px; }
.ico, .tag svg {
  stroke: var(--red-text); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.ico { width: 26px; height: 26px; }
.pillar h2 { margin-top: 18px; font-size: clamp(26px, 2.6vw, 32px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; }
.pillar p { margin-top: 8px; font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; color: var(--muted); text-wrap: pretty; max-width: 22em; }

/* Tour */
.tour { padding-top: clamp(40px, 6vw, 72px); }
.tour-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.tour-head .lead { text-align: center; }
.tour-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 8vw, 120px); }
.tour-phone { grid-column: 2; grid-row: 1; }
.tour-stick {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  padding-top: 64px;
}
.tour-stick .phone { height: min(64vh, 560px); }
.tour-phone .shot { opacity: 0; transform: scale(1.03); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.tour-phone .shot.on { opacity: 1; transform: none; }
.dots { display: flex; gap: 6px; }
.dots span { width: 6px; height: 6px; border-radius: 999px; background: var(--ink); opacity: .16; transition: width .35s var(--ease), opacity .35s var(--ease), background-color .35s var(--ease); }
.dots span.on { width: 22px; opacity: 1; background: var(--red); }
.steps { grid-column: 1; grid-row: 1; list-style: none; }
.step { min-height: 92vh; min-height: 92svh; display: flex; align-items: center; }
.step-copy { max-width: 30em; transition: opacity .5s var(--ease); }
.js .step:not(.on) .step-copy.in { opacity: .28; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--red-text); }
.tag svg { width: 20px; height: 20px; }
.step h3 { margin-top: 18px; font-size: clamp(32px, 3.8vw, 50px); font-weight: 500; line-height: 1.06; letter-spacing: -0.045em; text-wrap: balance; }
.step .step-lead { margin-top: 18px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; letter-spacing: -0.015em; color: var(--muted); text-wrap: pretty; }
.step-shot { display: none; }
.step-num { display: flex; align-items: baseline; gap: 12px; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.step-num span { color: var(--red-text); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.step-det { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.step-det li { position: relative; padding-left: 22px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.4; letter-spacing: -0.015em; color: var(--muted); }
.step-det li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 10px; height: 1.5px; border-radius: 2px; background: var(--red-text); }

/* Fim */
.cta { padding-top: clamp(112px, 16vw, 200px); padding-bottom: clamp(96px, 14vw, 160px); }
.cta-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.cta .mark { width: 64px; height: 64px; color: var(--ink); margin-bottom: 8px; }
.cta .lead { text-align: center; max-width: 26em; }
.cta .wait { margin-top: 14px; text-align: left; }

/* Rodapé */
footer {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 20px; padding-bottom: max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 13px; letter-spacing: 0.01em; color: var(--muted);
}
.foot-left { display: flex; align-items: center; gap: 20px; }
.foot-ig { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; transition: color .2s; }
.foot-ig svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.foot-ig:hover { color: var(--red-text); }

/* Entrada ao rolar */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .pillar.reveal:nth-child(2) { transition-delay: .08s; }
.js .pillar.reveal:nth-child(3) { transition-delay: .16s; }

@keyframes rise { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes pop { 0% { transform: scale(0) } 70% { transform: scale(1.2) } 100% { transform: scale(1) } }
@keyframes shine { 0% { background-position: 100% 0 } 82%, 100% { background-position: 0% 0 } }
@keyframes draw { to { stroke-dashoffset: 0 } }
@keyframes spin { to { transform: rotate(360deg) } }

/* Tablet e celular */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 56px; }
  .hero-phone { justify-self: center; }
  .hero-phone .phone { height: auto; width: min(70vw, 290px); }
  .words { font-size: clamp(40px, 11.5vw, 72px); }

  .top-nav { display: none; }
  .livi-body { grid-template-columns: 1fr; }
  .livi-phone { justify-self: center; }
  .livi-phone .phone, .story-phone .phone { height: auto; width: min(70vw, 290px); }
  .livi-points { grid-template-columns: 1fr; gap: 0; }
  .lp { padding: 22px 0 24px; }
  .stages { grid-template-columns: 1fr; gap: 18px; }
  .stages::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--line), var(--red-text)); }
  .stages li { padding: 0 0 0 30px; }
  .story { grid-template-columns: 1fr; }
  .story-phone { order: 2; justify-self: center; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding: 22px 0 26px; }
  .pillar h2 { margin-top: 14px; }

  .tour-body { display: block; }
  .tour-phone { display: none; }
  .step { min-height: 0; flex-direction: column; align-items: stretch; gap: 36px; padding-top: clamp(72px, 14vw, 112px); }
  .js .step:not(.on) .step-copy.in { opacity: 1; }
  .step-shot { display: block; align-self: center; width: min(70vw, 290px); }
}
@media (max-width: 480px) {
  .top-in { height: 58px; }
  .brand .logo { height: 23px; }
  .brand-sub { font-size: 17px; }
  .brand-sep { height: 16px; }
  .top-cta { height: 36px; padding: 0 14px; font-size: 13px; }
  .field { height: auto; flex-direction: column; align-items: stretch; padding: 6px; border-radius: 30px; }
  .field input { height: 52px; padding: 0 16px; }
  .field button { height: 52px; justify-content: space-between; padding-left: 22px; }
  .wait-note { margin-left: 18px; }
  .done { border-radius: 30px; }
  footer { flex-direction: column; gap: 10px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat { padding: 20px; }
  .brand-chip { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .w, .hero-lead, .hero-wait, .hero-phone { opacity: 1; }
  .hero-phone .shot, .bc { transition: none; }
  .w svg { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .done-check svg path { stroke-dashoffset: 0; }
  .wait.loading .go::after { animation: spin 1.4s linear infinite !important; }
}
