/* ============================================================
   Luciany Hara — layout de seções da landing
   Depende de tokens.css (variáveis) e lh.css (utilitários base).
   Todas as classes começam com .lh- para não colidir com GP.
   ============================================================ */

/* ---- Base de seção — full-width, conteúdo centralizado internamente ---- */
.lh-section {
  padding: 12px 0;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  scroll-margin-top: 72px; /* compensa header sticky em âncoras */
}

@media (max-width: 480px) {
.page .wp-block-column {
  padding-left: .8rem;
  padding-right: .8rem;
}
}

/* H2 de seção — 40px, tracking -0.02em conforme design doc */
.lh-section h2,
.lh-section .lh-section-h2 {
  font-size: clamp(1.75rem, 4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

/* Parágrafos dentro de seção — medida máxima de 62ch */
.lh-section p,
.lh-section .lh-prose p {
  max-width: 62ch;
  line-height: 1.72;
  color: var(--lh-muted);
}
.lh-section p + p { margin-top: 1.125rem; }

/* Centralizador interno: preenche o card (#page = 1080px) com padding lateral */
.lh-section > .wp-block-group__inner-container,
.lh-section > .lh-section-inner {
  max-width: 100%;
  padding: 6rem 3.5rem;
}

/* GP remove padding de páginas em certos contextos — garante que o
   wrapper .content-area não quebre o layout */
.page .content-area,
.page .site-main {
  width: 100%;
}

/* ============================================================
   HERO — 2 colunas: headline 1.15fr + calculadora .85fr
   ============================================================ */
.lh-section--hero {
  /*padding-bottom: 2.5rem;*/

  padding: 1.6rem !important;
}

.lh-hero-cols.wp-block-columns {
  display: grid !important;
  grid-template-columns: 1.15fr .85fr;
  gap: 2.375rem;
  align-items: center;
}

/* Remove o flex padrão do Gutenberg dentro desta seção */
.lh-hero-cols.wp-block-columns > .wp-block-column {
  flex-basis: unset !important;
  width: auto !important;
  min-width: 0;
}

/* Eyebrow acima do h1 */
.lh-hero-eyebrow {
  font-size: .6875rem;
  color: var(--lh-kicker);
  margin-bottom: .875rem;
  letter-spacing: .04em;
}

/* H1 do hero */
.lh-section--hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.875rem);
  font-size: clamp(2.5rem, 3vw, 3.2rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin-top: 0;
}

/* Lead do hero */
.lh-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--lh-muted);
  max-width: 46ch;
  margin-top: 1.75rem;
}

/* Botões do hero */
.lh-section--hero .wp-block-buttons {
  margin-top: 2.25rem;
  gap: .875rem;
}

/* ---- Calculadora (coluna direita do hero e seção calc) ---- */
.lh-calc-card {
  background: var(--lh-surface) !important;
  border: 1px solid var(--lh-border) !important;
  border-radius: 6px !important;
  padding: 1.3rem !important;
}

.lh-calc-label {
  font-family: var(--lh-font-eyebrow);
  font-size: .625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lh-faint);
  margin-bottom: .5rem;
}

.lh-calc-field {
  background: var(--lh-bg);
  border: 1px solid var(--lh-field-b);
  border-radius: 6px;
  padding: .5rem .75rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .9375rem;
  margin-bottom: .625rem;
  color: var(--lh-ink);
  margin-top: 0;
}

.lh-calc-sep {
  border: 0;
  border-top: 1px dashed var(--lh-field-b);
  margin: .875rem 0 .8125rem;
}

.lh-calc-result-label {
  font-size: .75rem;
  color: var(--lh-faint2);
  margin-bottom: .25rem;
  font-family: 'Inter', system-ui, sans-serif;
}

.lh-calc-result {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 1.6875rem;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--lh-accent);
  line-height: 1.1;
  margin-block-start: 4px;
}

.lh-calc-result-unit {
  font-size: .8125rem;
  color: var(--lh-faint2);
  font-weight: 400;
}

.lh-calc-footnote {
  font-size: .6875rem;
  color: var(--lh-faint2);
  margin-top: .375rem;
}

