/* ============================================================
   LINGUIFY — product.css
   Estilos das PÁGINAS INDIVIDUAIS de produto e da página de
   checkout. Depende de css/styles.css (tokens de cor, fontes,
   .btn, .site-header, .site-footer) — sempre carregado antes.

   Identidade: mesmo sistema visual do hub (navy + gold, Space
   Grotesk / Inter / IBM Plex Mono). A força comercial vem da
   ESTRUTURA (hero → passos → o que recebe → bônus → garantia →
   FAQ → CTA), migrada da página de vendas comprovada de Friends.
   ============================================================ */

.pdp {
  --pdp-max: 1120px;
}

/* Layout base ---------------------------------------------------- */
.pdp-section {
  padding: clamp(48px, 7vw, 84px) clamp(16px, 4vw, 48px);
}
.pdp-inner {
  max-width: var(--pdp-max);
  margin: 0 auto;
}
.pdp-section + .pdp-section {
  border-top: 1px solid var(--navy-800);
}
.pdp-section.tint {
  background: var(--navy-900);
}

.pdp-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: block;
  margin-bottom: 14px;
}
.pdp-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.1;
  margin-bottom: 14px;
}
.pdp-h2 .accent,
.pdp-hero-title .accent { color: var(--gold-500); }
.pdp-lead {
  color: var(--ink-200);
  font-size: clamp(15px, 1.5vw, 17px);
  max-width: 620px;
}

/* Anki Deck Preview dentro da página de produto/combo (css/anki-preview.css
   traz o componente; aqui só o enquadramento). */
.pdp-preview .ankp-host {
  margin-top: 26px;
  max-width: 640px;
}
@media (min-width: 720px) {
  .pdp-preview .ankp-host { margin-left: auto; margin-right: auto; }
}

/* Breadcrumb --------------------------------------------------- */
.pdp-breadcrumb {
  max-width: var(--pdp-max);
  margin: 0 auto;
  padding: 18px clamp(16px, 4vw, 48px) 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pdp-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.pdp-breadcrumb li { min-width: 0; overflow-wrap: anywhere; }
.pdp-breadcrumb a { color: var(--ink-300); }
.pdp-breadcrumb a:hover { color: var(--gold-400); }
.pdp-breadcrumb li[aria-current] { color: var(--ink-200); }
.pdp-breadcrumb .sep { color: var(--ink-500); }

/* Hero ------------------------------------------------------------ */
.pdp-hero {
  padding-top: clamp(28px, 4vw, 44px);
  background: radial-gradient(120% 90% at 82% 12%, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
}
/* Fase 8V — backdrop temático atrás do hero. Atmosfera, NÃO 2ª capa: a
   arte fica bem esmaecida e escurecida; a capa 3:4 continua sendo a
   representação principal do produto. */
.pdp-hero--backdrop {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.pdp-hero--backdrop .pdp-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center 34%;
  background-size: cover;
  opacity: 0.5;
  z-index: -2;
}
.pdp-hero--backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,13,31,0.55) 0%, rgba(6,13,31,0.78) 60%, var(--navy-950) 100%),
    linear-gradient(90deg, rgba(6,13,31,0.65) 0%, rgba(6,13,31,0.15) 55%);
}
@media (max-width: 720px) {
  .pdp-hero--backdrop .pdp-hero-bg { opacity: 0.22; }
}
.pdp-hero-grid {
  max-width: var(--pdp-max);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.pdp-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.pdp-hero-value {
  color: var(--ink-200);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 520px;
  margin-bottom: 26px;
}
.pdp-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.pdp-cta-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-300);
}
.pdp-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}
.pdp-hero-media::before {
  content: "";
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(242, 169, 59, 0.16);
  filter: blur(90px);
}
.pdp-hero-media > img {
  position: relative;
  max-height: 520px;
  width: auto;
  filter: drop-shadow(0 30px 60px rgba(2, 5, 14, 0.6));
}

/* Hero com a CAPA oficial (produto e bundle): a capa 3:4 (896x1200) ja e
   arte fechada (fundo navy, borda dourada, wordmark). O <img> tem a
   proporcao nativa 3:4 — basta limitar a largura, arredondar e sombrear. */
.pdp-hero-cover { align-items: center; }
.pdp-hero-cover::before { opacity: 0.55; width: 68%; }
.pdp-hero-cover img {
  width: 340px;
  max-width: 78vw;
  height: auto;
  max-height: 70vh;
  border-radius: var(--radius-lg);
  filter: none;
  box-shadow: 0 26px 60px -18px rgba(2, 5, 14, 0.75),
              0 0 0 1px rgba(242, 169, 59, 0.18);
}
@media (max-width: 960px) {
  .pdp-hero-cover img { width: 260px; }
}

