/* ============================================================
   Aristo: paginas internas (Metodologia / Aprovados)
   Autossuficiente: globals + styleguide + chrome-shared + footer-shared
   + form-shared + este. Componentes espelham a home (style.css):
   hero-card claro #dce6f1 r28, painel #dae6f2 r20 com chips de vidro,
   painel navy #041633 r20 com selos foscos, CTA teal #43978c em card
   branco, cards brancos r16 com borda #e6edf5, link azul com raio.
   Azul da marca #0473e3, navy #041633/#021023, teal #00998c.
   ============================================================ */

.pg {
  --blue: #0473e3;
  --blue-soft: #3271dc;
  --navy: #041633;
  --navy-ink: #081731;
  --navy-deep: #021023;
  --teal: #00998c;
  --teal-cta: #43978c;
  --ink: #0b1b3a;
  --text: #3a4a63;
  --muted: #5a6b7f;
  --mist: #f3f7fc;
  --card: #dce6f1;
  --panel: #dae6f2;
  --line: #e6edf5;
  --line-2: #eaf0f7;
  --white: #f3f7fc;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: #ffffff;
  font-family: "Inter", Helvetica, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}

.pg * { box-sizing: border-box; }
.pg img { max-width: 100%; }

/* ---------- Social aside ---------- */
/* rail de redes sociais: mesmo bloco de vidro da home (.frame-55) */
.pg-social {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: fixed;
  left: 0;
  top: 249px;
  padding: 16px 12px 16px 16px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-left: 0;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 8px 32px rgba(4, 22, 51, 0.14);
  z-index: 9999;
}
.pg-social a { display: block; width: 24px; height: 24px; opacity: 0.85; transition: opacity 0.15s ease; }
.pg-social a:hover { opacity: 1; }
.pg-social img, .pg-social svg { width: 100%; height: 100%; display: block; }
.pg-social svg { color: var(--navy); }
@media (max-width: 1200px) { .pg-social { display: none; } }

/* ---------- Generic section frame ---------- */
.pg-main { width: 100%; display: flex; flex-direction: column; align-items: center; }
.pg-wrap { width: 100%; max-width: 1220px; padding: 0 40px; }
.pg-wrap > * { min-width: 0; }

.pg-eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
/* hashtag de campanha mantem o case original (legibilidade do #MeuNomeNaListaR1) */
.pg-eyebrow.is-hashtag { text-transform: none; letter-spacing: 0.2px; font-size: 15px; }

/* titulo de secao: mesmo desenho de "Conheca nossos cursos" na home */
.pg-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-bottom: 36px; }
.pg-head.is-left { align-items: flex-start; text-align: left; }
.pg-head h2 { margin: 0; font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.5px; color: var(--navy); }
.pg-head p { margin: 0; font-size: 16px; line-height: 25px; color: var(--text); max-width: 66ch; }
.pg-head .pg-eyebrow { margin-bottom: 4px; }

/* link "Saiba mais!" com raio, igual aos cards de curso da home */
.pg-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.pg-link svg { width: 16px; height: 16px; fill: currentColor; }
.pg-link:hover { text-decoration: underline; }

/* botao teal dentro de card branco: CTA do hero da home */
.pg-cta-card {
  display: inline-block;
  margin: 30px 0 0 -14px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 15px 22px;
}
.pg-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background-color: var(--teal-cta);
  border-radius: 8px;
  color: #ffffff;
  font-size: 18px;
  line-height: 18px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.pg-cta:hover { background-color: var(--teal); }
.pg-cta svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- HERO: card claro da home (#dce6f1, r28) com foto a direita ---------- */
.pg-hero { width: 100%; display: flex; justify-content: center; padding: 8px 0 0; }
.pg-hero .pg-wrap { max-width: 1268px; }
.pg-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  min-height: 440px;
  background-color: var(--card);
  border-radius: 28px;
  overflow: hidden;
}
.pg-hero-copy {
  padding: 64px 40px 56px 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.pg-hero-copy h1 {
  margin: 0;
  font-size: 38px;
  line-height: 46px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: var(--navy-ink);
  max-width: 16ch;
}
.pg-hero-copy h1 .hl { color: var(--blue-soft); font-weight: 700; font-style: italic; }
.pg-hero-copy .pg-lead {
  margin: 16px 0 0;
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
  color: var(--navy-ink);
  max-width: 46ch;
}
.pg-hero-photo { position: relative; min-height: 440px; }
.pg-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* pill de check sobre a foto (mesma peca da home: "Aulas focadas no Pareto") */
.pg-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  background-color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(4, 22, 51, 0.16);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.pg-pill::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
}
.pg-hero-photo .pg-pill { position: absolute; left: 28px; bottom: 28px; }

