/* ============================================================
   PÁGINAS POR PÚBLICO (educacao · empresas · saude · instituicoes-religiosas)
   Complementa styles.css — mesmos tokens, mesma voz.
   ============================================================ */

/* ---------- Hero ---------- */
.lp-hero .hero-text { max-width: 700px; }
.lp-hero .hero-text h1 { font-size: clamp(2.05rem, 1.15rem + 2.9vw, 3.35rem); line-height: 1.1; }
.lp-hero .hero-text .lede { font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); }
.lp-hero .hero-text .copy { max-width: 56ch; }
.lp-hero .hero-photo { object-position: 50% 16%; }
.lp-hero .hero-grid { padding-bottom: 3.2rem; }
.lp-hero .hero-ctas { align-items: center; gap: 1.2rem 1.6rem; }
.lp-link {
  font-size: var(--body-sm); font-weight: 700; color: var(--offwhite);
  border-bottom: 1px solid rgba(247,244,237,.4); padding-bottom: .15rem;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.lp-link:hover { color: var(--yellow); border-color: var(--yellow); }

.lp-stats {
  display: grid; gap: .75rem; grid-template-columns: 1fr;
  margin-top: 2.2rem; max-width: 700px;
}
.lp-stat {
  display: grid; grid-template-columns: minmax(5.6rem, auto) 1fr; align-items: center; gap: .9rem;
  padding: .85rem 1.1rem; border-radius: var(--radius-md);
}
.lp-stat-num {
  font-family: var(--font-serif); font-weight: 700; color: var(--yellow);
  font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); line-height: 1; white-space: nowrap;
}
.lp-stat-txt { font-size: .8rem; line-height: 1.35; color: var(--gray-light); }
.lp-stat-txt small { display: block; margin-top: .15rem; color: var(--gray-mid); font-size: .7rem; }

@media (min-width: 768px) {
  .lp-stats { grid-template-columns: repeat(3, 1fr); }
  .lp-stat { grid-template-columns: 1fr; gap: .45rem; align-content: start; padding: 1rem 1.1rem 1.1rem; }
}

/* ---------- Dor ---------- */
.lp-pain-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 2.6rem; }
.lp-pain-card {
  position: relative; padding: 2rem 1.8rem 1.9rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--gray-light);
  box-shadow: 0 14px 40px rgba(43,43,43,.06);
}
.lp-pain-card .num {
  font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--brown);
  display: block; margin-bottom: .9rem;
}
.lp-pain-card h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); margin-bottom: .7rem; }
.lp-pain-card p { color: var(--graphite); opacity: .85; font-size: var(--body-sm); }
.lp-pain-close {
  margin-top: 2.4rem; max-width: 60ch;
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
  line-height: 1.4; color: var(--brown);
}
@media (min-width: 900px) { .lp-pain-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Dados / gráficos ---------- */
.lp-data { background: var(--graphite); color: var(--offwhite); }
.lp-data .lede { color: var(--yellow-soft); }
.chart-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.chart-card { padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--radius-lg); display: flex; flex-direction: column; margin: 0; }
.chart-card h3 {
  font-family: var(--font-sans); font-weight: 700; font-size: 1rem; line-height: 1.35;
  letter-spacing: .005em; color: var(--offwhite); margin-bottom: 1.4rem;
}
.chart-card h3 span { display: block; margin-top: .25rem; font-size: .78rem; font-weight: 500; color: var(--gray-mid); }
.chart-note { margin-top: 1.3rem; font-size: .92rem; color: var(--gray-light); line-height: 1.5; }
.chart-note strong { color: var(--yellow); }
.chart-src { margin-top: auto; padding-top: 1.2rem; font-size: .72rem; line-height: 1.45; color: var(--gray-mid); }
.chart-src a { color: var(--gray-light); text-decoration: underline; text-underline-offset: 2px; }
.chart-src a:hover { color: var(--yellow); }
@media (min-width: 900px) {
  .chart-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .chart-card--wide { grid-column: 1 / -1; }
}

/* barras horizontais */
.hbars { display: grid; gap: 1rem; }
.hbar-row { display: grid; gap: .4rem; }
.hbar-head { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; line-height: 1.3; color: var(--gray-light); }
.hbar-head b { font-family: var(--font-serif); font-size: 1.05rem; color: var(--offwhite); white-space: nowrap; }
.hbar-track { height: 12px; border-radius: 99px; background: rgba(247,244,237,.1); overflow: hidden; }
.hbar-fill {
  height: 100%; width: calc(var(--v) * 1%); border-radius: 99px;
  background: linear-gradient(90deg, var(--brown-soft), var(--yellow));
}
.hbar-fill.is-dim { background: rgba(247,244,237,.34); }
.hbar-fill.is-hot { background: var(--yellow); box-shadow: 0 0 16px rgba(237,218,138,.5); }
.hbar-group + .hbar-group { margin-top: 1.5rem; }
.hbar-group-title { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); margin-bottom: .8rem; }