.lh-calc-cta {
  display: block;
  text-align: center;
  font-size: .875rem;
  font-weight: 500;
  color: var(--lh-ink) !important;
  border: 1px solid var(--lh-ink);
  border-radius: 40px;
  padding: .875rem;
  margin-top: 1.375rem;
  text-decoration: none !important;
  transition: background .15s, color .15s;
}
.lh-calc-cta:hover { background: var(--lh-ink); color: #fff !important; filter: none !important; }

/* Versão hero: label itálico no topo */
.lh-calc-card .lh-calc-hero-label {
  font-family: var(--lh-font-display);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .01em;
  color: var(--lh-kicker);
  margin-bottom: .875rem;
}

/* ============================================================
   FAIXA DE CREDENCIAIS (abaixo do hero)
   ============================================================ */
.lh-cred-bar {
  display: flex;
  align-items: center;
  gap: 1.875rem;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1.25rem 3.5rem;
  background: var(--lh-band);
  border-top: 1px solid var(--lh-border);
  border-bottom: 1px solid var(--lh-border);
  font-family: var(--lh-font-eyebrow);
  font-size: .6875rem;
  letter-spacing: .06em;
  color: var(--lh-muted);
}

/* Zera margin-block-start que o Gutenberg (.is-layout-flow) injeta nos filhos */
:root :where(.is-layout-flow) > .lh-cred-bar,
.lh-cred-bar > * {
  margin-block-start: 0 !important;
}

.lh-cred-bar .lh-cred-name {
  font-family: var(--lh-font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--lh-ink);
}

.lh-cred-bar .lh-cred-handle {
  margin-left: auto;
  font-size: .75rem;
  color: var(--lh-faint2);
}

/* ============================================================
   MÉTODO — 2 colunas: texto 1.1fr + stats .9fr
   ============================================================ */
.lh-metodo-cols.wp-block-columns {
  display: grid !important;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.75rem;
  align-items: center;
  margin-top: 0;
}

.lh-metodo-cols.wp-block-columns > .wp-block-column {
  flex-basis: unset !important;
  width: auto !important;
  min-width: 0;
}

/* Lista de stats (coluna direita do método) */
.lh-stats-list {
  display: flex;
  flex-direction: column;
}

.lh-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .875rem 0;
  border-bottom: 1px solid var(--lh-line);
}

.lh-stat:last-child { border-bottom: 0; }

.lh-stat-num {
  font-family: var(--lh-font-num);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--lh-ink);
  line-height: 1;
}

.lh-stat-num--accent { color: var(--lh-accent); }

.lh-stat-label {
  font-size: .8125rem;
  color: var(--lh-faint);
  text-align: right;
  max-width: 18ch;
}

/* ============================================================
   SERVIÇOS — 3 colunas flat (sem card pesado)
   ============================================================ */
.lh-section--servicos .lh-kicker { margin-bottom: .5rem; }

.lh-services-cols.wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.lh-services-cols.wp-block-columns > .wp-block-column {
  flex-basis: unset !important;
  width: auto !important;
  min-width: 0;
}

.lh-service-num {
  font-size: .8125rem;
  color: var(--lh-accent);
  font-weight: 500;
  margin-bottom: .5rem;
}

.lh-service-desc {
  font-size: .875rem;
  line-height: 1.55;
  color: var(--lh-muted);
}

/* ============================================================
   CALCULADORA (seção própria) — fundo band, 2 colunas 1fr .85fr
   ============================================================ */
.lh-section--calc {
  background: var(--lh-surface2);
  border-top: 1px solid var(--lh-border-soft);
  border-bottom: 1px solid var(--lh-border-soft);
  max-width: none; /* banda cheia */
}

.lh-section--calc .lh-section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.lh-calc-cols.wp-block-columns {
  display: grid !important;
  grid-template-columns: 1fr .85fr;
  gap: 2.5rem;
  align-items: center;
}

.lh-calc-cols.wp-block-columns > .wp-block-column {
  flex-basis: unset !important;
  width: auto !important;
  min-width: 0;
}

/* Crachá IPCA */
.lh-ipca-badge {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem .875rem;
  border: 1px solid var(--lh-border);
  border-radius: 30px;
  background: var(--lh-surface);
  font-size: .8125rem;
  color: var(--lh-faint);
  margin-top: 1.125rem;
}

.lh-ipca-badge .lh-ipca-val {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: .9375rem;
  color: var(--lh-accent);
}

/* ============================================================
   BLOG — prévia de artigos
   ============================================================ */
.lh-blog-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.lh-blog-title {
  font-family: var(--lh-font-display);
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1.2;
  color: var(--lh-ink);
}

.lh-blog-all {
  font-family: var(--lh-font-eyebrow);
  font-size: .75rem;
  letter-spacing: .04em;
  font-weight: 400;
  color: var(--lh-accent) !important;
  text-decoration: none !important;
}
.lh-blog-all:hover { filter: brightness(.88); }

.lh-article-cols.wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.125rem;
}

.lh-article-cols.wp-block-columns > .wp-block-column {
  flex-basis: unset !important;
  width: auto !important;
  min-width: 0;
}

.lh-latest-posts {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 1.25rem;
  align-items: stretch;
}

.lh-latest-posts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .875rem;
}

/* Card de artigo */
.lh-article-card {
  border: 1px solid var(--lh-border) !important;
  border-radius: 4px !important;
  overflow: hidden;
}

