/* ── ANIMAÇÕES ─────────────────────────────────────── */
@keyframes rgbAnimation { 0%,100%{background-position:0 0} 50%{background-position:100% 100%} }
@keyframes buyPulse     { 0%,100%{box-shadow:0 0 20px rgba(204,17,17,.45),0 4px 20px rgba(0,0,0,.45)} 50%{box-shadow:0 0 42px rgba(204,17,17,.8),0 4px 30px rgba(0,0,0,.55)} }
@keyframes shine        { 0%{left:-80%} 60%,100%{left:130%} }
@keyframes fadeInUp     { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
@keyframes imgGlow      { 0%,100%{box-shadow:0 0 35px rgba(204,17,17,.18)} 50%{box-shadow:0 0 65px rgba(204,17,17,.4)} }

/* ── BASE ──────────────────────────────────────────── */
.checkout-main {
  padding: 20px 24px 100px;
  margin-top: 86px;
  max-width: 1340px;
  margin-left: auto;
  margin-right: auto;
}

/* ── BREADCRUMB ────────────────────────────────────── */
.checkout-breadcrumb {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #555;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeInUp .35s ease forwards;
}
.checkout-breadcrumb a { color: #888; text-decoration: none; transition: color .2s; }
.checkout-breadcrumb a:hover { color: #fff; }

/* ══════════════════════════════════════════════════════
   WRAPPER — grade 4 áreas, proporção 58 / 42
══════════════════════════════════════════════════════ */
.checkout-wrapper {
  display: grid;
  grid-template-columns: 58fr 42fr;
  grid-template-rows: auto auto auto;
  column-gap: 32px;
  row-gap: 22px;
  align-items: start;
}

.checkout-banner   { grid-column: 1; grid-row: 1; }
.checkout-features { grid-column: 1; grid-row: 2; }
.checkout-video    { grid-column: 1; grid-row: 3; }

.checkout-right {
  grid-column: 2;
  grid-row: 1 / 4;
  position: sticky;
  top: 90px;
  animation: fadeInUp .45s ease .08s both;
}

/* ══════════════════════════════════════════════════════
   BANNER HERO
══════════════════════════════════════════════════════ */
.product-banner-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #070707;
  animation: imgGlow 4s ease-in-out infinite, fadeInUp .45s ease forwards;
  border: 1px solid rgba(255,255,255,.07);
}
.product-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .5s ease;
  min-height: 260px;
  image-rendering: auto;
  transform: translateZ(0);
  will-change: transform;
}
.product-banner-wrap:hover .product-banner { transform: scale(1.025); }

.banner-glow-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(204,17,17,.24) 0%, transparent 65%);
  pointer-events: none;
}
.banner-content {
  padding: 16px 4px 0;
}
.product-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 20px;
  background: rgba(0,200,80,.1);
  border: 1px solid rgba(0,200,80,.22);
  color: #00c850;
  letter-spacing: .3px;
  margin-bottom: 9px;
}
.product-main-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  background: linear-gradient(90deg,#fff 0,#d3d3d3 25%,#282828 50%,#c7c7c7 75%,#292929 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rgbAnimation 5s linear infinite;
  margin: 0 0 8px;
  line-height: 1.1;
}
.product-main-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,.58);
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
}

/* ══════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════ */
.features-block { animation: fadeInUp .5s ease .08s both; }

.block-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ccc;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.feature-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.feature-list li {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: #b0b0b0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  background: #0c0c0c;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.05);
  transition: border-color .2s, background .2s;
}
.feature-list li:hover { border-color: rgba(204,17,17,.18); background: rgba(204,17,17,.03); }
.feature-list li::before { content:'✔'; color:#cc1111; font-size:11px; font-weight:700; flex-shrink:0; }

/* ══════════════════════════════════════════════════════
   VÍDEO
══════════════════════════════════════════════════════ */
.video-block { animation: fadeInUp .5s ease .12s both; }

.demo-video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;   /* fallback 16:9 puro — máxima compatibilidade */
  border-radius: 14px;
  overflow: hidden;
  background: #080808;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 0 36px rgba(0,0,0,.55);
}
.demo-video-wrapper iframe {
  position: absolute; top:0; left:0;
  width:100%; height:100%;
  border: none;
}