/* colunas */
.cols { display: flex; align-items: flex-end; gap: clamp(.7rem, 2.4vw, 1.4rem); height: 240px; padding-top: 1.6rem; border-bottom: 1px solid rgba(247,244,237,.2); }
.cols--grouped { gap: clamp(1rem, 4vw, 2.4rem); }
.col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; }
.col-val { font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; color: var(--offwhite); margin-bottom: .45rem; white-space: nowrap; }
.col-bar {
  width: min(100%, 78px); height: calc(var(--v) * 1%); min-height: 4px;
  border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--yellow), var(--brown-soft));
}
.col-bar.is-dim { background: rgba(247,244,237,.3); }
.col-label { margin-top: .7rem; font-size: .76rem; line-height: 1.25; text-align: center; color: var(--gray-light); }
.cols-labels { display: flex; gap: clamp(.7rem, 2.4vw, 1.4rem); }
.cols-labels .col-label { flex: 1; }
.col-group { flex: 1; display: flex; flex-direction: column; height: 100%; justify-content: flex-end; min-width: 0; }
.col-group-bars { display: flex; align-items: flex-end; justify-content: center; gap: .35rem; height: 100%; }
.col-group-bars .col { flex: 0 1 46px; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-bottom: .6rem; font-size: .76rem; color: var(--gray-light); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .4rem; background: var(--yellow); vertical-align: -1px; }
.legend i.dim { background: rgba(247,244,237,.4); }

/* rosca */
.donuts { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem 2.4rem; }
.donut { position: relative; width: 148px; text-align: center; }
.donut svg { width: 148px; height: 148px; transform: rotate(-90deg); display: block; }
.donut circle { fill: none; stroke-width: 11; }
.donut .trk { stroke: rgba(247,244,237,.12); }
.donut .arc { stroke: var(--yellow); stroke-linecap: round; stroke-dasharray: var(--p) 100; }
.donut .arc.is-dim { stroke: rgba(247,244,237,.45); }
.donut-val { position: absolute; top: 0; left: 0; width: 148px; height: 148px; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.6rem; color: var(--offwhite); }
.donut-cap { margin-top: .6rem; font-size: .78rem; line-height: 1.3; color: var(--gray-light); }

/* número grande */
.bignum { font-family: var(--font-serif); font-weight: 700; color: var(--yellow); font-size: clamp(2.6rem, 1.8rem + 3vw, 4.2rem); line-height: 1; }
.bignum-cap { margin-top: .6rem; color: var(--gray-light); font-size: .95rem; }

/* anos (doença rara) */
.years { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-top: 1.2rem; }
.year { height: 30px; border-radius: 5px; background: rgba(247,244,237,.1); overflow: hidden; position: relative; }
.year i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brown-soft), var(--yellow)); width: calc(var(--f) * 100%); }
.years-cap { display: flex; justify-content: space-between; margin-top: .5rem; font-size: .72rem; color: var(--gray-mid); }

/* linha do tempo */
.tl { position: relative; display: grid; gap: 1.5rem; padding-left: 1.7rem; }
.tl::before { content: ""; position: absolute; left: 5px; top: .4rem; bottom: .4rem; width: 1px; background: rgba(247,244,237,.25); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -1.7rem; top: .35rem; width: 11px; height: 11px; border-radius: 50%; background: var(--graphite); border: 2px solid var(--gray-mid); }
.tl-item.is-now::before { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 5px rgba(237,218,138,.18), 0 0 16px rgba(237,218,138,.6); }
.tl-date { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.tl-title { font-family: var(--font-serif); font-size: 1.15rem; margin: .15rem 0 .2rem; color: var(--offwhite); }
.tl-text { font-size: .86rem; color: var(--gray-light); line-height: 1.5; }

/* citação institucional */
.pullquote {
  margin: 0; padding: 1.6rem 1.8rem; border-left: 3px solid var(--yellow);
  background: rgba(247,244,237,.05); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.45; color: var(--offwhite);
}

/* animação: só quando há JS (sem JS tudo aparece pronto) */
.js [data-chart] .hbar-fill { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .15s; }
.js [data-chart] .col-bar { transform: scaleY(0); transform-origin: bottom; transition: transform 1.1s var(--ease) .15s; }
.js [data-chart] .col-val { opacity: 0; transition: opacity .5s var(--ease) .9s; }
.js [data-chart] .donut .arc { stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s var(--ease) .2s; }
.js [data-chart] .year i { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) calc(var(--i) * 140ms + .2s); }
.js [data-chart] .tl-item { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease) calc(var(--i) * 160ms), transform .6s var(--ease) calc(var(--i) * 160ms); }
.js [data-chart].is-in .hbar-fill, .js [data-chart].is-in .col-bar, .js [data-chart].is-in .year i { transform: none; }
.js [data-chart].is-in .col-val { opacity: 1; }
.js [data-chart].is-in .donut .arc { stroke-dasharray: var(--p) 100; }
.js [data-chart].is-in .tl-item { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-chart] * { transition: none !important; }
}

