/* Landing page (index.html) — complementa style.css, mesma identidade visual. */

.landing strong {
  color: var(--text);
}

.lp-hero {
  padding: 72px 0 48px;
}

.lp-hero h1 {
  max-width: 820px;
}

.lp-trust {
  font-size: 14px !important;
  color: var(--text-dim) !important;
  margin-top: 8px !important;
}

.lp-section {
  padding: 72px 0;
}

.lp-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head h2 + p,
.section-head p {
  font-size: 17px;
}

/* ---------- Teste rápido ---------- */

.lp-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.lp-check {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font: 500 16px/1.4 var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.lp-check:hover {
  border-color: var(--purple);
}

.lp-check:active {
  transform: scale(0.99);
}

.lp-check-box {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 7px;
  border: 2px solid var(--text-dim);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lp-check[aria-pressed="true"] {
  background: var(--gradient-soft);
  border-color: var(--pink);
}

.lp-check[aria-pressed="true"] .lp-check-box {
  background: var(--gradient);
  border-color: transparent;
}

.lp-check[aria-pressed="true"] .lp-check-box::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2.5px solid #12081f;
  border-bottom: 2.5px solid #12081f;
  transform: translateY(-1px) rotate(-45deg);
}

.lp-result {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  text-align: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.lp-result.ativo {
  border: 1px solid var(--pink);
  background: var(--gradient-soft);
}

.lp-result-title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
}

.lp-result:not(.ativo) .lp-result-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dim);
}

.lp-result-text {
  margin: 8px auto 0;
  max-width: 560px;
  color: var(--text-muted);
}

.lp-result-text:empty {
  display: none;
}

.lp-result .btn {
  margin-top: 18px;
}

.lp-result .btn[hidden] {
  display: none;
}

/* ---------- Antes x depois ---------- */

.lp-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.lp-compare-col {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.lp-compare-col h3 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: 20px;
}

.lp-compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-compare-col li {
  position: relative;
  padding-left: 30px;
  color: var(--text-muted);
}

.lp-compare-col li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.lp-before li::before {
  content: "✕";
  background: rgba(154, 135, 189, 0.15);
  color: var(--text-dim);
}

.lp-after {
  border-color: var(--purple);
  background: var(--gradient-soft), var(--surface);
  box-shadow: var(--shadow-card);
}

.lp-after h3 {
  color: var(--yellow);
}

.lp-after li {
  color: var(--text);
}

.lp-after li::before {
  content: "✓";
  background: var(--gradient);
  color: #12081f;
}

.lp-compare-arrow {
  color: var(--pink);
  width: 36px;
  height: 36px;
}

/* ---------- Benefícios ---------- */

.lp-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-benefit {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.lp-benefit h3 {
  margin: 16px 0 8px;
  font-family: var(--font-title);
  font-size: 18px;
}

.lp-benefit p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.lp-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  color: var(--yellow);
}

.lp-icon svg {
  width: 22px;
  height: 22px;
}

/* ---------- Casos ---------- */

.lp-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.lp-case {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.lp-case-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.lp-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.lp-case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.lp-case-who {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
}

.lp-case h3 {
  margin: 0 0 4px;
  font-family: var(--font-title);
  font-size: 20px;
  line-height: 1.25;
}

.lp-case p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

.lp-case .project-link {
  margin-top: auto;
  padding-top: 8px;
}

.lp-more {
  margin: 32px 0 0;
  text-align: center;
}

.lp-more a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
}

.lp-more a:hover {
  text-decoration: underline;
}

/* ---------- Passos ---------- */

.lp-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: none;
}

.lp-steps li {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.lp-step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: #12081f;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 18px;
}

.lp-steps h3 {
  margin: 16px 0 8px;
  font-family: var(--font-title);
  font-size: 18px;
}

.lp-steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Para quem é ---------- */

.lp-chips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-chips li {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 15px;
}

/* ---------- FAQ ---------- */

.lp-faq-wrap {
  max-width: 820px;
}

.lp-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-faq details {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.lp-faq details[open] {
  border-color: var(--purple);
}

.lp-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  position: relative;
  font-weight: 700;
  font-size: 16px;
}

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

.lp-faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--pink);
  transition: transform 0.2s ease;
}

.lp-faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.lp-faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--text-muted);
}

/* ---------- Chamada final ---------- */

.lp-final-card {
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--radius-lg);
  background: var(--gradient-soft), var(--surface);
  border: 1px solid var(--purple);
  box-shadow: var(--shadow-card);
}

.lp-final-card h2 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.01em;
}

.lp-final-card p {
  margin: 0 auto 28px;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 17px;
}

.landing .site-footer a {
  color: var(--text-muted);
}

/* ---------- Botão fixo (celular) ---------- */

.lp-sticky {
  display: none;
}

/* ---------- Responsivo ---------- */

@media (max-width: 960px) {
  .lp-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  /* Na landing o header não tem menu: mantém o botão de WhatsApp visível */
  .landing .nav-cta {
    display: inline-flex;
    padding: 8px 14px;
    font-size: 13px;
  }

  .landing .site-header .container {
    height: 64px;
  }

  .lp-hero {
    padding: 48px 0 32px;
  }

  .lp-hero h1 {
    font-size: 34px;
  }

  .lp-hero p {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .lp-section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .lp-checklist,
  .lp-benefits,
  .lp-cases,
  .lp-steps {
    grid-template-columns: 1fr;
  }

  .lp-check {
    font-size: 15px;
    padding: 16px;
  }

  .lp-compare {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lp-compare-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .lp-compare-col,
  .lp-benefit,
  .lp-steps li {
    padding: 22px;
  }

  .lp-result .btn,
  .lp-final-card .btn {
    width: 100%;
    justify-content: center;
  }

  .lp-final-card {
    padding: 40px 20px;
  }

  .landing .site-footer {
    padding-bottom: 96px;
  }

  .lp-sticky {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border-radius: 999px;
    background: var(--gradient);
    color: #12081f;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 12px 32px -8px rgba(236, 72, 153, 0.6);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .lp-sticky.escondido {
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
  }
}
