/* Levylly Studio — vitrine do estúdio (nível Ouro)
   Marca: fundo #0D0C12, painéis #17151F, bordas #2A2636, texto #F5F3FF / #A8A3BD, destaque #8B6CFF
   Fontes: Sora (títulos) + DM Sans (texto) */

/* Fontes hospedadas no próprio site (subconjunto latino, cobre o português) */
@font-face { font-family: "Sora"; src: url("../fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ground: #0D0C12;
  --panel: #17151F;
  --panel-2: #1D1A27;
  --line: #2A2636;
  --ink: #F5F3FF;
  --muted: #A8A3BD;
  --accent: #8B6CFF;
  --accent-soft: #B8A6FF;
  --accent-deep: #6A4CF0;
  --live: #3DDC97;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --nav-h: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
@media (min-width: 700px) { :root { --gutter: max(32px, env(safe-area-inset-left, 0px)); --gutter-r: max(32px, env(safe-area-inset-right, 0px)); --nav-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--ground); }
html { scrollbar-color: var(--line) var(--ground); }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Tipografia base ---------- */
.eyebrow {
  font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-soft); display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.display {
  font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: .95;
  font-size: clamp(2.5rem, 7.2vw, 6.4rem); text-wrap: balance;
}
.display em, .hero__title em, .final__title em { font-style: normal; color: var(--accent); }
.hero__title em { display: block; }

.wordmark { display: inline-flex; flex-direction: column; gap: 2px; line-height: 1; }
.wordmark b { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.06em; }
.wordmark b span { color: var(--accent); }
.wordmark small { font-family: var(--display); font-weight: 600; font-size: 7.5px; letter-spacing: .62em; color: var(--muted); padding-left: 1px; }
.wordmark--lg b { font-size: 40px; }
.wordmark--lg small { font-size: 11px; }

/* Texto revelado por palavra */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; will-change: transform; }
html.js .split .w > span { transform: translate3d(0, 110%, 0); }
html.js [data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); }
html.no-anim .split .w > span, html.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- Botões e links ---------- */
.btn {
  --bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 16px 28px; border-radius: 999px;
  background: var(--bg); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; line-height: 1.2;
  position: relative; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease);
  touch-action: manipulation;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--accent-deep); transform: translate3d(0, 101%, 0); transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:active::before { transform: translate3d(0, 0, 0); }
.btn:active { transform: scale(.97); }
.btn .ico { width: 24px; height: 24px; flex: none; }
.btn--ghost { --bg: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost::before { background: var(--panel-2); }
.btn--ghost:hover, .btn--ghost:active { box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--xl { min-height: 72px; padding: 20px 36px; font-size: clamp(19px, 2vw, 22px); }

.btn-sm {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s, background-color .25s, color .25s;
  touch-action: manipulation;
}
.btn-sm .arr { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn-sm:hover, .btn-sm:active { background: var(--accent); color: var(--ground); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-sm:hover .arr, .btn-sm:active .arr { transform: translate(2px, -2px); }

.link-u {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink);
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--accent);
  transform: scaleX(.25); transform-origin: left; transition: transform .45s var(--ease);
}
.link-u:hover::after, .link-u:focus-visible::after, .link-u:active::after { transform: scaleX(1); }

/* ---------- Abertura ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 120; background: var(--ground);
  display: grid; place-items: center;
  animation: plFailsafe .5s 3.5s forwards;
}
.preloader.is-done { pointer-events: none; }
.preloader__mark { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader__mark svg { overflow: visible; }
.pl-bar1, .pl-bar2 { transform-box: fill-box; transform-origin: 50% 100%; animation: plBar .9s var(--ease) both; }
.pl-bar2 { animation-delay: .18s; }
.pl-dot { animation: plDot 1.06s steps(1) .7s infinite; }
.preloader__word { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.06em; }
.preloader__word span { color: var(--accent); }
.preloader__pct {
  position: absolute; right: var(--gutter-r); bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  font-family: var(--display); font-weight: 800; font-size: clamp(56px, 12vw, 140px); letter-spacing: -.06em; line-height: .8;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.preloader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.preloader__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@keyframes plBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes plDot { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes plFailsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter-r) 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: transform .5s var(--ease), background-color .4s;
}
.nav.is-solid { background: rgba(13, 12, 18, .86); box-shadow: 0 1px 0 var(--line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav.is-solid { background: rgba(13, 12, 18, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.nav.is-hidden { transform: translate3d(0, -110%, 0); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.nav__links { display: none; gap: 34px; }
.nav__links a { font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--muted); text-decoration: none; transition: color .2s; padding: 12px 0; }
.nav__links a:hover { color: var(--ink); }
/* menu do celular: botão de duas barras abre a lista de seções */
.nav__menu {
  margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink);
  display: grid; place-content: center; gap: 6px; cursor: pointer; touch-action: manipulation;
}
.nav__menu span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.nav.is-open .nav__menu span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__menu span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 899px) {
  .nav { gap: 6px; }
  .nav.is-open { background: var(--ground); box-shadow: 0 1px 0 var(--line); }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%;
    padding: 8px var(--gutter-r) 22px var(--gutter); background: var(--ground); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .8);
  }
  .nav.is-open .nav__links a { font-size: 20px; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__links a:last-child { border-bottom: 0; }
}
@media (min-width: 900px) { .nav__menu { display: none; } }
.nav__cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--ink); color: var(--ground); font-family: var(--display); font-weight: 700; font-size: 14.5px; text-decoration: none;
  transition: background-color .25s, color .25s;
}
.nav__cta:hover, .nav__cta:active { background: var(--accent); color: var(--ground); }
@media (min-width: 900px) { .nav__links { display: flex; } }

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; touch-action: pan-y; }
.hero__inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 25vh) var(--gutter-r) 0 var(--gutter);
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 25svh);
  position: relative; z-index: 2; pointer-events: none;
}
.hero__inner a { pointer-events: auto; }
.hero__copy { max-width: 680px; display: flex; flex-direction: column; gap: 20px; }
.hero__title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.055em; line-height: .9;
  font-size: clamp(3.1rem, 13.5vw, 7.6rem);
}
.hero__lede { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 44ch; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 6px; }
.hero__actions .btn { width: 100%; }
@media (min-width: 520px) { .hero__actions .btn { width: auto; } }

