/* TECH-VISUAL-001 / R11 — consistência editorial de componentes equivalentes.
   Base: 0.2.6 / 18-11-2026. Apenas tipografia, ritmo textual e cores
   já usadas na identidade; não alterar grades, alturas, imagens ou hover.
   A landing Sites R6 permanece a referência e não recebe overrides. */
body.wp-theme-technolife {
  --tl-r11-ink: #121c39;
  --tl-r11-primary: #3a4386;
  --tl-r11-muted: #5c6579;
  --tl-r11-section-title: 48px;
  --tl-r11-section-subtitle: 18px;
  --tl-r11-body: 17px;
  --tl-r11-card-title: 20px;
  --tl-r11-card-body: 15px;
  --tl-r11-heading-gap: 20px;
}

/* P01: Portal — correção solicitada nos dois cards de escolha.
   Título principal (Para você / Para empresas) menos pesado, escuro;
   descrição do serviço recebe azul, sem mudar hierarquia nem espaçamento. */
body.wp-theme-technolife .tl-portal-hero .tl-journey-card h2.tl-journey-audience {
  font-weight: 740;
  color: var(--tl-r11-ink);
}
body.wp-theme-technolife .tl-portal-hero .tl-journey-card p.tl-service-title {
  font-weight: 700;
  color: var(--tl-r11-primary);
}
/* O hover aprovado continua com o texto branco: não introduzir contraste ruim. */
body.wp-theme-technolife .tl-portal-hero .tl-journey-card.wp-block-group:is(:hover,:focus-within) :is(h2.tl-journey-audience,p.tl-service-title) {
  color: #fff;
}

/* H02: títulos H2 de seções informativas de fundo claro.
   Não alcançar heros, CTA, painéis especiais, títulos de visita/rodapé. */
body.wp-theme-technolife :is(
  .tl-portal-reasons .tl-section-heading h2,
  .tl-about-copy h2,
  .tl-a-avell h2.tl-a-avell-title,
  .tl-a-services h2.tl-a-services-title,
  .tl-a-process h2.tl-a-process-title,
  .tl-a-about h2.tl-a-about-title,
  .tl-ti-about h2.tl-ti-about-title,
  .tl-ti-section-heading h2,
  .tl-ti-contact h2.tl-ti-contact-title
) {
  font-size: var(--tl-r11-section-title);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--tl-r11-ink);
}

/* Especificidade da T.I.: herança de overrides de conversão Gutenberg. */
body.wp-theme-technolife .tl-ti-main .tl-ti-section-heading h2,
body.wp-theme-technolife .tl-ti-main .tl-ti-about h2.tl-ti-about-title {
  font-size: var(--tl-r11-section-title);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--tl-r11-ink);
}
/* S03: subtítulos equivalentes nas seções com título centralizado. */
body.wp-theme-technolife :is(
  .tl-portal-reasons .tl-section-heading > p,
  .tl-a-section-heading > p,
  .tl-ti-section-heading > p
) {
  font-size: var(--tl-r11-section-subtitle);
  line-height: 1.55;
  color: var(--tl-r11-muted);
  margin-top: var(--tl-r11-heading-gap);
}
/* P04: prosa institucional (colunas Sobre) e suas alturas de linha. */
body.wp-theme-technolife :is(
  .tl-about-copy > p,
  .tl-a-about-copy > p,
  .tl-ti-about-copy > p
) {
  font-size: var(--tl-r11-body);
  line-height: 1.65;
  color: var(--tl-r11-muted);
}

body.wp-theme-technolife .tl-ti-main .tl-ti-about .tl-ti-about-copy > p {
  font-size: var(--tl-r11-body);
  line-height: 1.65;
  color: var(--tl-r11-muted);
}

/* C05: cards de conteúdo regular; preservar tamanhos específicos dos
   cards densos do carrossel de T.I. e os cards com flip. */
body.wp-theme-technolife :is(
  .tl-reason-card h3.tl-reason-title,
  .tl-a-step h3.tl-a-step-title,
  .tl-ti-journey-item h3.tl-ti-journey-title
) {
  font-size: var(--tl-r11-card-title);
  font-weight: 730;
  line-height: 1.25;
  letter-spacing: -.02em;
}
body.wp-theme-technolife :is(
  .tl-reason-card p.tl-reason-description,
  .tl-a-step p.tl-a-step-text
) {
  font-size: var(--tl-r11-card-body);
  line-height: 1.55;
  color: var(--tl-r11-muted);
}
/* A conversão WP usa seletores mais fortes; aplicar apenas aos 10 cards. */
body.wp-theme-technolife .tl-ti-main .tl-ti-journey .tl-ti-journey-item h3.tl-ti-journey-title {
  font-size: var(--tl-r11-card-title);
  font-weight: 730;
  line-height: 1.25;
  letter-spacing: -.02em;
}
/* Card da jornada TI precisa de corpo compacto pela grade de cinco colunas. */
body.wp-theme-technolife .tl-ti-main .tl-ti-journey p.tl-ti-journey-description {
  font-size: 14px;
  line-height: 1.55;
}
/* Cards flip têm altura e faces homologadas: normalizar peso sem reflow. */
body.wp-theme-technolife .tl-a-service-card h3.tl-a-service-title {
  font-weight: 730;
  line-height: 1.25;
}

/* Tablet mantém tamanho originalmente homologado para evitar quebra de linha. */
@media (min-width: 768px) and (max-width: 1179px) {
  body.wp-theme-technolife {--tl-r11-section-title: 38px;}
}
/* Mobile: escala/ritmo únicos para cada papel visual, sem afetar grids. */
@media (max-width: 767px) {
  body.wp-theme-technolife {
    --tl-r11-section-title: 32px;
    --tl-r11-section-subtitle: 16px;
    --tl-r11-body: 16px;
    --tl-r11-card-title: 18px;
    --tl-r11-card-body: 14px;
    --tl-r11-heading-gap: 16px;
  }
  body.wp-theme-technolife .tl-portal-hero .tl-journey-card h2.tl-journey-audience {
    font-weight: 740;
  }
}