/* ---------- METODOLOGIA: como funciona (painel #dae6f2 + chips de vidro + foto) ---------- */
.pg-how { width: 100%; display: flex; justify-content: center; padding: 96px 0 0; }
.pg-how-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 44px;
  align-items: stretch;
  padding: 44px;
  background-color: var(--panel);
  border-radius: 20px;
}
.pg-how-panel > * { min-width: 0; }
.pg-how-list { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
/* chip: .element-metodologia-pareto da home */
.pg-chip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 22px;
  background-color: #ffffff1a;
  border-radius: 12px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 1px 0 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 1px rgba(0, 0, 0, 0.11),
    inset -1px 0 1px rgba(0, 0, 0, 0.09);
}
/* largura escalonada: o primeiro passo pesa mais que o ultimo */
.pg-chip:nth-child(2) { margin-left: 28px; }
.pg-chip:nth-child(3) { margin-left: 56px; }
.pg-chip .num {
  flex: 0 0 auto;
  min-width: 40px;
  padding-top: 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--blue);
}
.pg-chip h3 { margin: 0 0 4px; font-size: 18px; line-height: 24px; font-weight: 600; color: var(--navy-ink); }
.pg-chip p { margin: 0; font-size: 15px; line-height: 22px; color: var(--text); }
.pg-how-photo { position: relative; border-radius: 16px; overflow: hidden; min-height: 400px; }
.pg-how-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-how-photo .pg-pill { position: absolute; left: 20px; bottom: 20px; }

/* ---------- METODOLOGIA: AristoClass (texto + pills espalhados) ---------- */
.pg-class { width: 100%; display: flex; justify-content: center; padding: 96px 0 0; }
.pg-class .pg-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: center; }
.pg-class h2 { margin: 0 0 16px; font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.5px; color: var(--navy); }
.pg-class p { margin: 0 0 14px; font-size: 17px; line-height: 28px; color: var(--text); }
.pg-class .pg-link { margin-top: 10px; }
.pg-class-cloud {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 44px 36px;
  background-color: var(--mist);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.pg-class-cloud .pg-pill { font-size: 15px; }
.pg-class-cloud .pg-pill:nth-child(2) { margin-left: 64px; }
.pg-class-cloud .pg-pill:nth-child(3) { margin-left: 24px; }
.pg-class-cloud .pg-pill:nth-child(4) { margin-left: 110px; }
.pg-class-cloud .pg-pill:nth-child(5) { margin-left: 48px; }
.pg-class-cloud .mark {
  position: absolute;
  right: 28px;
  top: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- PROVA: painel navy flutuante com selos foscos (home .div + .frame-26) ---------- */
.pg-proof { width: 100%; display: flex; justify-content: center; padding: 96px 0 0; }
.pg-proof-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: center;
  padding: 56px 60px;
  background-color: var(--navy);
  border-radius: 20px;
  color: var(--white);
}
.pg-proof-panel > * { min-width: 0; }
.pg-proof-copy .pg-eyebrow { color: #7db8f5; }
.pg-proof-copy h2 { margin: 0 0 14px; font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.5px; color: #ffffff; }
.pg-proof-copy p { margin: 0; font-size: 17px; line-height: 27px; font-weight: 300; color: #c6d4e8; max-width: 52ch; }
.pg-proof-copy .pg-cta-card { margin-left: 0; padding: 12px 16px; }
.pg-badges {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 150px);
  gap: 22px;
  justify-content: end;
}
/* selo fosco da home: fundo transparente, brilho inset, numero azul, label clara */
.pg-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 18px 10px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 1px 0 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 1px rgba(0, 0, 0, 0.11),
    inset -1px 0 1px rgba(0, 0, 0, 0.09);
}
.pg-badge:nth-child(2) { margin-top: 44px; }
.pg-badge:nth-child(3) { margin-top: -22px; }
.pg-badge .n { font-size: 30px; line-height: 34px; font-weight: 400; color: var(--blue); letter-spacing: -0.5px; }
.pg-badge .l { font-size: 16px; line-height: 20px; font-weight: 300; color: var(--white); text-align: center; }

/* ---------- APROVADOS: depoimento em card azul (home .frame-40) ---------- */
.pg-lead-quote { width: 100%; display: flex; justify-content: center; padding: 120px 0 0; }
.pg-quote-card {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  padding: 0 48px 0 40px;
  background-color: var(--blue);
  border-radius: 16px;
  min-height: 240px;
}
.pg-quote-card > * { min-width: 0; }
.pg-quote-card .photo {
  display: block;
  width: 300px;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  margin-top: -56px;
  border-radius: 0 0 8px 8px;
  align-self: end;
}
.pg-quote-card blockquote { margin: 0; padding: 40px 0 36px; }
.pg-quote-card .q {
  margin: 0 0 22px;
  font-size: 26px;
  line-height: 36px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.3px;
  max-width: 24ch;
}
.pg-quote-card .q .mark { color: rgba(255, 255, 255, 0.55); }
.pg-quote-card .who { margin: 0; font-size: 16px; color: #ffffff; }
.pg-quote-card .who strong { font-weight: 700; }
.pg-quote-card .who .sep { color: rgba(255, 255, 255, 0.55); margin: 0 8px; }
.pg-quote-card .jump {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 8px 14px;
  background-color: var(--navy);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}
.pg-quote-card .glyph {
  position: absolute;
  right: 30px;
  top: -34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 150px;
  line-height: 1;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
  user-select: none;
}

/* ---------- APROVADOS: mural (reservado) ---------- */
.pg-cases { width: 100%; display: flex; justify-content: center; padding: 96px 0 0; }
.pg-cases .pg-wrap { display: flex; flex-direction: column; }
.pg-cases h2 { margin: 0; }

/* grade futura, quando o cliente enviar os depoimentos reais (card branco r16 da home) */
.pg-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pg-case {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
}
.pg-case .txt { font-size: 17px; line-height: 26px; color: var(--ink); font-weight: 500; }
.pg-case .name { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--navy); font-weight: 700; }
.pg-case .inst { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .pg-case-grid { grid-template-columns: 1fr; } }

/* estado "em construcao": painel #dae6f2 assimetrico com foto, sem faixa lateral.
   Some quando o cliente enviar os casos reais. */
.pg-cases-soon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: center;
  padding: 44px 48px;
  background-color: var(--panel);
  border-radius: 20px;
}
.pg-cases-soon > * { min-width: 0; }
.pg-cases-soon .badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  background-color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
}
.pg-cases-soon h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 34px;
  font-weight: 700;
  color: var(--navy-ink);
  letter-spacing: -0.4px;
  max-width: 22ch;
}
.pg-cases-soon p { margin: 0 0 22px; max-width: 54ch; font-size: 16px; line-height: 26px; color: var(--text); }
.pg-cases-soon .photo { position: relative; border-radius: 16px; overflow: hidden; height: 360px; }
.pg-cases-soon .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.pg-cases-soon .photo .pg-pill { position: absolute; left: 20px; bottom: 20px; }

