/* Blog de diogomatos.site. Fonte: Desktop\Diogo Matos\blog\blog.css (copiado pelo gerar.py). */
:root {
  --fundo: #0a1120;
  --fundo-2: #0d1628;
  --cartao: #131d30;
  --cartao-2: #1b2840;
  --linha: rgba(255, 255, 255, .08);
  --linha-forte: rgba(255, 255, 255, .14);
  --texto: #f5f2ea;
  --corpo: #d6dae2;
  --suave: #9aa3b4;
  --dourado: #f0c75e;
  --dourado-escuro: #b8862b;
  --azul: #56b6f0;
  --coral: #f2946b;
  --verde: #6fd0b0;
  --gradiente: linear-gradient(120deg, #b8862b, #f0c75e);
  --sombra: 0 18px 50px rgba(0, 0, 0, .35);
  --raio: 22px;
  --fonte: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --largura: 1180px;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--fundo); scroll-behavior: smooth; scroll-padding-top: 84px; }
body { position: relative; min-height: 100vh; overflow-x: hidden; background: var(--fundo); color: var(--texto); font: 400 16px/1.7 var(--fonte); }
body.menu-aberto { overflow: hidden; }
body::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 560px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(420px 260px at 18% 0, rgba(184, 134, 43, .22), transparent 70%),
    radial-gradient(420px 260px at 85% 40px, rgba(29, 111, 209, .16), transparent 70%);
}
a { color: var(--dourado); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffe08f; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contentor { position: relative; z-index: 1; width: 100%; max-width: var(--largura); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .contentor { padding-left: 28px; padding-right: 28px; } }

/* ---------- Barra de topo ---------- */
.barra { position: sticky; top: 0; z-index: 30; background: rgba(10, 17, 32, .8); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--linha); }
.barra .contentor { display: flex; align-items: center; gap: 14px; height: 68px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; margin-right: auto; }
.marca img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--dourado-escuro); }
.marca span { display: flex; flex-direction: column; line-height: 1.15; }
.marca strong { font-size: 15.5px; font-weight: 700; }
.marca small { font-size: 11px; color: var(--dourado); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.marca:hover { color: var(--texto); }
.nav-principal { display: none; align-items: center; gap: 2px; }
.nav-principal a { color: var(--corpo); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav-principal a:hover, .nav-principal a[aria-current="page"] { color: var(--texto); background: rgba(255, 255, 255, .06); }
.botao-cta { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--gradiente); color: #0a1120; font-weight: 700; font-size: 14px; text-decoration: none; }
.botao-cta:hover { color: #0a1120; filter: brightness(1.08); }
.botao-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linha-forte); background: rgba(255, 255, 255, .04); color: var(--texto); font: 600 14px var(--fonte); cursor: pointer; }
.botao-menu:hover { border-color: var(--dourado-escuro); }
@media (min-width: 1040px) { .nav-principal, .barra .botao-cta { display: inline-flex; } }
.progresso { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--gradiente); }

/* ---------- Menu completo ---------- */
.menu-fundo { position: fixed; inset: 0; z-index: 40; background: rgba(4, 8, 16, .6); opacity: 0; pointer-events: none; transition: opacity .25s; }
.menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(420px, 100%); overflow-y: auto; background: var(--fundo-2); border-left: 1px solid var(--linha-forte); box-shadow: var(--sombra); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; padding: 18px 20px calc(28px + env(safe-area-inset-bottom)); }
body.menu-aberto .menu { transform: none; visibility: visible; }
body.menu-aberto .menu-fundo { opacity: 1; pointer-events: auto; }
.menu-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.menu-fechar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--linha-forte); background: transparent; color: var(--texto); cursor: pointer; }
.menu h2 { font-size: 12px; color: var(--suave); text-transform: uppercase; letter-spacing: .1em; margin: 22px 0 10px; font-weight: 600; }
.menu-lista { list-style: none; padding: 0; display: grid; gap: 6px; }
.menu-lista a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--texto); text-decoration: none; background: rgba(255, 255, 255, .03); border: 1px solid transparent; }
.menu-lista a:hover { border-color: var(--linha-forte); background: rgba(255, 255, 255, .06); color: var(--texto); }
.menu-lista .ic { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border-radius: 11px; background: color-mix(in srgb, var(--cor, #f0c75e) 16%, transparent); color: var(--cor, #f0c75e); }
.menu-lista .ic img { width: 22px; height: 22px; object-fit: contain; }
.menu-lista .tx { display: flex; flex-direction: column; line-height: 1.3; }
.menu-lista strong { font-size: 14.5px; font-weight: 600; }
.menu-lista small { font-size: 12.5px; color: var(--suave); }
.menu-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-chips a { font-size: 13px; padding: 7px 12px; border-radius: 999px; text-decoration: none; color: var(--texto); border: 1px solid var(--linha-forte); }
.menu-chips a:hover { border-color: var(--cor, var(--dourado)); color: var(--cor, var(--dourado)); }
.menu .botao-cta { display: flex; justify-content: center; margin-top: 24px; min-height: 48px; }
.menu .redes { margin-top: 4px; }

/* ---------- Redes ---------- */
.redes { display: flex; flex-wrap: wrap; gap: 8px; }
.redes a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--texto); background: rgba(255, 255, 255, .05); border: 1px solid var(--linha); }
.redes a:hover { color: #0a1120; background: var(--dourado); border-color: transparent; }
.redes svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Etiquetas de categoria ---------- */
.cat { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cor, var(--dourado)); text-decoration: none; }
.cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cor, var(--dourado)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cor, #f0c75e) 20%, transparent); }
a.cat:hover { color: var(--cor, var(--dourado)); filter: brightness(1.15); }

/* ---------- Cabeçalho do artigo ---------- */
.heroi { padding-top: 34px; }
.heroi-texto { max-width: 880px; }
h1 { font-size: clamp(30px, 5.2vw, 52px); line-height: 1.1; font-weight: 700; margin: 14px 0 16px; letter-spacing: -.02em; }
h1 em { font-style: normal; background: var(--gradiente); -webkit-background-clip: text; background-clip: text; color: transparent; }
.entrada { font-size: clamp(17px, 2.2vw, 20px); color: var(--corpo); max-width: 780px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 20px; font-size: 13.5px; color: var(--suave); }
.meta .autor-mini { display: inline-flex; align-items: center; gap: 10px; color: var(--texto); font-weight: 600; text-decoration: none; }
.meta img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--dourado-escuro); }
.meta .ponto { width: 4px; height: 4px; border-radius: 50%; background: var(--suave); opacity: .6; }
.banner { margin-top: 28px; border-radius: 26px; overflow: hidden; border: 1px solid var(--linha-forte); box-shadow: var(--sombra); background: var(--cartao); }
.banner img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
@media (max-width: 640px) { .banner { border-radius: 18px; } .banner img { aspect-ratio: 16 / 10; } }