.hero__giant {
  position: relative; z-index: 1; margin-top: auto; padding-top: 26px;
  line-height: .74; white-space: nowrap; pointer-events: none; user-select: none;
}
.giant-word {
  display: inline-block; font-family: var(--display); font-weight: 800; letter-spacing: -.075em;
  font-size: clamp(7rem, 31vw, 34rem); color: var(--ink); padding-left: .02em;
  transform: translate3d(0, 0, 0);
}
.giant-word span { color: var(--accent); }

.photo { position: relative; overflow: hidden; background: var(--accent); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__fallback {
  position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6%;
  background: radial-gradient(120% 90% at 30% 15%, #A48BFF 0%, var(--accent) 45%, var(--accent-deep) 100%);
}
.photo__fallback svg { width: 46%; height: auto; }
.photo__fallback span { font-family: var(--display); font-weight: 800; letter-spacing: -.05em; color: #fff; font-size: clamp(22px, 4vw, 64px); line-height: 1; }
.photo.is-empty img { visibility: hidden; }
.photo.is-empty .photo__fallback { display: flex; }

.photo--hero {
  position: absolute; z-index: 3; right: var(--gutter-r); bottom: 46%;
  width: clamp(108px, 15vw, 230px); aspect-ratio: 4 / 5; border-radius: 20px;
  transform: rotate(5deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  overflow: visible; background: transparent;
}
.photo--hero img, .photo--hero .photo__fallback { border-radius: inherit; }
.photo--hero::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent); z-index: -1; }
.photo--hero .photo__fallback span { font-size: clamp(18px, 2.4vw, 36px); }
.photo--hero figcaption {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%) rotate(-5deg);
  white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--ground);
  font-family: var(--display); font-weight: 700; font-size: 12px;
}
@media (min-width: 1100px) { .photo--hero { right: calc(var(--gutter-r) + 3vw); bottom: 34%; } }
@media (max-width: 1099px) { .hero__inner { padding-bottom: 40px; } }
@media (min-width: 1100px) { .hero__inner { padding-top: calc(var(--nav-h) + 13vh); } }