/* Placeholder da capa (Fase 3C) — mesmo espaço que a imagem real vai ocupar.
   O usuário troca depois: images/products/<slug>/cover.webp + hero.image. */
.pdp-cover-ph {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--navy-600);
  background:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px) 0 0 / 14px 14px,
    linear-gradient(155deg, var(--navy-800), var(--navy-900));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-300);
  text-align: center;
  padding: 20px;
}
.pdp-cover-ph svg { width: 30px; height: 30px; color: var(--gold-500); opacity: 0.8; }
.pdp-cover-ph span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Price inline (hero / final CTA) ------------------------------- */
.pdp-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.pdp-price .old {
  color: var(--ink-500);
  text-decoration: line-through;
  font-size: 15px;
}
.pdp-price .now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 34px);
  color: var(--gold-400);
}
.pdp-price .badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy-950);
  background: var(--gold-500);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
}
.pdp-price-note {
  font-size: 12.5px;
  color: var(--ink-300);
  margin-top: -12px;
  margin-bottom: 22px;
}

/* Metrics ----------------------------------------------------- */
.pdp-metrics {
  display: grid;
  /* Número de métricas varia por produto (3, 4...) — colunas iguais ao
     número real de itens em vez de fixas em 4, senão sobra uma coluna
     vazia e a faixa fica desalinhada quando há menos de 4. */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(16px, 3vw, 32px);
  max-width: var(--pdp-max);
  margin: 0 auto;
}
.pdp-metric {
  border-left: 2px solid rgba(242, 169, 59, 0.55);
  padding-left: 14px;
  min-width: 0; /* impede blowout do grid quando o rótulo é longo */
}
.pdp-metric .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--gold-400);
}
.pdp-metric .lbl {
  font-size: 13px;
  color: var(--ink-300);
  margin-top: 4px;
}

/* Steps ----------------------------------------------------------- */
.pdp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.pdp-step {
  background: var(--navy-850);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  min-width: 0;
}
.pdp-step .step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.pdp-step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin: 10px 0 8px;
}
.pdp-step p { font-size: 14px; color: var(--ink-300); }

/* What you receive / card layers ------------------------------- */
.pdp-receive-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
}
.pdp-layers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.pdp-layer {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-850);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink-200);
  min-width: 0;
}
.pdp-layer svg { width: 15px; height: 15px; color: var(--gold-500); flex-shrink: 0; }
.pdp-receive-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Gallery ------------------------------------------------------- */
.pdp-gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: 24px;
  padding-bottom: 6px;
}
.pdp-gallery::-webkit-scrollbar { display: none; }
.pdp-gallery img {
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-800);
  max-height: 420px;
  width: auto;
}

/* Benefits --------------------------------------------------------- */
.pdp-benefits {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  max-width: 720px;
}
.pdp-benefits li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-200);
}
.pdp-benefits svg { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; margin-top: 3px; }

/* Bonuses ---------------------------------------------------------- */
.pdp-bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.pdp-bonus {
  display: flex;
  flex-direction: column;
  background: var(--navy-850);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-width: 0;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pdp-bonus:hover { transform: translateY(-3px); border-color: var(--gold-500); }
.pdp-bonus .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 14px;
}
.pdp-bonus h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}
.pdp-bonus p { font-size: 13.5px; color: var(--ink-300); flex: 1; }
.pdp-bonus .price {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-300);
}
.pdp-bonus .price del { color: var(--ink-500); margin-right: 8px; }
.pdp-bonus .price .free { font-family: var(--font-display); color: var(--gold-400); }

/* Offer card --------------------------------------------------- */
.pdp-offer {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid rgba(242, 169, 59, 0.32);
  border-radius: var(--radius-lg);
  background: var(--navy-850);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  box-shadow: 0 0 80px -24px rgba(242, 169, 59, 0.28);
}
.pdp-offer img {
  display: block;
  width: min(360px, 80%);
  margin: 0 auto 18px;
}
/* .pdp-price é `display:flex` sem justify-content — no hero (alinhado à
   esquerda) isso não aparece, mas aqui dentro do card centralizado da
   oferta o preço ficava "puxado" para a esquerda. */
.pdp-offer .pdp-price {
  justify-content: center;
}
.pdp-offer-includes {
  max-width: 420px;
  margin: 22px auto 0;
  text-align: left;
  display: grid;
  gap: 10px;
}
.pdp-offer-includes li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-200);
}
.pdp-offer-includes svg { width: 15px; height: 15px; color: var(--gold-500); flex-shrink: 0; margin-top: 3px; }
.pdp-seals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}
.pdp-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-300);
}
.pdp-seal svg { width: 15px; height: 15px; color: var(--gold-500); }

