/* ══════════════════════════════════════════════
   PARA QUEM É
   Editorial escuro, com numerais fantasma
══════════════════════════════════════════════ */
.para-quem-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(5.5rem, 9vw, 8.5rem) 0 clamp(6rem, 9vw, 9rem);
  background-color: var(--surface-dark);
  background-image:
    linear-gradient(rgba(22, 21, 26, 0.78), rgba(22, 21, 26, 0.84)),
    url("../assets/imagens/pq-film-grain.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* Linha de acento — assinatura da marca, ecoa o #hero::after */
.para-quem-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, var(--terracota-medio), var(--verde-agua));
}

/* Manchas de luz — profundidade sutil sobre o fundo escuro */
.para-quem-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -14%;
  right: -8%;
  width: clamp(20rem, 34vw, 30rem);
  height: clamp(20rem, 34vw, 30rem);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(var(--verde-agua-rgb), 0.16), transparent 70%);
}

.pq-glow-b {
  position: absolute;
  z-index: 0;
  bottom: -18%;
  left: -8%;
  width: clamp(18rem, 28vw, 26rem);
  height: clamp(18rem, 28vw, 26rem);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(var(--terracota-medio-rgb), 0.12), transparent 70%);
}

.pq-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(15rem, 0.78fr) minmax(0, 1.22fr);
  grid-template-rows: auto auto;
  column-gap: clamp(3rem, 7vw, 7rem);
  row-gap: clamp(2.25rem, 4vw, 3.5rem);
  max-width: 76rem;
  margin: 0 auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

.pq-intro {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  max-width: 23rem;
}

.pq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  color: var(--verde-agua);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pq-kicker::before {
  content: "";
  width: 2.1rem;
  height: 1px;
  background: currentColor;
}

.pq-titulo {
  max-width: 9ch;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.pq-intro-text {
  max-width: 31ch;
  margin-top: 1.4rem;
  color: rgba(var(--white-rgb), 0.68);
  font-size: clamp(0.9rem, 1.1vw, 0.98rem);
  line-height: 1.75;
}

.pq-list {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(var(--white-rgb), 0.12);
}

.pq-item {
  position: relative;
  overflow: clip;
  padding: clamp(1.5rem, 2.6vw, 2.25rem) 0;
  border-bottom: 1px solid rgba(var(--white-rgb), 0.12);
  transition: padding-inline 0.4s var(--easing-expo);
}

.pq-item:hover {
  padding-inline: clamp(0.75rem, 1.5vw, 1.25rem) 0;
}

/* Numeral fantasma — grande, atrás do texto */
.pq-num {
  position: absolute;
  top: 50%;
  right: clamp(0.5rem, 2vw, 1.5rem);
  translate: 0 -50%;
  z-index: 0;
  color: rgba(var(--verde-agua-rgb), 0.14);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition:
    color 0.4s ease,
    translate 0.4s var(--easing-expo);
}

.pq-item:hover .pq-num {
  color: rgba(var(--terracota-medio-rgb), 0.3);
  translate: -0.4rem -50%;
}

.pq-item-content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.pq-item-content h3 {
  margin: 0 0 0.5rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.035em;
  transition: color 0.28s ease;
}

.pq-item:hover .pq-item-content h3 {
  color: var(--terracota-medio);
}

.pq-item-content p {
  max-width: 46ch;
  color: rgba(var(--white-rgb), 0.58);
  font-size: clamp(0.85rem, 1vw, 0.94rem);
  line-height: 1.65;
}

.pq-action {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 19rem;
}

.pq-action p {
  margin-bottom: 1.1rem;
  color: rgba(var(--white-rgb), 0.68);
  font-size: 0.9rem;
  line-height: 1.62;
}

.pq-action .btn-primary {
  padding: 0.78rem 1.35rem;
  background: var(--terracota-escuro);
  box-shadow: 0 0.65rem 1.5rem rgba(var(--terracota-escuro-rgb), 0.24);
}

.pq-action .btn-primary:hover {
  background: var(--verde-agua);
  box-shadow: 0 0.65rem 1.5rem rgba(var(--verde-agua-rgb), 0.24);
}

/* A transição indica a ordem de leitura da seção. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pq-intro,
    .pq-action,
    .pq-item {
      animation: pq-reveal 0.72s var(--easing-expo) both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }

    .pq-item:nth-child(2) {
      animation-range: entry 14% cover 34%;
    }

    .pq-item:nth-child(3) {
      animation-range: entry 18% cover 38%;
    }

    .pq-item:nth-child(4) {
      animation-range: entry 22% cover 42%;
    }
  }
}

@keyframes pq-reveal {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mantém a transição clara para a seção seguinte. */
.wave-pq-sobre {
  margin-top: -1px;
  margin-bottom: -2px;
  overflow: hidden;
  background-color: var(--surface-dark);
  background-image:
    linear-gradient(rgba(22, 21, 26, 0.78), rgba(22, 21, 26, 0.84)),
    url("../assets/imagens/pq-film-grain.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  line-height: 0;
}

.wave-pq-sobre svg {
  display: block;
  width: 100%;
  height: clamp(40px, 5vw, 72px);
}

@media (max-width: 860px) {
  .pq-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2.75rem;
    max-width: 44rem;
  }

  .pq-intro,
  .pq-list,
  .pq-action {
    grid-column: 1;
    grid-row: auto;
  }

  .pq-intro,
  .pq-action {
    max-width: 31rem;
  }

  .pq-list {
    max-width: 44rem;
  }
}

@media (max-width: 560px) {
  .para-quem-section {
    padding-block: 4.75rem 5.25rem;
    background-position: center;
  }

  .pq-inner {
    gap: 2.4rem;
    padding-inline: 1.25rem;
  }

  .pq-titulo {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
  }

  .pq-item {
    padding-block: 1.5rem;
  }

  .pq-item:hover {
    padding-inline: 0;
  }

  .pq-num {
    font-size: clamp(3.5rem, 20vw, 5rem);
    right: 0;
  }

  .pq-item-content h3 {
    font-size: 1.25rem;
  }

  .pq-item-content p {
    max-width: 32ch;
  }

  .pq-action .btn-primary {
    width: 100%;
  }
}
