/* Visual copiado do checkout da vitrine (vitrine-checkout/public/css/checkout.css), parte 5 de 6 */
.upsell-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
  background: #fff;
}
.upsell-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 64px;
  border: 1px solid #eadfce;
}
.upsell-body {
  flex: 1 1 auto;
  min-width: 0;
}
.upsell-nome {
  font-weight: 700;
  color: var(--espresso-2);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.upsell-preco {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}
.upsell-desc {
  color: var(--text-muted);
  font-size: 13px;
  margin: 6px 0 0;
}
#upsell-pay {
  margin: 8px 0;
}
.upsell-nao {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 14px;
  padding: 10px;
  margin-top: 8px;
  cursor: pointer;
  text-decoration: underline;
}
.upsell-ok {
  color: #2e7d5b;
  font-weight: 700;
  text-align: center;
  margin-top: 16px;
}
.upsell-erro {
  color: #b3261e;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

/* -------- Trava de overflow / brick -------- */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
#payment-brick {
  max-width: 100%;
  overflow-x: hidden;
}
#payment-brick iframe {
  max-width: 100% !important;
  width: 100% !important;
}

/* -------- Responsivo -------- */
@media (max-width: 950px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-right: 0;
    gap: 0;
  }
  .hero__copy {
    padding: 30px 28px 26px 0;
  }
  .hero__media {
    min-height: 210px;
    margin-right: 0;
  }
  .hero__media::before {
    background: linear-gradient(
      180deg,
      var(--espresso) 0%,
      rgba(33, 20, 15, 0.72) 18%,
      rgba(33, 20, 15, 0.15) 55%,
      transparent 80%
    );
  }
  .faixa-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .faixa-inner li + li {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .topo-inner {
    min-height: 60px;
    padding: 0 16px;
  }
  .marca {
    font-size: 21px;
  }
  .seguro {
    padding: 7px 10px;
    font-size: 11px;
  }
  .hero {
    min-height: 0;
  }
  .hero__inner {
    min-height: 0;
    padding: 0 0 0 16px;
  }
  .hero__copy {
    padding: 26px 16px 24px 0;
  }
  .hero__media {
    min-height: 170px;
  }
  .hero__media img {
    min-height: 170px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .faixa-inner {
    padding: 13px 16px;
  }
  .checkout {
    padding: 16px 12px 44px;
  }
  .cartao {
    padding: 18px 16px;
    border-radius: 15px;
  }
  .grid-form {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .grid-form .campo {
    margin-bottom: 15px;
  }
  .titulo-secao {
    font-size: 27px;
  }
  .ajuda {
    margin-left: 0;
  }
  .bump-linha {
    grid-template-columns: 70px 1fr;
  }
  .bump-thumb {
    width: 70px;
    height: 70px;
  }
  .selos-seguranca {
    gap: 8px;
  }
}
/* =====================================================================
   Extras da Vitrine (rodapé de marca + aviso LGPD) — paleta clara,
   mesma linguagem do checkout do Diagnóstico. Só cores/fonte; layout
   do rodapé preservado.
   ===================================================================== */
.lgpd-aviso {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.lgpd-aviso a,
.rodape a {
  color: var(--accent);
  font-weight: 700;
}
.rodape ul a:hover {
  color: var(--primary);
}

.rodape {
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding: 52px 0 0;
  text-align: left;
  background: var(--surface);
}
.rodape .wrap {
  width: min(1280px, 92%);
  margin: 0 auto;
  padding: 0 24px;
}
.rodape-in {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.rodape .marca-pe {
  color: var(--espresso);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.04em;
  line-height: 0.94;
  margin-bottom: 18px;
}
.rodape .marca-pe em {
  font-style: normal;
  color: var(--accent);
  display: block;
}