.lh-article-link {
  display: grid;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.lh-article-link:hover .lh-article-title,
.lh-article-link:focus-visible .lh-article-title {
  color: var(--lh-accent);
}

.lh-article-media {
  background: var(--lh-imgph);
  overflow: hidden;
}

.lh-article-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.lh-article-link:hover .lh-article-image,
.lh-article-link:focus-visible .lh-article-image {
  transform: scale(1.025);
}

.lh-article-card--featured .lh-article-link {
  grid-template-rows: minmax(260px, 1fr) auto;
}

.lh-article-card--featured .lh-article-body {
  padding: 1.15rem 1.25rem 1.3rem;
}

.lh-article-card--featured .lh-article-title {
  font-size: clamp(1.375rem, 2.7vw, 2rem);
  line-height: 1.08;
}

.lh-article-card--compact .lh-article-link {
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 132px;
}

.lh-article-card--compact .lh-article-media {
  min-height: 132px;
}

.lh-article-card--compact .lh-article-body {
  padding: .875rem .95rem;
}

.lh-article-card--compact .lh-article-title {
  font-size: 1rem;
  margin-bottom: .35rem;
}

.lh-article-thumb {
  height: 140px;
  background: var(--lh-imgph);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6875rem;
  color: var(--lh-imgph-ink);
  letter-spacing: .04em;
}

.lh-article-thumb--fallback {
  height: 100%;
  min-height: 132px;
  text-transform: uppercase;
}

.lh-article-body {
  padding: .875rem .9375rem 1rem;
}

.lh-article-date {
  font-family: var(--lh-font-eyebrow);
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--lh-faint2);
  margin-bottom: .4375rem;
}

.lh-article-title {
  font-family: var(--lh-font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.2;
  margin-bottom: .5rem;
  color: var(--lh-ink);
}

.lh-article-excerpt {
  font-size: 1rem;
  line-height: 1.2;
  color: var(--lh-muted);
}

.lh-article-actions {
  display: flex;
  gap: .875rem;
  margin-top: .75rem;
  color: var(--lh-ink);
}

.lh-article-actions .lh-listen { color: var(--lh-accent); }

.lh-blog-empty {
  border: 1px dashed var(--lh-border-soft);
  border-radius: 10px;
  color: var(--lh-muted);
  padding: 1.25rem;
}

@media (max-width: 860px) {
  .lh-latest-posts {
    grid-template-columns: 1fr;
  }

  .lh-latest-posts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lh-article-card--compact .lh-article-link {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .lh-blog-header {
    align-items: flex-start;
    flex-direction: column;
    gap: .5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .lh-latest-posts-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LISTA DE CATEGORIAS — formato "caminho" (alternativa A)
   designs/blog-categorias-alternativas.html
   Shortcode: [lh_categorias_jornada]
   ============================================================ */
.lh-cat-journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--lh-line);
}

.lh-cat-journey-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .5rem;
  min-height: 150px;
  padding: 1.5rem 1.375rem 1.25rem 0;
  color: inherit;
  text-decoration: none;
}

.lh-cat-journey-item + .lh-cat-journey-item {
  padding-left: 1.375rem;
  border-left: 1px solid var(--lh-line);
}

.lh-cat-journey-item:hover .lh-cat-journey-title,
.lh-cat-journey-item:focus-visible .lh-cat-journey-title {
  color: var(--lh-accent);
}

.lh-cat-journey-title {
  font-family: var(--lh-font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--lh-ink);
  transition: color .16s ease;
}

.lh-cat-journey-sub {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--lh-font-body);
  font-size: .9rem;
  line-height: 1.4;
  color: var(--lh-muted);
}

.lh-cat-journey-arrow {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--lh-accent);
}

@media (max-width: 768px) {
  .lh-cat-journey {
    grid-template-columns: 1fr;
  }

  .lh-cat-journey-item {
    min-height: 0;
    padding: 1.125rem 0;
    border-top: 1px solid var(--lh-line);
  }

  .lh-cat-journey-item:first-child {
    border-top: 0;
  }

  .lh-cat-journey-item + .lh-cat-journey-item {
    padding-left: 0;
    border-left: 0;
  }
}

/* ============================================================
   FAIXA DE ÁUDIO
   ============================================================ */
.lh-audio-band {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1.875rem 2.5rem;
}

.lh-audio-band h2 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--lh-dark-ink);
}

.lh-audio-label {
  font-size: .8125rem;
  color: var(--lh-dark-muted);
}

/* ============================================================
   CONSULTORIA — 2 colunas texto + form
   ============================================================ */
