/* ============================================================================
   home-secao.css — seção "Por que usar IA?" da home.
   ADITIVO e isolado: tudo sob .pq-sec, não altera styles.css nem outras seções.
   ========================================================================== */

.pq-sec {
  --pq-ink: #f7f5ff;
  --pq-ink-2: #ddd6fe;
  --pq-gray: #aaa2c5;
  --pq-gray-2: #7d759b;
  --pq-card: rgba(18, 15, 43, 0.92);
  --pq-line: rgba(167, 139, 250, 0.17);
  --pq-accent: #8b5cf6;
  --pq-accent-2: #a78bfa;
  --pq-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;

  padding: 3.4rem 0 4rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(139, 92, 246, 0.16), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(32, 185, 151, 0.08), transparent 28%),
    linear-gradient(180deg, #080719 0%, #070714 48%, #060611 100%);
  color: var(--pq-ink);
}

.pq-shell { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.pq-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 3rem; align-items: start; }
/* eleva levemente a coluna da esquerda: o "Por que usar IA?" sobe em relação ao painel */
.pq-grid > div:first-child { margin-top: -0.75rem; }

/* ── Coluna esquerda ─────────────────────────────────────────────────────── */
.pq-eyebrow {
  margin: 0 0 0.9rem; font-size: 0.72rem; font-weight: 850; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--pq-accent-2);
}
.pq-sec h2 {
  margin: 0 0 2.2rem; font-family: var(--pq-serif); font-weight: 600;
  font-size: clamp(2.1rem, 3.7vw, 3.1rem); line-height: 1.08; letter-spacing: -0.01em;
  max-width: 16ch; color: var(--pq-ink);
}

.pq-benefits { display: flex; flex-direction: column; }
.pq-benefit {
  display: grid; grid-template-columns: 42px 1fr; gap: 1rem; align-items: start;
  /* divisória fina entre os benefícios (mesma linguagem do "Leia também") */
  padding: 1.15rem 0;
  border-top: 1px solid rgba(167, 139, 250, 0.10);
}
.pq-benefit:first-child { border-top: none; padding-top: 0; }
.pq-benefit:last-child { padding-bottom: 0; }
.pq-benefit-ic {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--pq-line); background: rgba(139, 92, 246, 0.10); color: var(--pq-accent-2);
}
.pq-benefit-ic svg {
  width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.pq-benefit strong { display: block; font-size: 1.19rem; font-weight: 800; line-height: 1.25; color: var(--pq-ink); }
.pq-benefit p { margin: 0.3rem 0 0; font-size: 0.93rem; color: var(--pq-gray); line-height: 1.55; }

/* ── Painel direito ──────────────────────────────────────────────────────── */
.pq-panel { display: flex; flex-direction: column; gap: 1.15rem; }

/* Frase do fundador — clicável */
.pq-ceo {
  display: block; position: relative; padding: 1.5rem 1.7rem; border-radius: 18px;
  border: 1px solid var(--pq-line); background: var(--pq-card); color: inherit; text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.pq-ceo:hover, .pq-ceo:focus-visible {
  transform: translateY(-3px); border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 22px 48px rgba(109, 93, 252, 0.22); outline: none;
}
.pq-qmark {
  position: absolute; top: 0.6rem; right: 1.2rem; font-family: var(--pq-serif);
  font-size: 3.6rem; line-height: 1; color: rgba(167, 139, 250, 0.20);
}
.pq-ceo blockquote {
  margin: 0; font-family: var(--pq-serif); font-size: 1.16rem; line-height: 1.45;
  color: var(--pq-ink); max-width: 34ch;
}
.pq-who { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.15rem; }
.pq-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, #6d5dfc, #a78bfa);
}
.pq-who b { display: block; font-size: 0.88rem; color: var(--pq-ink); }
.pq-who span { display: block; font-size: 0.75rem; color: var(--pq-gray-2); }
.pq-cta {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.1rem;
  font-size: 0.82rem; font-weight: 800; color: transparent; opacity: 1;
  background: linear-gradient(135deg, #20b997, #8b5cf6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.18s ease, gap 0.18s ease;
}
.pq-ceo:hover .pq-cta, .pq-ceo:focus-visible .pq-cta {
  opacity: 1; gap: 0.65rem;
}
.pq-cta svg {
  width: 15px; height: 15px; stroke: #8b5cf6; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Leia também — linhas horizontais */
.pq-also {
  padding: 1.4rem 1.5rem; border-radius: 18px; border: 1px solid var(--pq-line);
  background: rgba(18, 15, 43, 0.55);
}
.pq-also h3 {
  margin: 0 0 0.4rem; font-family: var(--pq-serif); font-weight: 600; font-size: 1.14rem;
  color: var(--pq-ink);
}
.pq-row {
  display: grid; grid-template-columns: 74px 1fr; gap: 0.9rem; align-items: center;
  padding: 0.85rem 0; border-top: 1px solid rgba(167, 139, 250, 0.10);
  color: inherit; text-decoration: none;
}
.pq-row:first-of-type { border-top: none; }
.pq-row:hover .pq-row-t, .pq-row:focus-visible .pq-row-t { color: var(--pq-accent-2); }
.pq-th {
  width: 74px; height: 56px; border-radius: 10px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #1c1740, #0b0a22);
}
.pq-th::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(167, 139, 250, 0.42), transparent 62%);
}
.pq-row-t {
  display: block; font-size: 0.94rem; font-weight: 750; line-height: 1.28;
  color: var(--pq-ink); transition: color 0.16s ease;
}
.pq-row p { margin: 0.28rem 0 0; font-size: 0.79rem; color: var(--pq-gray-2); line-height: 1.4; }

/* ── Responsivo ──────────────────────────────────────────────────────────── */
@media (max-width: 940px) {
  .pq-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .pq-grid > div:first-child { margin-top: 0; }
  .pq-sec h2 { max-width: none; }
}
@media (max-width: 520px) {
  .pq-sec { padding: 2.6rem 0 3rem; }
  .pq-row { grid-template-columns: 60px 1fr; }
  .pq-th { width: 60px; height: 48px; }
}