.lp-disclaimer { margin-top: 2.4rem; font-size: .78rem; color: var(--gray-mid); max-width: 78ch; line-height: 1.55; }

/* ---------- A virada ---------- */
.lp-turn { position: relative; background: var(--brown); color: var(--offwhite); }
.lp-turn .lede { color: var(--yellow-soft); }
.lp-turn-grid { display: grid; gap: 2.6rem; grid-template-columns: 1fr; align-items: start; }
.lp-seq { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 1.8rem; }
.lp-seq span {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5em 1em; border-radius: 99px;
  border: 1px solid rgba(247,244,237,.35); font-weight: 700; font-size: .85rem; color: var(--offwhite);
}
.lp-seq span b { color: var(--yellow); font-size: .72rem; }
.lp-anchor { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); color: var(--yellow); line-height: 1.4; }
.lp-benefits { display: grid; gap: 1rem; padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--radius-lg); }
.lp-benefits h3 { font-family: var(--font-sans); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.lp-benefits li { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; color: var(--offwhite); font-size: var(--body-sm); line-height: 1.5; }
.lp-benefits li svg { width: 20px; height: 20px; color: var(--yellow); margin-top: .1rem; }
@media (min-width: 900px) { .lp-turn-grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }

/* ---------- Quem fala ---------- */
.lp-who { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.lp-who img { width: 100%; max-width: 420px; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 18%; border-radius: var(--radius-lg); height: auto; }
.lp-who-creds { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.lp-who-creds span { padding: .5em 1em; border-radius: 99px; background: var(--gray-light); font-size: .8rem; font-weight: 700; color: var(--graphite); }
@media (min-width: 900px) { .lp-who { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }

/* ---------- Notícias ---------- */
.news-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 2.4rem; }
.news-card {
  display: flex; flex-direction: column; gap: .8rem; padding: 1.7rem 1.6rem 1.5rem;
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(43,43,43,.1); }
.news-meta { display: flex; justify-content: space-between; gap: .8rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); }
.news-meta time { color: var(--gray-mid); font-weight: 700; }
.news-card h3 { font-size: 1.22rem; line-height: 1.25; font-weight: 600; }
.news-card p { font-size: .9rem; color: var(--graphite); opacity: .82; }
.news-card .news-link { margin-top: auto; padding-top: .4rem; font-size: .82rem; font-weight: 800; color: var(--graphite); display: inline-flex; gap: .4rem; align-items: center; }
.news-card .news-link:hover { color: var(--brown); }
.news-card .news-link svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease); }
.news-card:hover .news-link svg { transform: translate(2px,-2px); }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Steps (reaproveita .steps) ---------- */
.lp-steps-cta { margin-top: 3rem; }