.lh-consult-cols.wp-block-columns {
  display: grid !important;
  grid-template-columns: .95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.lh-consult-cols.wp-block-columns > .wp-block-column {
  flex-basis: unset !important;
  width: auto !important;
  min-width: 0;
}

.lh-consult-handle {
  font-size: .8125rem;
  color: var(--lh-faint);
  margin-top: 1.125rem;
}

/* ============================================================
   SOBRE — 2 colunas foto + bio
   ============================================================ */
.lh-sobre-cols.wp-block-columns {
  display: grid !important;
  grid-template-columns: .6fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

.lh-sobre-cols.wp-block-columns > .wp-block-column {
  flex-basis: unset !important;
  width: auto !important;
  min-width: 0;
  /*justify-content: center;*/
}

.lh-sobre-photo {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.lh-sobre-photo img {
  /*width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;*/
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}

.lh-sobre-creds {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.125rem;
  font-size: .8125rem;
  color: var(--lh-muted);
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.lh-cta {
  padding: 1rem 2.2rem 2.2rem;
  text-align: center;
  background: #EC3A2A;
  color: #fff;
}

.lh-cta h2,
.lh-cta .lh-cta-title {
  font-family: var(--lh-font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  max-width: 22ch;
  margin: 0 auto;
  color: #fff;
}

.lh-cta .wp-block-buttons {
  margin-top: 2.25rem;
  justify-content: center;
}

/* Botão primário no CTA — branco sobre coral */
.lh-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: #fff !important;
  color: var(--lh-ink) !important;
  border-color: #fff !important;
}
.lh-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  filter: brightness(.94) !important;
}

.lh-cta .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.55) !important;
}
.lh-cta .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(255,255,255,.12) !important;
  filter: none !important;
}

/* ============================================================
   FULL-WIDTH — landing sem constrains do GP
   ============================================================ */

/* Remove a limitação de largura do GP na landing */
.lh-fullwidth .grid-container:not(.inside-header):not(.inside-footer),
.lh-fullwidth .site-content,
.lh-fullwidth .content-area,
.lh-fullwidth .site-main {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Remove o padding lateral padrão do entry-content */
.lh-fullwidth .entry-content {
  max-width: 100%;
  padding: 0;
}

/* Oculta o título de página gerado pelo GP (h1 "Landing — Luciany Hara") */
.lh-fullwidth .page-header,
.lh-fullwidth .entry-header {
  display: none;
}

/* ============================================================
   BOTÃO DE MODO CLARO/ESCURO (header GP)
   ============================================================ */

.lh-mode-toggle {
  position: fixed !important;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 16px);
  right: 16px;
  z-index: 99999 !important;
  background: var(--lh-surface, #fafafa);
  border: 1px solid var(--lh-border, #e7e3db);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: var(--lh-muted, #605b53);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s, border-color .15s;
}

.lh-mode-toggle:hover {
  background: var(--lh-accent, #FF3131) !important;
  color: #fff !important;
  border-color: var(--lh-accent, #FF3131) !important;
}

/* ============================================================
   HEADER DA LANDING
   ============================================================ */
.lh-header--landing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 56px;
  border-bottom: 1px solid var(--lh-line);
  background: var(--lh-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.lh-logo-link { display: inline-flex; text-decoration: none; }
.lh-logo-link img { display: block; }

.lh-header--landing .lh-nav {
  display: flex;
  gap: .25rem;
  font-size: .8125rem;
  align-items: center;
  position: relative; /* âncora do pill absoluto */
}

/* Pill deslizante (criado via JS) */
.lh-nav-pill {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--lh-accent);
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transition:
    transform .22s cubic-bezier(.4, 0, .2, 1),
    width     .18s cubic-bezier(.4, 0, .2, 1),
    opacity   .15s ease;
  will-change: transform, width;
}

.lh-header--landing .lh-nav a {
  position: relative;
  z-index: 1;
  font-family: var(--lh-font-body);
  font-size: .9375rem;
  color: var(--lh-muted);
  text-decoration: none;
  padding: .35rem .75rem;
  border-radius: 20px;
  transition: color .15s ease;
}

.lh-header--landing .lh-nav a:hover,
.lh-header--landing .lh-nav a:focus-visible {
  color: #fff;
  background: transparent;   /* pill faz o fundo */
  filter: none;
  outline: none;
}

/* ---- Botão hamburguer (só mobile) ---- */
.lh-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.lh-nav-toggle-bars,
.lh-nav-toggle-bars::before,
.lh-nav-toggle-bars::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--lh-ink);
  border-radius: 2px;
  transition: transform .22s ease, opacity .15s ease;
}
.lh-nav-toggle-bars { position: relative; }
.lh-nav-toggle-bars::before { position: absolute; top: -7px; left: 0; }
.lh-nav-toggle-bars::after  { position: absolute; top:  7px; left: 0; }

/* Estado aberto → vira X */
.lh-header--landing.is-open .lh-nav-toggle-bars { background: transparent; }
.lh-header--landing.is-open .lh-nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.lh-header--landing.is-open .lh-nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .lh-header--landing { padding: 14px 20px; }
  .lh-nav-toggle { display: inline-flex; }
  .lh-header--landing .lh-nav-pill { display: none; }

  /* Painel deslizante abaixo do header — lista limpa, full-width, tap generoso */
  .lh-header--landing .lh-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;   /* linhas ocupam a largura toda */
    gap: 0;
    background: var(--lh-bg);
    border-bottom: 1px solid var(--lh-line);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    padding: .25rem 20px 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .lh-header--landing.is-open .lh-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .lh-header--landing .lh-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;          /* área de toque confortável */
    padding: .5rem .25rem;
    font-family: var(--lh-font-body);
    font-size: 1.125rem;       /* mais legível */
    font-weight: 500;
    color: var(--lh-ink);      /* contraste alto */
    text-align: left;
    border-radius: 0;
    border-bottom: 1px solid var(--lh-border-soft);
  }
  .lh-header--landing .lh-nav a:last-child { border-bottom: 0; }
  .lh-header--landing .lh-nav a:hover,
  .lh-header--landing .lh-nav a:focus-visible,
  .lh-header--landing .lh-nav a:active {
    color: var(--lh-accent);
    background: transparent;
  }
}


