/* Página de apresentação (visitante sem login): barra do topo, herói com a
   película, demonstração do fluxo, recursos, IA, planos, dúvidas e rodapé.
   O herói (.login-stage) e a película vêm de layout.css. */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

#login.landing {
  display: block;
  overflow-x: clip;
  min-height: 100vh;
}

/* ---------- barra do topo ---------- */
.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* depois de rolar um pouco a barra ganha fundo de vidro (classe via JS) */
.lp-nav.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(11, 9, 18, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.lp-logo img {
  filter: drop-shadow(0 4px 14px rgba(168, 85, 247, 0.6));
  animation: logo-in 0.9s var(--ease-spring) both;
  transition: transform 0.5s var(--ease-spring);
}

.lp-logo:hover img {
  transform: rotate(-8deg) scale(1.08);
}

.lp-links {
  display: none;
  gap: 4px;
  margin-left: auto;
}

.lp-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.lp-links a:hover,
.lp-links a.current {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.lp-nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lp-lang {
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

.lp-lang:hover {
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--orchid);
}

.btn.lp-enter {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .lp-links { display: flex; }
  .lp-nav-end { margin-left: 0; }
}

/* ---------- herói ---------- */
.landing .login-stage {
  /* ocupa a primeira tela, mas não estica sem limite em monitores muito altos */
  min-height: min(100vh, 980px);
  padding-top: 96px;
}

.login-trial {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.login-trial svg {
  width: 18px;
  height: 18px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  color: #052e1c;
  background: var(--ok);
}

.landing .login-terms {
  margin-top: 0.9rem;
}

/* ---------- seções ---------- */
.lp-section {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 11vw, 132px) clamp(18px, 4vw, 48px) 0;
}

.lp-head {
  max-width: 44rem;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.lp-head h2,
.lp-ai-copy h2,
.lp-final h2 {
  font-size: clamp(1.9rem, 1.1rem + 3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}

.lp-head p,
.lp-ai-copy > p,
.lp-final > p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
}

/* Aparece ao entrar na tela (classe .in posta por js/landing.js) */
.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- demonstração: do link ao resumo ---------- */
.demo {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.demo-tabs {
  display: grid;
  gap: 8px;
}

.demo-tab {
  position: relative;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.15rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.demo-tab:hover {
  background: rgba(255, 255, 255, 0.03);
}

.demo-tab-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--muted);
  transition: color 0.3s ease;
}

.demo-tab-text {
  color: var(--faint);
  font-size: 0.93rem;
  line-height: 1.5;
  display: none;
}

.demo-tab-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
}

.demo-tab.active {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
}

.demo-tab.active .demo-tab-title {
  color: #fff;
}

.demo-tab.active .demo-tab-text {
  display: block;
  color: var(--muted);
  animation: fade-in 0.5s ease both;
}

/* a barra do passo ativo enche durante o tempo em que ele fica na tela */
.demo.playing .demo-tab.active .demo-tab-bar {
  animation: tab-fill var(--step-ms, 4600ms) linear both;
}

@keyframes tab-fill {
  to { transform: scaleX(1); }
}

.demo-stage {
  position: relative;
  min-height: 330px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(217, 70, 239, 0.2), transparent 60%),
    radial-gradient(80% 90% at 0% 100%, rgba(124, 58, 237, 0.26), transparent 60%),
    var(--ink-2);
  overflow: hidden;
}

.demo-panel {
  position: absolute;
  inset: 0;
  padding: clamp(20px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
  pointer-events: none;
}

.demo-panel.active {
  opacity: 1;
  transform: none;
}

/* passo 1: o link sendo digitado */
.demo-input {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: rgba(11, 9, 18, 0.75);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 0.6rem + 1vw, 1.02rem);
  color: var(--lilac);
  overflow: hidden;
}

.demo-typed {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  border-right: 2px solid var(--magenta);
  width: 0;
}

.demo-panel.active .demo-typed {
  animation: typing 1.7s steps(30) 0.3s both, caret 0.8s step-end infinite;
}

@keyframes typing {
  to { width: 30ch; }
}

@keyframes caret {
  50% { border-right-color: transparent; }
}

.demo-save {
  align-self: flex-start;
  pointer-events: none;
  opacity: 0;
}

.demo-panel.active .demo-save {
  animation: rise 0.5s var(--ease-out) 2.1s both, press 0.5s ease 3s both;
}

@keyframes press {
  40% { transform: scale(0.94); }
}

/* passo 2: onda de áudio + frases transcritas */
.demo-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 64px;
  margin-bottom: 6px;
}

