/* ===========================================================================
   Seções próprias da home do pdvopen.com.br (pdvopen_home/index): caixa de
   compra no hero, passo a passo, vídeo grande, antes e depois e a lista do
   que vem na licença. A moldura está em site.css; as seções comuns às três
   homes, em home.css e offer_sections.css.
   =========================================================================== */

.po-hero {
  padding: 64px 0 0;
  background:
    radial-gradient(50% 60% at 15% 0%, var(--fc-accent-soft), transparent 70%),
    var(--fc-surface);
  overflow: hidden;
}

.po-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}

.po-hero__copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.po-hero__copy h1 em {
  font-style: normal;
  color: var(--fc-accent-ink);
}

.po-hero__lead {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--fc-muted);
}

.po-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.po-hero__chips li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--fc-line);
  background: var(--fc-surface);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fc-ink);
}

.po-hero__trust {
  margin-top: 26px;
  font-size: 0.95rem;
  color: var(--fc-muted);
}

/* Caixa de compra: a oferta inteira já na primeira tela. */
.po-buybox {
  padding: 26px;
  border-radius: 24px;
  background: var(--fc-surface);
  border: 2px solid var(--fc-accent);
  box-shadow: 0 34px 60px -34px rgba(15, 23, 42, 0.45);
}

.po-buybox__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.po-buybox__tag {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fc-muted);
}

.po-buybox__price {
  margin-top: 18px;
}

.po-buybox__price small {
  display: block;
  font-size: 0.92rem;
  color: var(--fc-muted);
}

.po-buybox__price strong {
  display: block;
  font-size: 2.8rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.po-buybox__price span {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--fc-muted);
}

.po-buybox__list {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.po-buybox__list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
  color: var(--fc-ink);
}

.po-buybox__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--fc-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a43cf' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 9px;
  background-repeat: no-repeat;
  background-position: center;
}

.po-buybox__cta {
  width: 100%;
}

.po-buybox__alt {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--fc-accent-ink);
}

.po-buybox__foot {
  margin-top: 10px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--fc-faint);
}

/* A tela do sistema, na largura da página, encostada na seção seguinte: é
   o mesmo desenho do hero de frentedecaixapdv (home.css, .fc-hero__screen). */
.po-hero__screen {
  max-width: 1040px;
  margin: 64px auto -1px;
}

/* --- Como funciona ------------------------------------------------------- */

.po-steps {
  background: var(--fc-bg);
  border-top: 1px solid var(--fc-line);
  border-bottom: 1px solid var(--fc-line);
}

.po-steps__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.po-steps__list li {
  padding: 28px;
  border-radius: var(--fc-radius);
  background: var(--fc-surface);
  border: 1px solid var(--fc-line);
}

.po-steps__number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fc-accent);
  color: #fff;
  font-weight: 800;
}

.po-steps__list h3 {
  margin: 16px 0 8px;
  font-size: 1.1rem;
}

.po-steps__list p {
  font-size: 0.96rem;
  color: var(--fc-muted);
}

/* --- Vídeo --------------------------------------------------------------- */

.po-video__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: center;
}

.po-video__copy h2 {
  margin: 16px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.po-video__copy p {
  margin-bottom: 22px;
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--fc-muted);
}

.po-video__player .pdvv__frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.55);
}

/* --- Antes e depois ------------------------------------------------------ */

.po-compare {
  background: var(--fc-bg);
  border-top: 1px solid var(--fc-line);
  border-bottom: 1px solid var(--fc-line);
}

.po-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.po-compare__col {
  padding: 30px;
  border-radius: var(--fc-radius);
  border: 1px solid var(--fc-line);
  background: var(--fc-surface);
}

.po-compare__col--after {
  border-color: var(--fc-accent);
  box-shadow: 0 30px 60px -40px rgba(15, 23, 42, 0.5);
}

.po-compare__col h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.po-compare__col--before h3 {
  color: var(--fc-muted);
}

.po-compare__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.po-compare__col li {
  position: relative;
  padding-left: 28px;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--fc-ink);
}

.po-compare__col--before li {
  color: var(--fc-muted);
}

.po-compare__col li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  font-weight: 800;
}

.po-compare__col--before li::before {
  content: "✕";
  color: #b91c1c;
}

.po-compare__col--after li::before {
  content: "✓";
  color: var(--fc-accent-ink);
}

/* --- Lista do que vem na licença ----------------------------------------- */

.po-checklist__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.po-checklist__list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--fc-line);
  font-size: 0.98rem;
  color: var(--fc-ink);
}

.po-checklist__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fc-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a43cf' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Migração com IA ----------------------------------------------------- */

.po-migrate {
  background: var(--fc-surface);
}

.po-migrate__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}

.po-migrate__copy h2 {
  margin: 16px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.po-migrate__copy > p {
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--fc-muted);
}

.po-migrate__steps {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: migrate;
}

.po-migrate__steps li {
  position: relative;
  padding-left: 42px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--fc-muted);
  counter-increment: migrate;
}

.po-migrate__steps li strong {
  color: var(--fc-ink);
}

.po-migrate__steps li::before {
  content: counter(migrate);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fc-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.po-migrate__note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--fc-faint);
}

.po-migrate__copy .btn {
  margin-top: 22px;
}

.po-checklist__more {
  margin-top: 28px;
  text-align: center;
}

.po-checklist__more a {
  font-weight: 700;
  color: var(--fc-accent-ink);
}

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

@media (max-width: 1024px) {
  .po-hero__grid {
    grid-template-columns: 1fr;
  }

  .po-buybox {
    max-width: 560px;
  }

  .po-hero__screen {
    margin-top: 48px;
  }
}

@media (max-width: 900px) {
  .po-steps__list,
  .po-video__grid,
  .po-compare__grid,
  .po-migrate__grid,
  .po-checklist__list {
    grid-template-columns: 1fr;
  }

  .po-migrate__grid {
    gap: 28px;
  }

  .po-video__grid {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .po-hero {
    padding: 44px 0 56px;
  }

  .po-buybox {
    padding: 22px;
  }

  .po-hero__screen {
    margin-top: 36px;
  }
}