/* ---------- espacamento antes do formulario compartilhado ---------- */
.pg-main > .shared-form { margin-top: 96px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .pg-hero-card { grid-template-columns: minmax(0, 1fr) 400px; }
  .pg-hero-copy { padding: 52px 32px 48px 44px; }
  .pg-hero-copy h1 { font-size: 32px; line-height: 40px; }
  .pg-how-panel { grid-template-columns: minmax(0, 1fr) 300px; padding: 32px; }
  .pg-class .pg-wrap { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; }
  .pg-class-cloud { padding: 40px 24px; }
  .pg-class-cloud .pg-pill { font-size: 14px; white-space: normal; }
  .pg-class-cloud .pg-pill:nth-child(2) { margin-left: 32px; }
  .pg-class-cloud .pg-pill:nth-child(3) { margin-left: 12px; }
  .pg-class-cloud .pg-pill:nth-child(4) { margin-left: 56px; }
  .pg-class-cloud .pg-pill:nth-child(5) { margin-left: 24px; }
  .pg-proof-panel { grid-template-columns: minmax(0, 1fr) 340px; padding: 44px; }
}
@media (max-width: 900px) {
  .pg-wrap { padding: 0 24px; }
  .pg-hero-card { grid-template-columns: 1fr; }
  .pg-hero-copy { padding: 44px 32px 36px; }
  .pg-hero-copy h1 { font-size: 32px; line-height: 40px; }
  .pg-hero-photo { min-height: 320px; }
  .pg-how-panel, .pg-class .pg-wrap, .pg-proof-panel, .pg-cases-soon { grid-template-columns: 1fr; }
  .pg-chip:nth-child(2), .pg-chip:nth-child(3) { margin-left: 0; }
  .pg-how-photo { min-height: 320px; }
  .pg-class-cloud .pg-pill { margin-left: 0 !important; }
  .pg-badges { justify-content: start; }
  .pg-quote-card { grid-template-columns: 1fr; padding: 0 28px; }
  .pg-quote-card .photo { width: 220px; height: 240px; margin-top: 0; padding-top: 24px; border-radius: 0; }
  .pg-quote-card .glyph { display: none; }
  .pg-cases-soon .photo { height: 280px; }
  .pg-how, .pg-class, .pg-proof, .pg-cases, .pg-lead-quote { padding-top: 64px; }
  .pg-main > .shared-form { margin-top: 64px; }
}
@media (max-width: 600px) {
  .pg-pill { font-size: 13px; }
  .pg-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-cta-card { margin-left: 0; }
  .pg-cta { font-size: 16px; }
}
