/* spec 019 — landing pública. Só tokens --rm-* (rm.css); sem site.css/Bootstrap. */

.ld {
  margin: 0;
  background: var(--rm-bg);
  color: var(--rm-text);
  font-family: var(--rm-font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.ld *,
.ld *::before,
.ld *::after {
  box-sizing: border-box;
}
.ld h1,
.ld h2,
.ld h3 {
  font-family: var(--rm-font-display);
  color: var(--rm-text);
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.ld p {
  margin: 0;
}
.ld a {
  color: var(--rm-accent-text);
}
.ld :focus-visible {
  outline: 2px solid var(--rm-accent-text);
  outline-offset: 3px;
  border-radius: var(--rm-r-sm);
}
.ld-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.ld-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ld-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--rm-accent);
  color: var(--rm-on-accent) !important;
  padding: 8px 14px;
  border-radius: var(--rm-r-sm);
  text-decoration: none;
}
.ld-skip:focus {
  top: 12px;
}

/* ---------- botões ---------- */
.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--rm-r);
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.ld-btn-sm {
  padding: 7px 14px;
  font-size: 0.875rem;
}
.ld-btn-lg {
  padding: 13px 22px;
  font-size: 1rem;
}
.ld .ld-btn-primary {
  background: var(--rm-accent);
  color: var(--rm-on-accent);
}
.ld .ld-btn-primary:hover {
  background: var(--rm-accent-hover);
}
.ld .ld-btn-ghost {
  border-color: var(--rm-line-strong);
  color: var(--rm-text);
  background: transparent;
}
.ld .ld-btn-ghost:hover {
  background: var(--rm-surface-2);
}

/* ---------- topo ---------- */
.ld-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rm-line);
}
.ld-top-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.ld .ld-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rm-text);
  text-decoration: none;
  font-family: var(--rm-font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.ld-brand .rm-logo-mark {
  width: 30px;
  height: 30px;
}
.ld-top-links {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}
.ld .ld-top-links a {
  color: var(--rm-text-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--rm-r-sm);
}
.ld .ld-top-links a:hover {
  color: var(--rm-text);
  background: var(--rm-surface-2);
}
.ld-top-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* ---------- hero ---------- */
.ld-hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(72, 101, 240, 0.22), transparent 70%),
    radial-gradient(40% 50% at 10% 0%, rgba(72, 101, 240, 0.1), transparent 70%);
}
.ld-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}
.ld-eyebrow,
.ld-kicker {
  display: inline-block;
  color: var(--rm-accent-text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ld-eyebrow {
  padding: 5px 12px;
  border: 1px solid rgba(72, 101, 240, 0.45);
  background: rgba(72, 101, 240, 0.12);
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: none;
}
.ld-hero h1 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
}
.ld-hero h1 em {
  font-style: normal;
  color: var(--rm-accent-text);
}
.ld-lead {
  margin-top: 20px !important;
  max-width: 560px;
  font-size: 1.125rem;
  color: var(--rm-text-2);
}
.ld-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.ld-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  color: var(--rm-text-2);
  font-size: 0.9rem;
}
.ld-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ld-checks li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rm-success-soft);
  box-shadow: inset 0 0 0 5px var(--rm-success);
  opacity: 0.9;
}