/* ---------- QUEM SOU EU ---------- */
.about { position: relative; padding: clamp(96px, 16vw, 200px) 0 clamp(80px, 12vw, 160px); overflow: hidden; }
.about__ghost {
  position: absolute; top: clamp(30px, 6vw, 80px); left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-weight: 800; letter-spacing: -.07em; line-height: .8;
  font-size: clamp(9rem, 44vw, 40rem); color: transparent; -webkit-text-stroke: 1.5px var(--line);
  white-space: nowrap; pointer-events: none; user-select: none; z-index: 0;
}
.about__grid {
  position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter-r) 0 var(--gutter);
  display: grid; gap: 40px;
}
.photo--about { aspect-ratio: 4 / 5; border-radius: 28px; width: min(100%, 520px); }
.photo--about .photo__fallback span { font-size: clamp(40px, 9vw, 96px); }
.about__text { display: flex; flex-direction: column; gap: 22px; align-self: center; }
.about__lead { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.3vw, 1.85rem); line-height: 1.3; letter-spacing: -.02em; max-width: 30ch; text-wrap: pretty; }
.about__note { color: var(--muted); max-width: 46ch; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); }
  .photo--about { transform: rotate(-2.5deg); }
}

/* ---------- HISTÓRIA ---------- */
.story { position: relative; height: 560vh; height: 560svh; }
/* no celular cada etapa pede só um arrasto, em vez de quase uma tela e meia */
@media (max-width: 899px) { .story { height: 270vh; height: 270svh; } }
.story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__sticky::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 55%; z-index: 1; pointer-events: none;
  background: linear-gradient(var(--ground) 30%, rgba(13, 12, 18, 0));
}
.story__ui {
  position: relative; z-index: 2; height: 100%; max-width: 1280px; margin: 0 auto;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 8px) var(--gutter-r) calc(68px + env(safe-area-inset-bottom, 0px)) var(--gutter);
  display: flex; flex-direction: column; pointer-events: none;
}
.story__head { display: flex; flex-direction: column; gap: 8px; padding-left: 38px; position: relative; }
.story__head::before { content: ""; position: absolute; left: 0; top: .7em; width: 26px; height: 2px; border-radius: 2px; background: var(--accent); }
.story__kicker { font-family: var(--display); font-weight: 700; font-size: clamp(15px, 1.4vw, 18px); letter-spacing: -.01em; color: var(--ink); }
.story__kicker span { color: var(--muted); font-weight: 400; }
.story__chapters { display: grid; margin-top: 18px; }
.chapter {
  grid-area: 1 / 1; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: end;
  opacity: 0; transform: translate3d(0, 26px, 0); visibility: hidden;
  transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .7s;
}
.chapter.is-active { opacity: 1; transform: none; visibility: visible; transition: opacity .6s var(--ease) .1s, transform .8s var(--ease) .1s, visibility 0s; }
.chapter.is-past { transform: translate3d(0, -26px, 0); }
.chapter__num {
  grid-row: span 2; font-family: var(--display); font-weight: 800; line-height: .8; letter-spacing: -.06em;
  font-size: clamp(4.2rem, 17vw, 10rem); color: transparent; -webkit-text-stroke: 1.5px var(--accent);
}
.chapter h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: .95; font-size: clamp(2.1rem, 9vw, 4.6rem); }
.chapter p { grid-column: 1 / -1; margin-top: 14px; color: var(--muted); font-size: clamp(15.5px, 1.35vw, 19px); max-width: 38ch; text-wrap: pretty; }
.story__rail {
  position: relative; margin-top: auto; margin-right: 74px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--display); font-weight: 600; font-size: 11.5px; letter-spacing: .04em; color: var(--muted);
}
.story__rail { pointer-events: auto; }
.story__rail button {
  appearance: none; border: 0; background: none; padding: 10px 0 4px; margin-top: -10px; text-align: left; cursor: pointer;
  font: inherit; letter-spacing: inherit; color: inherit; transition: color .4s; touch-action: manipulation;
}
.story__rail button.is-active, .story__rail button:hover { color: var(--ink); }
.story__hint {
  margin-top: auto; margin-bottom: 12px; font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--accent-soft);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.story__hint i { font-style: normal; display: inline-block; margin-left: 2px; animation: hint 1.6s var(--ease) infinite; }