.demo-wave i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px;
  background: var(--brand);
  transform-origin: center;
  animation: wave 1.1s ease-in-out var(--d, 0s) infinite alternate;
}

@keyframes wave {
  from { transform: scaleY(0.25); opacity: 0.55; }
  to { transform: scaleY(1); opacity: 1; }
}

.demo-line {
  font-size: clamp(0.92rem, 0.8rem + 0.5vw, 1.08rem);
  color: var(--text);
  opacity: 0;
}

.demo-panel.active .demo-line {
  animation: rise 0.6s var(--ease-out) both;
}

.demo-panel.active .demo-line:nth-of-type(1) { animation-delay: 0.5s; }
.demo-panel.active .demo-line:nth-of-type(2) { animation-delay: 1.5s; }
.demo-panel.active .demo-line:nth-of-type(3) { animation-delay: 2.5s; }

/* passo 3: o card catalogado, com as etiquetas surgindo uma a uma */
.demo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  max-width: 460px;
}

.demo-thumb {
  aspect-ratio: 16 / 7;
  background:
    radial-gradient(90% 120% at 15% 0%, hsl(32 85% 58% / 0.8), transparent 60%),
    radial-gradient(90% 120% at 100% 100%, hsl(330 85% 55% / 0.6), transparent 60%),
    var(--surface-2);
}

.demo-card-body {
  padding: 1rem 1.1rem 1.15rem;
  display: grid;
  gap: 0.7rem;
}

.demo-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.demo-card .chip {
  opacity: 0;
}

.demo-panel.active .demo-card .chip {
  animation: chip-pop 0.5s var(--ease-spring) both;
}

.demo-panel.active .demo-card .chip:nth-child(1) { animation-delay: 0.5s; }
.demo-panel.active .demo-card .chip:nth-child(2) { animation-delay: 0.85s; }
.demo-panel.active .demo-card .chip:nth-child(3) { animation-delay: 1.2s; }
.demo-panel.active .demo-card .chip:nth-child(4) { animation-delay: 1.45s; }
.demo-panel.active .demo-card .chip:nth-child(5) { animation-delay: 1.7s; }

@keyframes chip-pop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: none; }
}

/* passo 4: o resumo do dia */
.demo-summary {
  max-width: 520px;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.demo-summary-date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.demo-summary ul {
  display: grid;
  gap: 0.6rem;
}

.demo-summary li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
  opacity: 0;
}

.demo-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
}

.demo-panel.active .demo-summary li {
  animation: rise 0.6s var(--ease-out) both;
}

.demo-panel.active .demo-summary li:nth-child(1) { animation-delay: 0.4s; }
.demo-panel.active .demo-summary li:nth-child(2) { animation-delay: 0.9s; }
.demo-panel.active .demo-summary li:nth-child(3) { animation-delay: 1.4s; }

@media (min-width: 900px) {
  .demo {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: stretch;
  }

  .demo-stage {
    min-height: 420px;
  }
}

/* ---------- recursos (mosaico) ---------- */
.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.bento-tile {
  position: relative;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)), var(--surface);
  overflow: hidden;
  transition: opacity 0.9s var(--ease-out), transform 0.5s var(--ease-out), border-color 0.3s ease, box-shadow 0.4s ease;
}

.bento-tile.in:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: var(--shadow-pop);
}

.bento-tile h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.bento-tile > p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 34rem;
}

.bento-wide {
  background:
    radial-gradient(80% 110% at 100% 0%, rgba(124, 58, 237, 0.28), transparent 62%),
    var(--surface);
}

.mock-search {
  margin-top: 1.4rem;
  display: grid;
  gap: 10px;
  max-width: 560px;
}

.mock-search-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: rgba(11, 9, 18, 0.75);
  box-shadow: inset 0 0 0 1px var(--orchid), 0 0 0 4px rgba(168, 85, 247, 0.16);
  color: var(--text);
  font-size: 1rem;
}

.mock-search-bar svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--orchid);
}

.mock-result {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0;
}

.bento-tile.in .mock-result {
  animation: rise 0.7s var(--ease-out) both;
}

.bento-tile.in .mock-result:nth-of-type(2) { animation-delay: 0.5s; }
.bento-tile.in .mock-result:nth-of-type(3) { animation-delay: 0.75s; }

