/* =========================================================
   ComTato — página Produtos & Formação
   ========================================================= */

.ct-pf-h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}

.ct-pf-intro {
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* =========================================================
   HERO
   ========================================================= */
.ct-pf-hero { padding-block: clamp(1.5rem, 3vw, 2.5rem) 0; }

.ct-pf-hero__box {
  background: var(--ct-purple-soft);
  border-radius: var(--ct-radius-xl);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  text-align: center;
}

.ct-pf-hero__title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

.ct-pf-hero__lead {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 auto;
}

/* =========================================================
   PUBLICAÇÕES
   ========================================================= */
.ct-pf__lista {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
}

.ct-pf__item {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  background: var(--ct-gray);
  border-radius: var(--ct-radius);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
}

.ct-pf__thumb {
  background: #fff;
  border-radius: var(--ct-radius-sm);
  padding: 1.25rem;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
}

/* mesmo respiro da home: as capas têm proporções diferentes */
.ct-pf__thumb img {
  max-width: 92%;
  max-height: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.ct-pf__nome {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: .35rem;
}

.ct-pf__sub {
  color: var(--ct-blue);
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.ct-pf__desc {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 56ch;
}

/* =========================================================
   FRENTES DE ATUAÇÃO
   ========================================================= */
.ct-pf__frentes { row-gap: 1.5rem; }

.ct-pf__frente {
  height: 100%;
  border-radius: var(--ct-radius);
  padding: clamp(1.75rem, 2.6vw, 2.25rem);
  color: #fff;
}

.ct-pf__frente--blue   { background: var(--ct-blue); }
.ct-pf__frente--purple { background: #7B58EE; }
.ct-pf__frente--dark   { background: var(--ct-blue-dark); }

.ct-pf__frente-title {
  color: #fff;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 1rem;
}

.ct-pf__frente-text {
  font-size: .98rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* =========================================================
   CTA
   ========================================================= */
.ct-pf-cta__box {
  background: var(--ct-blue-dark);
  border-radius: var(--ct-radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
}

.ct-pf-cta__title {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}

.ct-pf-cta__text {
  color: rgba(255, 255, 255, .92);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 58ch;
  margin: 0 auto 2rem;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 767.98px) {
  .ct-pf__item { grid-template-columns: 1fr; }
  .ct-pf__thumb { max-width: 280px; margin-inline: auto; }
  .ct-pf__desc { max-width: none; }
  .ct-pf-hero__box { border-radius: var(--ct-radius-lg); }
  .ct-pf-cta__box { border-radius: var(--ct-radius-lg); }
}