.story__hint-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .story__hint-touch { display: none; } .story__hint-mouse { display: inline; } }
.story__hint + .story__rail { margin-top: 0; }
.story.is-moving .story__hint { opacity: 0; transform: translate3d(0, 8px, 0); }
@keyframes hint { 0%, 100% { transform: translate3d(0, -2px, 0); } 50% { transform: translate3d(0, 4px, 0); } }
.story__progress { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@media (min-width: 900px) {
  .story__sticky::before { inset: 0 auto 0 0; width: 58%; height: 100%; background: linear-gradient(90deg, var(--ground) 35%, rgba(13, 12, 18, 0)); }
  .story__ui { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 34px; }
  .story__chapters { margin-top: auto; max-width: 560px; }
  .chapter { grid-template-columns: 1fr; }
  .chapter__num { grid-row: auto; margin-bottom: 14px; }
  .chapter p { margin-top: 20px; }
  .story__rail { margin-top: 48px; margin-right: 0; max-width: 560px; font-size: 13px; }
  .story__hint { margin-top: 36px; margin-bottom: 14px; }
}

/* ---------- O QUE TODO SITE TEM ---------- */
.perks { padding: clamp(96px, 14vw, 180px) 0 clamp(64px, 9vw, 120px); }
.perks .eyebrow { margin-bottom: 18px; }
.perks .display { margin: 0 0 clamp(36px, 6vw, 72px); max-width: 12ch; }
.perks__list { border-top: 1px solid var(--line); }
.perk {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 8px;
  padding: 26px 0; border-bottom: 1px solid var(--line); isolation: isolate; outline: none;
}
.perk::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--panel);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.perk:hover::before, .perk:focus-visible::before, .perk:active::before { transform: scaleY(1); }
.perk strong {
  font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.05;
  font-size: clamp(1.45rem, 3.7vw, 3.1rem); transition: transform .5s var(--ease);
}
.perk:hover strong, .perk:focus-visible strong { transform: translate3d(10px, 0, 0); color: var(--accent-soft); }
.perk strong { transition: transform .5s var(--ease), color .4s; }
.perk p { color: var(--muted); max-width: 52ch; font-size: 16px; }
@media (min-width: 900px) {
  .perk { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; padding: 34px 0; align-items: center; }
}