.mock-result i {
  flex: none;
  width: 64px;
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
}

.mock-result:nth-of-type(3) i {
  background: linear-gradient(135deg, #2563eb, var(--orchid));
}

.mock-result b {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.mock-result span {
  color: var(--faint);
  font-size: 0.82rem;
}

.net-list {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.net-list li {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: transform 0.35s var(--ease-spring), background 0.25s ease, color 0.25s ease;
}

.net-list li:hover {
  transform: translateY(-3px) rotate(-2deg);
  background: var(--brand);
  color: #fff;
}

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-wide { grid-column: span 2; }
}

@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento-wide { grid-column: span 2; grid-row: span 2; }
}

/* ---------- sua IA ---------- */
.lp-ai {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.lp-checks {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.lp-checks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.02rem;
}

.lp-checks svg {
  width: 20px;
  height: 20px;
  flex: none;
  padding: 4px;
  border-radius: 50%;
  color: #052e1c;
  background: var(--ok);
}

.lp-fine {
  margin-top: 1.4rem;
  color: var(--faint);
  font-size: 0.9rem;
}

.chat {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 30px);
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  box-shadow: 0 40px 80px -40px rgba(124, 58, 237, 0.7);
}

.chat-user,
.chat-ai,
.chat-tool {
  opacity: 0;
}

.chat.in .chat-user { animation: rise 0.6s var(--ease-out) 0.3s both; }
.chat.in .chat-tool { animation: rise 0.6s var(--ease-out) 1.1s both; }
.chat.in .chat-ai { animation: rise 0.7s var(--ease-out) 2.3s both; }

.chat-user {
  justify-self: end;
  max-width: 85%;
  padding: 0.8rem 1.05rem;
  border-radius: 18px 18px 4px 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 500;
}

.chat-tool {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.chat-tool i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(168, 85, 247, 0.3);
  border-top-color: var(--magenta);
  animation: spin 0.9s linear infinite;
}

.chat-ai {
  justify-self: start;
  max-width: 92%;
  padding: 0.95rem 1.1rem;
  border-radius: 18px 18px 18px 4px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid;
  gap: 0.6rem;
  font-size: 0.98rem;
}

.chat-ai ul {
  display: grid;
  gap: 0.4rem;
}

.chat-ai li {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.16);
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.25);
  font-weight: 600;
  font-size: 0.93rem;
}

@media (min-width: 900px) {
  .lp-ai {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

/* ---------- planos ---------- */
.lp-plans {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.lp-plans .plan-option {
  padding: 1.6rem;
  transition: opacity 0.9s var(--ease-out), transform 0.5s var(--ease-out), border-color 0.3s ease, box-shadow 0.35s ease;
}

.lp-plans .plan-option.in:hover {
  transform: translateY(-5px);
}

.lp-plans .plan-option .btn {
  margin-top: auto;
}

.lp-plans .plan-hint {
  margin-bottom: 1.2rem;
}

.lp-plans .plan-price {
  font-size: 2.6rem;
}

.lp-plans .plan-price small {
  margin-left: 0.3rem;
}

.lp-plan-features {
  margin-top: 1.8rem;
}

/* ---------- dúvidas ---------- */
.faq {
  max-width: 820px;
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq details[open] {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(124, 58, 237, 0.08);
}

.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3.2rem 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* sinal de + que gira e vira × ao abrir */
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  color: var(--orchid);
  transition: transform 0.4s var(--ease-spring);
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq details p {
  padding: 0 1.3rem 1.25rem;
  color: var(--muted);
  max-width: 44rem;
  animation: rise 0.45s var(--ease-out) both;
}

/* ---------- chamada final + rodapé ---------- */
.lp-final {
  text-align: center;
  display: grid;
  justify-items: center;
  padding-bottom: clamp(56px, 9vw, 110px);
}

.lp-final > img {
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 14px 40px rgba(217, 70, 239, 0.7));
  animation: logo-float 6s ease-in-out infinite;
}

.lp-final .login-actions {
  justify-content: center;
  width: 100%;
  max-width: 520px;
}

.lp-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px clamp(18px, 4vw, 48px) 40px;
  border-top: 1px solid var(--line);
}

.lp-footer .lp-logo {
  font-size: 1.05rem;
}

.lp-footer .lp-logo img {
  animation: none;
}

.lp-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-right: auto;
}

.lp-footer nav a {
  color: var(--muted);
  font-size: 0.92rem;
}

.lp-footer nav a:hover {
  color: #fff;
}

.lp-copy {
  color: var(--faint);
  font-size: 0.86rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .demo-save,
  .demo-line,
  .demo-card .chip,
  .demo-summary li,
  .mock-result,
  .chat-user,
  .chat-ai,
  .chat-tool {
    opacity: 1;
    transform: none;
  }
  .demo-typed { width: auto; border-right: none; }
}

/* ---------- botão da App Store ---------- */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.15rem 0.6rem 0.95rem;
  border-radius: 14px;
  background: #000;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.store-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 18px 36px -18px rgba(168, 85, 247, 0.95);
}