/* ---------- Grelha artigo + lateral ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 34px; }
@media (min-width: 1040px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.artigo { min-width: 0; max-width: 780px; }
.lateral { display: none; }
@media (min-width: 1040px) { .lateral { display: block; } .lateral-fixa { position: sticky; top: 92px; display: grid; gap: 18px; } }
.caixa { padding: 18px; border-radius: var(--raio); background: var(--cartao); border: 1px solid var(--linha); }
.caixa > h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--suave); margin: 0 0 12px; font-weight: 600; }
.indice-lateral ol { list-style: none; padding: 0; display: grid; gap: 2px; counter-reset: n; }
.indice-lateral li { counter-increment: n; }
.indice-lateral a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--corpo); text-decoration: none; font-size: 14px; line-height: 1.4; border-left: 2px solid transparent; }
.indice-lateral a::before { content: counter(n, decimal-leading-zero); color: var(--suave); font-size: 12px; font-weight: 600; padding-top: 1px; }
.indice-lateral a:hover { background: rgba(255, 255, 255, .04); color: var(--texto); }
.indice-lateral a.ativo { color: var(--texto); background: rgba(240, 199, 94, .08); border-left-color: var(--dourado); }
.indice-lateral a.ativo::before { color: var(--dourado); }
.destaque-lateral { display: grid; gap: 10px; }
.destaque-lateral .selo { font-size: 11.5px; color: var(--dourado); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.destaque-lateral img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; border-radius: 14px; padding: 10px; }
.lateral > .destaque-lateral { margin-bottom: 18px; }
.destaque-lateral strong { font-size: 15px; line-height: 1.35; }
.destaque-lateral small { color: var(--suave); font-size: 13px; margin-top: -6px; }
.sugeridos-lista { display: grid; gap: 14px; }
.sugerido { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; color: var(--texto); text-decoration: none; }
.sugerido img, .sugerido .sem-imagem { width: 88px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--cartao-2); }
.sugerido .produto-capa { object-fit: contain; background: #fff; padding: 6px; }
.sugerido span { display: flex; flex-direction: column; gap: 3px; }
.sugerido small { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--cor, var(--dourado)); }
.sugerido strong { font-size: 13.5px; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sugerido:hover { color: var(--texto); }
.sugerido:hover strong { color: var(--dourado); }

/* Índice no telemóvel */
.indice-movel { margin: 24px 0; border-radius: var(--raio); background: var(--cartao); border: 1px solid var(--linha); }
.indice-movel summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; font-weight: 600; }
.indice-movel summary::-webkit-details-marker { display: none; }
.indice-movel summary::after { content: "+"; color: var(--dourado); font-size: 22px; line-height: 1; }
.indice-movel[open] summary::after { content: "−"; }
.indice-movel ol { padding: 0 18px 16px 38px; display: grid; gap: 4px; font-size: 15px; }
.indice-movel li::marker { color: var(--dourado); }
.indice-movel a { color: var(--corpo); text-decoration: none; }
@media (min-width: 1040px) { .indice-movel { display: none; } }

/* ---------- Corpo ---------- */
.aviso-afiliado { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--linha); font-size: 13px; line-height: 1.55; color: var(--suave); }
.aviso-afiliado svg { color: var(--dourado); margin-top: 1px; width: 17px; height: 17px; }
.resposta { margin: 24px 0; padding: 22px 22px 20px; border-radius: var(--raio); background: linear-gradient(150deg, rgba(184, 134, 43, .18), rgba(29, 111, 209, .1)); border: 1px solid rgba(240, 199, 94, .35); }
.resposta h2 { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin: 0 0 8px; color: var(--dourado); text-transform: uppercase; letter-spacing: .1em; }
.resposta p { margin: 0; font-size: 16.5px; }
.corpo { font-size: 17px; color: var(--corpo); }
.corpo h2 { color: var(--texto); font-size: clamp(23px, 3.4vw, 30px); line-height: 1.25; margin: 50px 0 14px; letter-spacing: -.01em; }
.corpo h3 { color: var(--texto); font-size: 20px; line-height: 1.35; margin: 32px 0 10px; }
.corpo p, .corpo ul, .corpo ol { margin: 0 0 18px; }
.corpo ul, .corpo ol { padding-left: 22px; }
.corpo li { margin-bottom: 8px; }
.corpo li::marker { color: var(--dourado); }
.corpo strong { color: #fff; }

/* Escolhas rápidas */
.escolhas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 26px 0 10px; }
@media (min-width: 720px) { .escolhas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.escolha { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 18px; background: var(--cartao); border: 1px solid var(--linha); text-decoration: none; color: var(--texto); transition: transform .2s, border-color .2s; }
.escolha:hover { border-color: var(--dourado-escuro); color: var(--texto); transform: translateY(-2px); }
.escolha .selo { font-size: 11px; font-weight: 700; color: var(--dourado); text-transform: uppercase; letter-spacing: .05em; line-height: 1.35; min-height: 30px; }
.escolha .foto { display: block; }
.escolha .foto img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; padding: 10px; }
.escolha strong { font-size: 14px; line-height: 1.3; }
.escolha .preco { font-size: 12.5px; color: var(--suave); margin-top: auto; }

