/* Landing de produto + kit builder */
.lp-hero {
  background: var(--black);
  color: #f5f5f5;
  padding: 2rem 0 2.5rem;
  border-bottom: 4px solid var(--orange);
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.lp-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0.5rem 0 0.75rem;
  letter-spacing: 0.02em;
}
.lp-hero .lede {
  color: rgba(245, 245, 245, 0.8);
  margin: 0 0 1rem;
  max-width: 36rem;
}
.lp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.lp-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.55rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.lp-gallery-main {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #222;
  border: 2px solid var(--orange);
  min-height: 260px;
}
.lp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}
.lp-thumbs button {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #333;
}
.lp-thumbs button.active,
.lp-thumbs button:hover {
  border-color: var(--orange);
}
.lp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0 3rem;
}
.lp-main > section {
  margin-bottom: 2.5rem;
}
.lp-main h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.65rem;
  margin: 0 0 1rem;
  color: var(--black);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  border-top: 3px solid var(--red);
}
.benefit-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}
.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.step-mini {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}
.step-mini .n {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.step-mini p {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.lp-aside {
  position: sticky;
  top: calc(var(--header-h) + 0.75rem);
}
.checkout-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.checkout-panel .panel-head {
  background: var(--black);
  color: #fff;
  padding: 1rem 1.15rem;
  border-bottom: 3px solid var(--orange);
}
.checkout-panel .panel-head h2 {
  margin: 0;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.checkout-panel .panel-head p {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}
.panel-body {
  padding: 1rem 1.15rem 1.2rem;
}

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.order-line .name {
  font-weight: 600;
}
.order-line .price {
  font-weight: 700;
  white-space: nowrap;
}
.order-line.base .name {
  color: var(--red);
}

.upsell-block {
  margin-top: 1rem;
}
.upsell-block h3 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-deep);
  font-weight: 800;
}
.upsell-block .blurb {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.upsell-item {
  display: grid;
  grid-template-columns: 22px 52px 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.upsell-item:hover {
  background: rgba(255, 106, 0, 0.04);
}
.upsell-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}
.upsell-item .meta .t {
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
}
.upsell-item .meta .s {
  font-size: 0.75rem;
  color: var(--muted);
}
.upsell-item .p {
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
}
.upsell-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}
.upsell-item .rec {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 0.04em;
}

.totals {
  margin-top: 1rem;
  padding-top: 0.25rem;
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}
.total-row.big {
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 0.5rem;
}
.total-row.pix {
  color: var(--pix);
  font-weight: 700;
}
.total-row.btc {
  color: #b8860b;
  font-weight: 700;
}
.ship-ok {
  color: var(--pix);
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0.4rem 0 0.7rem;
}
.ship-miss {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.4rem 0 0.7rem;
}

.pay-methods {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.pay-methods label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.pay-methods label.active {
  border-color: var(--orange);
  background: rgba(255, 106, 0, 0.08);
}
.pay-methods input {
  accent-color: var(--red);
}

.checkout-actions {
  display: grid;
  gap: 0.5rem;
}
.checkout-actions .btn {
  width: 100%;
}

.lp-video {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--black);
  aspect-ratio: 16 / 9;
  background: #000;
}
.lp-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.install-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  background: var(--sand);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--orange);
}
.install-box strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.install-box span {
  font-weight: 700;
}

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

  /* Pedido primeiro no mobile (antes de texto longo / FAQ) */
  .lp-layout {
    display: flex;
    flex-direction: column;
    padding-bottom: 1.5rem;
  }
  .lp-aside {
    order: -1;
    position: static;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .lp-main {
    order: 1;
  }

  .checkout-panel {
    /* evita painel “infinito” escondendo o botão no fim */
    max-height: none;
  }
  .checkout-panel .panel-body {
    /* upsells rolam; ações de finalizar ficam acessíveis */
    display: flex;
    flex-direction: column;
  }
  .checkout-panel .checkout-actions {
    position: sticky;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    z-index: 5;
    background: linear-gradient(180deg, transparent, #fff 18%);
    padding-top: 0.75rem;
    margin-top: 0.25rem;
  }
  .checkout-panel .checkout-actions .btn {
    min-height: 48px;
  }

  .benefit-grid,
  .steps-row {
    grid-template-columns: 1fr 1fr;
  }

  .lp-gallery-main {
    min-height: 220px;
  }

  .lp-thumbs button {
    width: 56px;
    height: 56px;
  }
}
@media (max-width: 560px) {
  .benefit-grid,
  .steps-row {
    grid-template-columns: 1fr;
  }
  .upsell-item {
    grid-template-columns: 22px 44px 1fr;
    gap: 0.45rem;
  }
  .upsell-item .p {
    grid-column: 3;
    justify-self: start;
  }
  .upsell-item img {
    width: 44px;
    height: 44px;
  }
}