.main-navigation.toggled .main-nav li {margin: 10px 0;}
.has-inline-mobile-toggle #site-navigation.toggled {margin-top: 0 !important;}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .lh-hero-cols.wp-block-columns,
  .lh-metodo-cols.wp-block-columns,
  .lh-calc-cols.wp-block-columns,
  .lh-consult-cols.wp-block-columns,
  .lh-sobre-cols.wp-block-columns {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .lh-services-cols.wp-block-columns {
    grid-template-columns: 1fr 1fr !important;
  }

  .lh-section { padding: 0; }
  .lh-section > .wp-block-group__inner-container,
  .lh-section > .lh-section-inner { padding: 3rem 1.5rem; }
  .lh-cred-bar { padding: 1rem 1.5rem; gap: 1rem; }
  .lh-audio-band { padding: 1.5rem 1.5rem; }
  .lh-cta { padding: 1.5rem 1.5rem; }
  .lh-header--landing { padding: 18px 24px; }
}

@media (max-width: 600px) {
  .lh-services-cols.wp-block-columns,
  .lh-article-cols.wp-block-columns {
    grid-template-columns: 1fr !important;
  }

  .lh-cred-bar .lh-cred-handle { margin-left: 0; }
}

/* ============================================================
   NÚMEROS / STATS — 4 blocos em destaque
   ============================================================ */
.lh-section--numeros {
  background: var(--lh-surface2);
  border-top: 1px solid var(--lh-border-soft);
  border-bottom: 1px solid var(--lh-border-soft);
}

.lh-numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.lh-numero-bloco {
  padding: 1.2rem 1.75rem;
  border-right: 1px solid var(--lh-border);
  text-align: center;
  transition: background .18s ease;
}
.lh-numero-bloco:last-child { border-right: 0; }
.lh-numero-bloco:hover { background: var(--lh-surface); }

.lh-numero-val {
  font-family: var(--lh-font-num);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lh-accent);
  letter-spacing: -.02em;
  display: block;
}

.lh-numero-val--ink { color: var(--lh-ink); }

.lh-numero-label {
  font-family: var(--lh-font-eyebrow);
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.65;
  color: var(--lh-muted);
  margin-top: .4rem;
  margin-left: auto;
  margin-right: auto;
}

/* Animação count-up: a JS em lh-countup.js dispara ao entrar na viewport */
@keyframes lh-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lh-numero-bloco.lh-visible {
  animation: lh-fade-up .45s ease both;
}
.lh-numero-bloco.lh-visible:nth-child(2) { animation-delay: .08s; }
.lh-numero-bloco.lh-visible:nth-child(3) { animation-delay: .16s; }
.lh-numero-bloco.lh-visible:nth-child(4) { animation-delay: .24s; }

@media (max-width: 900px) {
  .lh-numeros-grid { grid-template-columns: repeat(2, 1fr); }
  .lh-numero-bloco:nth-child(2) { border-right: 0; }
  .lh-numero-bloco:nth-child(3),
  .lh-numero-bloco:nth-child(4) {
    border-top: 1px solid var(--lh-border-soft);
  }
}
@media (max-width: 480px) {
  .lh-numeros-grid { grid-template-columns: 1fr 1fr; }
  .lh-numero-bloco { border-right: 0 !important; border-top: 1px solid var(--lh-border-soft); padding: .8rem .8rem;}
  .lh-numero-bloco:first-child { border-top: 0; }
  .lh-numero-label {font-size: .8rem; line-height: 1.2; max-width: none; margin-top: .4rem;}
}

/* ============================================================
   3 FASES DA LIBERDADE
   ============================================================ */