/* ══════════════════════════════════════════════════════
   PURCHASE BOX
══════════════════════════════════════════════════════ */
.purchase-box {
  background: linear-gradient(175deg, #131313 0%, #0c0c0c 100%);
  border: 1px solid rgba(204,17,17,.22);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 36px rgba(204,17,17,.1), 0 20px 64px rgba(0,0,0,.7);
}

/* Cabeçalho */
.purchase-box-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(204,17,17,.04);
}
.purchase-box-label {
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px; font-weight: 600;
  color: #4d4d4d;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  margin: 0 0 4px;
}
.purchase-box-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px; font-weight: 700;
  color: #f0f0f0;
  margin: 0;
}
.undetected-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 8.5px; font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(204,17,17,.14);
  border: 1px solid rgba(204,17,17,.28);
  color: #ff7070;
  letter-spacing: .7px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Seções */
.purchase-section {
  padding: 15px 22px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px; font-weight: 700;
  color: #4d4d4d;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  margin: 0 0 11px;
}

/* ── PLANOS ───────────────────────────────────────── */
.plan-list { display: flex; flex-direction: column; gap: 8px; }

.plan-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: #111;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s, transform .14s;
  user-select: none;
}
.plan-item:hover {
  border-color: rgba(204,17,17,.28);
  background: #141414;
  transform: translateX(2px);
}
.plan-item.selected {
  border-color: #cc1111;
  background: rgba(204,17,17,.07);
  box-shadow: 0 0 14px rgba(204,17,17,.22), inset 0 0 0 1px rgba(204,17,17,.1);
  transform: translateX(2px);
}

/* Plano mensal em destaque */
.plan-item.plan-featured {
  border-color: rgba(204,17,17,.28);
  background: rgba(204,17,17,.045);
  border-left: 3px solid rgba(204,17,17,.6);
}
.plan-item.plan-featured.selected {
  border-left-color: #cc1111;
  box-shadow: 0 0 20px rgba(204,17,17,.35), inset 0 0 0 1px rgba(204,17,17,.12);
}

