/* Psicovias — estilos do site estático (baseado no aspeto do tema WordPress anterior) */
:root {
  --amarelo: #f7c71b;
  --amarelo-escuro: #a87f00;   /* links: mesmo tom, legível sobre branco */
  --texto: #333;
  --titulos: #303133;
  --cinza: #6b6b6b;
  --linha: #e6e6e6;
  --fundo-suave: #f7f7f7;
  --rodape: #2b2b2b;
  --largura: 960px;
  --letra: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--letra); font-size: 17px; line-height: 1.6; color: var(--texto); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--amarelo-escuro); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { color: var(--titulos); line-height: 1.25; font-weight: 700; margin: 1.4em 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: .3em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
.contentor { max-width: var(--largura); margin: 0 auto; padding: 0 16px; }
.saltar { position: absolute; left: -9999px; }
.saltar:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

/* ---------- Cabeçalho ---------- */
.cabecalho { border-top: 5px solid var(--amarelo); background: #fff; border-bottom: 1px solid var(--linha); position: sticky; top: 0; z-index: 5; }
.cabecalho .contentor { max-width: 1200px; display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo img { display: block; max-width: 230px; max-height: 60px; width: auto; }
.redes { display: flex; gap: 10px; margin-left: auto; }
.redes a { color: var(--titulos); display: inline-flex; }
.redes svg { width: 18px; height: 18px; fill: currentColor; }
.menu-botao { display: none; }
nav.principal { flex: 1; }
nav.principal ul { list-style: none; margin: 0; padding: 0; }
nav.principal > ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 18px; }
nav.principal a { color: var(--titulos); font-size: .82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; display: block; padding: 6px 0; }
nav.principal li { position: relative; }
nav.principal li ul { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 260px; box-shadow: 0 6px 24px rgba(0,0,0,.12); padding: 8px 0; border-top: 3px solid var(--amarelo); }
nav.principal li ul ul { top: -11px; left: 100%; }
nav.principal li:hover > ul, nav.principal li:focus-within > ul { display: block; }
nav.principal li ul a { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 400; padding: 6px 18px; }
nav.principal li ul a:hover { background: var(--fundo-suave); text-decoration: none; }
nav.principal .tem-filhos > a::after { content: " ▾"; font-size: .7em; }
nav.principal li ul .tem-filhos > a::after { content: " ▸"; }
nav.principal .sub-botao { display: none; }
nav.principal li:last-child > ul, nav.principal li:nth-last-child(2) > ul { right: 0; left: auto; }

@media (max-width: 980px) {
  .cabecalho .contentor { flex-wrap: wrap; gap: 8px 16px; min-height: 64px; }
  .logo img { max-height: 46px; }
  .redes { margin-left: auto; }
  .menu-botao { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--linha); border-radius: 4px; padding: 6px 10px; font: inherit; font-size: .9rem; cursor: pointer; color: var(--titulos); }
  nav.principal { flex-basis: 100%; display: none; padding-bottom: 12px; }
  .menu-aberto nav.principal { display: block; }
  nav.principal > ul { display: block; }
  nav.principal li ul, nav.principal li ul ul { display: none; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  nav.principal li:hover > ul, nav.principal li:focus-within > ul { display: none; }
  nav.principal li.aberto > ul { display: block !important; }
  nav.principal li.tem-filhos { display: flex; flex-wrap: wrap; align-items: center; }
  nav.principal li.tem-filhos > a { flex: 1; }
  nav.principal li.tem-filhos > ul { flex-basis: 100%; }
  nav.principal a { padding: 10px 0; border-bottom: 1px solid var(--linha); }
  nav.principal .tem-filhos > a::after { content: ""; }
  nav.principal .sub-botao { display: inline-flex; width: 44px; height: 40px; align-items: center; justify-content: center; background: none; border: 0; border-bottom: 1px solid var(--linha); cursor: pointer; color: var(--titulos); }
  nav.principal .sub-botao::before { content: "▾"; transition: transform .15s; }
  nav.principal li.aberto > .sub-botao::before { transform: rotate(180deg); }
}

/* ---------- Conteúdo ---------- */
main { padding: 24px 0 56px; }
.migalhas { font-size: .88rem; color: var(--cinza); margin: 8px 0 16px; }
.migalhas a { color: var(--amarelo-escuro); }
.texto { font-size: 1.06rem; overflow-wrap: break-word; }
.artigo-grelha > * { min-width: 0; }
.texto iframe, .texto video, .texto embed { max-width: 100%; }
.texto p, .texto ul, .texto ol { margin: 0 0 1.1em; }
.texto figure { margin: 1.4em 0; }
.texto figure img, .texto .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.texto .alignleft { float: left; margin: 0 1.2em 1em 0; }
.texto .alignright { float: right; margin: 0 0 1em 1.2em; }
.texto .has-text-align-center { text-align: center; }
.texto blockquote { margin: 1.4em 0; padding: 12px 20px; border-left: 4px solid var(--amarelo); background: var(--fundo-suave); }
.texto blockquote.cartao-link { font-weight: 600; }
.texto iframe { max-width: 100%; border: 0; }
.texto .wp-block-embed__wrapper { position: relative; }
.texto figure.is-type-video iframe, .texto iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.texto table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.texto td, .texto th { border: 1px solid var(--linha); padding: 8px; }
.texto hr { border: 0; border-top: 1px solid var(--linha); margin: 2em 0; }
.texto::after { content: ""; display: table; clear: both; }
.botao, .texto a.botao { display: inline-block; background: var(--amarelo); color: #222; font-weight: 600; padding: 12px 22px; border-radius: 3px; text-decoration: none; }
.botao:hover { filter: brightness(.95); text-decoration: none; }

/* Artigos */
.artigo-grelha { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; max-width: 1200px; }
.lateral { font-size: .95rem; color: var(--cinza); }
.lateral h2 { font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--titulos); margin-top: 0; }
.lateral img { border-radius: 50%; width: 180px; display: block; margin-bottom: 12px; }
.lateral ul { list-style: none; padding: 0; margin: 0 0 24px; }
.lateral li { padding: 3px 0; }
.etiquetas { font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 0 8px; }
.etiquetas a { color: var(--cinza); margin-right: 8px; }
.assinatura { color: var(--cinza); font-size: .92rem; margin: -6px 0 24px; }
.relacionados { margin-top: 48px; border-top: 1px solid var(--linha); padding-top: 8px; }
.navegacao { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; font-size: .95rem; }
@media (max-width: 860px) {
  .artigo-grelha { grid-template-columns: minmax(0, 1fr); }
  .lateral { order: 2; border-top: 1px solid var(--linha); padding-top: 24px; }
}

/* Listas de artigos (blog, categorias) */
.cartoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 24px 0; }
.cartao { border: 1px solid var(--linha); border-radius: 4px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.cartao img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--fundo-suave); }
.cartao .corpo { padding: 14px 16px 18px; }
.cartao h2, .cartao h3 { font-size: 1.15rem; margin: 0 0 8px; }
.cartao h2 a, .cartao h3 a { color: var(--titulos); }
.cartao p { margin: 0; font-size: .95rem; color: var(--cinza); }
.cartao .data { font-size: .8rem; color: var(--cinza); margin-bottom: 4px; }

