/* ================================
   PÁGINA DE PRODUTOS
   Mesma identidade do site; seções
   ~50% maiores e mais espaçadas que
   as de funcionalidades.html, já
   que aqui são só 4 itens.
   ================================ */

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 108px;
  background: var(--body);
}

.product-hero::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 240px;
  right: 0;
  top: 0;
  background: var(--white);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .95;
}

.product-hero .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
}

.product-hero-copy { max-width: 760px; margin: 0 auto; }
.product-hero-copy .kicker { margin-bottom: 22px; color: var(--teal); }

.product-hero h1 {
  max-width: 14ch;
  margin: 0 auto 30px;
  text-align: center;
}

.product-hero p {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--navy-soft);
  font-size: 1.1rem;
}

.product-section { padding: 114px 0; }
.product-section.alt { background: var(--white); }

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}

.product-row.reverse .product-visual { order: -1; }

.product-copy { max-width: 560px; }

.product-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.product-title {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.01em;
}

.product-copy p {
  margin: 0;
  color: var(--navy-soft);
  max-width: 50ch;
  font-size: 1.1rem;
}

.product-copy .pill { margin-top: 36px; }

.product-visual {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-pair {
  width: 100%;
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  position: relative;
  padding: 10px 0;
}

.pair-notebook {
  width: min(85%, 840px);
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 32px rgba(38,74,131,.16));
}

.pair-phone {
  width: min(30%, 315px);
  height: auto;
  display: block;
  margin-left: -117px;
  z-index: 2;
  filter: drop-shadow(0 22px 30px rgba(38,74,131,.18));
}

.single-notebook {
  width: min(100%, 960px);
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 32px rgba(38,74,131,.16));
}

.single-phone {
  width: min(72%, 495px);
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 32px rgba(38,74,131,.16));
}

.product-cta {
  padding: 108px 0;
  background: var(--white);
  text-align: center;
}

.product-cta h2 { margin: 0 auto 18px; max-width: none; }
.product-cta p { max-width: 54ch; margin: 0 auto; color: var(--navy-soft); font-size: 1.1rem; }
.product-cta .pill { margin-top: 32px; }

/* Ajustes para tablets */
@media (max-width: 900px) {
  .product-hero .wrap,
  .product-row { gap: 48px; }

  .pair-phone { margin-left: -84px; }
}

/* Ajustes para celular */
@media (max-width: 760px) {
  .product-hero { padding: 72px 0 81px; }
  .product-hero::after { width: 70%; height: 170px; }

  .product-hero .wrap,
  .product-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-hero h1 { max-width: none; }

  .product-visual { order: 1; }
  .product-copy { max-width: none; order: 2; }

  .product-section { padding: 87px 0; }

  .device-pair { min-height: 0; gap: 0; }
  .pair-notebook { width: 86%; }
  .pair-phone { width: 30%; margin-left: -20%; }
  .single-notebook { width: 94%; }
  .single-phone { width: min(78%, 340px); margin: 0 auto; }

  .product-copy .pill,
  .product-cta .pill { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .product-section { padding: 75px 0; }
  .product-title { font-size: 2rem; }
  .product-copy p { font-size: 1rem; }
  .pair-notebook { width: 92%; }
  .pair-phone { width: 31%; margin-left: -22%; }
}