.lh-section--fases {
  background: var(--lh-bg);
  padding-top: 2rem;
}
@media (max-width: 480px) {
  .lh-section--fases {padding: .8rem 1.2rem;}
}

.lh-section--fases h3 {
  text-align:center;
}

.lh-fases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.lh-fase-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
}

.lh-fase-card img {
  width: 100%;
  height: 260px;
  max-width: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  display: block;
}

.lh-fase-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lh-ink);
}

.lh-fase-title em {
  font-style: normal;
  color: var(--lh-accent);
}
@media (max-width: 480px) {
  .lh-fase-title {
    font-size: 1.2rem !important;
    line-height: 1.1;
    text-align: right;
  }
}
.lh-fases-pergunta {
  margin-top: 2rem;
  border-left: 3px solid var(--lh-accent);
  padding-left: 1.25rem;
  font-size: 1.0625rem;
  font-family: var(--lh-font-display);
  font-weight: 500;
  color: var(--lh-ink);
  line-height: 1.45;
}

@media (max-width: 768px) {
  .lh-fases-grid { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .lh-fase-card img { max-width: 100%; }
}
@media (max-width: 480px) {
  .lh-fases-grid { grid-template-columns: 1fr; }
  .lh-fase-card { flex-direction: row; align-items: flex-start; text-align: left; }
  .lh-fase-card img { width: 140px; height: 140px; flex-shrink: 0; }
}

/* ============================================================
   CONSULTORIA 4P
   ============================================================ */
.lh-section--4p {
  background: var(--lh-dark);
  color: var(--lh-dark-ink);
  padding-right: 1.4rem;
  padding-left: 1.4rem;
}

.lh-4p-cols.wp-block-columns {
  display: grid !important;
  grid-template-columns: .65fr 1.35fr;
  gap: 1rem;
  align-items: center;
}
.lh-4p-cols.wp-block-columns > .wp-block-column {
  flex-basis: unset !important; width: auto !important; min-width: 0;
}

.lh-4p-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lh-4p-logo img {
  max-width: 160px;
  opacity: .9;
}

.lh-4p-body h2 {
  font-family: var(--lh-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 600 !important;
  color: var(--lh-dark-ink) !important;
  margin-top: 0;
  letter-spacing: -.01em !important;
}

.lh-4p-body p {
  color: var(--lh-dark-sub);
  font-size: .9375rem;
}

.lh-4p-body .lh-btn--4p {
  display: inline-block;
  margin-top: 1.375rem;
  padding: .875rem 1.75rem;
  background: var(--lh-accent);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 40px;
  font-size: .9375rem;
  font-weight: 500;
  font-family: var(--lh-font-body);
  transition: filter .15s;
}
.lh-4p-body .lh-btn--4p:hover { filter: brightness(.92); }

@media (max-width: 768px) {
  .lh-4p-cols.wp-block-columns { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .lh-4p-logo { justify-content: flex-start; }
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.lh-section--depoimentos {
  background: var(--lh-surface2);
  border-top: 1px solid var(--lh-border-soft);
}
@media (max-width: 560px) {
  .lh-section--depoimentos h2 {
    padding-left: 1.2rem;
    padding-top:.8rem;
    margin-bottom: 0;
  }
}

.lh-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: .8rem;
  padding: 8px;
}

.lh-testimonial {
  background: var(--lh-bg);
  border: 1px solid var(--lh-border);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.lh-testimonial-quote {
  font-family: var(--lh-font-body);
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--lh-ink);
  flex: 1;
}

.lh-testimonial-author {
  font-family: var(--lh-font-eyebrow);
  font-size: .6875rem;
  color: var(--lh-faint);
  letter-spacing: .04em;
  border-top: 1px solid var(--lh-border);
  padding-top: .75rem;
}

.lh-testimonial-stars {
  color: var(--lh-accent);
  font-size: .875rem;
  letter-spacing: .1em;
}

@media (max-width: 768px) {
  .lh-testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============================================================
   HERO — accent sem itálico (mantém contraste apenas com cor)
   ============================================================ */
.lh-section--hero h1 .lh-red {
  font-style: normal;
  font-weight: 700;
}

/* ============================================================
   INDICADOR DE REFERÊNCIA — infográfico IPCA+6%
   ============================================================ */
.lh-section--ipca {
  background: var(--lh-surface2);
  border-top: 1px solid var(--lh-border-soft);
  border-bottom: 1px solid var(--lh-border-soft);
}

.lh-ipca-table {
  width: 100%;
  max-width: 100%;
  margin: .8rem auto 0;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--lh-bg);
  border: 1px solid var(--lh-border);
  border-radius: 4px;
  overflow: hidden;
}

.lh-ipca-table th {
  font-family: var(--lh-font-eyebrow);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lh-faint);
  font-weight: 400;
  padding: .8rem 1.5rem .4rem;
  text-align: center;
  border-bottom: 1px solid var(--lh-border);
}

.lh-ipca-table td {
  padding: 1.3rem 1.2rem;
  text-align: center;
  border-bottom: 1px solid var(--lh-border);
}
.lh-ipca-table tr:last-child td { border-bottom: 0; }

.lh-ipca-label {
  font-family: var(--lh-font-eyebrow);
  font-size: .5625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--lh-faint);
}

.lh-ipca-val-big {
  display: block;
  font-family: var(--lh-font-num);
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--lh-accent);
  letter-spacing: -.02em;
  line-height: 1.0;
}