.store-btn:active {
  transform: scale(0.98);
}

.store-btn svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store-btn span {
  display: grid;
  line-height: 1.1;
  text-align: left;
}

.store-btn small {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.85;
}

.store-btn b {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-store {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.lp-final-store {
  margin-top: 0.9rem;
}

/* ---------- seção do app: compartilhar direto das redes ---------- */
.lp-app {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.lp-app-copy h2 {
  font-size: clamp(1.9rem, 1.1rem + 3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}

.lp-app-copy > p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36rem;
}

.lp-app-steps li {
  font-size: 1.04rem;
}

.lp-app-cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.1rem;
}

.lp-app-cta .lp-fine {
  margin-top: 0;
}

/* celular desenhado em CSS, com o menu Compartilhar subindo, o toque no
   Menvi e a confirmação — em laço, depois que a seção entra na tela */
.phone {
  --loop: 7s;
  justify-self: center;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2a2540, #0d0b16);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.16), 0 50px 100px -40px rgba(124, 58, 237, 0.85);
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: #07060c;
}

.phone-video {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 60% at 20% 10%, hsl(22 90% 60% / 0.85), transparent 60%),
    radial-gradient(90% 70% at 90% 80%, hsl(320 85% 55% / 0.75), transparent 60%),
    #1b1530;
}

.phone-video i {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: rgba(11, 9, 18, 0.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 7.5v9l7.5-4.5z'/%3E%3C/svg%3E") center / 30px no-repeat;
}

.phone-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px 22px;
  border-radius: 24px 24px 0 0;
  background: rgba(28, 24, 44, 0.96);
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(105%);
}

.phone-grabber {
  display: block;
  width: 38px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
}

.phone-sheet-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.phone-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  justify-items: center;
}

.phone-app {
  display: grid;
  justify-items: center;
  gap: 5px;
  font-size: 0.62rem;
  color: var(--muted);
}

.phone-app i {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
}

.phone-app i::after {
  content: "";
  display: block;
  width: 34px;
  height: 5px;
  margin: 53px auto 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.phone-app-menvi img {
  width: 46px;
  height: 46px;
  padding: 6px;
  border-radius: 13px;
  background: #0b0912;
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.6);
}

.phone-app-menvi b {
  color: #fff;
  font-weight: 600;
}

.phone-rows {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.phone-rows i {
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
}

.phone-toast {
  position: absolute;
  left: 50%;
  top: 46%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.05rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 9, 18, 0.92);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.6), 0 18px 40px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 12px) scale(0.9);
}

.phone-toast svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  color: #052e1c;
  background: var(--ok);
}

.phone.in .phone-sheet { animation: sheet var(--loop) var(--ease-out) infinite; }
.phone.in .phone-app-menvi img { animation: tap var(--loop) ease infinite; }
.phone.in .phone-toast { animation: saved var(--loop) var(--ease-out) infinite; }

@keyframes sheet {
  0%, 8% { transform: translateY(105%); }
  18%, 52% { transform: translateY(0); }
  62%, 100% { transform: translateY(105%); }
}

@keyframes tap {
  0%, 36% { transform: scale(1); box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.6); }
  42% { transform: scale(0.86); box-shadow: inset 0 0 0 2px var(--magenta), 0 0 0 8px rgba(217, 70, 239, 0.25); }
  50%, 100% { transform: scale(1); box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.6); }
}

@keyframes saved {
  0%, 60% { opacity: 0; transform: translate(-50%, 12px) scale(0.9); }
  68%, 90% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  98%, 100% { opacity: 0; transform: translate(-50%, -8px) scale(0.96); }
}

@media (min-width: 900px) {
  .lp-app {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-sheet { transform: none; }
  .phone-toast { opacity: 1; transform: translate(-50%, 0); top: 30%; }
}