/* Guarantee ------------------------------------------------------- */
.pdp-guarantee-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  max-width: var(--pdp-max);
  margin: 0 auto;
}
.pdp-shield {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 1px solid rgba(242, 169, 59, 0.4);
  background: rgba(242, 169, 59, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}
.pdp-shield svg { width: 58px; height: 58px; }
.pdp-guarantee-grid p { color: var(--ink-200); max-width: 600px; margin-top: 8px; }
.pdp-guarantee-grid a { color: var(--gold-400); }
.pdp-guarantee-grid a:hover { text-decoration: underline; }

/* FAQ (native <details>) ------------------------------------------ */
.pdp-faq { max-width: 780px; margin: 26px auto 0; }
.pdp-faq details {
  border-bottom: 1px solid var(--navy-800);
}
.pdp-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}
.pdp-faq summary::-webkit-details-marker { display: none; }
.pdp-faq summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-300);
  border-bottom: 2px solid var(--ink-300);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}
.pdp-faq details[open] summary::after { transform: rotate(-135deg); }
.pdp-faq summary:hover { color: var(--gold-400); }
.pdp-faq .faq-a {
  padding: 0 0 18px;
  color: var(--ink-300);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Final CTA band --------------------------------------------------- */
.pdp-cta-band {
  text-align: center;
  background: var(--navy-900);
}
.pdp-cta-band .pdp-h2 { margin-bottom: 18px; }
.pdp-cta-band .btn { margin-top: 6px; }

/* Unavailable CTA state ----------------------------------------- */
.pdp-cta-unavailable {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.pdp-cta-unavailable small {
  font-size: 12px;
  color: var(--ink-300);
}

/* Back-to-catalog link --------------------------------------------- */
.pdp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-400);
  font-weight: 600;
  font-size: 14px;
  margin-top: 34px;
}
.pdp-back svg { width: 16px; height: 16px; }

/* ============================================================
   COMBO / BUNDLE PAGE
   Reaproveita todo o sistema .pdp-* das páginas de produto.
   Só o que é específico do combo vive aqui.
   ============================================================ */

/* Selo do combo no lugar da capa, no hero */
.pdp-bundle-badge {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(242, 169, 59, 0.4);
  background:
    radial-gradient(rgba(242, 169, 59, 0.10) 1px, transparent 1.4px) 0 0 / 16px 16px,
    linear-gradient(155deg, var(--navy-800), var(--navy-950));
  box-shadow: 0 0 80px -24px rgba(242, 169, 59, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
}
.pdp-bundle-badge svg { width: 34px; height: 34px; color: var(--gold-500); }
.pdp-bundle-badge span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-300);
}
.pdp-bundle-badge strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--gold-400);
  line-height: 1.05;
}

/* Lista de decks incluídos no combo */
.pdp-bundle-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  max-width: 760px;
}
.pdp-bundle-item {
  display: flex;
  gap: 14px;
  background: var(--navy-850);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.pdp-bundle-item > svg {
  width: 18px;
  height: 18px;
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 3px;
}
.pdp-bundle-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}
.pdp-bundle-item h3 a { color: var(--white); }
.pdp-bundle-item h3 a:hover { color: var(--gold-400); text-decoration: underline; }
.pdp-bundle-seasons {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-left: 6px;
}
.pdp-bundle-item p { font-size: 13.5px; color: var(--ink-300); }
.pdp-bundle-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-700);
  background: var(--navy-900);
  font-size: 13px;
  color: var(--ink-300);
  max-width: 760px;
}

/* ============================================================
   HUB DO CATÁLOGO (/anki/) — grade de capas 3:4
   ============================================================ */
/* flex-wrap com carta de largura fixa (mesmo padrão do catálogo da home,
   que evita o blowout de grid causado pela largura nativa da imagem). */
.hub-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 20px);
  margin-top: 28px;
}
.hub-card {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--navy-800);
  background: var(--navy-850);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}
@media (max-width: 560px) { .hub-card { width: calc(50% - 8px); } }
.hub-card:hover, .hub-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--gold-500);
}
.hub-card-cover {
  width: 100%;
  height: auto;          /* fonte já é 3:4 — sem aspect-ratio/cover */
  display: block;
}
.hub-card-title {
  display: block;
  padding: 10px 12px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}
.hub-card-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: var(--gold-500);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}