/* Radio */
.plan-item-radio {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18);
  flex-shrink: 0;
  position: relative;
  transition: border-color .18s;
}
.plan-item.selected .plan-item-radio { border-color: #cc1111; }
.plan-item.selected .plan-item-radio::after {
  content: '';
  position: absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #cc1111;
}

.plan-item-info { flex: 1; min-width: 0; }
.plan-item-name {
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 600;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.plan-hot-badge {
  font-size: 10px; font-weight: 700;
  color: #ff7070;
  background: rgba(204,17,17,.12);
  border: 1px solid rgba(204,17,17,.22);
  padding: 1px 8px;
  border-radius: 10px;
  letter-spacing: .2px;
}
.plan-item-period {
  font-family: 'Poppins', sans-serif;
  font-size: 10px; color: #505050;
  margin-top: 3px; display: block;
}

.plan-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.plan-item-price { font-family: Arial, Helvetica, sans-serif; font-size: 14.5px; font-weight: 700; color: #e8e8e8; }
.plan-item.selected .plan-item-price { color: #ff7070; }
.plan-item-stock { font-family: 'Poppins', sans-serif; font-size: 10px; color: #404040; }

/* ── PAGAMENTO ────────────────────────────────────── */
.payment-methods { display: flex; gap: 8px; }
.payment-btn {
  flex: 1;
  padding: 10px 6px;
  background: #111;
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: #777;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 600;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s, transform .12s;
  white-space: nowrap;
  letter-spacing: .1px;
}
.payment-btn:hover {
  border-color: rgba(255,255,255,.18);
  color: #bbb;
  transform: translateY(-1px);
}
.payment-btn.active {
  border-color: #cc1111;
  background: rgba(204,17,17,.09);
  color: #ff8080;
  transform: translateY(-1px);
}

/* ── QUANTIDADE ───────────────────────────────────── */
.quantity-row { display: flex; align-items: center; gap: 14px; }
.qty-stepper {
  display: flex; align-items: center;
  background: #111;
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn {
  width: 36px; height: 36px;
  background: none; border: none;
  color: #999; font-size: 18px;
  cursor: pointer;
  transition: background .18s, color .18s;
  font-family: Arial, sans-serif;
  line-height: 1;
}
.qty-btn:hover { background: rgba(255,255,255,.06); color: #fff; }
.qty-display {
  min-width: 38px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 15px; font-weight: 700; color: #fff;
  border-left: 1px solid rgba(255,255,255,.06);
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 0 5px; line-height: 36px;
}
.qty-info { font-family: 'Poppins', sans-serif; font-size: 11px; color: #404040; }

/* ── CUPOM ────────────────────────────────────────── */
.coupon-row { display: flex; gap: 8px; }
.coupon-input {
  flex: 1;
  padding: 10px 13px;
  background: #111;
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: #ccc;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  outline: none;
  transition: border-color .18s;
}
.coupon-input::placeholder { color: #3d3d3d; }
.coupon-input:focus { border-color: rgba(204,17,17,.38); }
.coupon-btn {
  padding: 10px 16px;
  background: rgba(204,17,17,.1);
  border: 1.5px solid rgba(204,17,17,.28);
  border-radius: 10px;
  color: #ff7070;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: background .18s, border-color .18s;
  white-space: nowrap;
}
.coupon-btn:hover { background: rgba(204,17,17,.18); border-color: #cc1111; }

/* ── RESUMO ───────────────────────────────────────── */
.purchase-summary { padding: 14px 22px; border-bottom: 1px solid rgba(255,255,255,.05); }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; }
.summary-label { font-family: 'Poppins', sans-serif; font-size: 12.5px; color: #5a5a5a; }
.summary-value { font-family: Arial, sans-serif; font-size: 12.5px; color: #999; }
.summary-divider { border: none; border-top: 1px solid rgba(255,255,255,.05); margin: 6px 0; }
.summary-total { font-family: Arial, sans-serif; font-size: 21px; font-weight: 700; color: #cc1111; }

/* ── BOTÃO COMPRAR ────────────────────────────────── */
.buy-wrap { padding: 16px 22px 0; }
.buy-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%; box-sizing: border-box;
  padding: 16px;
  background: linear-gradient(135deg, #d41111 0%, #991010 100%);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px; font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 11px;
  letter-spacing: 1.3px;
  animation: buyPulse 3s ease-in-out infinite;
  transition: transform .18s, filter .18s;
}
.buy-btn::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-20deg);
  animation: shine 3.5s ease-in-out infinite;
}
.buy-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.buy-microcopy {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px; color: #404040;
  text-align: center;
  margin: 7px 0 0;
}

/* ── TRUST ────────────────────────────────────────── */
.purchase-trust {
  display: flex;
  justify-content: space-between;
  padding: 13px 22px 16px;
  border-top: 1px solid rgba(255,255,255,.05);
  margin-top: 12px;
}
.trust-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  flex: 1;
}
.trust-icon { font-size: 15px; }
.trust-label { font-family: 'Poppins', sans-serif; font-size: 9.5px; color: #4d4d4d; text-align: center; }

/* ── SCROLL FADE ────────────────────────────────────── */
.co-fade { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.co-fade.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ───────────────────────────────────────── */
.site-footer { background: linear-gradient(180deg,#000 0%,#111 100%); padding: 28px 0; text-align: center; margin-top: 60px; border-top: 1px solid rgba(255,255,255,.055); }
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.footer-brand p { font-family: 'Poppins', sans-serif; font-size: 14px; color: #4a4a4a; margin: 0; }
.footer-content p { font-family: 'Poppins', sans-serif; font-size: 12px; color: #3d3d3d; margin: 3px 0; }

/* ══════════════════════════════════════════════════════
   MOBILE
══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .checkout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .checkout-banner   { order: 1; }
  .checkout-right    { order: 2; position: static; }
  .checkout-features { order: 3; }
  .checkout-video    { order: 4; }
  .checkout-main { margin-top: 76px; padding: 14px 14px 70px; }
  .banner-content { padding: 18px 20px; }
  .product-main-title { font-size: clamp(20px, 5vw, 28px); }
}

@media (max-width: 600px) {
  .product-main-desc { font-size: 12.5px; }
  .feature-list { grid-template-columns: 1fr; }
  .payment-methods { gap: 6px; }
  .payment-btn { font-size: 10.5px; padding: 9px 4px; }
  .purchase-trust { flex-direction: column; gap: 10px; align-items: center; }
  .buy-btn { font-size: 14.5px; padding: 15px; }
  .banner-content { padding: 14px 16px; }
  .checkout-main { padding: 12px 12px 60px; }
}