/* Tabela comparativa */
.tabela { margin: 22px 0 10px; overflow-x: auto; border-radius: var(--raio); border: 1px solid var(--linha); background: var(--cartao); -webkit-overflow-scrolling: touch; }
.tabela table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 13.5px; line-height: 1.4; }
.tabela th, .tabela td { padding: 10px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--linha); }
.tabela thead th { background: var(--cartao-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--dourado); }
.tabela tbody tr:last-child td { border-bottom: 0; }
.tabela tbody tr:hover td { background: rgba(255, 255, 255, .025); }
.tabela td:first-child { font-weight: 600; color: #fff; }
.tabela .miniatura { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 160px; }
.tabela .miniatura img { width: 46px; height: 46px; flex: none; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.tabela-nota { font-size: 12px; color: var(--suave); margin: 0 0 24px; }
@media (min-width: 900px) { .tabela-nota { display: none; } }

/* Cartão de produto */
.produto { margin: 26px 0; padding: 20px; border-radius: 24px; background: linear-gradient(180deg, var(--cartao), #101a2c); border: 1px solid var(--linha); scroll-margin-top: 90px; }
.produto-topo { display: grid; grid-template-columns: 190px 1fr; gap: 20px; align-items: start; }
@media (max-width: 600px) { .produto-topo { grid-template-columns: 1fr; } }
.produto .foto { display: block; }
.produto .foto img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 16px; padding: 12px; }
@media (max-width: 600px) { .produto .foto img { aspect-ratio: 4 / 3; } }
.produto .selo { display: inline-flex; font-size: 11px; font-weight: 700; color: #0a1120; background: var(--gradiente); padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.produto h3 { color: var(--texto); font-size: 21px; margin: 8px 0 8px; line-height: 1.3; }
.produto .dados { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.produto .dados span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--corpo); }
.produto .dados .preco-faixa { background: rgba(240, 199, 94, .14); color: var(--dourado); font-weight: 600; }
.produto .para-quem { font-size: 15px; margin: 0; }
.pros-contras { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
@media (max-width: 600px) { .pros-contras { grid-template-columns: 1fr; } }
.pros-contras > div { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--linha); }
.pros-contras h4 { font-size: 12px; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .06em; }
.pros-contras .pros h4 { color: var(--verde); }
.pros-contras .contras h4 { color: var(--coral); }
.pros-contras ul { list-style: none; padding: 0; margin: 0; font-size: 14.5px; display: grid; gap: 6px; }
.pros-contras li { position: relative; padding-left: 22px; margin: 0; }
.pros-contras .pros li::before { content: "✓"; position: absolute; left: 0; color: var(--verde); font-weight: 700; }
.pros-contras .contras li::before { content: "!"; position: absolute; left: 5px; color: var(--coral); font-weight: 700; }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; background: var(--gradiente); color: #0a1120; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 8px 24px rgba(184, 134, 43, .25); }
.botao:hover { color: #0a1120; filter: brightness(1.08); }
.botao svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.produto .botao { width: 100%; }
.botao-pequeno { min-height: 38px; padding: 6px 14px; font-size: 13px; box-shadow: none; white-space: nowrap; }
.botao-sec { background: rgba(255, 255, 255, .04); color: var(--texto); border: 1px solid var(--linha-forte); box-shadow: none; }
.botao-sec:hover { color: var(--texto); border-color: var(--dourado); filter: none; }

/* FAQ */
.faq { margin: 50px 0 20px; }
.faq > h2 { font-size: clamp(23px, 3.4vw, 30px); margin-bottom: 14px; line-height: 1.25; }
.faq details { border-radius: 16px; background: var(--cartao); border: 1px solid var(--linha); margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dourado); font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; color: var(--corpo); }

.fontes { margin: 26px 0; font-size: 13.5px; color: var(--suave); }
.fontes h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--suave); margin-bottom: 8px; }
.fontes ul { padding-left: 18px; }
.fontes a { color: var(--suave); }

/* Cartão do autor */
.autor { position: relative; margin: 44px 0 10px; padding: 26px; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #1a2944, #0f1829 65%); border: 1px solid rgba(240, 199, 94, .28); box-shadow: var(--sombra); }
.autor::before { content: ""; position: absolute; width: 340px; height: 340px; right: -130px; top: -170px; background: radial-gradient(circle, rgba(240, 199, 94, .24), transparent 65%); pointer-events: none; }
.autor-topo { position: relative; display: flex; gap: 18px; align-items: center; }
.autor-foto { position: relative; flex: none; width: 96px; height: 96px; padding: 3px; border-radius: 50%; background: var(--gradiente); box-shadow: 0 0 30px rgba(240, 199, 94, .25); }
.autor-foto img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #0f1829; }
.autor small { display: block; font-size: 11px; color: var(--dourado); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.autor h2 { font-size: 26px; margin: 2px 0 2px; line-height: 1.2; }
.autor .funcao { font-size: 14px; color: var(--suave); margin: 0; }
.autor .bio { position: relative; margin: 18px 0; color: var(--corpo); font-size: 15.5px; }
.provas { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
@media (min-width: 640px) { .provas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.provas div { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--linha); }
.provas strong { display: block; font-size: 21px; color: var(--dourado); line-height: 1.2; }
.provas span { font-size: 12px; color: var(--suave); line-height: 1.3; display: block; margin-top: 2px; }
.autor-acoes { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.autor-acoes .redes { margin-left: auto; }
@media (max-width: 560px) { .autor { padding: 20px; } .autor-foto { width: 76px; height: 76px; } .autor h2 { font-size: 21px; } .autor-acoes .botao { flex: 1 1 100%; } .autor-acoes .redes { margin-left: 0; } }

/* Sugeridos (em baixo) */
.sugeridos-baixo { padding-top: 46px; }
.secao-titulo { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.secao-titulo h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.2; }
.secao-titulo a { font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }

/* ---------- Cartões de artigo ---------- */
.artigos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 18px; }
.cartao-artigo { display: flex; flex-direction: column; border-radius: var(--raio); overflow: hidden; background: var(--cartao); border: 1px solid var(--linha); text-decoration: none; color: var(--texto); transition: transform .2s, border-color .2s, box-shadow .2s; }
.cartao-artigo:hover { color: var(--texto); border-color: color-mix(in srgb, var(--cor, #f0c75e) 55%, transparent); transform: translateY(-3px); box-shadow: var(--sombra); }
.cartao-artigo .capa { display: block; position: relative; overflow: hidden; background: var(--cartao-2); }
.cartao-artigo .capa img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.cartao-artigo:hover .capa img { transform: scale(1.04); }
.cartao-artigo .capa.produto-capa img { object-fit: contain; background: #fff; padding: 16px; }
.cartao-artigo .info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cartao-artigo .info strong { font-size: 17px; line-height: 1.35; }
.cartao-artigo .info p { font-size: 14px; color: var(--suave); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cartao-artigo .rodape-cartao { margin-top: auto; padding-top: 6px; display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--suave); }
.cartao-artigo .rodape-cartao .ponto { width: 4px; height: 4px; border-radius: 50%; background: var(--suave); opacity: .6; }

/* ---------- Página do blog ---------- */
.cabecalho-blog { padding: 48px 0 6px; display: grid; gap: 18px; }
.cabecalho-blog .sobre { font-size: 12px; color: var(--dourado); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.cabecalho-blog h1 { margin: 0; max-width: 820px; }
.cabecalho-blog p { color: var(--corpo); max-width: 640px; font-size: 18px; }
.pesquisa { position: relative; max-width: 520px; }
.pesquisa svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--suave); width: 19px; height: 19px; }
.pesquisa input { width: 100%; min-height: 52px; padding: 12px 18px 12px 48px; border-radius: 999px; border: 1px solid var(--linha-forte); background: rgba(255, 255, 255, .04); color: var(--texto); font: 400 16px var(--fonte); }
.pesquisa input::placeholder { color: var(--suave); }
.categorias { display: flex; gap: 8px; margin: 28px 0 24px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.categorias::-webkit-scrollbar { display: none; }
.categorias button { flex: none; display: inline-flex; align-items: center; gap: 8px; font: 500 14px var(--fonte); color: var(--corpo); background: rgba(255, 255, 255, .03); border: 1px solid var(--linha-forte); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.categorias button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cor, var(--dourado)); }
.categorias button[data-cat=""]::before { display: none; }
.categorias button[aria-pressed="true"] { color: #0a1120; background: var(--cor, var(--dourado)); border-color: transparent; font-weight: 600; }
.categorias button[aria-pressed="true"]::before { background: #0a1120; }
.destaque { display: grid; grid-template-columns: 1fr; border-radius: 28px; overflow: hidden; background: var(--cartao); border: 1px solid var(--linha); text-decoration: none; color: var(--texto); margin-bottom: 22px; transition: border-color .2s; }
@media (min-width: 860px) { .destaque { grid-template-columns: 1.3fr 1fr; } }
.destaque:hover { color: var(--texto); border-color: var(--dourado-escuro); }
.destaque .capa { display: block; overflow: hidden; }
.destaque .capa img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.destaque:hover .capa img { transform: scale(1.03); }
.destaque .capa.produto-capa img { object-fit: contain; background: #fff; padding: 22px; }
.destaque .info { padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.destaque .novo { align-self: flex-start; font-size: 11px; font-weight: 700; color: #0a1120; background: var(--gradiente); padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.destaque .info strong { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.2; }
.destaque .info p { color: var(--corpo); }
.destaque .ler { display: inline-flex; align-items: center; gap: 6px; color: var(--dourado); font-weight: 600; font-size: 15px; }
.destaque .ler svg { width: 18px; height: 18px; }
.vazio { text-align: center; color: var(--suave); padding: 30px 0; }

/* ---------- Faixa de contacto ---------- */
.faixa-cta { padding-top: 56px; }
.caixa-cta { position: relative; overflow: hidden; display: grid; gap: 18px; align-items: center; padding: 28px; border-radius: 28px; background: linear-gradient(120deg, rgba(184, 134, 43, .24), rgba(29, 111, 209, .16)); border: 1px solid rgba(240, 199, 94, .3); }
@media (min-width: 860px) { .caixa-cta { grid-template-columns: 1fr auto; padding: 34px 38px; } }
.caixa-cta h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.2; }
.caixa-cta p { color: var(--corpo); margin-top: 6px; }
.caixa-cta .acoes { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Rodapé ---------- */
.rodape { position: relative; z-index: 1; margin-top: 64px; border-top: 1px solid var(--linha); background: linear-gradient(180deg, #0c1527, #060b16); }
.rodape-grelha { display: grid; gap: 34px; padding-top: 52px; padding-bottom: 38px; grid-template-columns: 1fr 1fr; }
.rodape-marca { grid-column: 1 / -1; }
@media (min-width: 1000px) { .rodape-grelha { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .rodape-marca { grid-column: auto; } }
.rodape-marca .marca { margin: 0; }
.rodape-marca p { color: var(--suave); font-size: 14.5px; margin: 16px 0 18px; max-width: 360px; }
.rodape h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--texto); margin-bottom: 14px; }
.rodape ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.rodape ul a { color: var(--suave); text-decoration: none; font-size: 14.5px; }
.rodape ul a:hover { color: var(--dourado); }
.rodape-fundo { border-top: 1px solid var(--linha); padding-top: 20px; padding-bottom: calc(26px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12.5px; color: var(--suave); }
.rodape-fundo p { max-width: 680px; }
.rodape-fundo a { color: var(--suave); }
[hidden] { display: none !important; }
@media (max-width: 1039px) { .sugeridos-baixo .cartao-artigo:nth-child(n+4) { display: none; } }
@media (min-width: 1040px) { .sugeridos-baixo .cartao-artigo:nth-child(-n+4) { display: none; } .sugeridos-baixo.so-movel { display: none; } }

/* ---------- Telemóvel ---------- */
.meta-info { display: inline-flex; align-items: center; gap: 8px 14px; white-space: nowrap; }
.compra-movel { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 25; display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; padding: 8px 8px 8px 10px; border-radius: 18px; background: rgba(19, 29, 48, .96); border: 1px solid rgba(240, 199, 94, .35); box-shadow: 0 12px 40px rgba(0, 0, 0, .5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform: translateY(140%); transition: transform .3s ease; }
.compra-movel.visivel { transform: none; }
.compra-movel img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 10px; padding: 3px; }
.compra-movel span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.compra-movel small { font-size: 10.5px; color: var(--dourado); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.compra-movel strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1040px) { .compra-movel { display: none; } }
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .heroi { padding-top: 24px; }
  h1 { margin: 10px 0 12px; }
  .meta { margin-top: 16px; }
  .banner { margin-top: 22px; }
  .layout { padding-top: 24px; gap: 28px; }
  .aviso-afiliado { font-size: 12px; padding: 10px 12px; }
  .resposta { padding: 18px; }
  .resposta p { font-size: 15.5px; }
  .corpo { font-size: 16px; }
  .corpo h2 { margin-top: 40px; }
  .produto { padding: 16px; border-radius: 20px; }
  .produto h3 { font-size: 19px; }
  .faq summary { padding: 14px 16px; }
  .caixa-cta { padding: 22px; }
  .caixa-cta .acoes .botao { flex: 1 1 100%; }
  .cabecalho-blog { padding-top: 30px; }
  .cabecalho-blog p { font-size: 16px; }
  .destaque .info { padding: 20px; }
  .botao-menu .txt { display: none; }
  .botao-menu { padding: 8px 11px; }
  .rodape-grelha { padding-top: 40px; gap: 28px; }
  body.tem-compra .rodape-fundo { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* =====================================================================
   Acabamento premium (11/11/2026): serifada nos destaques, barra, menu,
   cabeçalho do blog com banner, temas e textura.
   ===================================================================== */
:root { --serifa: "Instrument Serif", Georgia, "Times New Roman", serif; --ouro-linha: linear-gradient(90deg, transparent, rgba(240, 199, 94, .55), transparent); }
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1 em, .serifa {
  font-family: var(--serifa);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  padding-right: .06em;
  background: linear-gradient(100deg, #fff1c9, #f0c75e 45%, #d9a441);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 em { font-size: 1.12em; line-height: .9; }
.olho { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dourado); }
.olho::before { content: ""; width: 22px; height: 1px; background: var(--dourado); }

/* ---------- Barra ---------- */
.barra { background: rgba(8, 14, 27, .72); border-bottom: 0; }
.barra::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ouro-linha); opacity: .7; }
.barra .contentor { height: 74px; }
.marca img { width: 40px; height: 40px; box-shadow: 0 0 0 3px rgba(240, 199, 94, .12); }
.marca strong { font-size: 16px; letter-spacing: -.01em; }
.marca small { font-family: var(--serifa); font-style: italic; font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--dourado); }
.nav-principal { gap: 4px; }
.nav-principal a { position: relative; padding: 8px 12px; background: transparent !important; color: var(--corpo); }
.nav-principal a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; border-radius: 2px; background: var(--gradiente); transform: translateX(-50%); transition: width .25s ease; }
.nav-principal a:hover::after, .nav-principal a[aria-current="page"]::after { width: 18px; }
.nav-principal a[aria-current="page"] { color: #fff; }
.botao-cta { position: relative; overflow: hidden; box-shadow: 0 6px 20px rgba(184, 134, 43, .3), inset 0 1px 0 rgba(255, 255, 255, .45); }

@keyframes brilho { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.botao-menu { gap: 10px; padding: 9px 16px 9px 13px; background: rgba(255, 255, 255, .03); border-color: rgba(240, 199, 94, .3); }
.botao-menu:hover { background: rgba(240, 199, 94, .08); border-color: var(--dourado); }
.hamburguer { display: grid; gap: 4px; width: 18px; }
.hamburguer i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.hamburguer i:nth-child(2) { width: 70%; justify-self: end; background: var(--dourado); }
.hamburguer i:nth-child(3) { width: 85%; }
@media (max-width: 640px) { .botao-menu .txt { display: none; } .botao-menu { padding: 10px 12px; } .barra .contentor { height: 66px; } }

/* ---------- Menu ---------- */
.menu-fundo { background: rgba(3, 6, 13, .66); }
.menu {
  width: min(460px, 100%);
  padding: 0;
  display: flex; flex-direction: column;
  background:
    radial-gradient(360px 260px at 100% 0, rgba(240, 199, 94, .16), transparent 70%),
    radial-gradient(320px 260px at 0 100%, rgba(29, 111, 209, .18), transparent 70%),
    linear-gradient(180deg, #0e1830, #080e1b);
  border-left: 1px solid rgba(240, 199, 94, .22);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility .45s;
}
.menu-cabeca { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px 18px; position: relative; }
.menu-cabeca::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 1px; background: var(--ouro-linha); }
.menu-perfil { display: flex; align-items: center; gap: 12px; color: var(--texto); text-decoration: none; }
.menu-perfil:hover { color: var(--texto); }
.anel-foto { width: 58px; height: 58px; padding: 2px; border-radius: 50%; background: var(--gradiente); flex: none; }
.anel-foto img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #0e1830; }
.menu-perfil strong { display: block; font-size: 17px; }
.menu-perfil small { display: block; font-size: 12px; color: var(--suave); line-height: 1.4; }
.menu-fechar { flex: none; background: rgba(255, 255, 255, .04); }
.menu-fechar:hover { border-color: var(--dourado); color: var(--dourado); }
.menu-corpo { flex: 1; padding: 6px 22px 10px; }
.menu-rotulo { margin: 22px 0 12px; display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dourado); }
.menu-rotulo::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(240, 199, 94, .35), transparent); }
.menu-grelha { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; min-height: 112px; border-radius: 18px; text-decoration: none; color: var(--texto); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.menu-tile::before { content: ""; position: absolute; width: 120px; height: 120px; right: -50px; top: -50px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--cor) 35%, transparent), transparent 70%); }
.menu-tile:hover { color: var(--texto); transform: translateY(-2px); border-color: color-mix(in srgb, var(--cor) 60%, transparent); }
.menu-tile .ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; margin-bottom: 6px; background: color-mix(in srgb, var(--cor) 18%, transparent); color: var(--cor); }
.menu-tile .ic img { width: 22px; height: 22px; object-fit: contain; }
.menu-tile strong { position: relative; font-size: 14.5px; line-height: 1.25; }
.menu-tile small { position: relative; font-size: 12px; line-height: 1.35; color: var(--suave); }
.menu-temas { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-temas a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 8px; border-radius: 999px; font-size: 13px; text-decoration: none; color: var(--texto); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); }
.menu-temas .ic { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--cor) 20%, transparent); color: var(--cor); }
.menu-temas .ic svg { width: 14px; height: 14px; }
.menu-temas a:hover { border-color: var(--cor); color: var(--texto); }
.menu-projetos { display: grid; gap: 8px; }
.menu-projetos a { display: grid; grid-template-columns: 40px 1fr 18px; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; color: var(--texto); text-decoration: none; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.menu-projetos a:hover { border-color: color-mix(in srgb, var(--cor) 60%, transparent); color: var(--texto); }
.menu-projetos .ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--cor) 16%, transparent); color: var(--cor); }
.menu-projetos .ic img { width: 100%; height: 100%; object-fit: cover; }
.menu-projetos .tx { display: flex; flex-direction: column; line-height: 1.3; }
.menu-projetos strong { font-size: 14.5px; }
.menu-projetos small { font-size: 12px; color: var(--suave); }
.menu-projetos > a > svg { width: 16px; height: 16px; color: var(--suave); }
.menu-pe { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .07); background: rgba(5, 9, 18, .5); }
.menu-pe .botao-cta { display: inline-flex; margin: 0; min-height: 44px; }
.menu .redes a { width: 38px; height: 38px; }
body.menu-aberto .menu-corpo > * { animation: subir .5s cubic-bezier(.2, .8, .2, 1) both; }
body.menu-aberto .menu-corpo > :nth-child(2) { animation-delay: .04s; }
body.menu-aberto .menu-corpo > :nth-child(4) { animation-delay: .08s; }
body.menu-aberto .menu-corpo > :nth-child(6) { animation-delay: .12s; }
@keyframes subir { from { transform: translateY(14px); } to { transform: none; } }
@media (max-width: 400px) { .menu-pe { flex-wrap: wrap; } .menu-pe .botao-cta { flex: 1 1 100%; justify-content: center; } }

/* ---------- Cabeçalho do blog com banner ---------- */
.pagina-blog::before { display: none; }
.heroi-blog { position: relative; overflow: hidden; isolation: isolate; min-height: 560px; display: flex; align-items: flex-end; border-bottom: 1px solid rgba(240, 199, 94, .14); }
.heroi-blog-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
@keyframes aproximar-h { from { transform: scale(1.02); } to { transform: scale(1.09); } }
.heroi-blog-sombra { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(8, 13, 25, .97) 0%, rgba(8, 13, 25, .88) 35%, rgba(8, 13, 25, .35) 70%, rgba(8, 13, 25, .2) 100%),
  linear-gradient(0deg, #0a1120 0%, rgba(10, 17, 32, 0) 40%); }
.heroi-blog-conteudo { padding-top: 90px; padding-bottom: 56px; display: grid; gap: 20px; }
.heroi-blog .sobre { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dourado); }
.heroi-blog .sobre i { width: 8px; height: 8px; border-radius: 50%; background: var(--dourado); box-shadow: 0 0 0 5px rgba(240, 199, 94, .18); }
.heroi-blog h1 { margin: 0; max-width: 760px; font-size: clamp(36px, 6.4vw, 70px); line-height: 1.02; }
.heroi-blog p { max-width: 560px; font-size: clamp(16px, 2vw, 19px); color: #dfe3ea; }
.heroi-blog .pesquisa { max-width: 480px; }
.heroi-blog .pesquisa input { background: rgba(10, 17, 32, .7); border-color: rgba(240, 199, 94, .3); min-height: 56px; }
.heroi-blog .pesquisa input:focus { outline: none; border-color: var(--dourado); box-shadow: 0 0 0 4px rgba(240, 199, 94, .15); }
.heroi-blog-dados { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 6px; font-size: 13.5px; color: var(--suave); }
.heroi-blog-dados strong { color: var(--texto); font-family: var(--serifa); font-style: italic; font-weight: 400; font-size: 22px; margin-right: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .heroi-blog { min-height: 0; }
  .heroi-blog-img { object-position: 78% center; opacity: .55; }
  .heroi-blog-sombra { background: linear-gradient(180deg, rgba(8, 13, 25, .55), rgba(8, 13, 25, .85) 55%, #0a1120); }
  .heroi-blog-conteudo { padding-top: 54px; padding-bottom: 38px; gap: 16px; }
  .heroi-blog-dados { gap: 8px 18px; }
}

/* ---------- Temas ---------- */
.temas { padding-top: 56px; }
.secao-titulo h2 { margin-top: 6px; }
.temas-grelha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .temas-grelha { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.tema { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 18px; min-height: 160px; border-radius: 22px; text-decoration: none; color: var(--texto); background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012)); border: 1px solid rgba(255, 255, 255, .08); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.tema::before { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--cor) 32%, transparent), transparent 70%); transition: transform .4s ease; }
.tema:hover { color: var(--texto); transform: translateY(-3px); border-color: color-mix(in srgb, var(--cor) 55%, transparent); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.tema:hover::before { transform: scale(1.25); }
.tema .ic { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 10px; background: color-mix(in srgb, var(--cor) 18%, transparent); color: var(--cor); border: 1px solid color-mix(in srgb, var(--cor) 30%, transparent); }
.tema strong { position: relative; font-size: 16px; line-height: 1.25; }
.tema small { position: relative; font-size: 13px; line-height: 1.45; color: var(--suave); }
.tema .conta { position: relative; margin-top: auto; padding-top: 10px; font-size: 12px; font-weight: 600; color: var(--cor); }
@media (max-width: 480px) { .tema { padding: 14px; min-height: 150px; } .tema small { font-size: 12px; } }
.lista-artigos { padding-top: 60px; }
.lista-artigos .categorias { margin-top: 0; }

/* ---------- Cartões e secções ---------- */
.cartao-artigo, .destaque, .caixa, .produto, .faq details, .resposta, .autor, .caixa-cta { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.cartao-artigo .info strong { font-size: 17.5px; letter-spacing: -.01em; }
.destaque .info strong { font-family: inherit; letter-spacing: -.015em; }
.secao-titulo h2, .faq > h2, .corpo h2 { letter-spacing: -.015em; }
.caixa-cta h2 em { font-family: var(--serifa); font-style: italic; font-weight: 400; color: var(--dourado); }
.rodape { background: radial-gradient(500px 220px at 15% 0, rgba(184, 134, 43, .12), transparent 70%), linear-gradient(180deg, #0b1426, #050a14); border-top: 0; }
.rodape::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ouro-linha); }
@media (prefers-reduced-motion: reduce) { .heroi-blog-img, .botao-cta::after, body.menu-aberto .menu-corpo > * { animation: none; } }

/* ---------- Fundo de quadrados (o mesmo do link in bio), no topo do blog e dos artigos, nos temas e no rodapé, a desvanecer ---------- */
:root {
  --quadrados:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 28px 28px;
}
.heroi, .heroi-blog, .temas, .rodape { isolation: isolate; }
.heroi { position: relative; }
.heroi::before, .heroi-blog::after, .temas::before, .rodape::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  background: var(--quadrados);
}
/* Topo de cada artigo: à volta do título, a desvanecer para baixo e para os lados */
.heroi::before { inset: -40px 0 auto; height: 520px; -webkit-mask-image: radial-gradient(65% 75% at 30% 20%, #000, transparent 75%); mask-image: radial-gradient(65% 75% at 30% 20%, #000, transparent 75%); }
/* Topo do blog: só do lado do texto, por cima da sombra do banner */
.heroi-blog::after { inset: 0; -webkit-mask-image: radial-gradient(55% 80% at 18% 45%, #000, transparent 72%); mask-image: radial-gradient(55% 80% at 18% 45%, #000, transparent 72%); }
/* Temas: uma faixa ao centro, em cima */
.temas { position: relative; }
.temas::before { left: -16px; right: -16px; top: 0; height: 340px; -webkit-mask-image: radial-gradient(60% 70% at 50% 0, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 50% 0, #000, transparent 75%); }
/* Rodapé: no topo, a desvanecer para baixo */
.rodape::after { left: 0; right: 0; top: 0; height: 260px; -webkit-mask-image: radial-gradient(60% 100% at 50% 0, #000, transparent 80%); mask-image: radial-gradient(60% 100% at 50% 0, #000, transparent 80%); }
@media (max-width: 640px) {
  .heroi-blog::after { -webkit-mask-image: radial-gradient(90% 70% at 30% 40%, #000, transparent 75%); mask-image: radial-gradient(90% 70% at 30% 40%, #000, transparent 75%); }
  .heroi::before { height: 420px; -webkit-mask-image: radial-gradient(90% 70% at 40% 20%, #000, transparent 75%); mask-image: radial-gradient(90% 70% at 40% 20%, #000, transparent 75%); }
}

/* Barra de produtos no menu lateral */
.menu-promo-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.etiqueta-promo { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(240, 199, 94, .12); color: var(--dourado); font-size: 12.5px; font-weight: 600; }
.etiqueta-promo svg { width: 14px; height: 14px; }
.menu-promo-topo a { display: inline-flex; align-items: center; gap: 4px; color: var(--suave); font-size: 12.5px; font-weight: 500; text-decoration: none; }
.menu-promo-topo a:hover { color: var(--texto); }
.menu-promo-topo a svg { width: 14px; height: 14px; }
.menu-produtos { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; margin: 0 -2px 12px; scrollbar-width: thin; scrollbar-color: rgba(240, 199, 94, .35) transparent; }
.menu-produto { flex: 0 0 128px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 10px; border-radius: 16px; background: var(--cartao); border: 1px solid var(--linha); text-decoration: none; color: var(--texto); transition: border-color .2s, transform .2s; }
.menu-produto:hover { border-color: rgba(240, 199, 94, .45); transform: translateY(-2px); }
.menu-produto .foto { display: grid; place-items: center; aspect-ratio: 1; border-radius: 11px; background: #fff; overflow: hidden; }
.menu-produto .foto img { width: 86%; height: 86%; object-fit: contain; }
.menu-produto strong { font-size: 12.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-produto small { font-size: 11.5px; color: var(--dourado); font-weight: 500; }


/* Produtos no menu de topo, com o selo das promoções; no telemóvel, atalho "Promoções" ao lado do Menu */
.nav-principal a .nav-selo { position: absolute; top: 1px; right: -2px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--gradiente); color: #1a1205; font-size: 9px; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px var(--fundo); }
.promo-movel { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 13px; border-radius: 999px; background: rgba(240, 199, 94, .12); border: 1px solid rgba(240, 199, 94, .35); color: var(--dourado); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.promo-movel svg { width: 15px; height: 15px; }
.promo-movel:hover { background: rgba(240, 199, 94, .2); color: #ffe08f; }
@media (min-width: 1040px) { .promo-movel { display: none; } }
@media (max-width: 359px) { .promo-movel { padding: 0 10px; font-size: 12px; } .promo-movel svg { display: none; } }
@media (max-width: 480px) { .barra .marca strong { white-space: nowrap; } .barra .marca small { display: none; } .barra .contentor { gap: 10px; } }
.nav-principal a:has(.nav-selo) { padding-right: 19px; }

/* Redes sociais coloridas, como no link in bio */
.redes a[aria-label="WhatsApp"] { background: #15803d; border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .3); }
.redes a[aria-label="Instagram"] { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(221, 42, 123, .3); }
.redes a[aria-label="LinkedIn"] { background: #0a66c2; border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(10, 102, 194, .32); }
.redes a[aria-label="Contacto"] { background: linear-gradient(120deg, #b8862b, #f0c75e); border-color: transparent; color: #0a1120; box-shadow: 0 6px 18px rgba(184, 134, 43, .35); }
.redes a:hover { transform: translateY(-2px); }
.redes a { transition: transform .15s; }
@media (max-width: 640px) { .rodape li a { display: inline-block; padding: 7px 0; } .rodape ul { gap: 0 !important; } }

/* Promoções dentro de um artigo ({{promocoes:Nome do filtro}}), lidas do links.js */
.promos-artigo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 10px; }
@media (min-width: 720px) { .promos-artigo { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.promo-c { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 10px; border-radius: 16px; background: var(--cartao); border: 1px solid var(--linha); color: var(--texto); text-decoration: none; transition: border-color .2s, transform .2s; }
.promo-c:hover { border-color: var(--linha-forte); transform: translateY(-2px); }
.promo-foto { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: #fff; overflow: hidden; }
.promo-foto img { width: 82%; height: 82%; object-fit: contain; }
.promo-selo { position: absolute; top: 6px; left: 6px; padding: 3px 8px; border-radius: 999px; background: #0b0f1a; color: #f0c75e; border: 1px solid rgba(240, 199, 94, .6); font-size: 10.5px; font-weight: 700; }
.promo-c strong { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.promo-c small { font-size: 12.5px; line-height: 1.4; opacity: .75; }
.promo-ver { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #f0c75e; }
.promo-ver svg { width: 14px; height: 14px; }
.promos-nota { font-size: 13.5px; opacity: .8; }

/* Fotos reais tiradas pelo Diogo dentro de um artigo */
.fotos-reais { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.fotos-reais img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 1px solid var(--linha); }
@media (max-width: 520px) { .fotos-reais { gap: 6px; } .fotos-reais img { border-radius: 10px; } }