/* colagem 2x2 no hero do hub */
.hub-hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(340px, 78vw);
}
.hub-hero-collage img {
  width: 100%;
  min-width: 0;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -16px rgba(2, 5, 14, 0.7);
}
@media (max-width: 960px) { .hub-hero-collage { width: min(280px, 70vw); } }
.hub-hero-collage img:nth-child(1) { transform: translateY(-10px) rotate(-3deg); }
.hub-hero-collage img:nth-child(2) { transform: translateY(10px) rotate(3deg); }
.hub-hero-collage img:nth-child(3) { transform: translateY(-10px) rotate(3deg); }
.hub-hero-collage img:nth-child(4) { transform: translateY(10px) rotate(-3deg); }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.co-main { padding: clamp(28px, 5vw, 48px) clamp(16px, 4vw, 48px) 64px; }
.co-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.co-summary { position: sticky; top: 24px; min-width: 0; }
.co-frame { min-width: 0; }
.co-card {
  background: var(--navy-900);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
}
.co-card h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.2;
  margin: 8px 0 12px;
}
.co-card h1 .accent { color: var(--gold-500); }
.co-card .co-desc { color: var(--ink-300); font-size: 14px; }
.co-price-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--navy-800);
}
.co-price-block .old { color: var(--ink-500); text-decoration: line-through; font-size: 14px; }
.co-price-block .now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--gold-400);
  margin-top: 4px;
}
.co-price-block .note { font-size: 12.5px; color: var(--ink-300); margin-top: 4px; }
.co-includes {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--navy-800);
  display: grid;
  gap: 9px;
}
.co-includes li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-200); }
.co-includes svg { width: 15px; height: 15px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.co-guarantee {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(242, 169, 59, 0.28);
  background: rgba(242, 169, 59, 0.05);
  display: flex;
  gap: 12px;
  align-items: center;
}
.co-guarantee svg { width: 34px; height: 34px; color: var(--gold-400); flex-shrink: 0; }
.co-guarantee h3 { font-size: 14px; font-weight: 600; }
.co-guarantee p { font-size: 12.5px; color: var(--ink-300); margin-top: 2px; }

.co-testimonials { margin-top: 26px; }
.co-testimonials h2 {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 12px;
}
.co-tst {
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-md);
  background: var(--navy-900);
  padding: 16px;
  margin-bottom: 10px;
}
.co-tst .stars { color: var(--gold-400); letter-spacing: 2px; font-size: 13px; margin-bottom: 6px; }
.co-tst p { font-size: 13.5px; color: var(--ink-300); font-style: italic; line-height: 1.6; }
.co-tst .author { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--white); }

.co-frame {
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  overflow: hidden;
}
.co-frame-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--navy-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.co-frame-head h2 { font-family: var(--font-display); font-size: 15px; }
.co-frame-head .secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--level-a);
}
.co-frame-head .secure svg { width: 13px; height: 13px; }
.co-iframe-area { padding: 16px; }
.co-iframe-area iframe {
  width: 100%;
  /* A Hotmart não confirma reajuste via postMessage neste checkout (testado
     2026-09-17 — nenhum evento 'message' chega). Uma altura curta demais
     corta o formulário e o botão "Comprar agora" atrás de um scroll aninhado
     (ruim em qualquer tela, pior no celular). Generosa o bastante para cobrir
     o caso comum (dados + cartão/Pix/Boleto, sem "compre junto"); quando a
     Hotmart mostra vários itens de "compre junto" ainda pode sobrar scroll
     interno — para isso existe o link de tela cheia logo abaixo. */
  min-height: 1500px;
  border: 0;
  border-radius: var(--radius-md);
  background: #fff;
}
.co-fallback {
  padding: 0 20px 18px;
  text-align: center;
}
.co-fallback a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-300);
}
.co-fallback a:hover { color: var(--gold-400); }
.co-fallback svg { width: 13px; height: 13px; }
.co-seals {
  padding: 16px 20px;
  border-top: 1px solid var(--navy-800);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.co-seals .seal { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-300); }
.co-seals .seal svg { width: 15px; height: 15px; color: var(--level-a); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .pdp-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .pdp-hero-value { margin-left: auto; margin-right: auto; }
  .pdp-hero-cta-row { justify-content: center; }
  .pdp-hero-media { order: -1; }
  .pdp-hero-media img { max-height: 380px; }
  .pdp-cover-ph { max-height: 340px; max-width: 260px; }
  .pdp-receive-grid { grid-template-columns: 1fr; }
  .pdp-receive-media { order: -1; }
  .pdp-guarantee-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .pdp-guarantee-grid p { margin-left: auto; margin-right: auto; }
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .co-frame { order: -1; }
}

@media (max-width: 720px) {
  .pdp-metrics { grid-template-columns: 1fr 1fr; }
  .pdp-steps { grid-template-columns: 1fr; }
  .pdp-bonus-grid { grid-template-columns: 1fr; }
  .pdp-layers { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .pdp-metrics { grid-template-columns: 1fr; }
  .pdp-section { padding-left: 16px; padding-right: 16px; }
}