/* ---------- COMO FUNCIONA ---------- */
.steps { padding: clamp(64px, 9vw, 120px) 0 clamp(96px, 14vw, 180px); }
.steps__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); }
.steps__head .display { max-width: 14ch; }
.steps__cards { display: grid; gap: 14px; counter-reset: none; }
.step {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 250px;
  padding: 26px 24px 24px; border-radius: 28px; background: var(--panel); border: 1px solid var(--line);
  overflow: hidden; transition: border-color .4s;
}
.step:nth-child(odd) { --tilt: -1.2deg; }
.step:nth-child(even) { --tilt: 1.2deg; }
.step:hover, .step:active { border-color: var(--accent); }
.step__n {
  font-family: var(--display); font-weight: 800; font-size: 76px; line-height: .8; letter-spacing: -.06em; color: var(--accent);
  margin-bottom: auto;
}
.step h3 { font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -.03em; line-height: 1.1; margin-top: 30px; }
.step p { color: var(--muted); font-size: 16px; max-width: 30ch; }
.step__ico { position: absolute; right: 22px; top: 24px; width: 46px; height: 46px; fill: none; stroke: var(--accent-soft); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.step:last-child { background: var(--accent); border-color: var(--accent); }
.step:last-child, .step:last-child .step__n, .step:last-child p { color: var(--ground); }
.step:last-child .step__ico { stroke: var(--ground); }
@media (min-width: 640px) { .steps__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .steps__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .step { min-height: 380px; }
  .step:nth-child(even) { margin-top: 56px; }
}

/* ---------- TRABALHOS ---------- */
.work { padding: clamp(96px, 14vw, 180px) 0; background: linear-gradient(var(--ground), #110F18 18%, #110F18 82%, var(--ground)); }
.work__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); }
.work__head .display { max-width: 13ch; }
.work__lede { color: var(--muted); max-width: 46ch; }

.showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 14px; }
@media (max-width: 299px) { .showcase { grid-template-columns: 1fr; } }
.model { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.model__devices { position: relative; display: block; text-decoration: none; transition: transform .6s var(--ease); }
.model__devices:hover, .model__devices:active { transform: translate3d(0, -6px, 0); }

.phone {
  position: relative; display: block; width: 100%; aspect-ratio: 540 / 1168;
  padding: 3.4%; border-radius: 16% / 7.4%;
  background: linear-gradient(145deg, #2E2A3B, #121019 40%, #0A090E);
  box-shadow: 0 0 0 1px #34304A, 0 28px 50px -22px rgba(0, 0, 0, .9);
  transition: box-shadow .5s var(--ease);
}
.model__devices:hover .phone, .model__devices:active .phone { box-shadow: 0 0 0 1px var(--accent), 0 34px 60px -24px rgba(0, 0, 0, .95); }
.phone::after {
  content: ""; position: absolute; top: 4.6%; left: 50%; width: 24%; height: 2.3%; transform: translateX(-50%);
  border-radius: 99px; background: #050408; z-index: 2;
}
.phone__screen { display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; border-radius: 12.5% / 5.9%; background: #000; padding-top: 9.5%; }
.phone__screen video { flex: 1; min-height: 0; object-position: top center; }
.phone__screen video, .laptop__screen video { width: 100%; height: 100%; object-fit: cover; background: #000; }

.laptop { display: none; }
.model__info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.niche { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); }
.model__info h3 { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2vw, 24px); letter-spacing: -.03em; line-height: 1.1; }
.model__info p { color: var(--muted); font-size: 14.5px; line-height: 1.45; margin-bottom: 6px; }
@media (min-width: 700px) { .showcase { gap: 48px 22px; } .model__info p { font-size: 15.5px; } }

@media (min-width: 1100px) {
  .showcase { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .model__devices { aspect-ratio: 1 / 1.27; }
  .laptop { display: block; position: absolute; top: 0; right: 0; width: 94%; }
  .laptop__screen {
    display: block; aspect-ratio: 16 / 10; padding: 3.2% 3.2% 4%; border-radius: 12px 12px 3px 3px;
    background: linear-gradient(160deg, #2A2638, #0E0D13 50%); box-shadow: 0 0 0 1px #34304A;
  }
  .laptop__screen video, .laptop__screen img { border-radius: 4px; }
  .laptop__base { display: block; height: 9px; margin: 0 -7%; border-radius: 0 0 14px 14px; background: linear-gradient(#3A3550, #15131C); box-shadow: 0 20px 30px -14px rgba(0, 0, 0, .9); }
  .phone { position: absolute; left: 0; bottom: 0; width: 44%; }
}

.client__title { margin-top: clamp(80px, 11vw, 140px); margin-bottom: 20px; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); letter-spacing: -.03em; }
.client { display: grid; gap: 28px; align-items: center;
  padding: clamp(22px, 3vw, 40px); border-radius: 32px; background: var(--panel); border: 1px solid var(--line);
}
.client__text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.client__text h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: .95; font-size: clamp(2.2rem, 5vw, 4rem); }
.client__text p { color: var(--muted); max-width: 36ch; margin-bottom: 6px; }
.live {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(61, 220, 151, .12); color: var(--live); font-family: var(--display); font-weight: 700; font-size: 13px;
}
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.browser {
  display: block; border-radius: 16px; overflow: hidden; background: #0A090E; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .9);
  text-decoration: none; transition: transform .6s var(--ease), box-shadow .5s;
}
.browser:hover, .browser:active { transform: translate3d(0, -6px, 0); box-shadow: 0 0 0 1px var(--live), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #15131C; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser__bar span { margin-left: 10px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; }
@media (min-width: 900px) { .client { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; } }

/* ---------- NÍVEIS ---------- */
/* ---------- PARA QUEM ---------- */
.reach { padding: clamp(24px, 4vw, 48px) 0; }
.reach .eyebrow { margin-bottom: 18px; }
.reach .display { max-width: 15ch; }
.reach__lede { margin-top: 22px; color: var(--muted); max-width: 52ch; }
.reach__niches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 5vw, 56px); }
.reach__niches li {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel);
  font-family: var(--display); font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; color: var(--ink);
  transition: border-color .3s, color .3s;
}
.reach__niches li:hover { border-color: var(--accent); color: var(--accent-soft); }
.reach__niches li.is-you { background: var(--accent); border-color: var(--accent); color: #fff; }
.reach__map { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.reach__map ul { display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.5rem); letter-spacing: -.03em; }
.reach__map li:not(:last-child)::after { content: "·"; margin: 0 .5em; color: var(--accent); }
.reach__map p { color: var(--muted); font-size: 15px; display: flex; align-items: center; gap: 8px; }
@media (max-width: 699px) { .reach__map { padding-right: 70px; } }
.reach__map p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(61, 220, 151, .15); }

.tiers { padding: clamp(96px, 14vw, 180px) 0; }
.tiers__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.tiers__head .display { max-width: 13ch; }
.tiers__lede { color: var(--muted); max-width: 46ch; }
/* convite para a próxima seção */
.next { margin-top: clamp(36px, 5vw, 56px); color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.tiers__grid { display: grid; gap: 16px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 30px 26px 26px; border-radius: 30px; background: var(--panel); border: 1px solid var(--line);
}
.tier header { display: flex; align-items: center; gap: 14px; }
.tier h3 { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.045em; line-height: 1; }
.tier__medal { width: 34px; height: 34px; border-radius: 50%; flex: none; box-shadow: inset 0 -4px 8px rgba(0, 0, 0, .3), inset 0 3px 6px rgba(255, 255, 255, .35); }
.tier--bronze .tier__medal { background: radial-gradient(circle at 35% 30%, #F0B88A, #B06F43 60%, #7A4527); }
.tier--prata .tier__medal { background: radial-gradient(circle at 35% 30%, #FFFFFF, #BFC2CF 55%, #7C7F8E); }
.tier--ouro .tier__medal { background: radial-gradient(circle at 35% 30%, #FFF1B8, #E2B845 55%, #9C7414); }
.tier__sum { font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.35; letter-spacing: -.01em; }
.tier ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; flex: 1; }
.tier li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.tier li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; border-radius: 2px; background: var(--accent); }
.tier .btn { width: 100%; }
.tier--ouro {
  background: #1E1934;
  border-color: var(--accent);
}
.tier__flag {
  position: absolute; top: -13px; right: 22px; padding: 6px 12px; border-radius: 999px;
  background: var(--ink); color: var(--ground); font-family: var(--display); font-weight: 700; font-size: 12px;
}
@media (min-width: 1000px) {
  .tiers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .tier { padding: 36px 32px 32px; }
  .tier--ouro { transform: translate3d(0, -18px, 0); }
}

/* ---------- CTA FINAL ---------- */
.final { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(110px, 14vw, 190px); overflow: hidden; }
.marquee { overflow: hidden; padding: 10px 0 clamp(40px, 6vw, 80px); }
.marquee__track { display: flex; align-items: center; gap: .4em; width: max-content; }
.marquee__track span {
  font-family: var(--display); font-weight: 800; letter-spacing: -.06em; white-space: nowrap; line-height: 1;
  font-size: clamp(4rem, 13vw, 12rem); color: transparent; -webkit-text-stroke: 1.5px #3A3550;
}
.marquee__track i { width: .32em; height: .32em; font-size: clamp(4rem, 13vw, 12rem); border-radius: 30%; background: var(--accent); flex: none; }
.final__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; }
.final__title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.05em; line-height: .95;
  font-size: clamp(2.5rem, 7.4vw, 7rem); max-width: 15ch; text-wrap: balance;
}
.final__phone { color: var(--muted); margin-top: -12px; }
.final__phone a { display: inline-block; padding: 11px 0; color: var(--ink); font-weight: 700; text-decoration-color: var(--accent); text-underline-offset: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 519px) { .final__inner .btn { width: 100%; } }

/* ---------- RODAPÉ ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 calc(150px + env(safe-area-inset-bottom, 0px)); }
.footer__inner { display: grid; gap: 22px; }
.footer__logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; justify-self: start; }
.footer__tag { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer__legal { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .footer { padding-bottom: 120px; }
  .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 48px; }
  .footer__legal { grid-column: 1 / -1; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 70;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; text-decoration: none;
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .35s var(--ease);
  touch-action: manipulation;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent);
  animation: ring 2.4s var(--ease) infinite;
}
.wa-float.is-off { transform: scale(.4); opacity: 0; pointer-events: none; }
.wa-float { transition: transform .35s var(--ease), opacity .3s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float:active { transform: scale(.94); }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Cursor (só com mouse) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none;
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
    border: 1.5px solid rgba(245, 243, 255, .55);
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s, border-color .3s, opacity .3s;
    opacity: 0;
  }
  .cursor.is-on { opacity: 1; }
  .cursor.is-link { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(139, 108, 255, .16); border-color: var(--accent); }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .pl-dot { animation: none; }
}

/* Sem WebGL: a história vira uma lista simples, sem perder conteúdo */
.story.is-static { height: auto; }
.story.is-static .story__sticky { position: relative; height: auto; }
.story.is-static .story__chapters { gap: 40px; }
.story.is-static .chapter { grid-area: auto; opacity: 1; transform: none; visibility: visible; }
.story.is-static .story__rail, .story.is-static .story__gl { display: none; }