/* ---------- CTA + formulário ---------- */
.lp-final { position: relative; background: #1b1917; color: var(--offwhite); overflow: hidden; }
.lp-final::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 34rem;
  background:
    linear-gradient(180deg, rgba(27,25,23,.1) 0%, rgba(27,25,23,.35) 38%, rgba(27,25,23,.9) 68%, #1b1917 88%),
    url('../assets/img/mic.jpg') center top / cover no-repeat;
}
.lp-final-grid { display: grid; gap: 2.6rem; grid-template-columns: 1fr; align-items: start; position: relative; padding-top: 14.5rem; }
.lp-final h2 { margin-bottom: 1.1rem; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
.lp-final .copy { color: var(--gray-light); margin-bottom: 1.4rem; max-width: 46ch; }
.lp-final .hero-signature { display: block; margin-bottom: 1.8rem; font-size: 1.25rem; }
.lp-final .form-card { color: var(--graphite); }
.lp-final .form-card h3 { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 1.2rem; }
.lp-final .wa-alt { display: inline-flex; margin-top: .4rem; }
.lp-final .form-note a { text-decoration: underline; }
@media (min-width: 900px) {
  .lp-final-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding-top: 0; }
  .lp-final::before { display: none; }
}

/* o formulário da landing não precisa do rótulo de "tipo" (vai oculto) */
.lp-final .field--hidden { display: none; }

/* ---------- Outras páginas (links cruzados) ---------- */
.lp-others { display: grid; gap: .8rem; grid-template-columns: 1fr; margin-top: 1.8rem; }
.lp-others a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; border-radius: var(--radius-md); border: 1px solid var(--gray-light); background: var(--white);
  font-weight: 700; font-size: .95rem; transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.lp-others a:hover { border-color: var(--brown); transform: translateY(-2px); }
.lp-others a small { display: block; font-weight: 500; color: var(--brown); font-size: .78rem; margin-top: .1rem; }
@media (min-width: 640px) { .lp-others { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Mobile: centraliza blocos de texto, como no restante do site ---------- */
@media (max-width: 767px) {
  .lp-hero .hero-ctas { justify-content: center; }
  .lp-hero .hero-ctas .btn { margin-inline: auto; }
  .lp-hero .hero-text { text-align: center; }
  .lp-hero .hero-text .copy { margin-inline: auto; }
  .lp-hero .eyebrow { justify-content: center; }
  .lp-link { margin-inline: auto; }
  .lp-section-head, .lp-section-head .eyebrow { text-align: center; justify-content: center; margin-inline: auto; }
  .lp-pain-close { text-align: center; margin-inline: auto; }
  .lp-turn-grid > div:first-child { text-align: center; }
  .lp-seq { justify-content: center; }
  .lp-who-text { text-align: center; }
  .lp-who-creds { justify-content: center; }
  .lp-who img { margin-inline: auto; }
  .lp-final-grid > div:first-child { text-align: center; }
  .lp-final .copy { margin-inline: auto; }
  .lp-final .wa-alt { margin-inline: auto; }
}

.lp-data .chart-card { background: rgba(247,244,237,.05); border-color: rgba(247,244,237,.1); box-shadow: none; }
.lp-data .chart-card .pullquote { background: transparent; }
.lp-turn .lp-benefits { background: rgba(30,24,18,.28); }
.proof .section-head { margin-bottom: 0; }

/* cabeçalho legível sobre a foto do hero */
.lp .site-header:not(.is-scrolled) { background: linear-gradient(180deg, rgba(27,25,23,.78), rgba(27,25,23,0)); }

.lp-final .form-card { background: rgba(247,244,237,.96); border-color: rgba(247,244,237,.4); }
.lp-final .form-note { color: #6b665f; }
.lp-section-head { max-width: 860px; }
.lp-section-head h2 { font-size: clamp(1.8rem, 1.15rem + 2.3vw, 2.9rem); }

.donut { display: flex; flex-direction: column; align-items: center; }
.donut-cap { width: 210px; max-width: 80vw; text-align: center; }

/* ---------- vídeo (YouTube com carregamento sob demanda) ---------- */
.lp-video { background: var(--graphite); color: var(--offwhite); }
.lp-video-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; align-items: center; }
.lp-video-frame { margin: 0; }
.yt-facade { position: relative; display: block; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity var(--dur-med) var(--ease), transform var(--dur-slow) var(--ease); }
.yt-facade:hover img { opacity: 1; transform: scale(1.03); }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--graphite);
  box-shadow: 0 0 30px 4px rgba(237,218,138,.45);
}
.yt-play svg { width: 34px; height: 34px; margin-left: 4px; }
.yt-badge { position: absolute; left: 1rem; bottom: 1rem; padding: .35em .8em; border-radius: 99px; background: rgba(27,25,23,.78); font-size: .72rem; font-weight: 700; color: var(--offwhite); }
.lp-video-cap { margin-top: .9rem; font-size: .8rem; color: var(--gray-mid); line-height: 1.5; }
@media (min-width: 900px) { .lp-video-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
@media (max-width: 767px) { .lp-video-text { text-align: center; } .lp-video .lp-link { margin-inline: auto; } }

/* botões longos (CTA de cada público) quebram linha em vez de estourar a tela */
.lp-hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
.lp-hero .hero-ctas .btn, .lp-final .btn, .lp-steps-cta { white-space: normal; text-align: center; justify-content: center; line-height: 1.3; }