/* ---------- celular de demonstração ---------- */
.ld-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 40px;
}
.ld-phone {
  width: min(300px, 100%);
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 40px;
  background: var(--rm-surface-2);
  border: 1px solid var(--rm-line-strong);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.02);
}
.ld-phone-screen {
  position: relative;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  background: rgba(30, 16, 46, 1); /* demo */
}
.ld-phone-bars {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 4px;
}
.ld-phone-bars i {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.ld-phone-bars i::after {
  content: "";
  display: block;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  transform: scaleX(0);
  transform-origin: left;
  animation: ld-bar 9s linear infinite;
}
.ld-phone-bars i:nth-child(2)::after {
  animation-name: ld-bar-2;
}
.ld-phone-bars i:nth-child(3)::after {
  animation-name: ld-bar-3;
}
@keyframes ld-bar {
  0% { transform: scaleX(0); }
  33.3% { transform: scaleX(1); }
  100% { transform: scaleX(1); }
}
@keyframes ld-bar-2 {
  0%, 33.3% { transform: scaleX(0); }
  66.6% { transform: scaleX(1); }
  100% { transform: scaleX(1); }
}
@keyframes ld-bar-3 {
  0%, 66.6% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.ld-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 48px 22px 36px;
  opacity: 0;
  animation: ld-scene 9s infinite;
}
.ld-scene-1 {
  background:
    radial-gradient(80% 50% at 20% 85%, rgba(255, 190, 60, 0.35), transparent 70%), /* demo */
    linear-gradient(160deg, rgba(58, 28, 84, 1), rgba(24, 12, 38, 1)); /* demo */
}
.ld-scene-2 {
  animation-delay: 3s;
  background:
    radial-gradient(70% 45% at 80% 15%, rgba(255, 190, 60, 0.3), transparent 70%), /* demo */
    linear-gradient(200deg, rgba(48, 22, 72, 1), rgba(20, 10, 32, 1)); /* demo */
}
.ld-scene-3 {
  animation-delay: 6s;
  align-items: flex-start;
  background: linear-gradient(170deg, rgba(255, 190, 60, 1), rgba(240, 150, 40, 1)); /* demo */
}
@keyframes ld-scene {
  0% { opacity: 0; transform: scale(1.04); }
  4% { opacity: 1; transform: scale(1); }
  31% { opacity: 1; transform: scale(1); }
  35% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 0; }
}
.ld-tag {
  align-self: flex-start;
  font-family: var(--rm-font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}
.ld-scene-3 .ld-tag {
  background: rgba(30, 16, 46, 0.18); /* demo */
  color: rgba(30, 16, 46, 0.9); /* demo */
}
.ld-kinetic {
  font-family: var(--rm-font-display);
  font-weight: 800;
  font-size: 2.15rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
}
.ld-kinetic.ld-small {
  font-size: 1.7rem;
}
.ld-scene-3 .ld-kinetic {
  color: rgba(30, 16, 46, 1); /* demo */
  font-size: 2.6rem;
}
.ld-kinetic span {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: ld-word 9s infinite;
}
.ld-hl {
  color: rgba(255, 196, 70, 1); /* demo */
}
.ld-scene-3 .ld-hl {
  color: rgba(255, 255, 255, 1);
  background: rgba(30, 16, 46, 1); /* demo */
  padding: 0 8px;
  border-radius: 6px;
}
@keyframes ld-word {
  0% { opacity: 0; transform: translateY(14px); }
  4% { opacity: 1; transform: translateY(0); }
  31% { opacity: 1; transform: translateY(0); }
  34% { opacity: 0; }
  100% { opacity: 0; }
}
.ld-scene-1 .ld-kinetic span:nth-child(1) { animation-delay: 0.15s; }
.ld-scene-1 .ld-kinetic span:nth-child(2) { animation-delay: 0.3s; }
.ld-scene-1 .ld-kinetic span:nth-child(3) { animation-delay: 0.45s; }
.ld-scene-1 .ld-kinetic span:nth-child(4) { animation-delay: 0.6s; }
.ld-scene-2 .ld-kinetic span:nth-child(1) { animation-delay: 3.15s; }
.ld-scene-2 .ld-kinetic span:nth-child(2) { animation-delay: 3.3s; }
.ld-scene-2 .ld-kinetic span:nth-child(3) { animation-delay: 3.45s; }
.ld-scene-2 .ld-kinetic span:nth-child(4) { animation-delay: 3.6s; }
.ld-scene-3 .ld-kinetic span:nth-child(1) { animation-delay: 6.15s; }
.ld-scene-3 .ld-kinetic span:nth-child(2) { animation-delay: 6.3s; }
.ld-scene-3 .ld-kinetic span:nth-child(3) { animation-delay: 6.45s; }
.ld-bubble {
  align-self: flex-start;
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.95);
  color: rgba(30, 16, 46, 1); /* demo */
  font-size: 0.85rem;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.ld-demo-logo {
  position: absolute;
  bottom: 28px;
  right: 22px;
  font-family: var(--rm-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(30, 16, 46, 0.85); /* demo */
}

.ld-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--rm-surface);
  border: 1px solid var(--rm-line-strong);
  box-shadow: var(--rm-shadow-pop);
  color: var(--rm-text);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.ld-float svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--rm-accent-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ld-float-1 { top: 16%; left: 0; }
.ld-float-2 { top: 30%; right: 0; }
.ld-float-3 { bottom: 12%; left: 4%; }
.ld-swatches {
  display: inline-flex;
}
.ld-swatches b {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--rm-surface);
  margin-left: -4px;
}
.ld-swatches b:nth-child(1) { margin-left: 0; background: rgba(58, 28, 84, 1); } /* demo */
.ld-swatches b:nth-child(2) { background: rgba(255, 190, 60, 1); } /* demo */
.ld-swatches b:nth-child(3) { background: rgba(255, 255, 255, 1); }