/* ---------- Página inicial ---------- */
.aviso { background: #fff3f3; border: 1px solid #f1c4c4; color: #8a1f1f; padding: 12px 16px; border-radius: 4px; text-align: center; margin: 8px 0 24px; }
.aviso strong { display: block; }
.inicio h1 { text-align: center; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.seccao { padding: 48px 0; }
.seccao h2 { text-align: center; margin-top: 0; }
.seccao.amarela { background: var(--amarelo); }
.seccao.amarela h2, .seccao.amarela a { color: #222; }
.seccao.cinza { background: var(--fundo-suave); }
.centro { text-align: center; }
.equipa { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; text-align: center; }
.equipa img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; }
.equipa h3 { font-size: 1rem; margin: 8px 0 2px; }
.equipa p { margin: 0; font-size: .85rem; color: var(--cinza); }
.servicos { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.servicos img { width: 90px; height: 90px; object-fit: contain; }
.servicos h3 { font-size: 1.1rem; margin: 6px 0; }
.servicos p { font-size: .92rem; margin: 0; }
.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px) { .duas-colunas { grid-template-columns: 1fr; } }
.areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.areas a { display: inline-block; border: 1px solid var(--linha); border-radius: 20px; padding: 6px 14px; color: var(--titulos); background: #fff; }
.precos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: center; }
.precos > div { background: #fff; border: 1px solid var(--linha); border-radius: 4px; padding: 24px; }
.precos img { width: 80px; }
@media (max-width: 640px) { .precos { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.rodape { background: var(--rodape); color: #bbb; font-size: .92rem; padding: 40px 0 0; }
.rodape .colunas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.rodape h2 { color: #fff; font-size: 1.05rem; margin: 0 0 10px; }
.rodape ul { list-style: none; margin: 0; padding: 0; }
.rodape li { padding: 3px 0; }
.rodape a { color: #ccc; }
.rodape .fim { border-top: 1px solid #444; margin-top: 32px; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .85rem; }
.rodape .redes a { color: #ccc; }
@media (max-width: 760px) { .rodape .colunas { grid-template-columns: 1fr; } }

/* ---------- Seletor de idioma (PT | EN) ---------- */
.idioma { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--linha); border-radius: 999px; font-size: .78rem; font-weight: 700; }
.idioma a, .idioma .atual { padding: 4px 10px; border-radius: 999px; line-height: 1.2; }
.idioma a { color: var(--cinza); }
.idioma a:hover { background: var(--fundo-suave); text-decoration: none; }
.idioma .atual { background: var(--amarelo); color: #222; }
.rodape .colunas { grid-template-columns: repeat(5, 1fr); gap: 28px; }
@media (max-width: 1100px) { .rodape .colunas { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .rodape .colunas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rodape .colunas { grid-template-columns: 1fr; } }

/* Landing pages do psicovias.pt (template de serviço).
   Mantém a letra e o amarelo da marca; mais espaço, cartões e secções alternadas (branco / creme).
   Tudo fica dentro de .lp para não afetar as outras páginas. */
.lp {
  --lp-ink: #1c2530; --lp-muted: #566271; --lp-soft: #f6f3ea; --lp-line: #e7e2d3; --lp-gold: #f7c71b;
  --lp-gold-ink: #8f6c00; --lp-dark: #1f2a36; --lp-card: #fff; --lp-radius: 18px;
  color: var(--lp-ink); font-size: 17px; line-height: 1.65;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp h1, .lp h2, .lp h3 { color: var(--lp-ink); letter-spacing: -.015em; line-height: 1.18; margin: 0; }
.lp h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); font-weight: 700; }
.lp h3 { font-size: 1.14rem; font-weight: 700; }
.lp p { margin: 0; }
.lp a { color: var(--lp-gold-ink); }
.lp img { max-width: 100%; height: auto; }
.lp-w { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.lp-sec { padding: 76px 0; }
.lp-sec.soft { background: var(--lp-soft); }
.lp-cab { display: grid; gap: 12px; margin-bottom: 38px; max-width: 760px; }
.lp-olho { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-gold-ink); }
.lp-intro { color: var(--lp-muted); font-size: 1.08rem; }
.lp-nota { color: var(--lp-muted); font-size: .92rem; margin-top: 22px; max-width: 72ch; }
.lp-mais { font-weight: 700; text-decoration: none; font-size: .95rem; }
.lp-mais:hover { text-decoration: underline; }

/* botões */
.lp-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  line-height: 1; border: 2px solid transparent; text-decoration: none !important; transition: transform .15s, box-shadow .15s, background .15s; }
.lp-btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.lp-btn.p { background: var(--lp-gold); color: #1c2530 !important; box-shadow: 0 8px 20px -10px rgba(214, 165, 0, .9); }
.lp-btn.p:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(214, 165, 0, 1); }
.lp-btn.s { border-color: var(--lp-ink); color: var(--lp-ink) !important; background: transparent; }
.lp-btn.s:hover { background: var(--lp-ink); color: #fff !important; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* hero */
.lp-hero { background: linear-gradient(180deg, #fffdf6 0%, var(--lp-soft) 100%); padding: 44px 0 88px; border-bottom: 1px solid var(--lp-line); }
.lp-hero .lp-w { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.lp-migalhas { font-size: .88rem; color: var(--lp-muted); margin-bottom: 22px; }
.lp-migalhas a { color: var(--lp-muted); }
.lp-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.07; margin: 14px 0 18px; }
.lp-sub { font-size: 1.2rem; color: var(--lp-muted); max-width: 56ch; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.lp-chips li { font-size: .86rem; font-weight: 600; padding: 7px 14px; border: 1px solid var(--lp-line); border-radius: 999px; background: #fff; }
.lp-foto { position: relative; }
.lp-foto img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 3.4; object-fit: cover; display: block;
  box-shadow: 0 34px 60px -34px rgba(28, 37, 48, .45); }
.lp-flut { position: absolute; left: -20px; bottom: -26px; background: #fff; border: 1px solid var(--lp-line); border-radius: 16px;
  padding: 14px 18px; display: grid; gap: 2px; box-shadow: 0 20px 40px -22px rgba(28, 37, 48, .5); max-width: 280px; }
.lp-flut b { font-size: 1.02rem; }
.lp-flut span { color: var(--lp-muted); font-size: .9rem; }

/* barra de âncoras */
.lp-ancoras { background: #fff; border-bottom: 1px solid var(--lp-line); }
.lp-ancoras .lp-w { display: flex; gap: 6px; overflow-x: auto; padding-top: 6px; padding-bottom: 6px; scrollbar-width: none; }
.lp-ancoras a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--lp-ink); padding: 8px 14px; border-radius: 999px; }
.lp-ancoras a:hover { background: var(--lp-soft); }

/* resumo */
.lp-resumo { margin-top: -38px; position: relative; z-index: 2; }
.lp-resumo ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-resumo li { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 20px 20px 18px; display: grid; gap: 4px;
  box-shadow: 0 16px 36px -26px rgba(28, 37, 48, .4); }
.lp-resumo b { font-size: 1.55rem; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.lp-resumo span { color: var(--lp-muted); font-size: .9rem; line-height: 1.4; }
.lp-ancoras + .lp-resumo { margin-top: 32px; }

/* duas colunas, texto, caixas */
.lp-duas { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.lp-duas.iguais { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lp-texto { display: grid; gap: 16px; margin-top: 20px; font-size: 1.06rem; }
.lp-caixa { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 24px 26px; display: grid; gap: 14px; align-content: start; }
.lp-sec.soft .lp-caixa { background: #fff; }
.lp-lista, .lp-pontos { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lp-lista li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.lp-lista svg { width: 22px; height: 22px; fill: var(--lp-gold-ink); margin-top: 3px; }
.lp-pontos li { padding-left: 18px; position: relative; }
.lp-pontos li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--lp-gold); }
.lp-destaque { margin-top: 28px; background: #fff; border-left: 5px solid var(--lp-gold); border-radius: 0 var(--lp-radius) var(--lp-radius) 0;
  padding: 18px 22px; max-width: 80ch; }

/* cartões */
.lp-grelha3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-card { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 24px; display: grid; gap: 8px; align-content: start;
  text-decoration: none !important; color: var(--lp-ink) !important; transition: transform .15s, box-shadow .15s, border-color .15s; }
.lp-card:hover { transform: translateY(-3px); border-color: var(--lp-gold); box-shadow: 0 20px 36px -26px rgba(28, 37, 48, .5); }
.lp-card p { color: var(--lp-muted); font-size: .98rem; }
.lp-card .lp-mais { color: var(--lp-gold-ink); margin-top: 4px; }

/* passos */
.lp-passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; counter-reset: p; }
.lp-passos li { counter-increment: p; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; align-items: start;
  padding: 18px 0; border-top: 1px solid var(--lp-line); }
.lp-passos li::before { content: counter(p); grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; background: var(--lp-gold);
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.lp-passos h3 { font-size: 1.08rem; }
.lp-passos p { color: var(--lp-muted); font-size: .98rem; }

/* equipa */
.lp-pessoa { background: #fff; border: 1px solid var(--lp-line); border-radius: 24px; padding: 38px 28px 30px; display: grid; gap: 6px; align-content: start; justify-items: center; text-align: center;
  box-shadow: 0 22px 44px -34px rgba(28, 37, 48, .45); }
.lp-pessoa img { width: 176px; height: 176px; border-radius: 50%; object-fit: cover; margin-bottom: 22px; background: var(--lp-soft);
  box-shadow: 0 0 0 5px #fff, 0 0 0 8px var(--lp-gold), 0 24px 36px -22px rgba(28, 37, 48, .6); }
.lp-pessoa h3 { font-size: 1.4rem; }
.lp-cargo { color: var(--lp-muted); font-size: .98rem; }
.lp-cedula { display: inline-block; background: #fff6cf; border: 1px solid #efdc86; border-radius: 999px; padding: 4px 14px; font-size: .84rem;
  font-weight: 700; color: #6b5200; margin: 8px 0 10px; }
.lp-pessoa p:not(.lp-cargo):not(.lp-cedula) { font-size: .96rem; margin-top: 4px; color: var(--lp-muted); max-width: 34ch; }
.lp-pessoa .lp-mais { margin-top: 10px; }

/* preços */
.lp-preco { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 24px 26px; display: grid; gap: 6px; align-content: start; }
.lp-sub2 { color: var(--lp-muted); font-size: .9rem; margin-bottom: 8px; }
.lp-preco ul { list-style: none; margin: 0; padding: 0; display: grid; }
.lp-preco li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid var(--lp-line); }
.lp-preco li span { display: grid; }
.lp-preco small { color: var(--lp-muted); font-size: .82rem; }
.lp-preco b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.lp-adse { margin-top: 20px; background: var(--lp-dark); color: #f1efe8; border-radius: var(--lp-radius); padding: 30px 32px; display: grid; gap: 16px; }
.lp-adse h3 { color: #fff; font-size: 1.3rem; }
.lp-adse .lp-pontos li::before { background: var(--lp-gold); }
.lp-adse a { color: var(--lp-gold) !important; font-weight: 700; text-decoration: none; }
.lp-adse a:hover { text-decoration: underline; }
.lp-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* onde */
.lp-morada { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; gap: 2px; font-size: 1.06rem; }
.lp-morada li:first-child { font-weight: 700; }
.lp-chegar { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; font-size: .97rem; }
.lp-chegar b { display: inline-block; min-width: 84px; }
.lp-h3b { margin-top: 24px; margin-bottom: 8px; }
.lp-fachada { width: 100%; border-radius: var(--lp-radius); aspect-ratio: 4 / 3; object-fit: cover; }
.lp-mapa { width: 100%; height: 340px; border: 0; border-radius: var(--lp-radius); margin-top: 32px; background: var(--lp-soft); }

/* marcar */
.lp-3passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: m; }
.lp-3passos li { counter-increment: m; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 26px; display: grid; gap: 8px; }
.lp-3passos li::before { content: counter(m); width: 38px; height: 38px; border-radius: 50%; background: var(--lp-gold); display: grid; place-items: center; font-weight: 800; }
.lp-3passos p { color: var(--lp-muted); font-size: .98rem; }

/* testemunhos */
.lp-cit { margin: 0; background: var(--lp-soft); border-radius: var(--lp-radius); padding: 26px; display: grid; gap: 14px; align-content: space-between; }
.lp-cit blockquote { margin: 0; }
.lp-cit p { font-size: 1.02rem; font-style: italic; }
.lp-cit figcaption { font-size: .9rem; font-weight: 700; color: var(--lp-muted); }

/* perguntas */
.lp-faq { display: grid; gap: 10px; max-width: 860px; }
.lp-faq details { background: #fff; border: 1px solid var(--lp-line); border-radius: 14px; padding: 4px 22px; }
.lp-faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 16px 28px 16px 0; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--lp-gold-ink); }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { color: var(--lp-muted); padding: 0 0 18px; }

/* relacionadas */
.lp-chips2 { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-chip { border: 1px solid var(--lp-line); border-radius: 999px; padding: 10px 18px; text-decoration: none !important; font-weight: 600; font-size: .95rem; color: var(--lp-ink) !important; background: #fff; }
.lp-chip:hover { border-color: var(--lp-gold); background: #fffbea; }

/* chamada final */
.lp-final { background: var(--lp-dark); color: #f1efe8; padding: 72px 0; text-align: center; }
.lp-final .lp-w { display: grid; justify-items: center; gap: 14px; }
.lp-final h2 { color: #fff; }
.lp-final p { color: #cfd4da; max-width: 52ch; }
.lp-final .lp-ctas { margin-top: 10px; justify-content: center; }
.lp-contactos { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center; font-size: .95rem; color: #cfd4da; }
.lp-contactos b { display: block; color: #fff; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.lp-contactos a { color: var(--lp-gold); }

/* fotografias dentro das secções */
.lp-fig { margin: 0; }
.lp-fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--lp-radius); display: block; box-shadow: 0 26px 46px -32px rgba(28, 37, 48, .5); }
.lp-col { display: grid; gap: 20px; align-content: start; }
.lp-cab-img { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: center; margin-bottom: 38px; }
.lp-cab-img .lp-cab { margin-bottom: 0; }
.lp-marcar { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.lp-marcar .lp-3passos { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.lp-marcar .lp-3passos li { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.lp-marcar .lp-3passos li::before { grid-row: 1 / 3; width: 44px; height: 44px; }

/* grupo de rostos da equipa no topo */
.lp-mini { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; text-decoration: none !important; color: var(--lp-ink) !important; font-weight: 600; font-size: .95rem; }
.lp-rostos { display: flex; }
.lp-rostos img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -14px; box-shadow: 0 0 0 1px var(--lp-line); background: var(--lp-soft); }
.lp-rostos img:first-child { margin-left: 0; }
.lp-mini:hover span:last-child { text-decoration: underline; }

/* scroll suave nas âncoras (deixa espaço para o cabeçalho fixo) */
html { scroll-behavior: smooth; }
.lp [id] { scroll-margin-top: 108px; }

/* botão fixo no telemóvel */
.lp-fixo { display: none; }

@media (max-width: 960px) {
  .lp-hero .lp-w { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-flut { left: 12px; }
  .lp-resumo ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-duas, .lp-duas.iguais { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp-grelha3, .lp-3passos { grid-template-columns: minmax(0, 1fr); }
  .lp-passos { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lp-cab-img, .lp-marcar { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 640px) {
  .lp-sec { padding: 56px 0; }
  .lp-hero { padding: 28px 0 64px; }
  .lp-btn { width: 100%; justify-content: center; }
  .lp-resumo ul { grid-template-columns: minmax(0, 1fr); }
  .lp-mapa { height: 280px; }
  .lp { padding-bottom: 84px; }
  .lp-fixo { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--lp-line); backdrop-filter: blur(6px); }
}
/* a barra fixa só aparece depois de o botão do topo sair do ecrã (sem JavaScript, fica sempre visível) */
.lp.lp-js .lp-fixo { transform: translateY(110%); transition: transform .25s ease; }
.lp.lp-js .lp-fixo.on { transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lp-btn, .lp-card, .lp.lp-js .lp-fixo { transition: none; } }

/* ---- blocos das páginas com "secoes" (homepage e futuras páginas) ---- */
.lp-aviso { background: #fff6d6; border-bottom: 1px solid #ecd98a; font-size: .95rem; }
.lp-aviso .lp-w { padding-top: 12px; padding-bottom: 12px; }
.lp-rico h3 { margin: 1.2em 0 .4em; }
.lp-rico ul, .lp-rico ol { padding-left: 1.2em; }
.lp-grelha2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-card img { display: block; max-width: 100%; object-fit: contain; margin-bottom: 10px; }
.lp-sec .lp-ctas { margin-top: 24px; }
.lp-ponte { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.lp-ponte-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-ponte-lista a { display: block; padding: 14px 16px; background: #fff; border: 1px solid #e7e2d3; border-radius: 12px; text-decoration: none; color: inherit; }
.lp-ponte-lista b { display: block; }
.lp-ponte-lista span { font-size: .93rem; color: #4b5563; }
.lp-artigos .contentor { padding: 0; }
@media (max-width: 760px) { .lp-grelha2 { grid-template-columns: 1fr; } .lp-ponte { grid-template-columns: 1fr; } }
.lp-duas.centrar { align-items: center; }
.lp-fig.lp-fig-livre img { aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; background: none; }
.lp-col-txt .lp-cab { margin-bottom: 0; }
.lp-col-txt .lp-texto { margin-top: 14px; }
.lp-col-txt .lp-ctas { margin-top: 22px; }
.lp-hero-simples .lp-w { grid-template-columns: minmax(0, 820px); }
.lp-hero-simples { padding-bottom: 56px; }
.lp-corrido { max-width: 780px; }
.lp-rico img, .lp-rico iframe { max-width: 100%; border-radius: 14px; }
.lp-rico figure { margin: 1.4em 0; }
.lp-rico iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.lp-rico h2 { margin-top: 1.6em; }
.lp-rico blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--lp-gold); color: var(--lp-muted); }
.lp-card-fixo:hover { transform: none; border-color: var(--lp-line); box-shadow: none; }
.lp-card .lp-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lp-gold); font-weight: 800; }
.lp-cit h3 { font-size: 1.05rem; margin: 0 0 8px; }
.lp-grelha3.lp-uma { grid-template-columns: minmax(0, 420px); }

/* ---- layout de tema: índice fixo + secções em cartões ---- */
.lp-tema { background: var(--lp-soft); padding: 48px 0 72px; }
.lp-tema-grelha { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: start; }
.lp-indice { position: sticky; top: 96px; display: grid; gap: 2px; font-size: .95rem; }
.lp-indice b { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-muted); margin-bottom: 8px; }
.lp-indice a { padding: 8px 12px; border-left: 3px solid var(--lp-line); color: var(--lp-muted); text-decoration: none; }
.lp-indice a:hover { color: var(--lp-dark); }
.lp-indice a.on { border-left-color: var(--lp-gold); color: var(--lp-dark); font-weight: 700; background: #fff; }
.lp-tema-corpo { display: grid; gap: 22px; min-width: 0; }
.lp-tema-corpo .lp-sec, .lp-tema-corpo .lp-sec.soft { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 34px 36px; }
.lp-tema-corpo .lp-w { max-width: none; padding: 0; }
.lp-tema-corpo .lp-duas { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.lp-tema-corpo .lp-grelha3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-tema-corpo .lp-caixa { background: var(--lp-soft); }
.lp-tema-corpo .lp-sec.lp-s-ponte { background: #fff; }
.lp-autoria { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 14px 20px; }
.lp-autoria img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lp-gold); }
.lp-autoria p { margin: 0; display: grid; gap: 2px; font-size: .95rem; }
.lp-autoria span { color: var(--lp-muted); font-size: .88rem; }
.lp-sints { margin-top: 4px; }
.lp-sint { background: var(--lp-soft); border-radius: 14px; padding: 18px 20px; }
.lp-sint h3 { margin: 0 0 8px; font-size: 1.05rem; }
.lp-sint ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: .98rem; }
.lp-auto h2 { margin: 0 0 8px; }
.lp-auto > p { margin: 0 0 16px; color: var(--lp-muted); }
.lp-auto ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.lp-auto li { display: flex; gap: 12px; align-items: flex-start; background: #fff8dc; border: 1px solid #f1dc8a; border-radius: 12px; padding: 12px 16px; }
.lp-auto li svg { flex: none; width: 22px; height: 22px; fill: var(--lp-gold-ink); margin-top: 1px; }
.lp-auto-fim { margin: 0; font-weight: 600; }
.lp-alerta { background: #fff4e5; border: 1px solid #f3c98b; border-radius: var(--lp-radius); padding: 26px 28px; }
.lp-alerta h2 { margin: 0 0 8px; }
.lp-alerta ul { margin: 12px 0; padding-left: 1.2em; display: grid; gap: 6px; }
.lp-alerta .lp-links { display: flex; gap: 18px; flex-wrap: wrap; margin: 8px 0; font-weight: 700; }
.lp-urg { margin: 12px 0 0; padding: 12px 16px; background: #fff; border-radius: 12px; border: 1px solid #f3c98b; }
@media (max-width: 900px) {
  .lp-tema { padding: 24px 0 48px; }
  .lp-tema-grelha { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lp-indice { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .lp-indice b { display: none; }
  .lp-indice a { white-space: nowrap; border: 1px solid var(--lp-line); border-radius: 999px; background: #fff; padding: 7px 14px; }
  .lp-indice a.on { border-color: var(--lp-gold); }
  .lp-tema-corpo .lp-sec, .lp-tema-corpo .lp-sec.soft { padding: 24px 20px; }
  .lp-tema-corpo .lp-grelha3 { grid-template-columns: minmax(0, 1fr); }
}
.lp-sints { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .lp-sints { grid-template-columns: minmax(0, 1fr); } }

/* ---- acertos de desenho (revisão a olho) ---- */
.lp-passos li:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 14px); justify-self: center; }
.lp-passos + .lp-destaque { margin-top: 32px; }
.lp-grelha3.lp-duas-p { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.lp-grelha3.lp-uma { justify-content: center; }
.lp-tema-corpo .lp-grelha3.lp-duas-p, .lp-tema-corpo .lp-grelha3.lp-uma { justify-content: start; }
.lp-video { max-width: 880px; }
.lp-video figure, .lp-video .wp-block-embed__wrapper { width: 100%; margin: 0; }
.lp-hero-simples { padding-bottom: 88px; }
@media (max-width: 760px) {
  .lp-passos li:last-child:nth-child(odd) { max-width: none; }
  .lp-grelha3.lp-duas-p { grid-template-columns: minmax(0, 1fr); }
  .lp-foto { margin-bottom: 34px; }
}
@media print {
  .cabecalho, .rodape, .lp-hero, .lp-ancoras, .lp-resumo, .lp-fixo, .lp-final, .lp-indice, #menu, .idioma { display: none !important; }
  body { background: #fff; }
  .lp-sec, .lp-sec.soft { background: #fff; padding: 12px 0; }
  .lp-w { max-width: none; padding: 0; }
}

/* ---- layout de artigo de blog e lista do blog ---- */
.lp-art-cab { background: linear-gradient(180deg, #fffdf6 0%, var(--lp-soft) 100%); padding: 40px 0 36px; border-bottom: 1px solid var(--lp-line); }
.lp-art-estreito { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.lp-art-cab .migalhas { font-size: .88rem; color: var(--lp-muted); margin-bottom: 18px; }
.lp-art-cab h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 12px 0 14px; }
.lp-art-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-art-cats a { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--lp-gold-ink); text-decoration: none; background: #fff; border: 1px solid var(--lp-line); border-radius: 999px; padding: 5px 12px; }
.lp-art-info { color: var(--lp-muted); font-size: .98rem; margin: 0; }
.lp-art-info a { color: var(--lp-dark); font-weight: 700; }
.lp-leitura { max-width: none; font-size: 1.12rem; line-height: 1.78; margin: 36px 0 0; display: block; }
.lp-leitura p { margin: 0 0 1.15em; }
.lp-leitura h2 { font-size: 1.6rem; margin: 1.9em 0 .6em; scroll-margin-top: 100px; }
.lp-leitura h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.lp-leitura a { color: var(--lp-gold-ink); }
.lp-leitura img { height: auto; }
.lp-leitura blockquote { font-size: 1.2rem; font-style: italic; }
.lp-art-indice { margin: 32px 0 0; background: var(--lp-soft); border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 16px 22px; }
.lp-art-indice summary { font-weight: 800; cursor: pointer; }
.lp-art-indice ol { margin: 10px 0 0; padding-left: 1.3em; display: grid; gap: 6px; }
.lp-art-indice a { color: var(--lp-dark); text-decoration: none; }
.lp-art-indice a:hover { color: var(--lp-gold-ink); }
.lp-art-tema { margin: 40px 0 0; background: #fff8dc; border: 1px solid #f1dc8a; border-radius: var(--lp-radius); padding: 20px 24px; }
.lp-art-tema b { display: block; margin-bottom: 6px; }
.lp-art-tema p { margin: 4px 0; }
.lp-art-autor { display: flex; gap: 18px; align-items: center; margin: 28px 0 0; padding: 22px 0; border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.lp-art-autor img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lp-gold); flex: none; }
.lp-art-autor p { margin: 0; display: grid; gap: 2px; }
.lp-art-autor span { color: var(--lp-muted); font-size: .92rem; }
.lp-art-autor a { font-weight: 700; color: var(--lp-gold-ink); }
.lp-art-cta { margin: 28px 0 64px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--lp-dark); color: #f1efe8; border-radius: var(--lp-radius); padding: 22px 26px; }
.lp-art-cta p { margin: 0; max-width: 34ch; }
.lp-art .lp-sec .cartoes { margin: 0; }
/* lista do blog */
.lp-blog-corpo-pag { padding-top: 40px; padding-bottom: 72px; }
.lp-blog-cartao { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); overflow: hidden; display: flex; flex-direction: column; }
.lp-blog-cartao h2, .lp-blog-cartao h3 { margin: 6px 0 8px; font-size: 1.15rem; line-height: 1.25; }
.lp-blog-cartao a { color: inherit; text-decoration: none; }
.lp-blog-cartao h2 a:hover, .lp-blog-cartao h3 a:hover { color: var(--lp-gold-ink); }
.lp-blog-img { display: block; aspect-ratio: 16 / 10; background: var(--lp-soft); }
.lp-blog-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-blog-sem { display: block; height: 100%; background: linear-gradient(135deg, #fbf6e6, #f7c71b33); }
.lp-blog-corpo { padding: 18px 20px 20px; display: grid; gap: 4px; align-content: start; }
.lp-blog-corpo p { color: var(--lp-muted); font-size: .96rem; margin: 0; }
.lp-blog-data { color: var(--lp-muted); font-size: .84rem; margin-top: 6px; }
.lp-blog-destaque { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-bottom: 28px; }
.lp-blog-destaque .lp-blog-img { aspect-ratio: auto; min-height: 320px; }
.lp-blog-destaque .lp-blog-corpo { padding: 34px 36px; align-content: center; }
.lp-blog-destaque h2 { font-size: 1.8rem; line-height: 1.15; }
.lp-blog-grelha { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .lp-blog-grelha { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-blog-destaque { grid-template-columns: minmax(0, 1fr); } .lp-blog-destaque .lp-blog-img { min-height: 220px; } }
@media (max-width: 600px) { .lp-blog-grelha { grid-template-columns: minmax(0, 1fr); } .lp-art-cta { flex-direction: column; align-items: flex-start; } }

/* ---- layout institucional (perfil, cronologia) e de ferramenta (teste) ---- */
.lp-perfil .lp-w { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
.lp-perfil-foto img { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; border: 5px solid var(--lp-gold); box-shadow: 0 24px 44px -28px rgba(28, 37, 48, .5); background: #fff; }
.lp-pilula { display: inline-block; margin-left: 10px; background: #fff3c4; border: 1px solid #f1dc8a; border-radius: 999px; padding: 3px 12px; font-size: .88rem; font-weight: 700; }
.lp-sub2 { color: var(--lp-muted); max-width: 60ch; margin: 0 0 16px; }
.lp-cron { list-style: none; margin: 8px 0 0; padding: 0 0 0 28px; border-left: 3px solid var(--lp-gold); display: grid; gap: 22px; max-width: 820px; }
.lp-cron li { position: relative; }
.lp-cron li::before { content: ""; position: absolute; left: -38px; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--lp-gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--lp-gold); }
.lp-cron h3 { margin: 0 0 4px; }
.lp-cron p { margin: 0; color: var(--lp-muted); }
.lp-teste-env { max-width: 760px; margin: 0 auto; }
.lp-teste { background: #fff; border: 1px solid var(--lp-line); border-radius: 22px; padding: 34px 36px; box-shadow: 0 30px 60px -44px rgba(28, 37, 48, .55); }
.lp-teste-cab h2 { margin: 0 0 8px; }
.lp-teste-cab p { margin: 0 0 18px; color: var(--lp-muted); }
.lp-teste-lista { padding-left: 1.4em; display: grid; gap: 8px; }
.lp-teste-js .lp-teste-lista { display: none; }
.lp-teste-prog { height: 8px; background: var(--lp-soft); border-radius: 999px; overflow: hidden; }
.lp-teste-prog span { display: block; height: 100%; background: var(--lp-gold); border-radius: 999px; transition: width .25s; }
.lp-teste-n { margin: 16px 0 4px; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-muted); }
.lp-teste-q { font-size: 1.4rem; font-weight: 700; line-height: 1.3; margin: 0 0 22px; min-height: 3.6em; }
.lp-teste-ops { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-teste-ops .lp-btn { min-width: 120px; justify-content: center; }
.lp-teste-volta { margin-top: 18px; background: none; border: 0; color: var(--lp-muted); font: inherit; cursor: pointer; padding: 6px 0; }
.lp-teste-res h3 { font-size: 1.5rem; margin: 0 0 10px; }
.lp-teste-res .lp-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-weight: 700; }
@media (max-width: 760px) {
  .lp-perfil .lp-w { grid-template-columns: minmax(0, 1fr); }
  .lp-perfil-foto img { width: 160px; height: 160px; }
  .lp-teste { padding: 24px 20px; }
  .lp-teste-q { font-size: 1.2rem; min-height: 0; }
  .lp-teste-ops .lp-btn { flex: 1; min-width: 0; }
}

/* =====================================================================
   Psicovias — camada de desenho (nov 2026)
   Direção: «consultório editorial». Calma, autoridade e calor humano,
   em vez do aspeto de landing page de software (pílulas, cartões com
   sombra, gradientes, letra pesadíssima, ícones de banco de imagens).
   - Títulos com serifa (Source Serif 4), texto em Source Sans 3.
   - Papel quente, tinta escura, amarelo da marca só como acento.
   - Linhas finas e espaço em vez de caixas dentro de caixas.
   - Um só botão principal por zona (tinta escura; amarelo sobre fundo escuro).
   Este ficheiro vem depois de estilos.css e landing.css e sobrepõe-nos.
   ===================================================================== */

:root {
  --papel: #fbf8f2;
  --papel-2: #f4efe4;
  --branco: #fffdf9;
  --tinta: #1f2b2d;
  --tinta-2: #34423f;
  --mudo: #5f6b69;
  --fio: #e3dccd;
  --fio-forte: #cdc3ae;
  --sol: #f2c230;
  --sol-claro: #fbefc4;
  --sol-tinta: #7d6000;
  --serifa: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --raio: 10px;
}

/* ---------- base ---------- */
body { background: var(--papel); color: var(--tinta-2); font-size: 18px; }
h1, h2, h3 { font-family: var(--serifa); font-weight: 600; letter-spacing: -.012em; color: var(--tinta); }
h4, h5, h6 { color: var(--tinta); }
a { color: var(--sol-tinta); }
::selection { background: var(--sol-claro); }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 2px; border-radius: 4px; }

/* ---------- cabeçalho ---------- */
.cabecalho { border-top: 3px solid var(--sol); background: rgba(251, 248, 242, .94); border-bottom: 1px solid var(--fio);
  -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px); }
.cabecalho .contentor { max-width: 1180px; min-height: 72px; }
.logo img { max-height: 52px; }
nav.principal a { text-transform: none; letter-spacing: 0; font-size: .98rem; font-weight: 600; color: var(--tinta); }
nav.principal > ul { gap: 2px 26px; }
nav.principal > ul > li > a { padding: 8px 0; border-bottom: 2px solid transparent; }
nav.principal > ul > li > a:hover, nav.principal > ul > li:focus-within > a { text-decoration: none; border-bottom-color: var(--sol); }
nav.principal .tem-filhos > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
nav.principal li ul { border-top: 0; border: 1px solid var(--fio); border-radius: var(--raio); background: var(--branco);
  box-shadow: 0 18px 40px -24px rgba(31, 43, 45, .35); padding: 10px 0; min-width: 280px; }
nav.principal li ul a { font-size: .97rem; padding: 7px 20px; color: var(--tinta-2); }
nav.principal li ul li:first-child a { font-weight: 700; color: var(--tinta); border-bottom: 1px solid var(--fio); margin-bottom: 6px; padding-bottom: 10px; }
nav.principal li ul a:hover { background: var(--papel-2); }
.redes a { color: var(--mudo); }
.idioma { border-color: var(--fio); background: var(--branco); }
.idioma .atual { background: var(--tinta); color: #fff; }
@media (max-width: 980px) {
  .menu-botao { border-color: var(--fio-forte); border-radius: 8px; background: var(--branco); font-weight: 600; }
  nav.principal a { border-bottom-color: var(--fio); font-size: 1.05rem; }
  nav.principal li ul { border: 0; box-shadow: none; background: none; padding: 0 0 6px 14px; min-width: 0; }
  nav.principal li ul li:first-child a { border-bottom: 1px solid var(--fio); margin: 0; padding-bottom: 10px; }
  nav.principal > ul > li > a:hover { border-bottom-color: var(--fio); }
}

/* ---------- rodapé ---------- */
.rodape { background: var(--tinta); color: #b9c2c0; font-size: .95rem; padding-top: 56px; }
.rodape h2 { font-family: var(--serifa); font-weight: 600; font-size: 1.08rem; color: #fff; margin-bottom: 14px; }
.rodape a { color: #d3d9d7; }
.rodape a:hover { color: var(--sol); text-decoration: none; }
.rodape li { padding: 4px 0; }
.rodape li:first-child a { color: #fff; font-weight: 600; }
.rodape .fim { border-top-color: rgba(255, 255, 255, .12); }

/* ---------- landing: tokens ---------- */
.lp { --lp-ink: var(--tinta); --lp-muted: var(--mudo); --lp-soft: var(--papel-2); --lp-line: var(--fio); --lp-gold: var(--sol);
  --lp-gold-ink: var(--sol-tinta); --lp-dark: var(--tinta); --lp-radius: var(--raio); color: var(--tinta-2); font-size: 18px; }
.lp h1, .lp h2, .lp h3 { font-family: var(--serifa); color: var(--tinta); }
.lp h2 { font-weight: 600; font-size: clamp(1.75rem, 3.2vw, 2.4rem); letter-spacing: -.015em; line-height: 1.15; }
.lp h3 { font-weight: 600; font-size: 1.22rem; line-height: 1.25; }
.lp-sec { background: var(--papel); padding: 88px 0; }
.lp-sec.soft { background: var(--papel-2); }
.lp-cab { gap: 14px; margin-bottom: 44px; max-width: 720px; }
.lp-intro { font-size: 1.12rem; color: var(--mudo); }
.lp-olho { display: inline-flex; align-items: center; gap: 12px; font-size: .76rem; letter-spacing: .16em; color: var(--mudo); }
.lp-olho::before { content: ""; width: 26px; height: 2px; background: var(--sol); flex: none; }
.lp-olho a { color: inherit; }
.lp-mais { color: var(--tinta) !important; font-weight: 700; font-size: .95rem; text-decoration: none;
  background: linear-gradient(var(--sol), var(--sol)) 0 100% / 0 2px no-repeat; transition: background-size .2s; padding-bottom: 2px; }
.lp-mais:hover { background-size: 100% 2px; text-decoration: none; }
.lp-nota { font-size: .95rem; }

/* ---------- botões ---------- */
.lp-btn { border-radius: var(--raio); padding: 15px 24px; font-size: 1rem; font-weight: 700; letter-spacing: .005em; border-width: 1.5px; }
.lp-btn.p { background: var(--tinta); color: #fff !important; box-shadow: none; }
.lp-btn.p svg { fill: var(--sol); }
.lp-btn.p:hover { background: #2e3f42; transform: none; box-shadow: 0 10px 22px -16px rgba(31, 43, 45, .8); }
.lp-btn.s { border-color: var(--fio-forte); color: var(--tinta) !important; background: transparent; }
.lp-btn.s:hover { border-color: var(--tinta); background: transparent; color: var(--tinta) !important; }
.lp-final .lp-btn.p, .lp-art-cta .lp-btn.p, .lp-adse .lp-btn.p { background: var(--sol); color: var(--tinta) !important; }
.lp-final .lp-btn.p svg, .lp-art-cta .lp-btn.p svg { fill: var(--tinta); }
.lp-final .lp-btn.p:hover, .lp-art-cta .lp-btn.p:hover { background: #f7cf4c; }
.botao, .texto a.botao { background: var(--tinta); color: #fff; border-radius: var(--raio); padding: 13px 22px; font-weight: 700; }

/* ---------- topo (hero) ---------- */
.lp-hero { background: var(--papel); padding: 64px 0 80px; border-bottom: 1px solid var(--fio); }
.lp-hero .lp-w { gap: 64px; }
.lp-hero h1 { font-family: var(--serifa); font-weight: 600; font-size: clamp(2.35rem, 5vw, 3.7rem); letter-spacing: -.02em; line-height: 1.06; margin: 18px 0 20px; }
.lp-sub { font-size: 1.2rem; line-height: 1.6; color: var(--mudo); }
.lp-hero .lp-ctas { margin-top: 32px; }
/* sinais de confiança: lista discreta com visto, sem pílulas */
.lp-chips { gap: 8px 22px; margin-top: 30px; }
.lp-chips li { border: 0; background: none; padding: 0 0 0 22px; border-radius: 0; position: relative; font-size: .93rem; font-weight: 600; color: var(--tinta-2); }
.lp-chips li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 10px; height: 5px; border-left: 2px solid var(--sol-tinta);
  border-bottom: 2px solid var(--sol-tinta); transform: rotate(-45deg); }
.lp-foto img { border-radius: 6px; aspect-ratio: 4 / 4.4; box-shadow: none; }
.lp-foto::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--fio-forte); border-radius: 6px; z-index: -1; }
.lp-foto { isolation: isolate; }
.lp-flut { border-radius: var(--raio); box-shadow: 0 16px 34px -22px rgba(31, 43, 45, .45); background: var(--branco); left: -28px; bottom: 28px; }
.lp-flut b { font-family: var(--serifa); font-weight: 600; font-size: 1.06rem; }
.lp-hero-simples { padding: 72px 0 64px; }
.lp-hero-simples .lp-w { grid-template-columns: minmax(0, 860px); }
.lp-hero-simples h1 { font-size: clamp(2.3rem, 4.8vw, 3.5rem); }
.lp-mini { margin-top: 28px; font-weight: 600; }
.lp-rostos img { border-color: var(--papel); box-shadow: none; }
.lp-aviso { background: var(--sol-claro); border-bottom: 1px solid #ecd98a; font-size: .93rem; color: var(--tinta-2); }
.lp-aviso .lp-w { padding-top: 10px; padding-bottom: 10px; }

/* barra de âncoras */
.lp-ancoras { background: var(--papel); border-bottom: 1px solid var(--fio); }
.lp-ancoras a { border-radius: 0; padding: 12px 4px; margin-right: 18px; font-weight: 600; color: var(--mudo); border-bottom: 2px solid transparent; }
.lp-ancoras a:hover { background: none; color: var(--tinta); border-bottom-color: var(--sol); }

/* resumo em factos: uma faixa com divisórias, sem cartões a flutuar */
.lp-resumo { margin-top: 0; background: var(--papel); padding: 36px 0 8px; }
.lp-resumo ul { gap: 0; border-top: 1px solid var(--fio); border-bottom: 1px solid var(--fio); }
.lp-resumo li { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 22px 24px; border-left: 1px solid var(--fio); }
.lp-resumo li:first-child { border-left: 0; padding-left: 0; }
.lp-resumo b { font-family: var(--serifa); font-weight: 600; font-size: 1.65rem; color: var(--tinta); }
.lp-ancoras + .lp-resumo { margin-top: 0; }

/* ---------- cartões → colunas editoriais com fio por cima ---------- */
.lp-grelha3 { gap: 40px 36px; }
.lp-card { background: none; border: 0; border-top: 1px solid var(--fio-forte); border-radius: 0; padding: 22px 0 6px; gap: 10px;
  transition: border-color .2s; }
.lp-card:hover { transform: none; box-shadow: none; border-color: var(--tinta); }
.lp-card h3 { font-size: 1.28rem; }
.lp-card:hover h3 { text-decoration: underline; text-decoration-color: var(--sol); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lp-card p { font-size: 1rem; line-height: 1.6; }
.lp-card .lp-mais { margin-top: 6px; justify-self: start; }
.lp-card:hover .lp-mais { background-size: 100% 2px; }
.lp-card img { max-height: 56px; width: auto; opacity: .9; }
.lp-card-fixo { border-top-color: var(--fio); }
.lp-sec.soft .lp-caixa, .lp-caixa { background: var(--branco); border: 1px solid var(--fio); border-radius: var(--raio); padding: 26px 28px; }
.lp-caixa h3 { font-size: 1.12rem; }
.lp-lista svg { fill: var(--sol-tinta); }
.lp-pontos li::before { background: var(--sol-tinta); width: 6px; height: 6px; }
.lp-destaque { background: none; border-left: 2px solid var(--sol); border-radius: 0; padding: 4px 0 4px 22px; font-family: var(--serifa); font-size: 1.12rem; color: var(--tinta); }

/* passos numerados: algarismos com serifa, sem bolas amarelas */
.lp-passos { gap: 0 48px; }
.lp-passos li { counter-increment: p; grid-template-columns: 56px minmax(0, 1fr); padding: 22px 0; border-top: 1px solid var(--fio); }
.lp-passos li::before { content: counter(p, decimal-leading-zero); background: none; width: auto; height: auto; border-radius: 0; display: block;
  font-family: var(--serifa); font-weight: 600; font-size: 1.35rem; color: var(--sol-tinta); line-height: 1.2; }
.lp-passos h3 { font-size: 1.15rem; }
.lp-3passos { gap: 0 40px; }
.lp-3passos li { background: none; border: 0; border-top: 1px solid var(--fio-forte); border-radius: 0; padding: 22px 0 0; }
.lp-3passos li::before { content: counter(m, decimal-leading-zero); background: none; width: auto; height: auto; border-radius: 0; display: block;
  font-family: var(--serifa); font-weight: 600; font-size: 1.35rem; color: var(--sol-tinta); }
.lp-marcar .lp-3passos li { grid-template-columns: 52px minmax(0, 1fr); padding-top: 18px; }
.lp-marcar .lp-3passos li::before { width: auto; height: auto; }

/* equipa: retratos sóbrios, sem argola dourada */
.lp-pessoa { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; justify-items: start; text-align: left; gap: 4px; }
.lp-pessoa img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 6px; box-shadow: none; margin-bottom: 18px;
  filter: saturate(.92); }
.lp-pessoa h3 { font-size: 1.3rem; }
.lp-cargo { font-size: 1rem; }
.lp-cedula { background: none; border: 0; border-radius: 0; padding: 0; margin: 4px 0 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mudo); }
.lp-cedula::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sol); margin-right: 8px; vertical-align: 2px; }
.lp-pessoa p:not(.lp-cargo):not(.lp-cedula) { max-width: none; }
.lp-grelha3:has(> .lp-pessoa) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 44px 32px; }
.lp-grelha3.lp-uma:has(> .lp-pessoa) { grid-template-columns: minmax(0, 300px); }
.lp-grelha3.lp-duas-p:has(> .lp-pessoa) { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: start; }

/* preços */
.lp-preco { background: var(--branco); border-radius: var(--raio); padding: 26px 28px; }
.lp-preco h3 { font-size: 1.25rem; }
.lp-preco b { font-family: var(--serifa); font-weight: 600; font-size: 1.45rem; color: var(--tinta); }
.lp-adse { border-radius: var(--raio); background: var(--tinta); }
.lp-adse h3 { font-family: var(--serifa); }

/* perguntas frequentes: linhas, sem caixas */
.lp-faq { gap: 0; border-top: 1px solid var(--fio-forte); }
.lp-faq details { background: none; border: 0; border-bottom: 1px solid var(--fio); border-radius: 0; padding: 0; }
.lp-faq summary { padding: 20px 48px 20px 0; font-size: 1.08rem; color: var(--tinta); }
.lp-faq summary::after { content: ""; top: 50%; right: 4px; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; border: 1px solid var(--fio-forte);
  background: linear-gradient(var(--tinta), var(--tinta)) center / 10px 1.5px no-repeat, linear-gradient(var(--tinta), var(--tinta)) center / 1.5px 10px no-repeat; }
.lp-faq details[open] summary::after { content: ""; background: linear-gradient(var(--tinta), var(--tinta)) center / 10px 1.5px no-repeat; border-color: var(--sol); }
.lp-faq summary:hover { color: var(--sol-tinta); }
.lp-faq details p { padding: 0 48px 22px 0; font-size: 1.02rem; line-height: 1.65; }

/* listas de ligações (temas, «mais sobre») → índice em colunas */
.lp-chips2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 0 36px; border-top: 1px solid var(--fio-forte); }
.lp-chip { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; border-bottom: 1px solid var(--fio); border-radius: 0;
  background: none; padding: 15px 0; font-size: 1.02rem; font-weight: 600; color: var(--tinta) !important; }
.lp-chip::after { content: "→"; color: var(--mudo); transition: transform .2s, color .2s; }
.lp-chip:hover { background: none; border-color: var(--fio); color: var(--sol-tinta) !important; }
.lp-chip:hover::after { transform: translateX(4px); color: var(--sol-tinta); }
.lp-sec > .lp-w > p > .lp-mais { display: inline-block; margin-top: 22px; }

/* chamada final */
.lp-final { background: var(--tinta); padding: 96px 0; }
.lp-final h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.lp-final p { color: #c5cdcb; font-size: 1.12rem; }
.lp-contactos { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 26px; margin-top: 34px; }
.lp-contactos b { color: #9fb0ad; font-weight: 600; }

/* ponte (temas → serviço) */
.lp-ponte-lista a { background: var(--branco); border-color: var(--fio); border-radius: var(--raio); transition: border-color .2s; }
.lp-ponte-lista a:hover { border-color: var(--tinta); text-decoration: none; }
.lp-ponte-lista b { font-family: var(--serifa); font-weight: 600; font-size: 1.08rem; color: var(--tinta); }

/* imagens dentro das secções */
.lp-fig img { border-radius: 6px; box-shadow: none; }
.lp-fig.lp-fig-livre img { border-radius: 0; }
.lp-rico blockquote { border-left: 2px solid var(--sol); font-family: var(--serifa); font-size: 1.15rem; color: var(--tinta); }

/* ---------- layout de tema: texto corrido com índice, sem caixas empilhadas ---------- */
.lp-tema { background: var(--papel); padding: 56px 0 88px; }
.lp-tema-grelha { grid-template-columns: 220px minmax(0, 760px); gap: 64px; justify-content: center; }
.lp-indice { top: 100px; }
.lp-indice b { letter-spacing: .14em; font-size: .74rem; }
.lp-indice a { border-left: 2px solid var(--fio); padding: 7px 14px; font-size: .94rem; }
.lp-indice a.on { background: none; border-left-color: var(--sol); color: var(--tinta); }
.lp-tema-corpo { gap: 0; }
.lp-tema-corpo .lp-sec, .lp-tema-corpo .lp-sec.soft { background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--fio); padding: 44px 0; }
.lp-tema-corpo .lp-sec:first-child { padding-top: 8px; }
.lp-tema-corpo .lp-sec:last-child { border-bottom: 0; }
.lp-tema-corpo .lp-cab { margin-bottom: 26px; }
.lp-tema-corpo .lp-caixa { background: var(--papel-2); border: 0; }
.lp-tema-corpo .lp-grelha3 { gap: 28px 32px; }
.lp-tema-corpo .lp-texto { font-size: 1.1rem; line-height: 1.75; }
.lp-autoria { background: none; border: 0; border-radius: 0; padding: 0 0 26px; border-bottom: 1px solid var(--fio); }
.lp-autoria img { border: 0; width: 52px; height: 52px; }
.lp-autoria a { color: var(--tinta); }
.lp-sint { background: var(--papel-2); border-radius: var(--raio); padding: 20px 22px; }
.lp-sint h3 { font-size: 1.1rem; }
.lp-auto li { background: var(--branco); border: 1px solid var(--fio); border-radius: 8px; }
.lp-auto li svg { fill: var(--sol-tinta); }
.lp-alerta { background: #fbf1e3; border: 0; border-left: 3px solid #d08a2c; border-radius: 0 var(--raio) var(--raio) 0; }
.lp-urg { border: 0; background: var(--branco); }
@media (max-width: 900px) {
  .lp-tema-grelha { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .lp-indice { padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--fio); }
  .lp-indice a { border: 1px solid var(--fio); border-radius: 8px; background: var(--branco); }
  .lp-indice a.on { border-color: var(--tinta); }
  .lp-tema-corpo .lp-sec, .lp-tema-corpo .lp-sec.soft { padding: 34px 0; }
}

/* ---------- artigos: leitura editorial em serifa ---------- */
.lp-art-cab { background: var(--papel); padding: 64px 0 40px; border-bottom: 0; }
.lp-art-cab h1 { font-family: var(--serifa); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.3rem); letter-spacing: -.02em; line-height: 1.1; margin: 16px 0 18px; }
.lp-art-cats a { background: none; border: 0; padding: 0; border-radius: 0; letter-spacing: .14em; font-size: .76rem; color: var(--mudo); }
.lp-art-cats a::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--sol); margin-right: 10px; vertical-align: 4px; }
.lp-art-cats a + a { margin-left: 14px; }
.lp-art-info { font-size: 1rem; padding-bottom: 28px; border-bottom: 1px solid var(--fio); }
.lp-leitura { font-family: var(--serifa); font-size: 1.2rem; line-height: 1.75; color: #26322f; }
.lp-leitura h2 { font-size: 1.75rem; }
.lp-leitura h3 { font-size: 1.3rem; }
.lp-leitura li { margin-bottom: .4em; }
.lp-leitura > p:first-child { font-size: 1.32rem; line-height: 1.6; color: var(--tinta); }
.lp-leitura > p:first-child strong { font-weight: 500; }
.lp-art-indice { background: none; border: 0; border-left: 2px solid var(--sol); border-radius: 0; padding: 4px 0 4px 22px; }
.lp-art-indice summary { font-family: var(--serifa); font-weight: 600; font-size: 1.1rem; }
.lp-art-tema { background: var(--papel-2); border: 0; border-radius: var(--raio); padding: 24px 28px; }
.lp-art-tema b { font-family: var(--serifa); font-weight: 600; font-size: 1.12rem; color: var(--tinta); }
.lp-art-autor img { border: 0; }
.lp-art-cta { background: var(--tinta); border-radius: var(--raio); padding: 28px 30px; }
.lp-art-cta b { font-family: var(--serifa); font-weight: 600; font-size: 1.15rem; color: #fff; }

/* lista do blog e cartões de artigos: tipográficos (sem ilustrações genéricas) */
.lp-blog-cartao { background: none; border: 0; border-top: 1px solid var(--fio-forte); border-radius: 0; }
.lp-blog-corpo { padding: 20px 0 6px; }
.lp-blog-cartao h2, .lp-blog-cartao h3 { font-family: var(--serifa); font-weight: 600; font-size: 1.3rem; line-height: 1.25; }
.lp-blog-img { border-radius: 6px; overflow: hidden; margin-top: 22px; }
.lp-blog-destaque { border-top: 0; background: var(--branco); border: 1px solid var(--fio); border-radius: var(--raio); overflow: hidden; }
.lp-blog-destaque .lp-blog-img { margin: 0; border-radius: 0; }
.lp-blog-destaque.lp-sem-img { grid-template-columns: minmax(0, 1fr); }
.lp-blog-destaque .lp-blog-corpo { padding: 40px 44px; }
.lp-blog-destaque h2 { font-size: 2rem; }
.lp-blog-grelha { gap: 40px 36px; }
.lp-blog .lp-art-cab h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.lp-blog .lp-art-cats a { display: inline-block; margin: 0 22px 10px 0; }
.lp-blog .lp-art-cats a + a { margin-left: 0; }
.cartoes { gap: 40px 36px; }
.cartao { border: 0; border-top: 1px solid var(--fio-forte); border-radius: 0; background: none; }
.cartao .corpo { padding: 20px 0 6px; }
.cartao h2, .cartao h3 { font-family: var(--serifa); font-weight: 600; font-size: 1.3rem; line-height: 1.25; }
.cartao h2 a, .cartao h3 a { color: var(--tinta); }
.cartao p { font-size: 1rem; line-height: 1.6; color: var(--mudo); }
.cartao .data { text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; }
.cartao img { border-radius: 6px; margin-top: 22px; }

/* ---------- perfis e cronologia ---------- */
.lp-perfil-foto img { border: 0; border-radius: 6px; width: 260px; height: 260px; box-shadow: none; }
.lp-pilula { background: none; border: 0; padding: 0; margin-left: 8px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mudo); }
.lp-cron { border-left: 1px solid var(--fio-forte); }
.lp-cron li::before { width: 11px; height: 11px; left: -35px; border: 0; box-shadow: 0 0 0 4px var(--papel); background: var(--sol); }
.lp-sec.soft .lp-cron li::before { box-shadow: 0 0 0 4px var(--papel-2); }

/* ---------- testes: ferramenta agradável de preencher ---------- */
.lp-teste { background: var(--branco); border: 1px solid var(--fio); border-radius: 14px; box-shadow: 0 30px 60px -48px rgba(31, 43, 45, .6); padding: 40px 44px; }
.lp-teste-cab h2 { font-size: 1.6rem; }
.lp-teste-prog { height: 4px; background: var(--papel-2); }
.lp-teste-prog span { background: var(--tinta); }
.lp-teste-n { color: var(--mudo); letter-spacing: .12em; font-size: .75rem; margin-top: 22px; }
.lp-teste-q { font-family: var(--serifa); font-weight: 600; font-size: 1.55rem; color: var(--tinta); min-height: 3.4em; }
.lp-teste-ops { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 460px; }
.lp-teste-ops .lp-btn { justify-content: flex-start; width: 100%; min-width: 0; padding: 16px 20px; font-size: 1.05rem; border: 1px solid var(--fio-forte);
  background: var(--branco); color: var(--tinta) !important; }
.lp-teste-ops .lp-btn::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--fio-forte); flex: none; transition: border-color .15s, box-shadow .15s; }
.lp-teste-ops .lp-btn:hover { border-color: var(--tinta); }
.lp-teste-ops .lp-btn:hover::before { border-color: var(--tinta); }
.lp-teste-ops .lp-btn.p { background: var(--papel-2); border-color: var(--tinta); }
.lp-teste-ops .lp-btn.p::before { border-color: var(--tinta); box-shadow: inset 0 0 0 4px var(--papel-2), inset 0 0 0 10px var(--tinta); }
.lp-teste-volta { font-weight: 600; }
.lp-teste-res h3 { font-size: 1.7rem; }
@media (max-width: 760px) {
  .lp-teste { padding: 26px 20px; border-radius: 12px; }
  .lp-teste-q { font-size: 1.3rem; }
  .lp-teste-ops { max-width: none; }
}

/* ---------- telemóvel ---------- */
@media (max-width: 960px) {
  .lp-resumo ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-resumo li:nth-child(3) { border-left: 0; padding-left: 0; }
  .lp-resumo li:nth-child(n+3) { border-top: 1px solid var(--fio); }
  .lp-foto::after { inset: 12px -10px -12px 12px; }
  .lp-flut { left: 14px; bottom: -22px; }
}
@media (max-width: 640px) {
  body, .lp { font-size: 17px; }
  .lp-sec { padding: 60px 0; }
  .lp-hero { padding: 36px 0 56px; }
  .lp-hero h1 { font-size: 2.25rem; }
  .lp-sub { font-size: 1.1rem; }
  .lp-resumo ul { grid-template-columns: minmax(0, 1fr); }
  .lp-resumo li, .lp-resumo li:nth-child(3) { border-left: 0; padding: 16px 0; border-top: 1px solid var(--fio); }
  .lp-resumo li:first-child { border-top: 0; }
  .lp-fixo { background: rgba(251, 248, 242, .96); border-top-color: var(--fio); }
  .lp-final { padding: 72px 0; }
  .lp-leitura { font-size: 1.13rem; }
  .lp-leitura > p:first-child { font-size: 1.2rem; }
  .lp-blog-destaque .lp-blog-corpo { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) { .lp-mais, .lp-chip::after, .lp-card { transition: none; } }
.lp-flut.lp-flut-solta { position: static; display: inline-grid; margin-top: 28px; box-shadow: none; border-left: 2px solid var(--sol); border-radius: 0 var(--raio) var(--raio) 0; }
a.lp-olho { text-decoration: none; }
a.lp-olho:hover { color: var(--tinta); }
/* homepage: «por onde começar» com algarismos */
#comecar .lp-grelha3 { counter-reset: c; }
#comecar .lp-card::before { counter-increment: c; content: counter(c, decimal-leading-zero); font-family: var(--serifa); font-weight: 600; font-size: 1.1rem; color: var(--sol-tinta); }
#comecar { border-bottom: 1px solid var(--fio); }
/* acertos da primeira revisão */
.lp .lp-final h2 { color: #fff; }
main:has(> .lp) { padding: 0; }
.lp-pessoa img { width: 168px; height: 168px; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--papel-2); object-fit: cover; }
button.lp-btn { font-family: inherit; cursor: pointer; }
.lp-art-indice summary { list-style: none; display: flex; align-items: center; gap: 10px; }
.lp-art-indice summary::-webkit-details-marker { display: none; }
.lp-art-indice summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -4px; opacity: .6; }
.lp-art-indice[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.lp-art-indice ol { font-family: var(--letra); font-size: .98rem; }
/* logótipo (jpg com fundo branco) funde-se com o papel */
.logo img { mix-blend-mode: multiply; }
@media (max-width: 980px) {
  .cabecalho .contentor { gap: 8px 12px; min-height: 60px; }
  .cabecalho .redes { display: none; }
  .cabecalho .idioma { order: 2; margin-left: auto; }
  .menu-botao { order: 3; }
  nav.principal { order: 4; }
}
@media (max-width: 640px) {
  .lp-foto::after { display: none; }
  .lp-foto img { aspect-ratio: 4 / 3; }
  .lp-aviso { font-size: .86rem; line-height: 1.5; }
  .logo img { max-height: 40px; }
}
@media (max-width: 440px) {
  .logo img { max-height: 32px; }
  .cabecalho .idioma a, .cabecalho .idioma .atual { padding: 3px 8px; }
  .menu-botao { padding: 6px 9px; }
}
.lp-perfil-foto img { border-radius: 50%; background: var(--papel-2); }
.lp-blog .lp-art-cats { gap: 6px 22px; margin-top: 26px; }
.lp-blog .lp-art-cats a { margin: 0; letter-spacing: 0; text-transform: none; font-size: .95rem; font-weight: 600; color: var(--tinta);
  border-bottom: 1px solid var(--fio-forte); padding-bottom: 2px; }
.lp-blog .lp-art-cats a::before { display: none; }
.lp-blog .lp-art-cats a:hover { border-bottom-color: var(--sol); text-decoration: none; }
.lp-passos li, .lp-marcar .lp-3passos li { grid-auto-rows: min-content; align-content: start; }
.lp-passos li h3 { align-self: end; }

/* =====================================================================
   v2 — mais coragem: sangria total, ícones próprios, faixas escuras,
   cabeçalhos em duas colunas, equipa maior, chamada final fotográfica
   ===================================================================== */
:root { --sangria: calc(-1 * ((100vw - min(100vw, 1120px)) / 2 + 20px)); }
.lp { overflow-x: clip; }
.lp-sec { padding: 112px 0; }
.lp h2 { font-size: clamp(2rem, 3.7vw, 2.95rem); line-height: 1.1; }

/* topo em ecrã dividido: fotografia até à margem da janela */
.lp-hero:not(.lp-hero-simples) { padding: 0; }
.lp-hero:not(.lp-hero-simples) .lp-w { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: stretch; min-height: min(80vh, 740px); }
.lp-hero:not(.lp-hero-simples) .lp-hero-txt { padding: 96px 0 88px; align-self: center; }
.lp-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.5rem); line-height: 1.03; letter-spacing: -.025em; }
.lp-hero .lp-foto { margin-right: var(--sangria); align-self: stretch; min-height: 540px; }
.lp-hero .lp-foto img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; }
.lp-hero .lp-foto::after { display: none; }
.lp-hero .lp-flut { left: -40px; bottom: 56px; padding: 18px 22px; border: 0; box-shadow: 0 24px 50px -24px rgba(31, 43, 45, .55); }

/* secções com imagem: ecrã dividido, imagem em sangria na sua coluna */
.lp-sec:has(> .lp-w > .lp-duas > .lp-fig:not(.lp-fig-livre)) { padding: 0; }
.lp-duas:has(> .lp-fig:not(.lp-fig-livre)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; align-items: stretch; }
.lp-duas:has(> .lp-fig:not(.lp-fig-livre)) > :not(.lp-fig) { padding: 112px 0; align-self: center; }
.lp-duas > .lp-fig:not(.lp-fig-livre):last-child { margin-right: var(--sangria); }
.lp-duas > .lp-fig:not(.lp-fig-livre):first-child { margin-left: var(--sangria); }
.lp-duas > .lp-fig:not(.lp-fig-livre) img { height: 100%; min-height: 560px; aspect-ratio: auto; border-radius: 0; }
.lp-tema-corpo .lp-sec:has(> .lp-w > .lp-duas > .lp-fig) { padding: 44px 0; }
.lp-tema-corpo .lp-duas > .lp-fig { margin: 0 !important; }
.lp-tema-corpo .lp-duas > .lp-fig img { min-height: 0; aspect-ratio: 4 / 3; border-radius: 6px; }
.lp-tema-corpo .lp-duas > :not(.lp-fig) { padding: 0 !important; }

/* cabeçalhos de secção: título à esquerda, introdução à direita */
.lp-sec > .lp-w > .lp-cab:has(.lp-intro) { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 80px; align-items: end; margin-bottom: 56px; }
.lp-sec > .lp-w > .lp-cab:has(.lp-intro) .lp-olho { grid-column: 1 / -1; }
.lp-sec > .lp-w > .lp-cab:has(.lp-intro) .lp-intro { padding-bottom: 8px; }
.lp-tema-corpo .lp-sec > .lp-w > .lp-cab { grid-template-columns: minmax(0, 1fr); margin-bottom: 26px; }

/* ícones de linha próprios */
.lp-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--sol-claro); color: var(--tinta);
  transition: background .2s, transform .2s; }
.lp-ico svg { width: 28px; height: 28px; }
.lp-card .lp-ico { margin-bottom: 8px; }
.lp-card:hover .lp-ico { background: var(--sol); transform: translateY(-2px); }
.lp-card:has(.lp-ico) { border-top: 0; padding-top: 0; }
#comecar .lp-card::before { content: none; }
#comecar .lp-grelha3 { gap: 0; border: 1px solid var(--fio-forte); border-radius: 18px; overflow: hidden; background: var(--branco); }
#comecar .lp-card { padding: 40px 36px 34px; border-left: 1px solid var(--fio); }
#comecar .lp-card:first-child { border-left: 0; }
#comecar .lp-card:hover { background: var(--papel); }
#comecar .lp-card h3 { font-size: 1.45rem; }

/* faixa escura de números */
.lp-resumo.lp-resumo-escuro { background: var(--tinta); padding: 0; }
.lp-resumo-escuro ul { border: 0; }
.lp-resumo-escuro li { border-left-color: rgba(255, 255, 255, .14); padding: 48px 32px 46px; }
.lp-resumo-escuro li:first-child { padding-left: 0; }
.lp-resumo-escuro b { color: var(--sol); font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; letter-spacing: -.02em; }
.lp-resumo-escuro span { color: #c7cfcd; font-size: .95rem; margin-top: 10px; max-width: 26ch; }

/* áreas: lista tipográfica grande */
#areas .lp-chips2 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
#areas .lp-chip { font-family: var(--serifa); font-weight: 500; font-size: clamp(1.35rem, 2.1vw, 1.75rem); padding: 22px 0; letter-spacing: -.01em; }
#areas .lp-chip::after { font-family: var(--letra); font-size: 1.2rem; }

/* equipa: retratos maiores */
.lp-grelha3:has(> .lp-pessoa) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 48px; }
.lp-pessoa img { width: 220px; height: 220px; margin-bottom: 24px; transition: transform .3s; }
.lp-pessoa:hover img { transform: scale(1.03); }
.lp-pessoa h3 { font-size: 1.5rem; }
.lp-pessoa .lp-cargo { font-size: 1.02rem; color: var(--tinta-2); }

/* chamada final sobre a fotografia do consultório */
.lp-final { background: linear-gradient(rgba(31, 43, 45, .86), rgba(31, 43, 45, .92)), url(/wp-content/uploads/2018/09/sala-de-esperas-melh.jpg) center / cover; padding: 128px 0; }
.lp-final h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 18ch; }

@media (max-width: 960px) {
  .lp-sec { padding: 72px 0; }
  .lp-hero:not(.lp-hero-simples) .lp-w { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
  .lp-hero:not(.lp-hero-simples) .lp-hero-txt { padding: 44px 0 36px; }
  .lp-hero .lp-foto { margin: 0 -20px; min-height: 0; }
  .lp-hero .lp-foto img { aspect-ratio: 4 / 3; height: auto; }
  .lp-hero .lp-flut { left: 20px; bottom: -28px; }
  .lp-hero:not(.lp-hero-simples) { padding-bottom: 36px; }
  .lp-duas:has(> .lp-fig:not(.lp-fig-livre)) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lp-duas:has(> .lp-fig:not(.lp-fig-livre)) > :not(.lp-fig) { padding: 72px 0 48px; }
  .lp-duas > .lp-fig:not(.lp-fig-livre):last-child, .lp-duas > .lp-fig:not(.lp-fig-livre):first-child { margin: 0 -20px; }
  .lp-duas > .lp-fig:not(.lp-fig-livre) img { min-height: 0; aspect-ratio: 4 / 3; }
  .lp-sec > .lp-w > .lp-cab:has(.lp-intro) { grid-template-columns: minmax(0, 1fr); margin-bottom: 40px; }
  .lp-resumo-escuro ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-resumo-escuro li, .lp-resumo-escuro li:first-child { padding: 32px 20px 30px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .lp-resumo-escuro li:nth-child(-n+2) { border-top: 0; }
  #comecar .lp-grelha3 { grid-template-columns: minmax(0, 1fr); }
  #comecar .lp-card { border-left: 0; border-top: 1px solid var(--fio); padding: 30px 24px; }
  #comecar .lp-card:first-child { border-top: 0; }
  #areas .lp-chips2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  .lp-grelha3:has(> .lp-pessoa) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .lp-pessoa img { width: 100%; max-width: 200px; height: auto; }
  .lp-final { padding: 88px 0; }
}
@media (max-width: 560px) {
  .lp-resumo-escuro ul { grid-template-columns: minmax(0, 1fr); }
  .lp-resumo-escuro li:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, .14); }
  #areas .lp-chips2 { grid-template-columns: minmax(0, 1fr); }
  .lp-pessoa h3 { font-size: 1.25rem; }
}
#honorarios .lp-grelha3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
#honorarios .lp-preco { padding: 34px 36px; }
#honorarios .lp-preco b { font-size: 2rem; }
@media (max-width: 760px) { #honorarios .lp-grelha3 { grid-template-columns: minmax(0, 1fr); } #honorarios .lp-preco { padding: 26px 22px; } }
.lp .lp-adse h3 { color: #fff; }
@media (max-width: 960px) {
  .lp-hero:not(.lp-hero-simples) { padding-bottom: 0; }
  .lp-hero:not(.lp-hero-simples):has(.lp-foto .lp-flut) { padding-bottom: 40px; }
}
@media (max-width: 560px) {
  .lp-resumo-escuro ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-resumo-escuro li:nth-child(2) { border-top: 0; }
  .lp-resumo-escuro li, .lp-resumo-escuro li:first-child { padding: 26px 14px 24px 0; }
  .lp-resumo-escuro b { font-size: 2rem; }
  .lp-resumo-escuro span { font-size: .86rem; }
}

/* =====================================================================
   v3 — acabamento: barra de topo, topo à medida do ecrã, parallax,
   secções com imagem dentro de um ecrã, equipa centrada
   ===================================================================== */
:root { --cab-alt: 76px; --topo-alt: 38px; }
.barra-topo { background: var(--tinta); color: #cfd6d4; font-size: .8rem; line-height: 1.45; }
.barra-topo .contentor { max-width: 1180px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.barra-topo b { color: var(--sol); font-weight: 700; margin-right: 4px; }
.barra-topo a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.barra-topo a:hover { text-decoration-color: var(--sol); }
.cabecalho { transition: box-shadow .25s; }
.cabecalho.rolado { box-shadow: 0 10px 30px -22px rgba(31, 43, 45, .45); }

/* topo: ocupa exatamente o que sobra do ecrã por baixo da barra e do menu */
.lp-hero:not(.lp-hero-simples) .lp-w { min-height: max(560px, calc(100svh - var(--cab-alt) - var(--topo-alt))); }
.lp-hero:not(.lp-hero-simples) .lp-hero-txt { padding: 48px 0; }
.lp-hero h1 { font-size: clamp(2.5rem, 4.4vw, 4.1rem); margin: 14px 0 18px; }
.lp-hero .lp-ctas { margin-top: 28px; }
.lp-hero .lp-chips { margin-top: 26px; }
.lp-hero .lp-mini { margin-top: 24px; }
.lp-hero .lp-foto { min-height: 0; position: relative; }
.lp-moldura { position: absolute; inset: 0; overflow: hidden; }
.lp-moldura img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* secções com imagem: a altura vem do texto, a imagem preenche (cabe num ecrã) */
.lp-duas > .lp-fig:not(.lp-fig-livre) { position: relative; overflow: hidden; min-height: 460px; }
.lp-duas > .lp-fig:not(.lp-fig-livre) img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.lp-duas:has(> .lp-fig:not(.lp-fig-livre)) > :not(.lp-fig) { padding: 88px 0; }
.lp-duas:has(> .lp-fig:not(.lp-fig-livre)) { max-height: none; }
.lp-px { will-change: transform; transform: scale(1.24); }
.lp-tema-corpo .lp-duas > .lp-fig { position: static; min-height: 0; }
.lp-tema-corpo .lp-duas > .lp-fig img { position: static; height: auto; }

/* entrada suave dos blocos ao descer */
.lp-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.lp-rv.on { opacity: 1; transform: none; }

/* equipa centrada na sua coluna */
.lp-pessoa { justify-items: center; text-align: center; }
.lp-pessoa .lp-mais { justify-self: center; }

@media (max-width: 960px) {
  .lp-hero:not(.lp-hero-simples) .lp-w { min-height: 0; }
  .lp-hero:not(.lp-hero-simples) .lp-hero-txt { padding: 40px 0 32px; }
  .lp-hero .lp-foto { aspect-ratio: 4 / 3; }
  .lp-duas > .lp-fig:not(.lp-fig-livre) { min-height: 0; aspect-ratio: 4 / 3; }
  .lp-duas:has(> .lp-fig:not(.lp-fig-livre)) > :not(.lp-fig) { padding: 64px 0 44px; }
  .barra-topo { font-size: .78rem; }
  .barra-topo .contentor { text-align: left; padding-top: 8px; padding-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .lp-rv { opacity: 1; transform: none; transition: none; } .lp-px { transform: none; } }
@media print { .lp-rv { opacity: 1 !important; transform: none !important; } }
/* cabeçalho opaco: o logótipo (jpg) funde-se sem caixa clara ao descer */
.cabecalho { background: var(--papel); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* =====================================================================
   v4 — mais amarelo da marca (sem forçar): barra de topo, botão
   principal e faixa de números passam a amarelo; tinta nos textos
   ===================================================================== */
.barra-topo { background: var(--sol); color: var(--tinta); }
.barra-topo b { color: var(--tinta); }
.barra-topo a { color: var(--tinta); font-weight: 700; text-decoration-color: rgba(31, 43, 45, .45); }
.barra-topo a:hover { text-decoration-color: var(--tinta); }
.cabecalho { border-top: 0; }

/* botão principal: amarelo da marca, liso, sem brilho */
.lp-btn.p { background: var(--sol); color: var(--tinta) !important; border-color: var(--sol); }
.lp-btn.p svg { fill: var(--tinta); }
.lp-btn.p:hover { background: #f7cf4c; border-color: #f7cf4c; box-shadow: 0 12px 26px -18px rgba(125, 96, 0, .9); }
.botao, .texto a.botao { background: var(--sol); color: var(--tinta); }
.lp-teste-ops .lp-btn.p { background: var(--sol-claro); border-color: var(--tinta); }

/* faixa de números: amarela, com algarismos em tinta */
.lp-resumo.lp-resumo-escuro { background: var(--sol); }
.lp-resumo-escuro b { color: var(--tinta); }
.lp-resumo-escuro span { color: #3d3a2a; }
.lp-resumo-escuro li { border-left-color: rgba(31, 43, 45, .18); }
@media (max-width: 960px) {
  .lp-resumo-escuro li, .lp-resumo-escuro li:first-child { border-top-color: rgba(31, 43, 45, .18); }
}
@media (max-width: 560px) { .lp-resumo-escuro li:nth-child(2) { border-top-color: rgba(31, 43, 45, .18); } }

/* toques de amarelo: «por onde começar» e cartões ao passar */
#comecar .lp-card:hover { background: var(--sol-claro); }
.lp-card:hover .lp-ico { background: var(--sol); }
.lp-art-tema { background: var(--sol-claro); }
/* faixa de números: de novo escura com algarismos amarelos (preferência do João) */
.lp-resumo.lp-resumo-escuro { background: var(--tinta); }
.lp-resumo-escuro b { color: var(--sol); }
.lp-resumo-escuro span { color: #c7cfcd; }
.lp-resumo-escuro li { border-left-color: rgba(255, 255, 255, .14); align-content: start; }
@media (max-width: 960px) { .lp-resumo-escuro li, .lp-resumo-escuro li:first-child { border-top-color: rgba(255, 255, 255, .14); } }
@media (max-width: 560px) { .lp-resumo-escuro li:nth-child(2) { border-top-color: rgba(255, 255, 255, .14); } }
/* topo: nunca mais alto do que 980 px em ecrãs muito altos */
.lp-hero:not(.lp-hero-simples) .lp-w { min-height: min(980px, max(560px, calc(100svh - var(--cab-alt) - var(--topo-alt)))); }
/* perfis (Dr. Jorge Amaro, Dra. Tereza…): topo próprio, não é ecrã dividido */
.lp-hero.lp-perfil { padding: 80px 0 72px; }
.lp-hero.lp-perfil .lp-w { min-height: 0; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: center; }
.lp-hero.lp-perfil .lp-hero-txt { padding: 0; }
.lp-hero.lp-perfil h1 { font-size: clamp(2.3rem, 4.2vw, 3.5rem); }
.lp-perfil-foto img { width: 300px; height: 300px; }
@media (max-width: 760px) {
  .lp-hero.lp-perfil { padding: 40px 0 48px; }
  .lp-hero.lp-perfil .lp-w { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp-perfil-foto img { width: 180px; height: 180px; }
}
/* blog e «últimos artigos»: grelha tipográfica uniforme (as fotografias antigas de banco desequilibravam-na) */
.lp-blog-grelha .lp-blog-img, .lp-artigos .cartao img, .lp-art .cartao img { display: none; }
/* caixa de destaque no topo sem fotografia: discreta, sem sombra */
.lp-hero .lp-flut.lp-flut-solta { box-shadow: none; border: 0; border-left: 2px solid var(--sol); background: transparent; padding: 4px 0 4px 16px; border-radius: 0; }
/* redes sociais só no rodapé; seletor de língua à direita, depois do menu */
.cabecalho .idioma { margin-left: 8px; }
.rodape .redes { gap: 14px; }
.rodape .redes svg { width: 20px; height: 20px; }
@media (max-width: 980px) { .cabecalho .idioma { margin-left: auto; } }

/* ---------- Testes: início, passos, jogo e resultado (modelo/teste.js) ---------- */
.lp-teste-lops { display: block; font-size: .85rem; color: var(--mudo); margin-top: 2px; }
.lp-teste-ini { padding-top: 6px; }
.lp-teste-meta { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-teste-meta li { background: var(--papel-2); border: 1px solid var(--fio); border-radius: 999px; padding: 6px 14px; font-size: .92rem; color: var(--tinta); }
.lp-teste-per { font-family: var(--serifa); font-size: 1.2rem; color: var(--tinta); margin: 0 0 22px; }
.lp-teste-go { min-width: 200px; justify-content: center; }
.lp-teste-passo { animation: lpEntra .28s ease both; }
.lp-teste-passo.sai { animation: lpSai .2s ease both; }
@keyframes lpEntra { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes lpSai { to { opacity: 0; transform: translateX(-18px); } }
@media (prefers-reduced-motion: reduce) { .lp-teste-passo, .lp-teste-passo.sai { animation: none; } }
.lp-teste-pre { margin: 6px 0 4px; color: var(--mudo); font-size: .95rem; }
.lp-teste-q { min-height: 0; margin-bottom: 20px; }
.lp-teste-ops .lp-btn::before { display: none; }
.lp-teste-ops .lp-btn { gap: 14px; text-align: left; line-height: 1.3; }
.lp-teste-tecla { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--fio-forte); display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; color: var(--mudo); background: var(--branco); }
.lp-teste-ops .lp-btn.p .lp-teste-tecla { border-color: var(--tinta); color: var(--tinta); }
.lp-teste-ops .lp-btn.certo { background: #e5efe3; border-color: #4f7a4a; }
.lp-teste-ops .lp-btn.errado { background: #f6e4dc; border-color: #b0654a; }
.lp-teste-ops .lp-btn:disabled { cursor: default; opacity: 1; }
.lp-teste-exp { margin: 16px 0 14px; padding: 14px 16px; border-radius: 10px; background: var(--papel-2); border-left: 4px solid var(--fio-forte); line-height: 1.5; }
.lp-teste-exp.ok { border-left-color: #4f7a4a; }
.lp-teste-exp.nao { border-left-color: #b0654a; }
.lp-teste-res { outline: none; }
.lp-teste-res h3 { font-family: var(--serifa); font-size: 1.75rem; line-height: 1.2; margin: 0 0 16px; }
.lp-teste-pont { display: block; font-family: var(--sans, inherit); font-size: .95rem; font-weight: 700; letter-spacing: .04em; color: var(--mudo); margin-bottom: 4px; }
.lp-regua { position: relative; margin: 6px 0 4px; }
.lp-regua-faixas { display: flex; gap: 3px; height: 12px; }
.lp-regua-f { border-radius: 4px; opacity: .55; }
.lp-regua-f.on { opacity: 1; }
.lp-regua-m { position: absolute; top: -6px; width: 4px; height: 24px; margin-left: -2px; background: var(--tinta); border-radius: 2px; box-shadow: 0 0 0 3px var(--branco); }
.lp-regua-legenda { display: flex; justify-content: space-between; font-size: .8rem; color: var(--mudo); margin-bottom: 16px; }
.lp-regua-f.t1, .lp-teste-niveis td.t1 { background: #dfe9dc; }
.lp-regua-f.t2, .lp-teste-niveis td.t2 { background: var(--sol-claro); }
.lp-regua-f.t3, .lp-teste-niveis td.t3 { background: #f1d27a; }
.lp-regua-f.t4, .lp-teste-niveis td.t4 { background: #e9ab78; }
.lp-regua-f.t5, .lp-teste-niveis td.t5 { background: #d98465; }
.lp-teste-niveis td.t1, .lp-teste-niveis td.t2, .lp-teste-niveis td.t3, .lp-teste-niveis td.t4, .lp-teste-niveis td.t5 { font-weight: 700; white-space: nowrap; }
.lp-teste-alerta { background: #f6e4dc; border: 1px solid #b0654a; border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; line-height: 1.5; }
.lp-teste-fonte { font-size: .85rem; color: var(--mudo); margin-top: 14px; }
.lp-teste-niveis { margin-top: 28px; }
.lp-teste-niveis h3 { font-family: var(--serifa); font-size: 1.3rem; margin: 0 0 12px; }
.lp-teste-niveis table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.lp-teste-niveis th { text-align: left; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mudo); padding: 0 12px; }
.lp-teste-niveis td { padding: 10px 12px; vertical-align: top; background: var(--branco); border-top: 1px solid var(--fio); border-bottom: 1px solid var(--fio); line-height: 1.45; }
.lp-teste-niveis td:first-child { border-left: 1px solid var(--fio); border-radius: 8px 0 0 8px; }
.lp-teste-niveis td:last-child { border-right: 1px solid var(--fio); border-radius: 0 8px 8px 0; }
@media (max-width: 640px) {
  .lp-teste-tecla { display: none; }
  .lp-teste-res h3 { font-size: 1.45rem; }
  .lp-teste-niveis td { padding: 8px 10px; font-size: .95rem; }
}

/* ---------- Testes: mais respiração e mais presença (19 nov, pedido do João) ---------- */
.lp .lp-teste-env { max-width: 960px; }
.lp .lp-teste { padding: 56px 64px 48px; border-radius: 18px; }
.lp .lp-teste-cab h2 { font-size: clamp(1.75rem, 2.6vw, 2.3rem); line-height: 1.15; margin: 0 0 12px; }
.lp .lp-teste-cab p { margin: 0 0 28px; font-size: 1.05rem; line-height: 1.55; }
.lp-teste-rev { display: flex; align-items: center; gap: 12px; margin: -8px 0 32px; padding: 12px 16px; background: var(--papel-2); border: 1px solid var(--fio); border-radius: 12px; font-size: .92rem; line-height: 1.45; color: var(--mudo); }
.lp-teste-rev img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.lp-teste-rev b { color: var(--tinta); }
.lp .lp-teste-meta { margin: 0 0 24px; gap: 10px; }
.lp .lp-teste-per { margin: 0 0 30px; }
.lp .lp-teste-prog { margin: 0 0 18px; }
.lp .lp-teste-n { margin: 0 0 14px; }
.lp .lp-teste-pre { margin: 0 0 10px; font-size: 1rem; }
.lp .lp-teste-q { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.3; margin: 0 0 30px; }
.lp .lp-teste-ops { gap: 14px; max-width: 640px; }
.lp .lp-teste-ops .lp-btn { padding: 18px 22px; }
.lp .lp-teste-volta { margin-top: 26px; }
.lp .lp-teste-exp { margin: 24px 0 20px; padding: 16px 18px; }
.lp .lp-teste > .lp-nota { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--fio); }
.lp .lp-teste-res .lp-teste-n { margin: 0 0 10px; }
.lp .lp-teste-pont { margin: 0 0 8px; }
.lp .lp-teste-res h3 { margin: 0 0 24px; }
.lp .lp-regua { margin: 12px 0 8px; }
.lp .lp-regua-legenda { margin: 0 0 28px; }
.lp .lp-teste-res > p { margin: 0 0 18px; line-height: 1.6; max-width: 70ch; }
.lp .lp-teste-res .lp-teste-fonte { margin: 0 0 32px; }
.lp .lp-teste-res .lp-ctas { margin: 0 0 28px; gap: 12px; }
.lp .lp-teste-res .lp-links { gap: 12px 28px; margin-top: 0; }
.lp .lp-teste-alerta { margin-bottom: 28px; }
.lp .lp-teste-niveis { margin-top: 56px; }
.lp .lp-teste-niveis h3 { margin: 0 0 18px; }
.lp .lp-teste-niveis .lp-teste-fonte { margin-top: 18px; }
@media (max-width: 640px) {
  .lp .lp-teste { padding: 32px 22px 28px; border-radius: 14px; }
  .lp .lp-teste-cab p { margin-bottom: 22px; }
  .lp-teste-rev { margin: -4px 0 26px; }
  .lp .lp-teste-q { margin-bottom: 24px; }
  .lp .lp-teste-ops .lp-btn { padding: 16px 18px; }
}
.lp-teste-mais { text-align: center; margin: 28px 0 0; font-weight: 700; }

/* ---------- Teste em duas colunas (homepage) ---------- */
.lp-teste-lado { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.lp-teste-lado-txt .lp-cab { margin-bottom: 26px; }
.lp-teste-pontos { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.lp-teste-pontos li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.lp-teste-pontos svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: var(--sol-tinta); }
.lp-teste-lado .lp-teste-rev { margin: 0 0 24px; background: transparent; }
.lp-teste-lado .lp-teste-mais { text-align: left; margin: 0; }
.lp .lp-teste-lado .lp-teste { padding: 36px 40px 32px; }
.lp-teste-rot { margin: 0 0 18px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sol-tinta); }
.lp-teste-lado .lp-teste-cab p.lp-teste-rot { margin: 0 0 18px; font-size: .75rem; }
.lp .lp-teste-lado .lp-teste-q { font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
.lp .lp-teste-lado .lp-teste-ops { max-width: none; }
@media (max-width: 900px) {
  .lp-teste-lado { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp .lp-teste-lado .lp-teste { padding: 28px 22px 24px; }
}

/* ---------- Topo sem fotografia: o cartão solto e as caras da equipa ficam um por baixo do outro (não colidem) ---------- */
.lp-hero-txt .lp-flut.lp-flut-solta { display: flex; flex-direction: column; width: fit-content; max-width: 100%; }
.lp-hero-txt .lp-mini { display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; }
.lp-hero-txt .lp-flut-solta + .lp-mini { margin-top: 22px; }

/* ---------- Fotografia de destaque nos artigos ---------- */
.lp-art-foto { margin: 0 0 36px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--papel-2); }
.lp-art-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .lp-art-foto { margin-bottom: 26px; border-radius: 10px; } }