.lh-ipca-ref {
  display: block;
  font-family: var(--lh-font-eyebrow);
  letter-spacing: .06em;
  color: var(--lh-faint2);
  margin-top: .5rem;
}

.lh-ipca-atualizado {
  font-size: .6875rem;
  color: var(--lh-faint2);
  margin-top: 1rem;
  font-style: italic;
}

@media (max-width: 640px) {
  .lh-ipca-table th, .lh-ipca-table td { padding: .75rem .5rem; }
  .lh-ipca-val-big { font-size: 1.125rem; }
}

/* ============================================================
   4P — logo maior
   ============================================================ */
.lh-4p-logo img {
  max-width: 480px !important;
  width: 100% !important;
}
.lh-section--4p {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}
@media (max-width: 480px) {
  .lh-section--4p {
    /*padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;*/
  }
}
/* ============================================================
   BLOG — padding inferior
   ============================================================ */
.lh-section--blog > .wp-block-group__inner-container,
.lh-section--blog > .lh-section-inner {
  padding-bottom: 4rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.lh-footer {
  background: var(--lh-dark);
  color: var(--lh-dark-ink);
  padding: 3.5rem 3.5rem 2.5rem;
  padding: 1.5rem 2.5rem 0;
}

.lh-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.lh-footer-name {
  font-family: var(--lh-font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--lh-dark-ink);
  line-height: 1.2;
  margin: 0 0 .25rem;
}

.lh-footer-specialty {
  font-family: var(--lh-font-eyebrow);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lh-accent);
  font-weight: 400;
  margin: .375rem 0 1.5rem;
}

.lh-footer-logo {
  height: 36px;
  width: auto;
  opacity: .7;
  filter: brightness(0) invert(1);
  display: block;
  margin-bottom: 1rem;
}

.lh-footer-creds {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  align-items: flex-end;
  text-align: right;
}

.lh-footer-cred-item {
  font-family: var(--lh-font-eyebrow);
  font-size:1rem;
  letter-spacing: .04em;
  color: var(--lh-dark-sub);
  line-height: 1.8;
}

.lh-footer-cred-item strong {
  color: var(--lh-dark-ink);
  font-weight: 700;
}

.lh-footer-social {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1rem;
  color: var(--lh-dark-muted);
  margin-top: .5rem;
}

.lh-footer-social a {
  color: var(--lh-dark-sub) !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: .35rem;
  transition: color .15s;
}
.lh-footer-social a:hover { color: var(--lh-accent) !important; filter: none !important; }

.lh-footer-divider {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 1.2rem 0 0rem;
}