/* ---------- números ---------- */
.ld-facts {
  border-top: 1px solid var(--rm-line);
  border-bottom: 1px solid var(--rm-line);
  background: var(--rm-surface);
}
.ld-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ld-facts-grid div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 24px;
  border-left: 1px solid var(--rm-line);
}
.ld-facts-grid div:first-child {
  border-left: 0;
  padding-left: 0;
}
.ld-facts strong {
  font-family: var(--rm-font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ld-facts span {
  color: var(--rm-text-2);
  font-size: 0.9rem;
}

/* ---------- seções ---------- */
.ld-section {
  padding: 96px 0;
  scroll-margin-top: 64px;
}
.ld-section-alt {
  background: var(--rm-surface);
  border-top: 1px solid var(--rm-line);
  border-bottom: 1px solid var(--rm-line);
}
.ld-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.ld-head h2 {
  margin-top: 10px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
  font-weight: 800;
}
.ld-head p {
  margin-top: 14px;
  color: var(--rm-text-2);
  font-size: 1.05rem;
}

.ld-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}
.ld-steps li {
  position: relative;
  padding: 28px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-r-lg);
  background: var(--rm-surface);
}
.ld-step-n {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--rm-accent);
  color: var(--rm-on-accent);
  font-family: var(--rm-font-display);
  font-weight: 800;
  margin-bottom: 18px;
}
.ld-steps h3,
.ld-features h3,
.ld-audience h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
.ld-steps p,
.ld-features p,
.ld-audience p {
  margin-top: 8px;
  color: var(--rm-text-2);
  font-size: 0.95rem;
}

.ld-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ld-features article {
  padding: 26px;
  border-radius: var(--rm-r-lg);
  border: 1px solid var(--rm-line);
  background: var(--rm-bg);
  transition: border-color 0.15s;
}
.ld-features article:hover {
  border-color: var(--rm-line-strong);
}
.ld-features svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--rm-accent-soft);
  fill: none;
  stroke: var(--rm-accent-text);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ld-shot {
  margin: 0;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--rm-line-strong);
  background: var(--rm-surface);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 120px rgba(72, 101, 240, 0.12);
}
.ld-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.ld-audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ld-audience article {
  padding: 28px;
  border-radius: var(--rm-r-lg);
  background: var(--rm-bg);
  border: 1px solid var(--rm-line);
  border-top: 3px solid var(--rm-accent);
}

.ld-faq-wrap {
  max-width: 820px;
}
.ld-faq details {
  border-bottom: 1px solid var(--rm-line);
}
.ld-faq details:first-child {
  border-top: 1px solid var(--rm-line);
}
.ld-faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.ld-faq summary::-webkit-details-marker {
  display: none;
}
.ld-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rm-accent-text);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.ld-faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.ld-faq details p {
  padding: 0 40px 22px 0;
  color: var(--rm-text-2);
}

.ld-final {
  padding: 96px 0;
  background:
    radial-gradient(50% 80% at 50% 100%, rgba(72, 101, 240, 0.28), transparent 70%),
    var(--rm-bg);
  border-top: 1px solid var(--rm-line);
}
.ld-final-inner {
  text-align: center;
}
.ld-final h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 800;
}
.ld-final p {
  margin: 14px 0 30px;
  color: var(--rm-text-2);
  font-size: 1.1rem;
}

/* ---------- rodapé ---------- */
.ld-foot {
  border-top: 1px solid var(--rm-line);
  padding: 36px 0;
  color: var(--rm-text-3);
  font-size: 0.9rem;
}
.ld-foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.ld-foot-inner p {
  flex: 1;
  min-width: 200px;
}
.ld-foot nav {
  display: flex;
  gap: 18px;
}
.ld-foot nav a {
  color: var(--rm-text-2);
  text-decoration: none;
}
.ld-foot nav a:hover {
  color: var(--rm-text);
}
.ld-foot small {
  width: 100%;
  color: var(--rm-text-3);
}

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .ld-top-links {
    display: none;
  }
  .ld-hero {
    padding: 56px 0 48px;
  }
  .ld-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .ld-steps,
  .ld-features,
  .ld-audience {
    grid-template-columns: minmax(0, 1fr);
  }
  .ld-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ld-facts-grid div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .ld-facts-grid div:nth-child(n + 3) {
    border-top: 1px solid var(--rm-line);
  }
  .ld-section,
  .ld-final {
    padding: 64px 0;
  }
}
@media (max-width: 520px) {
  .ld-wrap {
    padding: 0 16px;
  }
  .ld-top-inner {
    gap: 12px;
  }
  .ld .ld-brand span {
    display: none;
  }
  .ld-hero-visual {
    padding: 12px 0;
  }
  .ld-float-1 { left: -4px; }
  .ld-float-2 { right: -4px; }
  .ld-actions .ld-btn {
    flex: 1 1 100%;
  }
  .ld-facts-grid div {
    padding: 20px 12px;
  }
}

/* ---------- movimento reduzido: para a demo no gancho ---------- */
@media (prefers-reduced-motion: reduce) {
  .ld-scene,
  .ld-kinetic span,
  .ld-phone-bars i::after {
    animation: none !important;
  }
  .ld-scene-1,
  .ld-scene-1 .ld-kinetic span {
    opacity: 1;
    transform: none;
  }
  .ld-phone-bars i:first-child::after {
    transform: scaleX(1);
  }
  .ld-btn,
  .ld-faq summary::after {
    transition: none;
  }
}
