/* ===========================================
   RECUERDA — LANDING PAGE
   index.css (Onboarding)
   =========================================== */

/* Remove o padding-bottom do body global para a landing ter footer */
.landing-body {
  padding-bottom: 0 !important;
}

/* ===================================================
   LAYOUT BASE DA LANDING
   =================================================== */

.lp-section {
  padding: clamp(4rem, 10vh, 7rem) 1.5rem;
}

.lp-container {
  max-width: 700px;
  margin: 0 auto;
}

.lp-container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto 0;
}

/* ===================================================
   HERO
   =================================================== */

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  padding-top: clamp(3rem, 8vh, 5rem);
  text-align: center;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-eyebrow {
  animation: fadeUp 0.6s ease both;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 15ch;
  animation: fadeUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 48ch;
  line-height: 1.7;
  margin: 0;
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.6s ease 0.3s both;
}

/* Preview do Produto no Hero */
.hero-preview {
  position: relative;
  width: 100%;
  max-width: 860px;
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center, oklch(75% 0.14 200 / 12%) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Mockup de Browser */
.browser-mockup {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px oklch(0% 0 0 / 8%);
  overflow: hidden;
}

.browser-bar {
  background: oklch(96% 0.01 200);
  border-bottom: 1px solid oklch(0% 0 0 / 6%);
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.browser-dots {
  display: flex;
  gap: 0.4rem;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: oklch(0% 0 0 / 12%);
}

.browser-url {
  flex: 1;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border: 1px solid oklch(0% 0 0 / 6%);
  text-align: center;
}

.browser-content {
  padding: 1.5rem;
  min-height: 300px;
}

/* ===================================================
   PLACEHOLDERS DE SCREENSHOT (Serão substituídos por imgs reais)
   =================================================== */

.product-screenshot-placeholder {
  background: var(--bg-app);
  border-radius: var(--radius-md);
  min-height: 260px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Elementos de placeholder animados */
.ph-line {
  height: 14px;
  border-radius: var(--radius-full);
  background: oklch(0% 0 0 / 7%);
  animation: skeleton-pulse 2s ease infinite;
}

.ph-line-lg { width: 65%; }
.ph-line-sm { width: 40%; }

.ph-card {
  height: 70px;
  border-radius: var(--radius-md);
  background: oklch(0% 0 0 / 5%);
  flex: 1;
}

.ph-card-wide { flex: 2; }

.placeholder-memorial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.placeholder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-blue);
  opacity: 0.3;
  flex-shrink: 0;
}

.placeholder-lines { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }

.placeholder-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Dashboard placeholder */
.ph-dashboard {
  flex-direction: row;
  gap: 1rem;
  min-height: 220px;
}

.ph-nav-sidebar {
  width: 48px;
  background: oklch(0% 0 0 / 4%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  gap: 0.8rem;
  flex-shrink: 0;
}

.ph-nav-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: oklch(0% 0 0 / 12%);
}

.ph-nav-dot.active { background: var(--color-primary); opacity: 0.8; }

.ph-content { flex: 1; display: flex; flex-direction: column; gap: 0.8rem; }

.ph-search-bar {
  height: 36px;
  border-radius: var(--radius-full);
  background: oklch(0% 0 0 / 5%);
}

.ph-card-row { display: flex; gap: 0.8rem; }

.ph-mem-card {
  flex: 1;
  height: 120px;
  border-radius: var(--radius-md);
  background: oklch(0% 0 0 / 5%);
}

/* Memorial placeholder */
.ph-memorial {
  min-height: 280px;
  padding: 0;
  gap: 0;
}

.ph-hero-banner {
  height: 80px;
  background: var(--gradient-blue);
  opacity: 0.5;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.ph-memorial-body {
  padding: 1rem;
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ===================================================
   SEÇÃO "COMO FUNCIONA" — 3 Passos
   =================================================== */

.steps-section {
  background: var(--bg-surface);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 3rem;
}

.step-card {
  flex: 1 1 220px;
  max-width: 300px;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.step-card h3 {
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary-light), var(--color-primary));
  align-self: center;
  flex-shrink: 0;
  opacity: 0.3;
  margin-bottom: 2rem;
}

@media (max-width: 700px) {
  .step-connector { display: none; }
  .steps-grid { flex-direction: column; align-items: center; }
}

/* ===================================================
   SEÇÕES DE FEATURE (Dashboard + Memorial)
   =================================================== */

.feature-section {
  background: var(--bg-app);
}

.feature-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.feature-reversed .feature-content {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1 1 320px;
}

.feature-text h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.feature-text p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Lista de funcionalidades */
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: oklch(88% 0.12 150);
  color: oklch(30% 0.12 150);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Frame de Tela */
.feature-visual {
  flex: 1 1 380px;
}

.screen-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px oklch(0% 0 0 / 6%);
  background: var(--bg-surface);
}

@media (max-width: 750px) {
  .feature-content, .feature-reversed .feature-content {
    flex-direction: column;
  }
}

/* ===================================================
   VALORES
   =================================================== */

.values-section {
  background: var(--bg-surface);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2rem;
  border-radius: var(--radius-lg) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md) !important;
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===================================================
   FINAL CTA
   =================================================== */

.cta-section {
  background: var(--bg-app);
}

.cta-card {
  background: var(--gradient-blue);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 5rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-card h2 {
  color: white;
  margin-bottom: 0;
  text-shadow: 0 2px 4px oklch(0% 0 0 / 15%);
}

.cta-card > p {
  color: white;
  opacity: 0.9;
  max-width: 40ch;
  margin: 0;
  text-shadow: 0 1px 3px oklch(0% 0 0 / 10%);
}

.cta-card .btn-primary {
  background: white;
  color: var(--color-primary-dark);
  text-shadow: none;
  box-shadow: 0 10px 30px -8px oklch(0% 0 0 / 20%);
}

.cta-card .btn-primary:hover {
  filter: brightness(0.97);
  transform: translateY(-2px);
}

.cta-footnote {
  font-size: 0.82rem;
  color: white !important;
  opacity: 0.6;
  margin: 0 !important;
  text-shadow: 0 1px 2px oklch(0% 0 0 / 10%);
}

/* ===================================================
   FOOTER
   =================================================== */

.lp-footer {
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 3rem 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: white;
}

.footer-brand p {
  color: oklch(100% 0 0 / 50%);
  font-size: 0.9rem;
  margin: 0.4rem 0 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: oklch(100% 0 0 / 60%);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  color: oklch(100% 0 0 / 30%);
  font-size: 0.8rem;
  margin: 0;
}

/* ===================================================
   ANIMAÇÕES
   =================================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================================
   RESPONSIVIDADE GERAL
   =================================================== */

@media (max-width: 600px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }
}