.lh-footer-bottom, .copyright-bar {
  max-width: 1080px;
  margin: 0 auto;
  font-size: .6875rem;
  color: var(--lh-dark-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

@media (max-width: 640px) {
  .lh-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .lh-footer-creds { align-items: flex-start; text-align: left; }
  .lh-footer { padding: 2.5rem 1.25rem 1.5rem; }
}

/* ============================================================
   lh-muted helper (landing blocks) — cor de texto secundário
   usado pelos parágrafos das seções Fases e Sobre reconstruídas
   ============================================================ */
.lh-muted { color: var(--lh-muted); }

/* ============================================================
   COMPATIBILIDADE / "A resposta" — cards de riscos (blindar patrimônio)
   ============================================================ */
.lh-compat{
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.lh-compat__head{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lh-compat__kicker{
  font-family: 'Space Mono', var(--lh-font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a837c;
}
.lh-compat__title{
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  max-width: 720px;
  color: var(--lh-ink);
}
.lh-compat-cards, body .is-layout-flex .lh-compat-cards{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lh-compat-card{
  background: #efece7;
  border-radius: 20px;
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 220px;
}
.lh-compat-card__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lh-compat-card__icon{
  color: var(--lh-ink);      /* stroke herda de currentColor */
  flex: 0 0 auto;
}
.lh-compat-card__icon circle{
  fill: var(--lh-accent);
  stroke: none;
}
.lh-compat-card__num{
  font-family: 'Space Mono', var(--lh-font-mono);
  font-size: 12px;
  color: var(--lh-accent);
}
.lh-compat-card__text{
  font-size: 18px;
  line-height: 1.55;
  color: #322e2b;
}
.lh-compat-card__text strong{
  font-weight: 700;
}
.lh-compat-card__rule{
  margin-top: auto;
  height: 3px;
  width: 44px;
  background: var(--lh-accent);
  border-radius: 2px;
}
@media (max-width: 768px){
  .lh-compat-cards, body .is-layout-flex .lh-compat-cards { grid-template-columns: 1fr !important; }
	
	.lh-compat-card{min-height: 170px;}
  .lh-compat__title{ font-size: 20px; }
}

/* zera as margens do layout de bloco do WP dentro do componente (usamos gap/grid próprios) */
.lh-compat > *,
.lh-compat__head > *,
.lh-compat-cards > *,
.lh-compat-card > * { margin-top: 0; margin-bottom: 0; }

@media (max-width: 781px) {
  /* 3 cards empilhados */
  .lh-compat-cards {
    flex-direction: column !important;
    display:grid !important;
  }

  /* elementos de cada card na horizontal 
  .lh-compat-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }*/

  /* ícone + número continuam juntos, mas na vertical dentro do card */
  .lh-compat-card__top {
    flex-direction: column;
    align-items: center;
    margin: 0;
    flex-shrink: 0;
  }
  .lh-compat-card__num {
    margin-top: 4px;
  }

  /* texto ocupa o espaço restante */
  .lh-compat-card__text {
    flex: 1;
    margin: 0;
  }

  /* traço vermelho: some no mobile pra não quebrar a linha */
  .lh-compat-card__rule {
    display: none;
  }
}



 body:not(.home) .separate-containers .comments-area,  body:not(.home) .separate-containers .inside-article,  body:not(.home) .separate-containers .page-header,  body:not(.home) .separate-containers .paging-navigation {padding: 24px !important;}

/* ============================================================
   DEPOIMENTOS — Testimonial do PageLayer (produção, sem alterar HTML)
   ------------------------------------------------------------
   O selo do plano já vem embutido no texto do depoimento como
   <mark class="has-lh-bg-color" style="background-color:...">,
   dentro de <strong>, seguido de dois <br>. Não existe elemento
   nativo de estrelas no widget — por isso as estrelas são geradas
   via CSS (::before), sem precisar tocar em HTML. Tudo abaixo é
   automático para qualquer widget Testimonial do PageLayer no site,
   atual ou futuro — não precisa repetir nada por depoimento.
   ============================================================ */

/* card do depoimento (a div que o próprio widget já gera) */
.pagelayer-testimonial {
  position: relative;
  background: var(--lh-bg);
  border: 1px solid var(--lh-border);
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-sizing: border-box;
}

/* estrelas geradas via CSS (o widget não tem esse campo) */
.pagelayer-testimonial-content::before {
  content: "★★★★★";
  display: block;
  color: var(--lh-accent);
  font-size: .8125rem;
  letter-spacing: .12em;
  margin-bottom: .6rem;
}

/* o selo do plano (o <mark> que já vem no texto) vira um badge */
.pagelayer-testimonial-content mark {
  display: inline-block;
  background: var(--lh-ink) !important;
  color: var(--lh-bg) !important;
  font-family: var(--lh-font-eyebrow);
  font-size: .6875rem;
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .45rem .7rem;
  border-radius: 3px;
}

/* fecha o espaço duplo dos dois <br><br> depois do selo e usa
   uma margem controlada no lugar deles */
.pagelayer-testimonial-content > strong:has(mark) {
  display: block;
  margin-bottom: 1rem;
}
.pagelayer-testimonial-content > strong:has(mark) + br,
.pagelayer-testimonial-content > strong:has(mark) + br + br {
  display: none;
}

/* tipografia da citação */
.pagelayer-testimonial-content {
  font-family: var(--lh-font-body) !important;
  font-size: 1.0625rem !important;
  line-height: 1.6 !important;
  color: var(--lh-ink) !important;
}

/* remove o avatar (foto + wrapper dela), se algum depoimento tiver */
.pagelayer-testimonial-author-details div:has(> img.pagelayer-testimonial-image) {
  display: none !important;
}

.pagelayer-testimonial-author-details {
  margin-top: .75rem !important;
  padding-top: .75rem;
  border-top: 1px solid var(--lh-border);
}

.pagelayer-testimonial-author-details .pagelayer-testimonial-cite .pagelayer-testimonial-author {
  color: var(--lh-ink) !important;
  font-family: var(--lh-font-body) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
}

.pagelayer-testimonial-author-details .pagelayer-testimonial-cite .pagelayer-testimonial-author-title {
  color: var(--lh-muted) !important;
  font-family: var(--lh-font-eyebrow) !important;
  font-size: .75rem !important;
  letter-spacing: .02em !important;
  text-transform: none;
}