/* ==========================================================================
   PME Incentivos — sistema de design v3 «Claro» (28/11/2026)
   Branco, títulos azul-marinho, um só azul de destaque, faixas pastel e muito espaço.
   Referência: a clareza do Doutor Finanças. Títulos: Figtree · Texto e números: Inter.
   O modo escuro só existe quando a pessoa o escolhe (botão no cabeçalho).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --font-display: "Figtree", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Rótulos e números (antes monoespaçada): Inter com algarismos tabulares */
  --font-mono: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f7fc;
  --ink: #0b1a3a;
  --text: #34405a;
  --muted: #5d6982;
  --line: #e5eaf2;
  --line-strong: #cfd8e6;

  --brand: #2453e8;
  --brand-strong: #1a3fc4;
  --brand-text: #1d47d6;
  --brand-tint: #edf2ff;
  --on-brand: #ffffff;
  --highlight: #2453e8;

  /* Painéis de dados (prazos, resultados, quadro de dados-chave): azul muito claro */
  --radar-bg: #f1f5ff;
  --radar-surface: #ffffff;
  --radar-raised: #f6f9ff;
  --radar-line: #e1e8f5;
  --radar-line-2: #cbd7ef;
  --radar-text: #1f2b47;
  --radar-muted: #5d6982;
  --lime: #1d47d6;
  --cyan: #0e7490;
  --coral: #e5483b;

  /* Faixas de secção */
  --band-blue: #f3f7ff;
  --band-cream: #fff8ef;

  --ok: #067647;   --ok-tint: #e3f8ec;
  --soon: #b54708; --soon-tint: #fef3d6;
  --perm: #1d47d6; --perm-tint: #edf2ff;
  --closed: #5d6982; --closed-tint: #f1f4f9;
  --urgent: #c4320a; --urgent-tint: #fff1ec;

  --radius-s: 10px;
  --radius: 14px;
  --radius-l: 18px;
  --shadow-1: 0 1px 2px rgba(11, 26, 58, .04);
  --shadow-2: 0 18px 40px -22px rgba(11, 26, 58, .28), 0 2px 6px rgba(11, 26, 58, .04);
  --focus: 0 0 0 3px rgba(36, 83, 232, .32);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #06101a; --surface: #0a1724; --surface-2: #0f2133; --ink: #f4f7fb; --text: #dbe6f2;
  --muted: #93a6bb; --line: #16273a; --line-strong: #1f3650;
  --brand: #6e8bff; --brand-strong: #93a8ff; --brand-text: #9db1ff; --brand-tint: #142049; --on-brand: #06101a;
  --highlight: #9db1ff;
  --radar-bg: #06101a; --radar-surface: #0a1724; --radar-raised: #0f2133; --radar-line: #16273a; --radar-line-2: #1f3650;
  --radar-text: #dbe6f2; --radar-muted: #93a6bb; --lime: #c6f432;
  --band-blue: #0a1830; --band-cream: #1c150c;
  --ok: #6ee7a8; --ok-tint: #0c2a1e; --soon: #fdba5c; --soon-tint: #2b1f0c;
  --perm: #9db1ff; --perm-tint: #142049; --closed: #93a6bb; --closed-tint: #0f2133;
  --urgent: #ff8a70; --urgent-tint: #2e1610;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4); --shadow-2: 0 20px 40px -20px rgba(0, 0, 0, .7);
  --focus: 0 0 0 3px rgba(110, 139, 255, .45);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font-text); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; letter-spacing: -.022em; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { color: var(--ink); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.num, .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
/* Título em dois tons (como «Simule antes de avançar.»): a segunda parte na cor da marca */
.hl { color: var(--highlight); background: none; padding: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: var(--radius-s); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
::selection { background: rgba(36, 87, 245, .2); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(52px, 7vw, 100px) 0; }
.section--tight { padding: clamp(28px, 4vw, 44px) 0 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 36px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 58ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem/1.2 var(--font-text); letter-spacing: 0; text-transform: none; color: var(--brand-text); margin-bottom: 10px; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Ícones ---------- */
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 26px; height: 26px; }
.icon-tile { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-text); flex: none; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 18px; border-radius: 12px; border: 1px solid transparent; font: 600 .97rem/1.2 var(--font-text); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 16px -8px rgba(36, 87, 245, .7); }
.btn--primary:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--brand-text); padding-left: 6px; padding-right: 6px; }
.btn--ghost:hover { color: var(--brand-strong); }
.btn--lime { background: var(--brand); color: #fff; }
[data-theme="dark"] .btn--lime { background: var(--lime); color: #06101a; }
.btn--lime:hover { background: var(--brand-strong); color: #fff; }
[data-theme="dark"] .btn--lime:hover { background: #d4fb52; color: #06101a; }
.btn--light { background: #fff; color: #101828; }
.btn--light:hover { background: #e9eef5; color: #101828; }
.btn--lg { min-height: 54px; padding: 14px 24px; font-size: 1.02rem; border-radius: 14px; }
.btn--block { width: 100%; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; font: 800 1.32rem/1 var(--font-display); letter-spacing: -.025em; }
.logo__dot { width: .32em; height: .32em; border-radius: 50%; background: var(--brand); margin: .55em .1em 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.main-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.main-nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; }
.main-nav a:hover { background: var(--surface-2); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--brand-text); background: var(--brand-tint); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.menu-toggle { display: none; }
@media (max-width: 1020px) { .main-nav, .header-actions .btn { display: none; } .menu-toggle { display: grid; } .site-header__inner { justify-content: space-between; } }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--surface); padding: 20px var(--gutter) 40px; overflow-y: auto; display: none; }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 700 1.2rem/1.2 var(--font-display); letter-spacing: -.02em; }
.mobile-nav .btn { margin-top: 24px; width: 100%; font-family: var(--font-text); }
body.nav-open { overflow: hidden; }

/* ---------- Estado (chips) e pílulas ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font: 600 .78rem/1 var(--font-text); white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--aberto { color: var(--ok); background: var(--ok-tint); }
.chip--anunciado { color: var(--soon); background: var(--soon-tint); }
.chip--permanente { color: var(--perm); background: var(--perm-tint); }
.chip--fechado, .chip--suspenso { color: var(--closed); background: var(--closed-tint); }
.chip--a_verificar { color: var(--muted); background: var(--surface-2); }
.chip--a_verificar::before { background: transparent; border: 1.5px solid currentColor; width: 6px; height: 6px; }
.days { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font: 600 .78rem/1 var(--font-mono); white-space: nowrap; color: var(--brand-text); background: var(--brand-tint); }
.days.is-urgent { color: var(--urgent); background: var(--urgent-tint); }
.days.is-soon { color: var(--soon); background: var(--soon-tint); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .8rem; font-weight: 500; text-decoration: none; }

/* ---------- Cartões ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; box-shadow: var(--shadow-1); }
a.card { display: block; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .2s, transform .2s; }
a.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-3px); }
a.card:hover .card__title { color: var(--brand-text); }
.card__title { font: 700 1.14rem/1.3 var(--font-display); color: var(--ink); margin: 0 0 6px; letter-spacing: -.01em; }
.card__meta { color: var(--muted); font-size: .94rem; margin: 0; }

/* Cartão de incentivo */
.inc-card { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.inc-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.inc-card__entity { font: 500 .76rem/1.3 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.inc-card__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.fact dt { font: 500 .7rem/1.2 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.fact dd { margin: 0; font: 700 .96rem/1.25 var(--font-text); color: var(--ink); font-variant-numeric: tabular-nums; }
.fact dd.is-urgent { color: var(--urgent); }

/* ---------- Radar (hero escuro) ---------- */
.radar { background: var(--radar-bg); color: var(--radar-text); position: relative; overflow: hidden; }
.radar::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 30%, rgba(0,0,0,.4)); }
.radar::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 90%; pointer-events: none; background: radial-gradient(closest-side, rgba(36, 87, 245, .35), transparent); }
.radar > * { position: relative; z-index: 1; }
.radar h1, .radar h2 { color: var(--ink); }
.radar .eyebrow { color: var(--lime); }
.radar .hl { background: none; color: var(--lime); }
.radar__hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(40px, 6vw, 80px); }
.radar__lead { color: var(--radar-muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 50ch; margin: 18px 0 26px; }
.radar__popular { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.radar__popular span { color: var(--radar-muted); font: 500 .8rem var(--font-mono); margin-right: 2px; }
.radar__popular a { color: var(--radar-text); border: 1px solid var(--radar-line-2); border-radius: 999px; padding: 6px 12px; font-size: .88rem; text-decoration: none; background: rgba(255,255,255,.02); }
.radar__popular a:hover { border-color: var(--lime); color: var(--ink); }
.live { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--radar-line); border: 1px solid var(--radar-line); border-radius: 18px; overflow: hidden; }
.live div { background: var(--radar-surface); padding: 18px 20px; }
.live b { display: block; font: 700 clamp(1.8rem, 3.2vw, 2.6rem)/1 var(--font-mono); color: var(--ink); letter-spacing: -.04em; }
.live b.is-lime { color: var(--lime); }
.live span { display: block; margin-top: 6px; font-size: .88rem; color: var(--radar-muted); }
.live__stamp { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; font: 500 .74rem/1.4 var(--font-mono); color: var(--radar-muted); text-transform: uppercase; letter-spacing: .03em; }
.live__stamp strong { color: var(--lime); font-weight: 700; }
@media (max-width: 960px) { .radar__hero { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Pesquisa guiada */
.finder { background: var(--surface); color: var(--text); border-radius: 18px; padding: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; align-items: end; }
.finder label { display: block; font: 500 .72rem/1 var(--font-mono); color: var(--muted); margin: 0 0 7px 2px; text-transform: uppercase; letter-spacing: .03em; }
.finder .btn { grid-column: 1 / -1; }
@media (max-width: 720px) { .finder { grid-template-columns: minmax(0, 1fr); } }
.select, .input, .textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 1rem/1.3 var(--font-text); appearance: none; }
.select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b687d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; text-overflow: ellipsis; }
.textarea { min-height: 110px; resize: vertical; }
.select:focus, .input:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }

/* Linha do tempo dos prazos */
.timeline-card { margin-top: clamp(28px, 4vw, 44px); background: var(--radar-surface); border: 1px solid var(--radar-line); border-radius: 18px; padding: 18px 22px 8px; }
.timeline-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.timeline-card__head h2 { font-size: 1.08rem; letter-spacing: -.01em; margin: 0; }
.timeline-card__head a { color: var(--lime); font: 600 .84rem var(--font-mono); text-decoration: none; }
.timeline-card__head a:hover { text-decoration: underline; }
.track { position: relative; height: 196px; border-top: 1px solid var(--radar-line); margin-bottom: 10px; }
.track__tick { position: absolute; top: 0; bottom: 18px; border-left: 1px dashed var(--radar-line-2); font: 500 .68rem var(--font-mono); color: #6f86a1; padding: 5px 6px; text-transform: uppercase; }
.track__today { position: absolute; top: -6px; bottom: 18px; left: 0; border-left: 2px solid var(--lime); }
.track__today span { position: absolute; bottom: -16px; left: -2px; font: 700 .66rem var(--font-mono); color: var(--lime); }
.pin { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; max-width: 190px; }
.pin--start { transform: none; align-items: flex-start; }
.pin--end { transform: translateX(-100%); align-items: flex-end; }
.pin i { width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(34, 211, 238, .14); }
.pin.is-hot i { background: var(--coral); box-shadow: 0 0 0 5px rgba(255, 107, 74, .18); }
.pin.is-soon i { background: var(--lime); box-shadow: 0 0 0 5px rgba(36, 83, 232, .14); }
.pin span { font: 600 .8rem/1.25 var(--font-text); color: var(--radar-text); background: var(--radar-raised); border: 1px solid var(--radar-line-2); border-radius: 8px; padding: 5px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.pin small { font: 500 .66rem var(--font-mono); color: var(--radar-muted); text-transform: uppercase; }
.pin:hover span { border-color: var(--lime); color: var(--ink); }
.tl-list { display: none; list-style: none; margin: 0; padding: 0; }
.tl-list a { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--radar-line); color: var(--radar-text); text-decoration: none; }
.tl-list b { font: 700 1.05rem/1 var(--font-mono); color: var(--ink); }
.tl-list small { display: block; font: 500 .7rem var(--font-mono); color: var(--radar-muted); text-transform: uppercase; }
.tl-list em { font: 600 .74rem var(--font-mono); font-style: normal; color: var(--lime); white-space: nowrap; }
.tl-list em.is-hot { color: var(--urgent); }
@media (max-width: 760px) { .track { display: none; } .tl-list { display: block; } }

/* ---------- Fecham em breve (cartões C) ---------- */
.closing { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.closing__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 .76rem/1.3 var(--font-mono); color: var(--muted); text-transform: uppercase; }
.closing p { margin: 0; color: var(--muted); font-size: .95rem; }
.closing__foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line-strong); font: 600 .9rem var(--font-text); color: var(--brand-text); }
.closing__foot .mono { color: var(--ink); font-weight: 700; }

/* ---------- Mapa por regiões ---------- */
.regions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 86px; gap: 10px; }
.tile { border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; font: 600 .9rem var(--font-text); transition: transform .15s, box-shadow .2s; color: #101828; }
.tile b { font: 800 1.9rem/1 var(--font-display); letter-spacing: -.04em; }
.tile small { font: 500 .7rem var(--font-mono); opacity: .8; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tile--0 { background: #eef2ff; } .tile--1 { background: #c7d4fe; } .tile--2 { background: #8fa8fb; } .tile--3 { background: #2457f5; color: #fff; }
.tiles__legend { display: flex; gap: 16px; margin-top: 14px; font: 500 .76rem var(--font-mono); color: var(--muted); align-items: center; }
.tiles__legend i { display: inline-block; width: 16px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 900px) { .regions { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .tiles { grid-auto-rows: 74px; gap: 8px; } .tile b { font-size: 1.5rem; } }

/* Guias, objetivos, ferramentas */
.guide-card { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.guide-card__kicker { font: 500 .76rem var(--font-mono); text-transform: uppercase; color: var(--brand-text); }
.guide-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.guide-card__more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .92rem; color: var(--brand-text); display: inline-flex; align-items: center; gap: 6px; }
.goal { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.goal .card__title { margin: 0; font-size: 1.02rem; }
.goal small { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
@media (max-width: 620px) { .goals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .goal { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; } .goal .card__title { font-size: .95rem; } .goal small { display: none; } }
.tool { display: flex; gap: 16px; align-items: flex-start; }
.tool p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Publicidade da casa (Macro, Tribo, Daily Shot) ---------- */

/* ---------- Ajuda / formulários ---------- */
.help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.help__points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.help__points li { display: flex; gap: 12px; align-items: flex-start; }
.help__points .icon { color: var(--ok); margin-top: 3px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; margin-top: 14px; font-size: .95rem; }
.form-msg.is-ok { display: block; background: var(--ok-tint); color: var(--ok); }
.form-msg.is-err { display: block; background: var(--urgent-tint); color: var(--urgent); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .help { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* Alertas (faixa escura do radar) */
.alert-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 24px; align-items: center; background: var(--radar-bg); color: var(--radar-text); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden; }
.alert-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(36, 83, 232, .14), transparent); pointer-events: none; }
.alert-band h2 { color: var(--ink); margin-bottom: 8px; }
.alert-band p { margin: 0; color: var(--radar-muted); }
.alert-form { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.alert-form .input { flex: 1 1 220px; background: #fff; color: #101828; border-color: transparent; }
.alert-form .btn { background: var(--brand); color: var(--on-brand); }
[data-theme="dark"] .alert-form .btn { background: var(--lime); color: #06101a; }
.alert-form .btn:hover { background: var(--brand-strong); color: var(--on-brand); }
[data-theme="dark"] .alert-form .btn:hover { background: #d4fb52; color: #06101a; }
.alert-form .form-msg { flex-basis: 100%; margin-top: 4px; }
.alert-band .form-msg.is-ok { background: var(--ok-tint); color: var(--lime); }
.alert-band .form-msg.is-err { background: #fff; color: #b42318; }
@media (max-width: 820px) { .alert-band { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .alert-form { flex-direction: column; } }
.sources { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; color: var(--muted); font-size: .9rem; }
.sources span { font: 500 .76rem var(--font-mono); text-transform: uppercase; }
.sources b { color: var(--ink); font-weight: 600; }

/* ---------- Migalhas e cabeçalho de página ---------- */
.crumbs { padding: 18px 0 0; font: 500 .8rem var(--font-mono); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); }
.page-head { padding: clamp(20px, 3vw, 32px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 22ch; margin: 12px 0 14px; }
.page-head .lead { margin: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--muted); font-size: .92rem; }
.meta-row .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.meta-row .mono { font-size: .82rem; }

/* ---------- Avisos ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 15px 17px; border-radius: var(--radius); border: 1px solid; font-size: .96rem; margin: 0 0 24px; }
.notice .icon { margin-top: 2px; }
.notice p { margin: 0; }
.notice--closed { background: var(--closed-tint); border-color: var(--line-strong); color: var(--text); }
.notice--check { background: var(--soon-tint); border-color: color-mix(in srgb, var(--soon) 30%, transparent); color: var(--text); }
.notice--check .icon { color: var(--soon); }
.notice--ok { background: var(--ok-tint); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.notice--ok .icon { color: var(--ok); }
.verif p + p { margin-top: 8px; }
/* Verificação: uma linha discreta entre filetes, em vez de caixa verde */
.notice--ok.verif { background: none; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 2px; font-size: .92rem; color: var(--muted); }
.notice--ok.verif strong { color: var(--ink); }
.verif__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.verif__links a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .92rem; }
.verif__links .icon { color: currentColor; margin: 0; }

/* ---------- Ficha de incentivo ---------- */
.ficha { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: clamp(48px, 6vw, 80px); }
.ficha__side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
@media (max-width: 1000px) {
  .ficha { grid-template-columns: minmax(0, 1fr); }
  .ficha__side { position: static; }
  /* No telemóvel: o quadro de dados-chave sobe para o topo, o conteúdo vem a seguir e as outras caixas laterais no fim */
  .ficha__side--split { display: contents; }
  .ficha__side--split > * { min-width: 0; }
  .ficha__side--split > .keyfacts { order: -1; }
}
.keyfacts { padding: 0; overflow: hidden; }
.keyfacts__status { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; background: var(--radar-bg); color: var(--radar-text); }
.keyfacts__status strong { font: 700 1.02rem/1.2 var(--font-mono); color: var(--lime); }
.keyfacts__status strong.is-urgent { color: var(--urgent); }
.keyfacts dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.keyfacts dl > div { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.keyfacts dl > div:nth-child(odd) { border-right: 1px solid var(--line); }
.keyfacts dl > div.wide { grid-column: 1 / -1; border-right: 0; }
.keyfacts dt { font: 500 .7rem var(--font-mono); text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.keyfacts dd { margin: 0; font: 650 1rem/1.35 var(--font-text); color: var(--ink); font-variant-numeric: tabular-nums; }
.keyfacts__foot { padding: 16px 18px; display: grid; gap: 10px; }
.keyfacts__verified { display: flex; gap: 8px; align-items: center; font: 500 .78rem var(--font-mono); color: var(--muted); }
.keyfacts__verified .icon { color: var(--ok); }
.prose { font-size: 1.06rem; line-height: 1.72; color: var(--text); max-width: 72ch; }
.prose h2 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); margin: 2.2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 .5em; }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote, .prose .answer { margin: 0 0 1.1em; }
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--brand-text); }
.prose a { font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 .74rem var(--font-mono); text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.prose blockquote { margin: 0; padding: 14px 18px; border-left: 3px solid var(--brand); background: var(--brand-tint); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.prose img { border-radius: var(--radius); }
.prose .answer, .answer { background: var(--band-blue); border: 0; border-left: 4px solid var(--brand); border-radius: 0 16px 16px 0; padding: 18px 22px; color: var(--ink); font-size: 1.03rem; line-height: 1.6; }
.prose .answer strong:first-child, .answer > strong:first-child { display: block; font: 700 .9rem/1.3 var(--font-text); text-transform: none; color: var(--brand-text); margin-bottom: 6px; }
.prose td[colspan] { text-align: center; }
.prose table td:first-child { font-weight: 600; color: var(--ink); }
.checklist { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; margin: 0 !important; }
.checklist .icon { color: var(--ok); margin-top: 4px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font: 600 1.04rem/1.4 var(--font-text); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 500 1.5rem/1 var(--font-mono); color: var(--brand-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--text); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 18px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); }
.timeline time { font: 500 .8rem var(--font-mono); color: var(--muted); }

/* ---------- Guias (artigos) ---------- */
.article-head h1 { max-width: 24ch; }
.byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.byline__who { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.byline__who strong { display: block; font-size: .95rem; }
.byline__who small { display: block; color: var(--muted); font-size: .84rem; }
.byline__avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-text); font: 700 1rem var(--font-display); flex: none; }
.byline__avatar img { width: 100%; height: 100%; object-fit: cover; }
.byline__avatar--lg { width: 56px; height: 56px; font-size: 1.3rem; }
.avatar--brand { background: var(--brand-tint); }
.author-head { display: flex; gap: 24px; align-items: flex-start; }
.author-head > .byline__avatar { width: 96px; height: 96px; font-size: 2rem; }
@media (max-width: 620px) { .author-head { flex-direction: column; } }
.byline__who small:first-child { display: block; font: 500 .68rem var(--font-mono); text-transform: uppercase; color: var(--muted); }
.byline__dates { color: var(--muted); font-size: .8rem; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr) 300px; gap: clamp(24px, 3vw, 44px); align-items: start; padding-bottom: clamp(48px, 6vw, 80px); }
.article-main { min-width: 0; }
.article-cover { width: 100%; border-radius: var(--radius-l); margin-bottom: 28px; aspect-ratio: 1200 / 630; object-fit: cover; }
.toc { position: sticky; top: calc(var(--header-h) + 18px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: none; }
.toc summary { list-style: none; cursor: pointer; font: 500 .74rem var(--font-mono); text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .88rem; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--brand-text); border-left-color: var(--brand); font-weight: 600; }
.toc__progress { height: 3px; background: var(--line); border-radius: 3px; margin-top: 16px; overflow: hidden; }
.toc__progress span { display: block; height: 100%; width: 0; background: var(--brand); }
.article-side { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 16px; }
.side-box { padding: 18px; }
.side-box__title { font: 500 .74rem var(--font-mono); text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.side-box p { font-size: .92rem; }
.side-inc { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.3; }
.side-inc:hover span:first-child { color: var(--brand-text); }
.side-box--dark { background: var(--radar-bg); border-color: var(--radar-line); color: var(--radar-text); }
.side-box--dark .side-box__title { color: var(--lime); }
.side-box--dark p { color: var(--radar-muted); }
.side-box--dark .alert-form { flex-direction: column; }
.side-box--dark .alert-form .input { flex: none; }
.side-box--dark .alert-form .btn { width: 100%; }
.tags-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.author-card { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; }
.author-card__name { font: 700 1.02rem var(--font-display); margin: 0 0 4px; }
.author-card__name a { color: var(--ink); text-decoration: none; }
@media (max-width: 1180px) { .article-layout { grid-template-columns: 210px minmax(0, 1fr); } .article-side { grid-column: 1 / -1; position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (max-width: 860px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
  .toc details:not([open]) summary { margin: 0; }
  .toc__progress { display: none; }
}

/* ---------- Capas geradas (imagem de cada tema, sem fotografias) ---------- */
.cover { position: relative; overflow: hidden; border-radius: var(--radius-l); aspect-ratio: 16 / 10; color: #fff; isolation: isolate;
  background: linear-gradient(135deg, var(--c1), var(--c2)); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(16px, 2.4vw, 26px); }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.55) 1px, transparent 0); background-size: 18px 18px; }
.cover::after { content: ""; position: absolute; right: -18%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(255,255,255,.28), transparent); }
.cover__icon { position: absolute; right: 6%; top: 10%; width: 36%; max-width: 160px; opacity: .9; color: rgba(255,255,255,.92); }
.cover__icon .icon { width: 100%; height: auto; stroke-width: 1.2; }
.cover__fact { font: 700 clamp(1.9rem, 4.4vw, 3.4rem)/1 var(--font-mono); letter-spacing: -.05em; text-shadow: 0 2px 18px rgba(0,0,0,.18); }
.cover__label { font: 500 .78rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .03em; opacity: .9; margin-top: 6px; max-width: 26ch; }
.cover--sm { aspect-ratio: 16 / 9; }
.cover--sm .cover__fact { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.t-fundos { --c1: #1a44cc; --c2: #5b86ff; } .t-fiscal { --c1: #5b21b6; --c2: #a78bfa; } .t-emprego { --c1: #c2410c; --c2: #fb923c; }
.t-credito { --c1: #0e6377; --c2: #22c3e6; } .t-agricultura { --c1: #3d6b14; --c2: #9ccf3a; } .t-turismo { --c1: #a1460b; --c2: #f5b13d; }
.t-regiao { --c1: #312e81; --c2: #7c83f2; } .t-radar { --c1: #1a3fc4; --c2: #5b86ff; } .t-radar .cover__fact { color: var(--lime); }

/* ---------- Destaques (carrossel) ---------- */
.feature-hero { padding: clamp(20px, 3vw, 36px) 0 clamp(28px, 4vw, 44px); }
/* Abertura da página inicial: o que é o site numa frase, números do dia e pesquisa */
.home-intro { padding: clamp(24px, 3.6vw, 44px) 0 0; }
.home-intro + .feature-hero { padding-top: clamp(18px, 2.4vw, 28px); }
.home-intro__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); align-items: end; }
.home-intro h1 { margin: 0; font: 800 clamp(1.8rem, 3.5vw, 2.8rem)/1.06 var(--font-display); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.home-intro__stats { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 14px 0 0; font: 500 .76rem/1.4 var(--font-mono); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.home-intro__stats a { color: inherit; text-decoration: none; }
.home-intro__stats a:hover { color: var(--ink); }
.home-intro__stats b { font-weight: 700; color: var(--ink); }
.home-intro__stats b.is-ok { color: var(--ok); }
.home-intro__stats b.is-urgent { color: var(--urgent); }
.home-search { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); transition: border-color .2s, box-shadow .2s; }
.home-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint), var(--shadow-2); }
.home-search > .icon { color: var(--muted); }
.home-search input { flex: 1; min-width: 0; padding: 10px 4px; border: 0; background: transparent; color: var(--ink); font: 500 1rem var(--font-text); outline: none; }
.home-search input::-webkit-search-cancel-button { display: none; }
.home-search__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.home-search__chips a { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s, color .2s; }
.home-search__chips a:hover { border-color: var(--brand); color: var(--brand-text); }
.home-intro__in > * { min-width: 0; }
@media (max-width: 860px) { .home-intro__in { grid-template-columns: minmax(0, 1fr); align-items: start; } }
@media (max-width: 420px) { .home-search .btn { padding-left: 14px; padding-right: 14px; } .home-search__chips span { flex-basis: 100%; } }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }
.carousel { position: relative; border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.carousel__track { display: flex; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.slide { min-width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); text-decoration: none; color: inherit; }
.slide .cover { border-radius: 0; aspect-ratio: auto; min-height: 340px; }
.slide__body { padding: clamp(22px, 3.2vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.slide__kicker { align-self: flex-start; }
.slide h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); margin: 0; }
.slide p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.slide__cta { margin-top: 8px; align-self: flex-start; }
.carousel__nav { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: space-between; align-items: center; padding: 0 18px; pointer-events: none; }
.carousel__dots { display: flex; gap: 6px; pointer-events: auto; margin-left: calc(50% + 4px); }
.carousel__dots button { width: 22px; height: 5px; border-radius: 4px; border: 0; background: var(--line-strong); cursor: pointer; padding: 0; transition: width .2s, background .2s; }
.carousel__dots button[aria-current="true"] { width: 36px; background: var(--brand); }
.carousel__arrows { display: flex; gap: 6px; pointer-events: auto; }
.carousel__arrows button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.carousel__arrows button:hover { border-color: var(--ink); }
@media (max-width: 720px) {
  .slide { grid-template-columns: minmax(0, 1fr); }
  .slide .cover { min-height: 180px; }
  .slide__body { padding-bottom: 64px; }
  .carousel__dots { margin-left: 0; }
}
.mini-radar { background: var(--radar-bg); color: var(--radar-text); border-radius: 26px; padding: 18px 16px 10px; display: flex; flex-direction: column; }
.mini-radar__head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 6px 12px; }
.mini-radar__head h2 { color: var(--ink); font-size: 1.1rem; margin: 0; letter-spacing: -.02em; }
.mini-radar__head a { color: var(--lime); font: 600 .8rem var(--font-mono); text-decoration: none; }
.dl-item { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 8px; border-radius: 12px; text-decoration: none; color: var(--radar-text); }
.dl-item + .dl-item { border-top: 1px solid var(--radar-line); }
.dl-item:hover { background: var(--radar-raised); color: var(--ink); }
.dl-date { text-align: center; border-radius: 10px; background: var(--brand-tint); padding: 6px 0; line-height: 1.05; }
.dl-date b { display: block; font: 800 1.15rem/1.1 var(--font-display); color: var(--brand-text); }
.dl-date small { font: 500 .64rem var(--font-mono); text-transform: uppercase; color: var(--radar-muted); }
.dl-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: .92rem; line-height: 1.3; color: var(--ink); }
.dl-sub { display: block; font-size: .78rem; color: var(--radar-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-left { font: 600 .8rem/1 var(--font-text); color: var(--ok); white-space: nowrap; }
.dl-left.is-urgent { color: var(--urgent); }
.dl-left.is-soon { color: var(--soon); }
.carousel__arrows [data-prev] .icon { transform: rotate(180deg); }

/* Atalhos */
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(16px, 2.4vw, 24px); }
.quick a { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); font-weight: 650; line-height: 1.25; transition: transform .2s, box-shadow .2s, border-color .2s; }
.quick a:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.quick small { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; margin-top: 2px; }
@media (max-width: 960px) { .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .quick { grid-template-columns: minmax(0, 1fr); } }
.icon-tile--fundos { background: #e6edff; color: #1a44cc; } .icon-tile--fiscal { background: #f1eafe; color: #5b21b6; }
.icon-tile--emprego { background: #fff0e6; color: #c2410c; } .icon-tile--credito { background: #e3f6fa; color: #0e6377; }
.icon-tile--radar { background: var(--brand-tint); color: var(--brand-text); }
[data-theme="dark"] .icon-tile--fundos, [data-theme="dark"] .icon-tile--fiscal, [data-theme="dark"] .icon-tile--emprego, [data-theme="dark"] .icon-tile--credito { background: var(--surface-2); }

/* Pesquisa guiada em faixa */
.finder-band { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(18px, 3vw, 36px); align-items: center; box-shadow: var(--shadow-1); }
.finder-band h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 6px; }
.finder-band p { margin: 0; color: var(--muted); }
.finder-band .finder { box-shadow: none; padding: 0; background: transparent; }
@media (max-width: 900px) { .finder-band { grid-template-columns: minmax(0, 1fr); } }

/* Em que podemos ajudar */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.service:hover .card__title { color: var(--brand-text); }
.service p { margin: 0; color: var(--muted); font-size: .93rem; }
.service__partner { position: absolute; top: 12px; right: 14px; font: 500 .64rem var(--font-mono); text-transform: uppercase; color: var(--muted); }
.service--marca { isolation: isolate; overflow: hidden; flex-direction: column; gap: 10px; border: 0; background: var(--hb-bg); color: var(--hb-text); box-shadow: 0 18px 36px -26px rgba(6, 14, 30, .6); }
.service--marca .hb__logo { height: 28px; margin-bottom: 6px; }
.service--marca.ad-tribo .hb__logo { height: 18px; margin: 5px 0 11px; }
.service--marca .card__title, .service--marca:hover .card__title { color: var(--hb-ink); }
.service--marca p { color: var(--hb-text); }
.service--marca .service__partner { color: var(--hb-text); opacity: .85; }
.service__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font: 600 .74rem/1 var(--font-mono); color: var(--hb-accent); }
.service__go .icon { transition: transform .25s; }
.service--marca:hover .service__go .icon { transform: translateX(4px); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services { grid-template-columns: minmax(0, 1fr); } }

/* Secções por tema (revista) */
.mag { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.mag__feature { display: grid; gap: 14px; text-decoration: none; color: inherit; }
.mag__feature .cover { aspect-ratio: 16 / 8; }
.mag__feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); margin: 6px 0 0; }
.mag__feature p { margin: 0; color: var(--muted); }
.mag__feature:hover h3 { color: var(--brand-text); }
.mag__list { list-style: none; margin: 0; padding: 0; display: grid; }
.mag__list li + li { border-top: 1px solid var(--line); }
.mag__list a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; text-decoration: none; color: var(--ink); }
.mag__list a:hover .mag__t { color: var(--brand-text); }
.mag__list .cover { aspect-ratio: 1; border-radius: 14px; padding: 8px; }
.mag__list .cover__fact { font-size: 1.05rem; }
.mag__list .cover__icon { width: 46%; right: 8%; top: 8%; }
.mag__t { display: block; font-weight: 650; line-height: 1.3; }
.mag__m { display: block; color: var(--muted); font-size: .84rem; margin-top: 3px; }
.mag-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mag-head h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.mag-head h2 a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.mag-head h2 a:hover { color: var(--brand-text); }
@media (max-width: 860px) { .mag { grid-template-columns: minmax(0, 1fr); } }

/* Faixas de cor */
.band--warm { background: #fff6ea; border-top: 1px solid #f6e3c7; border-bottom: 1px solid #f6e3c7; }
.band--warm .eyebrow { color: #b45309; }
.band--warm .hl { background: linear-gradient(transparent 60%, #ffd36e 60%); }
[data-theme="dark"] .band--warm { background: #1c150c; border-color: #2c2214; }
.band--cool { background: #eef3ff; border-top: 1px solid #dfe7fb; border-bottom: 1px solid #dfe7fb; }
[data-theme="dark"] .band--cool { background: #0c1830; border-color: #16274a; }
.tools-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tool-tile { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.tool-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tool-tile p { margin: 0; color: var(--muted); font-size: .92rem; }
.tool-tile .icon-tile { background: #ffedd5; color: #b45309; }
.tool-tile__new { align-self: flex-start; }
@media (max-width: 960px) { .tools-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tools-row { grid-template-columns: minmax(0, 1fr); } }
/* Telemóvel: simuladores em cartões compactos (ícone à esquerda), para caberem mais no ecrã */
@media (max-width: 620px) {
  .tools-row, .tools-row--tema { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tool-tile { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; padding: 14px 16px; border-radius: 16px; }
  .tool-tile .icon-tile { grid-row: span 2; width: 40px; height: 40px; }
  .tool-tile .card__title { margin: 0; font-size: 1rem; }
  .tool-tile p { font-size: .86rem; line-height: 1.4; }
  .tool-tile__new { position: absolute; top: 10px; right: 12px; }
  .tool-tile:has(.tool-tile__new) .card__title { padding-right: 54px; }
}

/* O que mudou */
.news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.news a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); }
.news a:hover strong { color: var(--brand-text); }
.news time { font: 500 .74rem var(--font-mono); color: var(--muted); text-transform: uppercase; }
.news span { color: var(--muted); font-size: .92rem; }
@media (max-width: 960px) { .news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .news { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Simuladores v2 ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: start; margin-top: 24px; }
.sim__form { padding: clamp(18px, 2.6vw, 28px); }
.sim__h { font-size: 1.12rem; margin: 26px 0 8px; letter-spacing: -.02em; }
.sim .hint, .field .hint { font-size: .8rem; color: var(--muted); margin: 5px 0 0; }
.sim__out { position: sticky; top: calc(var(--header-h) + 16px); background: var(--radar-bg); color: var(--radar-text); border-radius: 24px; padding: 22px; display: grid; gap: 14px; box-shadow: var(--shadow-2); }
.sim__big b { display: block; font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--font-mono); color: var(--ink); letter-spacing: -.04em; }
.sim__big span { display: block; margin-top: 6px; color: var(--radar-muted); font-size: .9rem; }
.sim__big--lime b { color: var(--lime); }
.sim__dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--radar-line); }
.sim__dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--radar-line); }
.sim__dl dt { color: var(--radar-muted); font-size: .86rem; }
.sim__dl dd { margin: 0; font: 600 .86rem var(--font-mono); color: var(--ink); text-align: right; }
.sim__note { margin: 0; font-size: .9rem; color: var(--radar-text); }
@media (max-width: 960px) { .sim { grid-template-columns: minmax(0, 1fr); } .sim__out { position: static; } }

/* ---------- Calendário ---------- */
.crumbs--dark a, .crumbs--dark ol { color: var(--radar-muted); }
.crumbs--dark [aria-current] { color: var(--radar-text); }
.cal { padding-top: clamp(36px, 5vw, 56px); }
.cal-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.cal-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; text-decoration: none; color: var(--ink); }
.cal-row + .cal-row { border-top: 1px solid var(--line); }
.cal-row:hover { background: var(--surface-2); }
.cal-row:hover .cal-row__title { color: var(--brand-text); }
.cal-row__date { text-align: center; border-radius: 12px; background: var(--surface-2); padding: 7px 0; line-height: 1.05; }
.cal-row__date b { display: block; font: 700 1.3rem/1.1 var(--font-mono); color: var(--ink); }
.cal-row__date small { font: 500 .68rem var(--font-mono); text-transform: uppercase; color: var(--muted); }
.cal-row__title { display: block; font-weight: 650; line-height: 1.3; }
.cal-row__sub { display: block; font-size: .85rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 560px) { .cal-row { grid-template-columns: 52px 1fr; } .cal-row__end { grid-column: 2; } }

/* ---------- Biblioteca ---------- */
.filters--simple { grid-template-columns: 2fr 1fr; }
@media (max-width: 620px) { .filters--simple { grid-template-columns: minmax(0, 1fr); } }
.guide-card--big .card__title { font-size: 1.24rem; }
.guide-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.guide-list li + li { border-top: 1px solid var(--line); }
.guide-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 20px; text-decoration: none; color: var(--ink); }
.guide-list a:hover { background: var(--surface-2); }
.guide-list a:hover .guide-list__title { color: var(--brand-text); }
.guide-list__title { font-weight: 600; line-height: 1.35; }
.guide-list__title .tag { height: 22px; font-size: .72rem; margin-left: 6px; vertical-align: 1px; }
.guide-list__meta { color: var(--muted); font-size: .78rem; white-space: nowrap; }

/* ---------- Lista de incentivos ---------- */
.filters { display: grid; grid-template-columns: 2fr repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; padding: 18px; margin-bottom: clamp(28px, 4vw, 44px); }
.filters label { display: block; font: 500 .7rem/1 var(--font-mono); color: var(--muted); margin: 0 0 7px 2px; text-transform: uppercase; }
.filters__actions { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
@media (max-width: 1100px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .filters__q { grid-column: 1 / -1; } }
@media (max-width: 620px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.filters__more { display: contents; }
.filters__toggle { display: none !important; }
.filters__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--brand); color: var(--on-brand); font: 700 .72rem/1 var(--font-mono); }
@media (max-width: 620px) {
  .filters { grid-template-columns: minmax(0, 1fr); }
  .filters__actions { flex-wrap: wrap; }
  .filters.is-collapsible .filters__more { display: none; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .filters.is-collapsible.is-open .filters__more { display: grid; }
  .filters.is-collapsible .filters__toggle { display: inline-flex !important; }
  .filters__actions .btn { flex: 1; justify-content: center; }
  .filters__actions .btn--ghost { flex: none; }
}
.results-group { margin: 0 0 clamp(36px, 5vw, 56px); }
.results-group__head { margin-bottom: 18px; }
.results-group__head h2, .results-closed summary h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.results-group__head p { margin: 0; color: var(--muted); }
.count { display: inline-grid; place-items: center; min-width: 32px; height: 28px; padding: 0 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font: 600 .82rem/1 var(--font-mono); letter-spacing: 0; }
.results-closed { border-top: 1px solid var(--line); padding-top: 24px; }
.results-closed summary { list-style: none; cursor: pointer; }
.results-closed summary::-webkit-details-marker { display: none; }
.results-closed summary span { color: var(--muted); }
.results-closed summary h2::after { content: "Mostrar"; font: 600 .82rem/1 var(--font-mono); color: var(--brand-text); margin-left: 6px; }
.results-closed[open] summary h2::after { content: "Esconder"; }
.empty { text-align: center; padding: 48px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius-l); margin-bottom: 40px; }
.empty p { color: var(--muted); max-width: 56ch; margin: 0 auto; }

/* ---------- Rodapé (escuro, como o radar) ---------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); color: var(--muted); padding: clamp(48px, 6vw, 76px) 0 28px; font-size: .94rem; }
.site-footer .logo { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-grid h3 { font: 700 .98rem/1.2 var(--font-display); letter-spacing: 0; color: var(--ink); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--brand-text); }
.footer-about p { margin: 14px 0 0; max-width: 34ch; }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal a { color: var(--muted); }
.disclaimer { margin-top: 16px; font-size: .82rem; max-width: 90ch; color: var(--muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }

/* ---------- Aviso de cookies ---------- */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px; }
.cookie-bar[hidden] { display: none; }
.cookie-bar__inner { max-width: 960px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-l); box-shadow: var(--shadow-2); padding: 16px 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-bar p { margin: 0; font-size: .92rem; color: var(--text); flex: 1 1 420px; }
.cookie-bar__actions { display: flex; gap: 8px; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ── Regiões ─────────────────────────────────────────── */
.regions--head { align-items: start; padding-bottom: clamp(28px, 4vw, 44px); }
.regions--head .page-head { padding-bottom: 0; }
.regions--head .tiles { margin-top: clamp(8px, 3vw, 40px); }
.reg-grid { gap: 16px; }
.reg-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .2s, border-color .2s; }
.reg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.reg-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.reg-card__top .card__title { margin: 0; }
.reg-card__top .tag { flex: none; }
.reg-card__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 0; border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
.reg-card__nums b { display: block; font: 800 1.7rem/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.reg-card__nums span { display: block; margin-top: 5px; font: 500 .7rem/1.25 var(--font-mono); color: var(--muted); text-transform: uppercase; }
.reg-card__nums div:first-child b { color: var(--brand-text); }
.reg-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .92rem; color: var(--brand-text); }
.table-tetos td:not(:first-child), .table-tetos th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-tetos td:first-child a { font-weight: 700; }
.table-tetos .td-sub { display: block; font-weight: 500; font-size: .86rem; color: var(--muted); }
.table-tetos tr.is-first td { border-top: 2px solid var(--line-strong); }
.side-list { border-bottom: 1px solid var(--line); }
.side-list .side-inc { align-items: center; }
.side-list .chip { flex: none; }
.freguesias { margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; background: var(--surface); }
.freguesias summary { cursor: pointer; font-weight: 650; color: var(--brand-text); }
.freguesias p { margin: 10px 0 0; font-size: .92rem; }
@media (max-width: 900px) { .reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .reg-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) { .ficha--regiao .ficha__side { order: 0; } }
.reg-card__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.reg-card__facts li { display: flex; justify-content: space-between; gap: 12px; }
.reg-card__facts span { color: var(--muted); }
.reg-card__facts b { font-weight: 650; color: var(--ink); text-align: right; }
.reg-cta { grid-column: span 2; background: var(--radar-bg); color: var(--radar-text); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.reg-cta::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(36, 83, 232, .14), transparent); pointer-events: none; }
.reg-cta h3 { color: var(--ink); font: 750 clamp(1.3rem, 2vw, 1.6rem)/1.2 var(--font-display); letter-spacing: -.02em; margin: 0 0 8px; max-width: 26ch; }
.reg-cta p { color: var(--radar-muted); margin: 0 0 18px; max-width: 52ch; }
.reg-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .reg-cta { grid-column: span 1; } }
/* Sobre os fundos «radar» (claros no tema claro, escuros no escuro): segue as cores do tema */
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost-dark:hover { background: var(--surface-2); color: var(--ink); }
.prose table.table-tetos { display: table; width: 100%; }
.keyfacts dd a { display: inline-flex; align-items: center; gap: 4px; }

/* ── Simuladores: comuns ──────────────────────────────── */
.sim-fontes { max-width: 860px; margin: 28px 0 0; font-size: .88rem; color: var(--muted); }
.sim-compare { margin-top: 8px; }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 92px minmax(0, 1fr) 76px; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); }
.bar__l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__t { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar__t i { display: block; height: 100%; border-radius: 99px; background: var(--line-strong); transition: width .4s ease; }
.bar b { font: 600 .86rem var(--font-mono); color: var(--ink); text-align: right; }
.bar.is-cur { color: var(--ink); font-weight: 650; }
.bar.is-cur .bar__t i { background: var(--brand); }
.bar.is-cur b { color: var(--brand-text); }
.field select:disabled { opacity: .7; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 620px) { .form-grid--3 { grid-template-columns: minmax(0, 1fr); } }
.rel-list { display: grid; gap: 10px; margin-bottom: 12px; }
.rel { position: relative; display: grid; grid-template-columns: 1.3fr .8fr .6fr 1fr 1fr; gap: 8px; padding: 14px 44px 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.rel .field label { font-size: .76rem; }
.rel .input { min-height: 42px; padding: 8px 10px; font-size: .92rem; }
.rel__x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.rel__x:hover { color: var(--ink); border-color: var(--line-strong); }
.rel__tipo { grid-column: 1 / -1; margin: 2px 0 0; font-weight: 600; color: var(--brand-text) !important; }
@media (max-width: 760px) { .rel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rel__nome { grid-column: 1 / -1; } }
.lim__t { width: 100%; border-collapse: collapse; font-size: .84rem; }
.lim__t th { font: 500 .7rem var(--font-mono); text-transform: uppercase; color: var(--radar-muted); text-align: center; padding: 6px 4px; }
.lim__t td { padding: 7px 4px; text-align: center; border-top: 1px solid var(--radar-line); color: var(--radar-text); }
.lim__t td:first-child, .lim__t th:first-child { text-align: left; }
.lim__t tr.is-cur td { color: var(--ink); font-weight: 700; }
.lim__t tr.is-cur td:first-child { color: var(--lime); }
.lim__t .ok { color: var(--lime); }
.lim__t .no { color: var(--urgent); }
[hidden] { display: none !important; }

/* Hub dos simuladores */
.sim-start { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: clamp(18px, 3vw, 26px); border-radius: var(--radius-l); background: var(--radar-bg); color: var(--radar-text); text-decoration: none; margin-bottom: clamp(36px, 5vw, 56px); box-shadow: var(--shadow-2); }
.sim-start b { display: block; color: var(--ink); font: 750 1.2rem/1.25 var(--font-display); letter-spacing: -.02em; margin-bottom: 4px; }
.sim-start > span:nth-child(2) > span { color: var(--radar-muted); }
.sim-start:hover .btn--lime { background: #d4fb52; }
@media (max-width: 720px) { .sim-start { grid-template-columns: auto 1fr; } .sim-start .btn { grid-column: 1 / -1; } }
.sim-group { margin-bottom: clamp(36px, 5vw, 56px); }
.tool-tile--antes .icon-tile { background: #e6edff; color: #1a44cc; }
.tool-tile--quanto .icon-tile { background: #ffedd5; color: #b45309; }
.tool-tile--fiscal .icon-tile { background: #f1eafe; color: #5b21b6; }
[data-theme="dark"] .tool-tile--antes .icon-tile { background: #14234a; color: #9db4ff; }
[data-theme="dark"] .tool-tile--quanto .icon-tile { background: #2c1d0b; color: #fbbf6a; }
[data-theme="dark"] .tool-tile--fiscal .icon-tile { background: #231640; color: #c4a8ff; }

/* Diagnóstico */
.diag { margin-top: 24px; }
.diag__card { max-width: 900px; padding: clamp(20px, 3vw, 34px); }
.diag__top { display: flex; justify-content: space-between; align-items: center; min-height: 36px; color: var(--muted); font-size: .84rem; }
.diag__bar { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin: 10px 0 22px; }
.diag__bar i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width .3s ease; }
.diag__q { border: 0; margin: 0; padding: 0; min-width: 0; }
.diag__q legend { font: 750 clamp(1.35rem, 2.6vw, 1.85rem)/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 18px; padding: 0; }
.diag__q legend small { display: block; font: 500 .92rem var(--font-text); color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt > span { display: flex; flex-direction: column; justify-content: center; min-height: 58px; padding: 12px 16px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--surface); font-weight: 650; color: var(--ink); line-height: 1.3; transition: border-color .15s, background .15s, transform .1s; }
.opt > span small { font-weight: 500; font-size: .8rem; color: var(--muted); margin-top: 3px; }
.opt:hover > span { border-color: var(--brand); }
.opt input:focus-visible + span { box-shadow: var(--focus); }
.opt input:checked + span { border-color: var(--brand); background: var(--brand-tint); }
.opt input[type="checkbox"]:checked + span::after { content: "✓"; position: absolute; top: 10px; right: 14px; font-weight: 800; color: var(--brand-text); }
.opt:active > span { transform: scale(.99); }
.diag__sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; background: var(--radar-bg); color: var(--radar-text); border-radius: var(--radius-l); padding: clamp(20px, 3vw, 32px); margin-bottom: clamp(28px, 4vw, 44px); }
.diag__sum h2 { color: var(--ink); margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.diag__sum p { margin: 0; color: var(--radar-muted); }
.diag__kpis { display: flex; gap: 22px; }
.diag__kpis b { display: block; font: 800 2.2rem/1 var(--font-display); color: var(--lime); letter-spacing: -.04em; }
.diag__kpis div + div b { color: var(--ink); }
.diag__kpis span { font: 500 .72rem var(--font-mono); text-transform: uppercase; color: var(--radar-muted); }
.diag__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.diag-card__why { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.diag-card__why span { font: 600 .72rem/1 var(--font-text); padding: 5px 8px; border-radius: 99px; background: var(--brand-tint); color: var(--brand-text); }
.diag-card .inc-card__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.diag-mais { margin-top: 14px; }
@media (max-width: 720px) { .diag__sum { grid-template-columns: minmax(0, 1fr); } .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .opts { grid-template-columns: minmax(0, 1fr); } }

/* Lista de documentos */
.cl { margin-top: 24px; max-width: 900px; display: grid; gap: 16px; }
.cl__pick label { display: block; font-weight: 650; margin-bottom: 8px; color: var(--ink); }
.cl__prog { display: grid; gap: 10px; position: sticky; top: calc(var(--header-h) + 10px); z-index: 3; padding: 16px 20px; }
.cl__prog > div:first-child { display: flex; align-items: baseline; gap: 12px; }
.cl__prog b { font: 800 1.6rem/1 var(--font-display); color: var(--brand-text); }
.cl__prog span { color: var(--muted); font-size: .92rem; }
.cl__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cl__inc { display: grid; gap: 2px; margin: 8px 0 4px; }
.cl__inc .mono { font-size: .74rem; color: var(--muted); text-transform: uppercase; }
.cl__inc a { font: 700 1.2rem/1.3 var(--font-display); color: var(--ink); }
.cl-cat { margin-top: 18px; }
.cl-cat h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.cl-item { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 14px 16px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.cl-item:hover { border-color: var(--brand); }
.cl-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cl-item__box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line-strong); display: grid; place-items: center; margin-top: 1px; }
.cl-item input:checked + .cl-item__box { background: var(--ok); border-color: var(--ok); }
.cl-item input:checked + .cl-item__box::after { content: "✓"; color: #fff; font-weight: 800; font-size: .8rem; }
.cl-item input:focus-visible + .cl-item__box { box-shadow: var(--focus); }
.cl-item input:checked ~ span b { text-decoration: line-through; color: var(--muted); }
.cl-item b { display: block; color: var(--ink); font-weight: 650; }
.cl-item small { display: block; color: var(--muted); font-size: .88rem; margin-top: 3px; }
.cl-item em { display: inline-block; margin-top: 6px; font: 600 .72rem/1 var(--font-text); font-style: normal; padding: 4px 8px; border-radius: 99px; background: var(--brand-tint); color: var(--brand-text); }
@media print { .site-header, .site-footer, .crumbs, .cookie-bar { display: none !important; } body:has([data-cl]) :is(.answer, .cl__pick, .cl__acts, .ficha, .faq, #h-faq, .help, .sim-fontes) { display: none !important; } .cl__prog { position: static; } .cl-item { break-inside: avoid; } }

/* Gráfico de tesouraria (plano de financiamento) */
.chart { margin: clamp(18px, 3vw, 28px) 0 0; padding: clamp(16px, 2.6vw, 26px); }
.chart figcaption b { display: block; font: 750 1.12rem/1.3 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.chart figcaption span { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; max-width: 70ch; }
.chart__plot { position: relative; margin-top: 14px; }
.chart__plot svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .ax { fill: var(--muted); font: 500 11px var(--font-mono); }
.chart .ax--exec { fill: var(--brand-text); }
.chart .ax--ref { fill: var(--ink); font-weight: 600; }
.chart .exec { fill: var(--brand-tint); opacity: .55; }
.chart .area { fill: color-mix(in srgb, var(--brand) 14%, transparent); }
.chart .line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; }
.chart .ref { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 5; }
.chart .peak { fill: var(--brand); stroke: var(--surface); stroke-width: 2; }
.chart .lbl { fill: var(--ink); font: 650 12px var(--font-text); }
.chart .cross { stroke: var(--muted); stroke-width: 1; }
.chart .dot { fill: var(--brand); stroke: var(--surface); stroke-width: 2; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart__tip { position: absolute; top: 4px; transform: translateX(-50%); min-width: 180px; padding: 10px 12px; border-radius: 12px; background: var(--radar-bg); color: var(--radar-text); font-size: .82rem; box-shadow: var(--shadow-2); pointer-events: none; display: grid; gap: 3px; }
.chart__tip b { color: var(--ink); font-weight: 700; }
.chart__tip span { display: flex; justify-content: space-between; gap: 14px; }
.chart__tip em { font: 600 .8rem var(--font-mono); font-style: normal; color: var(--ink); }
.chart__table { margin-top: 12px; }
.chart__table summary { cursor: pointer; font-weight: 650; color: var(--brand-text); font-size: .92rem; }
.chart__table table { width: 100%; border-collapse: collapse; font-size: .86rem; margin-top: 10px; display: block; overflow-x: auto; max-height: 360px; }
.chart__table th, .chart__table td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chart__table th:first-child, .chart__table td:first-child { text-align: left; }
.chart__table th { font: 500 .72rem var(--font-mono); text-transform: uppercase; color: var(--muted); position: sticky; top: 0; background: var(--surface); }

/* Sobre */
.about-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.about-kpis div { padding: 18px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.about-kpis b { display: block; font: 800 clamp(1.8rem, 3.4vw, 2.4rem)/1 var(--font-display); color: var(--brand-text); letter-spacing: -.04em; }
.about-kpis span { display: block; margin-top: 6px; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .about-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about-authors { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 0 0 1.4em; }
.about-author { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.about-author b { display: block; color: var(--ink); }
.about-author small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.3; }
.about-author:hover { border-color: var(--brand); }

/* Alertas */
.alerts-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(24px, 5vw, 64px); align-items: start; padding-bottom: 8px; }
.alerts-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.alerts-points li { display: flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 550; }
.alerts-points .icon { color: var(--ok); }
.alerts-now { margin: 22px 0 0; color: var(--muted); }
.alerts-now b { color: var(--ink); }
.alerts-form { padding: clamp(20px, 3vw, 30px); margin-top: clamp(0px, 3vw, 28px); }
.alerts-form .field label, .alerts-temas legend { font-weight: 650; color: var(--ink); }
.alerts-temas { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; }
.alerts-temas legend { padding: 0; margin-bottom: 8px; font-size: .88rem; }
.alerts-temas legend small { font-weight: 500; color: var(--muted); margin-left: 4px; }
.chips-check { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-check label { position: relative; cursor: pointer; }
.chips-check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips-check span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 99px; font-size: .88rem; font-weight: 600; color: var(--ink); background: var(--surface); transition: border-color .15s, background .15s; }
.chips-check input:checked + span { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-text); }
.chips-check input:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 800; }
.chips-check input:focus-visible + span { box-shadow: var(--focus); }
@media (max-width: 900px) { .alerts-page { grid-template-columns: minmax(0, 1fr); } }
.rel--dm { grid-template-columns: 1fr 1fr 1.4fr; }
@media (max-width: 760px) { .rel--dm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dm-lib { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dm-lib li { display: flex; justify-content: space-between; font-size: .86rem; color: var(--radar-text); }
.dm-lib b { font: 600 .84rem var(--font-mono); color: var(--lime); }
.mc-anos { width: 100%; border-collapse: collapse; font-size: .88rem; }
.mc-anos th { font: 500 .7rem var(--font-mono); text-transform: uppercase; color: var(--muted); text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.mc-anos td { padding: 8px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mc-anos th:first-child, .mc-anos td:first-child { text-align: left; }
.sim-compare { overflow-x: auto; }

/* Pesquisa e 404 */
.search-big { display: flex; gap: 10px; margin-top: 18px; max-width: 760px; }
.search-big .input { min-height: 54px; font-size: 1.05rem; }
@media (max-width: 560px) { .search-big { flex-direction: column; } }
.search-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.search-list a { display: grid; gap: 3px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-list b { color: var(--ink); font-weight: 650; }
.search-list span { color: var(--muted); font-size: .9rem; }
.search-list a:hover b { color: var(--brand-text); }
.faq-cat { margin-bottom: clamp(28px, 4vw, 44px); scroll-margin-top: calc(var(--header-h) + 16px); } .faq-cat h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 8px; } .faq details > div a { font-weight: 650; }

/* Glossário */
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; position: sticky; top: calc(var(--header-h) + 8px); z-index: 3; background: var(--bg); padding: 8px 0; }
.az a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font: 700 .9rem var(--font-mono); color: var(--ink); text-decoration: none; }
.az a:hover { border-color: var(--brand); color: var(--brand-text); }
.gl__letra { scroll-margin-top: calc(var(--header-h) + 64px); margin-bottom: 28px; }
.gl__letra h2 { font: 800 1.6rem var(--font-display); color: var(--brand-text); margin: 0 0 8px; }
.gl__letra ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.gl__letra a { display: grid; gap: 2px; padding: 12px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.gl__letra b { color: var(--ink); }
.gl__letra span { color: var(--muted); font-size: .88rem; }
.gl__letra a:hover b { color: var(--brand-text); }
@media (max-width: 760px) { .gl__letra ul { grid-template-columns: minmax(0, 1fr); } }
.ficha > * { min-width: 0; } @media (max-width: 1000px) { .ficha { grid-template-columns: minmax(0, 1fr); } }
.sim > * { min-width: 0; } @media (max-width: 960px) { .sim { grid-template-columns: minmax(0, 1fr); } }

/* ── Temas (hubs por objetivo, 28/11/2026) ── */
.tema-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 22px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; max-width: 760px; }
.tema-stats > div { background: var(--surface); padding: 14px 16px; }
.tema-stats dt { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-mono); }
.tema-stats dd { margin: 4px 0 0; font: 750 1.5rem/1.1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
@media (max-width: 640px) { .tema-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tema-financia { margin: clamp(26px, 4vw, 38px) 0 8px; }
.tema-financia h2 { font-size: 1.25rem; margin-bottom: 14px; }
.tema-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tema-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; font-weight: 500; color: var(--ink); }
.tema-chips .icon { color: var(--brand-text); flex: none; }
.tema-passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tema-passos li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.tema-passos .mono { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-text); font-size: .85rem; }
.tools-row--tema { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tema-prose { margin-top: clamp(32px, 5vw, 48px); }
.guide-list__by { display: block; margin-top: 3px; font-size: .82rem; font-weight: 500; color: var(--muted); }
.chips-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-links a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; }
.chips-links a:hover { border-color: var(--brand); color: var(--brand-text); }
.tema-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .tema-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tema-grid { grid-template-columns: minmax(0, 1fr); } }
.tema-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.tema-card__link { display: block; padding: 22px 22px 14px; text-decoration: none; color: var(--ink); }
.tema-card__link .icon-tile { margin-bottom: 14px; }
.tema-card__link h2 { font-size: 1.25rem; margin: 0 0 6px; }
.tema-card__link p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.tema-card__link:hover h2 { color: var(--brand-text); }
.tema-card__top { list-style: none; margin: 0 22px; padding: 0; border-top: 1px solid var(--line); }
.tema-card__top a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; text-decoration: none; color: var(--ink); font-size: .88rem; font-weight: 600; line-height: 1.3; }
.tema-card__top li + li a { border-top: 1px dashed var(--line); }
.tema-card__top a:hover span:first-child { color: var(--brand-text); }
.tema-card__top .mono { flex: none; font-size: .76rem; color: var(--muted); font-weight: 600; }
.tema-card__top .mono.is-urgent { color: var(--urgent); }
.tema-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: .82rem; color: var(--muted); }
.tema-card__foot b { color: var(--ink); }
.tema-card__foot a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.tema-card__foot a:hover { border-color: var(--brand); color: var(--brand-text); }
.keyfacts__note { margin: 0; padding: 16px 18px 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.tema-prose + .results-group, .tema-prose + section { margin-top: clamp(36px, 5vw, 56px); }

/* ── Cabeçalho com submenus (28/11/2026) ── */
.main-nav { align-self: stretch; gap: 0; }
.nav-item { display: flex; align-items: center; height: 100%; }
.nav-caret { display: grid; place-items: center; width: 22px; height: 40px; margin-left: -10px; margin-right: 2px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.nav-caret .icon { transform: rotate(90deg); transition: transform .15s; }
.nav-caret:hover { color: var(--ink); }
.nav-item.is-open .nav-caret .icon { transform: rotate(-90deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 28px 48px -28px rgba(6, 16, 26, .35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility 0s linear .15s; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
@media (hover: hover) { .nav-item:hover .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .15s .08s, transform .15s .08s, visibility 0s linear .08s; } .nav-item:hover .nav-caret .icon { transform: rotate(-90deg); } }
.mega__inner { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.5fr; gap: 32px; padding: 26px 0 30px; }
.mega__inner--temas { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.mega__inner--ferramentas { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); }
.mega__inner--biblioteca { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.1fr); }
.mega__h { font: 500 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.mega__col--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; align-content: start; }
.mega__col--2 .mega__h { grid-column: 1 / -1; }
.main-nav .mega a, .mnav__body a { display: block; height: auto; padding: 6px 0; border: 0; border-radius: 0; background: none; color: var(--ink); font: 500 .93rem/1.35 var(--font-text); letter-spacing: 0; text-decoration: none; }
.main-nav .mega a:hover, .mnav__body a:hover { color: var(--brand-text); background: none; }
.main-nav .mega .mega__big, .mnav__body .mega__big { display: block; padding: 16px 18px; margin-bottom: 10px; border-radius: 14px; background: var(--radar-bg); color: var(--radar-text); }
.mega__big b { display: block; font: 750 1.15rem/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.mega__big span { display: block; margin-top: 3px; font-size: .84rem; color: var(--radar-muted); }
.main-nav .mega .mega__big:hover, .mnav__body .mega__big:hover { background: var(--radar-bg); }
.mega__big:hover b { color: var(--lime); }
.mega__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.main-nav .mega .mega__tile, .mnav__body .mega__tile { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; }
.main-nav .mega .mega__tile:hover { background: var(--surface-2); }
.mega__tile .icon-tile { width: 34px; height: 34px; flex: none; }
.mega__tile b { display: block; font-weight: 650; font-size: .95rem; }
.mega__tile > span:last-child > span { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.35; color: var(--muted); }
.main-nav .mega .mega__tile:hover b { color: var(--brand-text); }
.mnav { border-bottom: 1px solid var(--line); }
.mnav summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; color: var(--ink); font: 700 1.2rem/1.2 var(--font-display); letter-spacing: -.02em; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary .icon { transform: rotate(90deg); transition: transform .15s; }
.mnav[open] summary .icon { transform: rotate(-90deg); }
.mnav__body { padding: 0 4px 18px; display: grid; gap: 12px; }
.mnav__body .mega__tiles { grid-template-columns: minmax(0, 1fr); }
.mnav__body .mega__tile > span:last-child > span { display: none; }
.mnav__body .mega__tile { padding: 6px 0; align-items: center; }
.mnav__body .mega__col--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mnav__body .mega__tile { justify-content: flex-start; }

/* ── Guias: tema, apelo a meio, simuladores e barra fixa (28/11/2026) ── */
.tag--tema { gap: 6px; background: var(--brand-tint); color: var(--brand-text); font-weight: 600; }
.tag--tema:hover { background: var(--brand); color: #fff; }
.inline-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin: 32px 0; padding: 18px 20px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); box-shadow: var(--shadow-1, 0 1px 2px rgba(0,0,0,.04)); }
.prose .inline-cta p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.45; }
.prose .inline-cta .inline-cta__t { margin: 0 0 2px; font: 700 1.05rem/1.25 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.prose .inline-cta .btn { text-decoration: none; }
@media (max-width: 600px) { .inline-cta { grid-template-columns: auto 1fr; } .inline-cta .btn { grid-column: 1 / -1; } }
.side-sim { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.side-sim .icon-tile { width: 34px; height: 34px; flex: none; }
.side-sim b { display: block; font-size: .93rem; line-height: 1.3; }
.side-sim > span:last-child > span { display: block; margin-top: 2px; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.side-sim:hover b { color: var(--brand-text); }
.sticky-cta { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45; display: none; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 10px 10px 16px; border-radius: 16px; background: var(--radar-bg); color: var(--radar-text); box-shadow: 0 18px 40px -12px rgba(6, 16, 26, .55); transform: translateY(140%); transition: transform .25s ease; }
.sticky-cta b { display: block; color: var(--ink); font-size: .92rem; line-height: 1.25; }
.sticky-cta > span > span { display: block; font-size: .78rem; color: var(--radar-muted); }
.sticky-cta .btn { height: 40px; padding: 0 16px; }
.sticky-cta__x { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--radar-text); cursor: pointer; }
.sticky-cta.is-on { transform: none; }
@media (max-width: 900px) { .sticky-cta:not([hidden]) { display: grid; } }
@media print { .sticky-cta, .inline-cta { display: none !important; } }
.tema-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 10px; margin-top: 16px; }
.tema-tile { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.tema-tile:hover { border-color: var(--brand); transform: translateY(-1px); }
.tema-tile .icon-tile { width: 36px; height: 36px; flex: none; }
.tema-tile b { display: block; font-size: .93rem; line-height: 1.25; }
.tema-tile small { display: block; margin-top: 2px; font: 500 .74rem var(--font-mono); color: var(--muted); }
@media (max-width: 480px) { .tema-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tema-tile { padding: 10px; gap: 10px; } .tema-tile .icon-tile { width: 30px; height: 30px; } }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.link-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; text-decoration: none; color: var(--ink); }
.link-card .icon-tile { width: 38px; height: 38px; flex: none; }
.link-card b { display: block; font-size: 1rem; }
.link-card > span:last-child > span { display: block; margin-top: 4px; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.link-card small { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: .76rem; color: var(--brand-text); }
.link-card:hover { border-color: var(--brand); }
.link-card:hover b { color: var(--brand-text); }
.results-group__head h2 a { color: inherit; text-decoration: none; }
.results-group__head h2 a:hover { color: var(--brand-text); }
.prose.legal { max-width: 780px; padding-bottom: clamp(48px, 7vw, 88px); }
.legal .legal-updated { color: var(--muted); font-size: .9rem; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.legal .legal-toc { display: grid; gap: 4px; padding: 20px 24px; margin: 24px 0 32px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.legal .legal-toc-title { font: 500 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.legal .legal-highlight { padding: 16px 20px; margin: 16px 0; border-left: 3px solid var(--brand); border-radius: 0 12px 12px 0; background: var(--brand-tint); }
.legal .legal-highlight p { margin: 0; }
.legal .table-responsive { overflow-x: auto; }
.crit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.crit-list li { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.crit-list .mono { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-text); font-size: .85rem; font-weight: 700; }
.crit-list b { display: block; font-size: 1rem; margin-bottom: 3px; }
.crit-list p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.cons-card { padding: 22px; margin-bottom: 12px; }
.cons-card--parceira { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.cons-card__top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.cons-card__top img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 4px; }
.cons-card__top h3 { margin: 0; }
.cons-card__top h3 a { color: inherit; text-decoration: none; }
.cons-card__meta { margin: 2px 0 0; font-size: .78rem; color: var(--muted); }
.cons-card > p { color: var(--text); font-size: .95rem; line-height: 1.55; }
.cons-card__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips-links--static span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; background: var(--surface-2); color: var(--text); font-size: .82rem; font-weight: 500; }
.cons-head { display: flex; gap: 20px; align-items: center; }
.cons-head > img { flex: none; width: 84px; height: 84px; object-fit: contain; border-radius: 18px; background: #fff; border: 1px solid var(--line); padding: 8px; }
.cons-head h1 { margin-bottom: 4px; }
.cons-head .lead { margin: 0; }
@media (max-width: 560px) { .cons-head { flex-direction: column; align-items: flex-start; } }
.keyfacts dd a { word-break: break-word; }

/* ── Novidades ── */
.nov-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(24px, 4vw, 36px); }
.nov-filtros a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.nov-filtros a .mono { font-size: .76rem; color: var(--muted); }
.nov-filtros a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.nov-filtros a[aria-current="page"] .mono { color: inherit; opacity: .75; }
.nov-dia { margin-bottom: clamp(24px, 4vw, 34px); }
.nov-dia__t { font: 500 .78rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.nov-lista { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.nov { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 4px 14px; padding: 14px 18px; }
.nov + .nov { border-top: 1px solid var(--line); }
.nov__tipo { grid-row: span 2; align-self: start; justify-self: start; padding: 3px 10px; border-radius: 99px; font-size: .76rem; font-weight: 700; background: var(--surface-2); color: var(--text); }
.nov--abriu .nov__tipo { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.nov--fecha .nov__tipo { background: var(--urgent-tint); color: var(--urgent); }
.nov--nova .nov__tipo { background: var(--brand-tint); color: var(--brand-text); }
.nov a { color: var(--ink); text-decoration: none; line-height: 1.35; }
.nov a:hover b { color: var(--brand-text); }
.nov__det { font-size: .86rem; color: var(--muted); }
@media (max-width: 560px) { .nov { grid-template-columns: minmax(0, 1fr); } .nov__tipo { grid-row: auto; } }

/* ── Calculadora rápida nas fichas ── */
.mini-calc { padding: 18px; display: grid; gap: 8px; }
.mini-calc__t { margin: 0 0 2px; font-weight: 700; color: var(--ink); }
.mini-calc label { font-size: .82rem; color: var(--muted); }
.mini-calc__out { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 6px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--radar-bg); color: var(--radar-text); }
.mini-calc__out span { font-size: .82rem; color: var(--radar-muted); }
.mini-calc__out b { font: 750 1.35rem/1.1 var(--font-display); color: var(--lime); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mini-calc__nota { margin: 0; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.ficha article > .mini-calc { margin: clamp(24px, 4vw, 36px) 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 18px; align-items: end; border-left: 4px solid var(--brand); }
.ficha article > .mini-calc .mini-calc__t, .ficha article > .mini-calc .mini-calc__nota, .ficha article > .mini-calc .btn { grid-column: 1 / -1; }
.ficha article > .mini-calc label { grid-column: 1; }
.ficha article > .mini-calc input { grid-column: 1; grid-row: 3; }
.ficha article > .mini-calc .mini-calc__out { grid-column: 2; grid-row: 2 / 4; margin: 0; flex-direction: column; align-items: flex-start; }
.ficha article > .mini-calc .btn { justify-self: start; width: auto; }
@media (max-width: 560px) { .ficha article > .mini-calc { grid-template-columns: minmax(0, 1fr); } .ficha article > .mini-calc .mini-calc__out { grid-column: 1; grid-row: auto; } .ficha article > .mini-calc input { grid-row: auto; } }
.passos-ajuda { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.passos-ajuda li { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.passos-ajuda .mono { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; }
.passos-ajuda b { display: block; margin-bottom: 4px; color: var(--ink); }
.passos-ajuda p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
@media (max-width: 800px) { .passos-ajuda { grid-template-columns: minmax(0, 1fr); } }

/* ── Planos e pacotes (consultoras) ── */
.planos { display: grid; gap: 14px; }
.planos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.planos--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .planos--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .planos--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .planos--4 { grid-template-columns: minmax(0, 1fr); } }
.plano { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; }
.plano--destaque { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.plano__badge { position: absolute; top: -11px; left: 22px; padding: 3px 12px; border-radius: 99px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; }
.plano__nome { margin: 4px 0 0; font-size: 1.05rem; }
.plano__preco { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.plano__preco b { font: 750 2rem/1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.plano__preco span { font-size: .82rem; color: var(--muted); }
.plano__desc { margin: 0; font-size: .86rem; color: var(--brand-text); font-weight: 600; }
.plano__itens { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; gap: 7px; }
.plano__itens li { display: flex; gap: 8px; font-size: .9rem; color: var(--text); line-height: 1.35; }
.plano__itens .icon { color: var(--brand-text); flex: none; margin-top: 2px; }
.plano .btn { margin-top: auto; }
.plano--escolha { cursor: pointer; }
.plano--escolha input { position: absolute; top: 18px; right: 18px; width: 18px; height: 18px; accent-color: var(--brand); }
.plano--escolha:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset; background: color-mix(in srgb, var(--brand-tint) 45%, var(--surface)); }
.passos-ajuda--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .passos-ajuda--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .passos-ajuda--4 { grid-template-columns: minmax(0, 1fr); } }
.prose a.gl-link { text-decoration: underline dotted; text-underline-offset: 3px; color: inherit; } .prose a.gl-link:hover { color: var(--brand-text); text-decoration-style: solid; }
.nota-atual { margin: 0 0 24px; align-items: flex-start; }
.nota-atual ul { margin: 6px 0 0; padding-left: 18px; }
.nota-atual li { margin: 4px 0; font-size: .93rem; line-height: 1.5; }
.nota-atual p { margin: 0; }

/* ── Pesquisa instantânea ── */
.qs { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: center; align-items: flex-start; padding: clamp(12px, 8vh, 96px) 12px 12px; background: rgba(6, 16, 26, .55); backdrop-filter: blur(3px); }
.qs[hidden] { display: none !important; }
html.qs-aberto { overflow: hidden; }
.qs__box { width: min(680px, 100%); max-height: calc(100vh - 24px); display: flex; flex-direction: column; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); overflow: hidden; }
.qs__form { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.qs__input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--ink); font: 500 1.1rem var(--font-text); outline: none; }
.qs__input::-webkit-search-cancel-button { display: none; }
.qs__x { flex: none; height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--muted); font: 600 .74rem var(--font-mono); cursor: pointer; }
.qs__lista { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.qs__lista a { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.qs__lista li.is-sel a, .qs__lista a:hover { background: var(--brand-tint); }
.qs__k { font: 500 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.qs__t { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.qs__s { font-size: .74rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.qs__s.is-ok { color: var(--ok); }
.qs__vazio { padding: 14px 12px; color: var(--muted); font-size: .92rem; }
.qs__dica { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); font: 500 .74rem var(--font-mono); color: var(--muted); }
@media (max-width: 560px) { .qs__lista a { grid-template-columns: minmax(0, 1fr) auto; } .qs__k { display: none; } .qs__dica { display: none; } }

/* ── Apoios guardados ── */
.btn-guardar { gap: 8px; }
.btn-guardar.is-on { color: var(--brand-text); border-color: var(--brand); background: var(--brand-tint); }
.btn-guardar.is-on .icon { fill: currentColor; }
.guardados-link { position: relative; }
.guardados-link[hidden] { display: none !important; }
.guardados-link__n { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--brand); color: #fff; font: 700 .66rem/17px var(--font-text); text-align: center; }
.guardados li { display: flex; align-items: center; }
.guardados li a { flex: 1; min-width: 0; }
.guardados .is-urgent { color: var(--urgent); }
.guardados__x { flex: none; width: 40px; height: 40px; margin-right: 8px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.guardados__x:hover { background: var(--surface-2); color: var(--ink); }

/* ── Comparar apoios ── */
.comparar { overflow-x: auto; margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); }
.comparar table { width: 100%; min-width: calc(180px + var(--n) * 220px); border-collapse: collapse; }
.comparar th, .comparar td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; font-size: .92rem; line-height: 1.45; }
.comparar thead th { position: sticky; top: 0; background: var(--surface-2); font-size: .95rem; }
.comparar thead th a { display: block; margin-bottom: 8px; color: var(--ink); text-decoration: none; font-weight: 700; }
.comparar thead th a:hover { color: var(--brand-text); }
.comparar tbody th { width: 180px; font: 500 .76rem var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.comparar tr:last-child td, .comparar tr:last-child th { border-bottom: 0; }
/* ── Banners das marcas parceiras (Macro Consulting, Tribo de Líderes, Daily Shot Solutions) ──
   Cada marca com as cores, a letra e o logótipo do próprio site. O cartão todo é clicável (o ::after do botão),
   o rótulo «Publicidade» fica sempre visível. As animações só correm quando o banner entra no ecrã (.is-in, site.js). */
.hb { --hb-bg: var(--surface); --hb-ink: var(--ink); --hb-text: var(--muted); --hb-accent: var(--brand-text); --hb-btn: var(--brand); --hb-btn-ink: var(--on-brand); --hb-label-bg: rgba(0,0,0,.32); --hb-label-ink: rgba(255,255,255,.86); --hb-title: var(--font-display); --hb-em: "Playfair Display", Georgia, "Times New Roman", serif;
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); min-height: 270px;
  border-radius: 24px; background: var(--hb-bg); color: var(--hb-text); box-shadow: 0 26px 50px -30px rgba(6, 14, 30, .6);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.hb:hover { transform: translateY(-3px); box-shadow: 0 34px 64px -30px rgba(6, 14, 30, .7); }
.hb__label { position: absolute; top: 12px; right: 14px; z-index: 3; padding: 5px 9px; border-radius: 99px; background: var(--hb-label-bg); color: var(--hb-label-ink); font: 600 .6rem/1 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.hb__body { display: flex; flex-direction: column; gap: 12px; padding: 28px 8px 28px 30px; min-width: 0; }
.hb__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 32px; }
.hb__logo { display: block; height: 32px; width: auto; }
.hb__tempo { padding: 5px 10px; border-radius: 99px; border: 1px solid currentColor; color: var(--hb-accent); font: 600 .68rem/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.hb__title { margin: 4px 0 0; font: 750 clamp(1.3rem, 2.3vw, 1.7rem)/1.14 var(--hb-title); letter-spacing: -.018em; color: var(--hb-ink); text-wrap: balance; }
.hb__title em { font: italic 600 1.04em/1 var(--hb-em); letter-spacing: -.01em; color: var(--hb-accent); }
.hb__text { margin: 0; max-width: 46ch; font-size: .95rem; line-height: 1.55; color: var(--hb-text); }
.hb__facts { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 2px 0 0; }
.hb__facts div { min-width: 0; }
.hb__facts dt { font: 800 1.28rem/1.05 var(--font-display); letter-spacing: -.02em; color: var(--hb-ink); }
.hb__facts dd { margin: 3px 0 0; font: 500 .66rem/1.3 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--hb-text); }
.hb__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 12px 18px; border-radius: 12px; background: var(--hb-btn); color: var(--hb-btn-ink); font: 700 .95rem/1.2 var(--font-text); text-decoration: none; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); transition: transform .3s, box-shadow .3s; }
.hb__cta::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.hb__cta .icon { transition: transform .3s; }
.hb:hover .hb__cta { box-shadow: 0 14px 30px -14px rgba(0,0,0,.7); }
.hb:hover .hb__cta .icon { transform: translateX(4px); }
.hb__cta:focus-visible { outline: 3px solid var(--hb-accent); outline-offset: 3px; }
.hb__art { position: relative; z-index: 0; display: grid; place-items: center; padding: 26px 28px 26px 8px; min-width: 0; }
.hb--sem-arte { grid-template-columns: minmax(0, 1fr); }

/* Macro Consulting: azul em gradiente e Playfair Display, como em macroconsulting.pt */
.ad-macro { --hb-bg: linear-gradient(128deg, #0b1830 0%, #1b3a78 52%, #1e6f8e 100%); --hb-ink: #fff; --hb-text: rgba(232, 240, 255, .8); --hb-accent: #9fe0f2; --hb-btn: #fff; --hb-btn-ink: #15306b; --hb-title: "Playfair Display", Georgia, "Times New Roman", serif; }
.ad-macro .hb__title { font-weight: 700; letter-spacing: -.01em; }
.ad-macro::before { content: ""; position: absolute; z-index: -1; right: -14%; top: -40%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(126, 214, 240, .34), transparent); }
.ad-macro::after { content: ""; position: absolute; z-index: -1; right: 6%; bottom: -30%; width: 46%; height: 150%; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 70%); transform: skewX(-22deg); }
.hb-panel { position: relative; width: min(100%, 290px); padding: 16px 16px 14px; border-radius: 18px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 26px 44px -22px rgba(0, 0, 0, .65); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; transform: perspective(900px) rotateY(-10deg) rotateX(5deg); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hb:hover .hb-panel { transform: perspective(900px) rotateY(-3deg) rotateX(1deg) translateY(-2px); }
.hb-panel__head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; font: 600 .66rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(232, 240, 255, .75); }
.hb-panel__live { width: 8px; height: 8px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 0 0 rgba(110, 231, 168, .6); animation: hb-pulse 2.4s infinite; }
.hb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: hb; }
.hb-steps li { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font: 600 .86rem/1.2 var(--font-text); color: rgba(255,255,255,.6); }
.hb-steps li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 26px; height: 18px; width: 2px; background: rgba(255,255,255,.18); }
.hb-steps li.is-done:not(:last-child)::before { background: #9fe0f2; }
.hb-steps__dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); display: grid; place-items: center; }
.hb-steps li.is-done { color: #fff; }
.hb-steps li.is-done .hb-steps__dot { border-color: #9fe0f2; background: #9fe0f2; }
.hb-steps li.is-done .hb-steps__dot::after { content: ""; width: 8px; height: 4px; border: solid #0b1830; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.hb-steps li.is-now { color: #fff; background: rgba(255,255,255,.1); }
.hb-steps li.is-now .hb-steps__dot { border-color: #9fe0f2; box-shadow: 0 0 0 4px rgba(159, 224, 242, .22); }
.hb-steps li.is-now .hb-steps__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9fe0f2; }
.hb-chart { display: block; width: 100%; height: auto; overflow: visible; }
.hb-chart__bars rect { fill: rgba(255,255,255,.16); transform-origin: 50% 100%; transform-box: fill-box; }
.hb-chart__bars rect:last-child { fill: #9fe0f2; }
.hb-chart__line { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hb-chart__dot { fill: #9fe0f2; stroke: #0b1830; stroke-width: 3; }
/* Painel da consultoria de gestão: barras face à meta (linha tracejada a 85%) */
.hb-kpis { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hb-kpis li { display: grid; gap: 5px; font: 600 .78rem/1.2 var(--font-text); color: rgba(255,255,255,.85); }
.hb-kpis i { position: relative; display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); }
.hb-kpis i::after { content: ""; position: absolute; top: -4px; bottom: -4px; left: 85%; border-left: 2px dashed rgba(255,255,255,.55); }
.hb-kpis b { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #6fb6d9, #9fe0f2); transform-origin: left; }
.hb-kpis li:nth-child(n+3) b { background: linear-gradient(90deg, #d98f4e, #f3c27a); }
.hb-kpis__tr { width: 0; height: 12px; border-left: 2px dashed rgba(255,255,255,.55); }
.hb-kpis__meta { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin: 10px 0 0; font: 600 .62rem/1.2 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: rgba(232, 240, 255, .6); }
.hb.is-anim .hb-kpis b { transform: scaleX(0); }
.hb.is-in .hb-kpis b { animation: hb-bar .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.2s + var(--i, 0) * .12s); }
.hb-kpis li { --i: 0; }
@keyframes hb-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hb.is-anim .hb-kpis b { transform: none; } }
.hb-panel__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hb-panel__tags span { padding: 4px 8px; border-radius: 99px; background: rgba(255,255,255,.1); font: 600 .66rem/1.2 var(--font-mono); letter-spacing: .03em; color: rgba(255,255,255,.85); }

/* Tribo de Líderes: azul-noite, dourado e Playfair itálico, com a fotografia da formação (a mesma de tribodelideres.com) */
.ad-tribo { --hb-bg: #0f1218; --hb-ink: #fff; --hb-text: rgba(247, 242, 232, .78); --hb-accent: #d8b869; --hb-btn: #d8b869; --hb-btn-ink: #231c0c; box-shadow: inset 0 0 0 1px rgba(216, 184, 105, .22), 0 26px 50px -30px rgba(6, 14, 30, .6); }
.ad-tribo .hb__logo { height: 22px; }
.ad-tribo .hb__body { position: relative; z-index: 1; }
.hb--arte-foto { grid-template-columns: minmax(0, 1fr); }
.hb--arte-foto .hb__art { position: absolute; inset: 0 0 0 42%; padding: 0; display: block; overflow: hidden; }
.hb-foto { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform: scale(1.04); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); filter: saturate(.92) contrast(1.04); }
.hb:hover .hb-foto { transform: scale(1.09); }
.hb--arte-foto .hb-foto { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 48%); }
.hb--arte-foto .hb__art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15, 18, 24, .7) 0%, rgba(15, 18, 24, .3) 45%, rgba(15, 18, 24, .05) 100%), linear-gradient(0deg, rgba(15, 18, 24, .55), transparent 45%); }
.hb--arte-foto .hb__art::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 100% 100%, rgba(216, 184, 105, .28), transparent 55%); mix-blend-mode: screen; }
.hb--arte-foto .hb__body { max-width: 60%; padding-right: 0; }
.hb-selo { position: absolute; z-index: 2; right: 22px; bottom: 22px; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #f3dc9c, #d8b869 45%, #a98636); color: #231c0c; font: 800 1.45rem/1 var(--font-display); letter-spacing: -.03em; box-shadow: 0 16px 30px -12px rgba(0,0,0,.7), inset 0 0 0 3px rgba(255,255,255,.25); transform: rotate(-10deg); }
.hb-selo::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed rgba(216, 184, 105, .7); animation: hb-spin 18s linear infinite; }

/* Daily Shot Solutions: claro, grelha fina e laranja, como em dailyshotsolutions.com */
.ad-dailyshot { --hb-bg: #fafafa; --hb-ink: #18181b; --hb-text: #52525b; --hb-accent: #d4570b; --hb-btn: #fb7f29; --hb-btn-ink: #18181b; --hb-label-bg: rgba(24, 24, 27, .07); --hb-label-ink: #3f3f46; --hb-em: var(--font-display);
  background-image: radial-gradient(60% 80% at 100% 100%, rgba(251, 127, 41, .16), transparent 60%), linear-gradient(rgba(24,24,27,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(24,24,27,.05) 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px; background-color: #fafafa; box-shadow: inset 0 0 0 1px #e4e4e7, 0 26px 50px -32px rgba(24, 24, 27, .45); }
.ad-dailyshot .hb__title em { font-style: normal; font-weight: 750; }
.hb__logo--ds { display: inline-flex; align-items: center; gap: 9px; height: auto; color: #18181b; font: 700 .8rem/1 var(--font-mono); letter-spacing: .1em; }
.hb__logo--ds b { color: #d4570b; font-weight: 700; }
.hb__ds-sq { transform-box: fill-box; transform-origin: center; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.hb:hover .hb__ds-sq { transform: rotate(90deg); }
.ad-dailyshot .hb__cta { box-shadow: 0 10px 24px -12px rgba(251, 127, 41, .8); }
.ad-dailyshot .hb__facts dd { color: #71717a; }
.hb-term, .hb-browser { width: min(100%, 300px); border-radius: 14px; overflow: hidden; background: #111114; color: #e4e4e7; box-shadow: 0 30px 50px -26px rgba(24, 24, 27, .75), 0 0 0 1px rgba(24,24,27,.9); transform: perspective(900px) rotateY(-9deg) rotateX(4deg); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hb:hover .hb-term, .hb:hover .hb-browser { transform: perspective(900px) rotateY(-2deg) rotateX(1deg) translateY(-2px); }
.hb-term__bar, .hb-browser__bar { display: flex; align-items: center; gap: 6px; margin: 0; padding: 10px 12px; background: #1b1b20; border-bottom: 1px solid #26262c; font: 500 .66rem/1 var(--font-mono); color: #a1a1aa; }
.hb-term__bar i, .hb-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3f3f46; }
.hb-term__bar i:first-child, .hb-browser__bar i:first-child { background: #fb7f29; }
.hb-term__bar span { margin-left: 8px; }
.hb-term ul { list-style: none; margin: 0; padding: 12px 14px 14px; display: grid; gap: 7px; font: 500 .78rem/1.3 var(--font-mono); }
.hb-term li { display: flex; align-items: center; gap: 8px; }
.hb-term__p { color: #fb7f29; font-weight: 700; }
.hb-term__ok { margin-left: auto; flex: none; fill: none; stroke: #6ee7a8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hb-term__last { color: #fff; }
.hb-term__cur { width: 7px; height: 14px; background: #fb7f29; animation: hb-blink 1.1s steps(1) infinite; }
.hb-browser__bar span { flex: 1; margin-left: 8px; padding: 5px 9px; border-radius: 6px; background: #111114; color: #d4d4d8; }
.hb-browser__page { display: grid; gap: 8px; padding: 16px 16px 14px; background: linear-gradient(180deg, #16161a, #111114); }
.hb-browser__h { height: 14px; width: 78%; border-radius: 4px; background: #e4e4e7; }
.hb-browser__p { height: 7px; width: 92%; border-radius: 4px; background: #3f3f46; }
.hb-browser__p--s { width: 64%; }
.hb-browser__btn { height: 22px; width: 96px; margin-top: 4px; border-radius: 6px; background: #fb7f29; }
.hb-browser__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.hb-browser__tags span { padding: 4px 7px; border-radius: 5px; border: 1px solid #2c2c33; font: 500 .62rem/1.2 var(--font-mono); color: #d4d4d8; }

/* Entrada: só quando o banner aparece no ecrã (sem JavaScript fica tudo visível e parado) */
.hb.is-anim .hb-steps li, .hb.is-anim .hb-term li, .hb.is-anim .hb-browser__tags span, .hb.is-anim .hb-chart__bars rect { opacity: 0; }
.hb.is-in .hb-steps li, .hb.is-in .hb-term li, .hb.is-in .hb-browser__tags span { animation: hb-up .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.15s + var(--i, 0) * .14s); }
.hb.is-in .hb-chart__bars rect { animation: hb-grow .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.1s + var(--i, 0) * .08s); }
.hb.is-anim .hb-chart__line { stroke-dashoffset: 1; }
.hb.is-in .hb-chart__line { animation: hb-draw 1.3s .55s cubic-bezier(.4,0,.2,1) both; }
@keyframes hb-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes hb-grow { from { opacity: 0; transform: scaleY(.1); } to { opacity: 1; transform: none; } }
@keyframes hb-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hb-pulse { 0% { box-shadow: 0 0 0 0 rgba(110, 231, 168, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(110, 231, 168, 0); } }
@keyframes hb-blink { 50% { opacity: 0; } }
@keyframes hb-spin { to { transform: rotate(360deg); } }

/* Versão em coluna (barras laterais) e telemóvel: a parte visual passa para cima */
.hb--stack, .hb--stack.hb--sem-arte { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.hb--stack .hb__art { order: -1; padding: 40px 22px 0; }
.hb--stack .hb__body { padding: 18px 22px 22px; gap: 10px; }
.hb--stack .hb__title { font-size: 1.22rem; }
.hb--stack .hb__text { font-size: .9rem; }
.hb--stack .hb__facts { gap: 8px 20px; }
.hb--stack .hb__facts dt { font-size: 1.1rem; }
.hb--stack .hb__cta { align-self: stretch; justify-content: center; }
.hb--stack .hb-panel, .hb--stack .hb-term, .hb--stack .hb-browser { width: 100%; transform: none; }
.hb--stack.hb--arte-foto .hb__art { position: relative; inset: auto; height: 150px; padding: 0; }
.hb--stack.hb--arte-foto .hb-foto { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
.hb--stack.hb--arte-foto .hb__art::before { background: linear-gradient(0deg, #0f1218 0%, rgba(15, 18, 24, .35) 55%, rgba(15, 18, 24, .1) 100%); }
.hb--stack.hb--arte-foto .hb__body { max-width: none; padding-top: 4px; }
.hb--stack .hb-selo { width: 66px; height: 66px; font-size: 1.15rem; right: 16px; bottom: auto; top: 16px; }
.hb--stack .hb__label { top: 10px; right: auto; left: 12px; }
.hb--stack.hb--arte-foto .hb__label { top: 12px; }
@media (max-width: 760px) {
  .hb { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hb__art { order: -1; padding: 40px 20px 0; }
  .hb__body { padding: 18px 20px 22px; }
  .hb__cta { align-self: stretch; justify-content: center; }
  .hb-panel, .hb-term, .hb-browser { width: 100%; transform: none; }
  .hb--arte-foto .hb__art { position: relative; inset: auto; height: 170px; padding: 0; }
  .hb--arte-foto .hb-foto { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
  .hb--arte-foto .hb__art::before { background: linear-gradient(0deg, #0f1218 0%, rgba(15, 18, 24, .3) 60%, rgba(15, 18, 24, .08) 100%); }
  .hb--arte-foto .hb__body { max-width: none; padding-top: 6px; }
  .hb__label { right: auto; left: 12px; top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hb.is-anim .hb-steps li, .hb.is-anim .hb-term li, .hb.is-anim .hb-browser__tags span, .hb.is-anim .hb-chart__bars rect { opacity: 1; }
  .hb.is-anim .hb-chart__line { stroke-dashoffset: 0; }
  .hb, .hb-panel, .hb-term, .hb-browser { transform: none !important; }
}
.sidebar-ad .hb, .ad-slot .hb { margin: 0; }

/* ── Pedido de ajuda: dois passos, erros por campo e confirmação ── */
.lead-steps { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.lead-steps li { display: flex; align-items: center; gap: 8px; font: 600 .84rem/1.2 var(--font-text); color: var(--muted); }
.lead-steps li + li::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--line-strong); margin-right: 2px; }
.lead-steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); font: 700 .72rem/1 var(--font-mono); }
.lead-steps li.is-on { color: var(--ink); }
.lead-steps li.is-on span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.lead-steps li.is-done span { background: var(--ok-tint); border-color: var(--ok); color: var(--ok); }
.field__opt { font-weight: 400; color: var(--muted); }
.field label.check { display: flex; margin: 0; font-size: .88rem; font-weight: 400; color: var(--muted); }
.field__err { margin: 6px 0 0; font-size: .84rem; line-height: 1.35; color: var(--urgent); }
.field.is-invalid .input, .field.is-invalid .textarea, .field.is-invalid .select { border-color: var(--urgent); box-shadow: 0 0 0 3px var(--urgent-tint); }
.lead-form__hint { margin: 10px 0 0; text-align: center; font-size: .84rem; color: var(--muted); }
.lead-form__resumo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding: 10px 8px 10px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.lead-form__resumo p { margin: 0; min-width: 0; font-size: .92rem; color: var(--ink); }
.lead-form__resumo p > span:last-child { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-form__resumo-label { display: block; margin-bottom: 2px; font: 600 .64rem/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lead-form__resumo .btn { flex: none; }
.lead-ok { padding: 4px 2px; }
.lead-ok:focus, .lead-ok:focus-visible { outline: none; }
.lead-ok__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%; background: var(--ok-tint); color: var(--ok); animation: lead-pop .5s cubic-bezier(.2,.9,.3,1.3) both; }
.lead-ok__icon .icon { width: 26px; height: 26px; stroke-width: 2.6; }
.lead-ok h3 { margin: 0 0 8px; font: 750 1.4rem/1.2 var(--font-display); color: var(--ink); }
.lead-ok p { margin: 0 0 14px; color: var(--text); }
.lead-ok .lead-ok__sub { margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.lead-ok__links { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.lead-ok__links a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: .93rem; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.lead-ok__links a .icon { color: var(--brand-text); }
.lead-ok__links a:hover { border-color: var(--brand); color: var(--brand-text); }
@keyframes lead-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* Pesquisa: tema em destaque no topo dos resultados */
.pq-temas { display: grid; gap: 10px; margin: 0 0 clamp(28px, 4vw, 40px); }
.pq-tema { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.pq-tema:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.pq-tema > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pq-tema .eyebrow { margin: 0; }
.pq-tema b { font: 750 1.12rem/1.25 var(--font-display); }
.pq-tema__n { font-size: .88rem; color: var(--muted); }
.pq-tema > .icon { color: var(--brand-text); flex: none; }

/* Partilhar (ficha): linha discreta no quadro de dados-chave */
.share-mini { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; margin-top: 8px; font-size: .82rem; }
.share-mini__t { color: var(--muted); font: 600 .66rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; margin-right: 2px; }
.share-mini a, .share-mini button { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 99px; background: none; color: var(--text); font: 600 .78rem/1 var(--font-text); text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s; }
.share-mini a:hover, .share-mini button:hover { border-color: var(--brand); color: var(--brand-text); }
.share-mini.has-nativo a, .share-mini.has-nativo button[data-copy] { display: none; }
.share-mini__nativo { padding: 7px 14px !important; }

/* ==========================================================================
   Página inicial v3: abertura, atalhos e temas
   ========================================================================== */
.hero2 { background: var(--band-blue); border-bottom: 1px solid var(--line); padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.hero2__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero2__in > * { min-width: 0; }
.hero2 h1 { margin: 0 0 16px; font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.07; text-wrap: balance; }
.hero2__lead { margin: 0 0 26px; max-width: 52ch; font-size: clamp(1.04rem, 1.4vw, 1.18rem); color: var(--text); }
.hero2 .home-search { max-width: 600px; }
.hero2__stats { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 22px 0 0; padding: 0; font-size: .95rem; color: var(--muted); }
.hero2__stats li { display: inline-flex; align-items: center; gap: 6px; }
.hero2__stats a { color: inherit; text-decoration: none; }
.hero2__stats a:hover { color: var(--ink); }
.hero2__stats b { font: 800 1.15rem/1 var(--font-display); color: var(--ink); margin-right: 2px; }
.hero2__stats b.is-ok { color: var(--ok); }
.hero2__stats b.is-urgent { color: var(--urgent); }
.hero2__stats .icon { color: var(--ok); }
.hero2 .mini-radar { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-2); padding: 18px 16px 10px; }
.hero2 .mini-radar__head h2 { font-size: 1.1rem; }
.hero2 .mini-radar__head a { color: var(--brand-text); font: 600 .88rem var(--font-text); }
.hero2 .dl-item:hover { background: var(--surface-2); }
.hero2 .dl-date { background: var(--brand-tint); }
.hero2 .dl-date b { color: var(--brand-text); }
.hero2 .dl-title { color: var(--ink); }
/* Atalhos: quatro cartões pastel sobrepostos à faixa */
.quick2 { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: calc(-1 * clamp(36px, 5vw, 56px)); }
.quick2__a { display: grid; gap: 4px; align-content: start; padding: 20px 20px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.quick2__a:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -24px rgba(11, 26, 58, .35); color: var(--ink); }
.quick2__ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 14px; }
.quick2__a b { font: 700 1.06rem/1.25 var(--font-display); }
.quick2__a small { color: var(--muted); font-size: .9rem; }
.quick2--azul .quick2__ic { background: #e6eeff; color: #1d47d6; }
.quick2--pessego .quick2__ic { background: #ffeedd; color: #c2570c; }
.quick2--menta .quick2__ic { background: #dff6ec; color: #067647; }
.quick2--lilas .quick2__ic { background: #f0e9ff; color: #6d3fd6; }
/* Temas: grelha de ícones centrada */
.center-head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.center-head h2 { margin: 0 0 10px; }
.center-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.temas2 { padding-top: clamp(56px, 7vw, 96px); }
.temas2__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; max-width: 1000px; margin: 0 auto; }
.temas2__a { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; color: var(--ink); text-decoration: none; transition: background .2s, transform .2s; }
.temas2__a:hover { background: var(--band-blue); color: var(--ink); }
.temas2__a:hover b { color: var(--brand-text); }
.temas2__ic { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--brand-tint); color: var(--brand-text); }
.temas2__ic .icon { width: 26px; height: 26px; stroke-width: 1.7; }
.temas2__a:nth-child(3n+2) .temas2__ic { background: #ffeedd; color: #c2570c; }
.temas2__a:nth-child(3n) .temas2__ic { background: #dff6ec; color: #067647; }
.temas2__a b { align-self: end; font: 700 1.08rem/1.25 var(--font-display); }
.temas2__a small { align-self: start; color: var(--muted); font-size: .9rem; }
.finder2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; max-width: 1000px; margin: clamp(24px, 3vw, 36px) auto 0; padding: 14px; border-radius: 18px; background: var(--surface-2); }
.finder2__t { font-weight: 600; color: var(--ink); margin-right: 6px; }
.finder2 .select { width: auto; min-width: 200px; flex: 1 1 200px; max-width: 280px; }
.destaques2 { padding-top: 0; }
@media (max-width: 980px) {
  .hero2__in { grid-template-columns: minmax(0, 1fr); }
  .quick2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .temas2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .quick2 { gap: 10px; }
  .quick2__a { padding: 16px; }
  .temas2__grid { grid-template-columns: minmax(0, 1fr); }
  .temas2__a { padding: 12px 10px; }
  .finder2 .select { max-width: none; }
  .finder2 .btn { width: 100%; }
}

/* Destaques: fila de cartões com deslize horizontal */
.dest-nav { display: flex; gap: 6px; }
.dest-nav .icon-btn { border: 1px solid var(--line); }
.dest-nav [data-dest-prev] .icon { transform: rotate(180deg); }
.dest-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px; margin: 0 -2px; }
.dest-row::-webkit-scrollbar { display: none; }
.dest-card { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.dest-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: var(--ink); }
.dest-card .cover { border-radius: 0; aspect-ratio: 16 / 8; }
.dest-card .cover__fact { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.dest-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.dest-card__body .tag { align-self: flex-start; }
.dest-card__body b { font: 700 1.18rem/1.28 var(--font-display); }
.dest-card__txt { color: var(--muted); font-size: .93rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dest-card__cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--brand-text); font-weight: 600; font-size: .94rem; }
.dest-card:hover .dest-card__cta .icon { transform: translateX(3px); }
.dest-card__cta .icon { transition: transform .2s; }
@media (max-width: 900px) { .dest-row { grid-auto-columns: 46%; } }
@media (max-width: 600px) { .dest-row { grid-auto-columns: 84%; } .dest-nav { display: none; } }
/* Barra fixa do telemóvel: cartão branco */
.sticky-cta { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -14px rgba(11, 26, 58, .3); }

/* ==========================================================================
   Ficha v3: índice de secções, «Pode concorrer?», linha do tempo, despesas,
   como se candidata, depois de aprovado e fontes
   ========================================================================== */
.inpage { position: sticky; top: var(--header-h); z-index: 20; margin: 0 0 24px; padding: 10px 0; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.inpage__in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.inpage__in::-webkit-scrollbar { display: none; }
.inpage a { flex: none; padding: 7px 12px; border-radius: 99px; color: var(--text); font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.inpage a:hover { background: var(--surface-2); color: var(--ink); }
.inpage a.is-on { background: var(--brand-tint); color: var(--brand-text); }
.ficha article h2, .ficha-h2 { scroll-margin-top: calc(var(--header-h) + 70px); }
.ficha-h2 { margin: 2.2em 0 .7em; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.sec-resumo { margin: 0 0 28px; scroll-margin-top: calc(var(--header-h) + 70px); }
.sec-resumo .answer { margin: 0; }

/* A sua empresa pode concorrer? */
.elig { margin: 0 0 36px; padding: clamp(20px, 3vw, 28px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); scroll-margin-top: calc(var(--header-h) + 70px); }
.elig__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.elig__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ok-tint); color: var(--ok); }
.elig__head h2 { margin: 2px 0 4px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.elig__head p { margin: 0; color: var(--muted); font-size: .95rem; }
.elig__list { list-style: none; margin: 0; padding: 0; counter-reset: elig; }
.elig__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); counter-increment: elig; }
.elig__q b { display: block; font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.4; }
.elig__q b::before { content: counter(elig) ". "; color: var(--muted); font-weight: 500; }
.elig__q small { display: block; margin-top: 3px; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.elig__a { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface-2); gap: 2px; }
.elig__a button { min-width: 64px; padding: 8px 12px; border: 0; border-radius: 9px; background: none; color: var(--text); font: 600 .88rem/1 var(--font-text); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.elig__a button:hover { color: var(--ink); background: var(--surface); }
.elig__a button[aria-pressed="true"][data-v="sim"] { background: var(--ok); color: #fff; }
.elig__a button[aria-pressed="true"][data-v="nao"] { background: var(--urgent); color: #fff; }
.elig__a button[aria-pressed="true"][data-v="ns"] { background: var(--soon); color: #fff; }
.elig__list li.is-falha .elig__q b { color: var(--urgent); }
.elig__res { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.elig__prog { margin: 0; color: var(--muted); font-size: .9rem; }
.elig__out { display: grid; gap: 10px; padding: 18px 20px; border-radius: 16px; }
.elig__out h3 { margin: 0; font-size: 1.15rem; }
.elig__out p { margin: 0; }
.elig__out ul { margin: 0; padding-left: 1.2em; }
.elig__out .btn { justify-self: start; }
.elig__out--ok { background: var(--ok-tint); }
.elig__out--ok h3 { color: var(--ok); }
.elig__out--nao { background: var(--urgent-tint); }
.elig__out--nao h3 { color: var(--urgent); }
.elig__out--ns { background: var(--soon-tint); }
.elig__out--ns h3 { color: var(--soon); }
.elig__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.elig__nota { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }
@media (max-width: 640px) {
  .elig__list li { grid-template-columns: minmax(0, 1fr); }
  .elig__a { width: 100%; }
  .elig__a button { flex: 1; }
}

/* Linha do tempo do aviso */
.tl2 { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: 0; margin: 18px 0 24px; padding: 0 0 6px; overflow-x: auto; }
.tl2 li { position: relative; padding: 26px 10px 0 0; }
.tl2 li::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 3px; background: var(--line-strong); }
.tl2 li:last-child::before { right: auto; width: 12px; }
.tl2 li.is-feito::before, .tl2 li.is-hoje::before { background: var(--brand); }
.tl2__dot { position: absolute; top: 2px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line-strong); }
.tl2 li.is-feito .tl2__dot { background: var(--brand); border-color: var(--brand); }
.tl2 li.is-hoje .tl2__dot { border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-tint); }
.tl2 b { display: block; color: var(--ink); font-size: .92rem; line-height: 1.3; }
.tl2 span:not(.tl2__dot) { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.tl2 li.is-hoje b { color: var(--brand-text); }
.tl2__dec span:not(.tl2__dot) { font-size: .82rem; }
@media (max-width: 640px) {
  .tl2 { grid-auto-flow: row; gap: 14px; }
  .tl2 li { padding: 0 0 0 28px; }
  .tl2 li::before { top: 16px; bottom: -14px; left: 6px; right: auto; width: 3px; height: auto; }
  .tl2 li:last-child::before { display: none; }
  .tl2__dot { top: 2px; }
}

/* Despesas: apoiadas e não apoiadas */
.despesas2--duas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.despesas2--duas > div { padding: 18px 20px; border-radius: 18px; background: var(--surface-2); }
.despesas2__t { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-weight: 700; color: var(--ink); }
.despesas2__t.is-sim .icon { color: var(--ok); }
.despesas2__t.is-nao .icon { color: var(--urgent); }
.checklist--nao .icon { color: var(--urgent); }
@media (max-width: 720px) { .despesas2--duas { grid-template-columns: minmax(0, 1fr); } }

/* Como se candidata */
.cand2--duas { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.passos2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.passos2 li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px 0; }
.passos2 li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-text); font: 800 .95rem/1 var(--font-display); }
.passos2 p { margin: 6px 0 0; color: var(--text); }
.cand2__onde { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--band-blue); font-weight: 600; color: var(--ink); }
.cand2__onde .icon { color: var(--brand-text); }
.cand2__docs { padding: 18px 20px; border-radius: 18px; background: var(--surface-2); }
.cand2__t { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.cand2__docs ul { margin: 0 0 8px; padding-left: 1.15em; color: var(--text); font-size: .95rem; }
.cand2__docs li + li { margin-top: 4px; }
@media (max-width: 820px) { .cand2--duas { grid-template-columns: minmax(0, 1fr); } }

/* Depois de aprovado */
.depois2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.depois2__b { padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); }
.depois2__t { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.depois2__t .icon { color: var(--brand-text); }
.depois2__b p:last-child { margin: 0; color: var(--text); font-size: .96rem; }

/* Fontes */
.fontes2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fontes2 a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.fontes2 a:hover { border-color: var(--brand); color: var(--brand-text); }
.fontes2 a .icon { color: var(--brand-text); flex: none; }
.fontes2__lei { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.cand2__docs .btn { white-space: normal; text-align: left; justify-content: flex-start; height: auto; }

/* ==========================================================================
   Blog v3 (lista de guias): destaque, cartões com capa, secções por tema
   ========================================================================== */
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 99px; color: var(--text); font-size: .78rem; font-weight: 500; white-space: nowrap; }
.blog-head { padding: clamp(12px, 2vw, 24px) 0 clamp(20px, 3vw, 32px); }
.blog-head h1 { margin: 0 0 12px; max-width: 20ch; font-size: clamp(2rem, 4vw, 3.1rem); }
.blog-head .lead { margin: 0 0 22px; }
.blog-search { max-width: 640px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.blog-cats a { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--text); font-size: .9rem; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.blog-cats a:hover { border-color: var(--brand); color: var(--brand-text); }
.blog-cats a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
[data-theme="dark"] .blog-cats a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.blog-feat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin: 8px 0 clamp(36px, 5vw, 56px); color: var(--ink); text-decoration: none; }
.blog-feat__txt { display: grid; gap: 12px; justify-items: start; }
.blog-feat__t { font: 800 clamp(1.6rem, 3vw, 2.3rem)/1.12 var(--font-display); letter-spacing: -.02em; }
.blog-feat__x { color: var(--muted); font-size: 1.02rem; line-height: 1.55; }
.blog-feat .cover { border-radius: 22px; aspect-ratio: 16 / 10; }
.blog-feat:hover .blog-feat__t { color: var(--brand-text); }
.blog-sec { margin: 0 0 clamp(40px, 5vw, 64px); }
.blog-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.blog-sec__head h2 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.blog-sec__head h2 a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); text-decoration: none; }
.blog-sec__head h2 a:hover { color: var(--brand-text); }
.blog-sec__all { flex: none; color: var(--brand-text); font-weight: 600; font-size: .94rem; text-decoration: none; }
.gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gcard { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.gcard .cover { border-radius: 18px; aspect-ratio: 16 / 10; transition: transform .3s; }
.gcard:hover .cover { transform: translateY(-3px); }
.gcard:hover .gcard__t { color: var(--brand-text); }
.gcard__body { display: grid; gap: 8px; justify-items: start; }
.gcard__t { font: 700 1.14rem/1.3 var(--font-display); }
.gcard__x { color: var(--muted); font-size: .94rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gcard__m { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .85rem; }
.gcard__m u { color: var(--text); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.blog-mais { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 20px 0 0; padding: 0; }
.blog-mais li { border-top: 1px solid var(--line); }
.blog-mais a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.blog-mais a:hover { color: var(--brand-text); }
.blog-mais small { flex: none; color: var(--muted); font-weight: 500; }
.blog-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 24px; align-items: center; margin: 0 0 32px; padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: var(--band-blue); }
.blog-news h2 { margin: 0 0 6px; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.blog-news p { margin: 0; color: var(--muted); }
.blog-news .alert-form .input { background: var(--surface); border-color: var(--line-strong); }
@media (max-width: 900px) {
  .blog-feat { grid-template-columns: minmax(0, 1fr); }
  .blog-feat .cover { order: -1; }
  .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-news { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .gcards { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .blog-mais { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Artigo v3: duas colunas (texto legível + serviços ao lado), índice no texto
   ========================================================================== */
.read-progress { position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 40; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .1s linear; }
.art3 { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 6vw, 80px); }
.art3__main { min-width: 0; max-width: 760px; }
.art3__head { padding: clamp(8px, 2vw, 20px) 0 22px; }
.art3__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.art3__tags a.pill { text-decoration: none; }
.art3__tags a.pill:hover { border-color: var(--brand); color: var(--brand-text); }
.art3__head h1 { margin: 0 0 14px; font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.1; }
.art3__head .lead { margin: 0 0 18px; max-width: none; font-size: clamp(1.05rem, 1.4vw, 1.16rem); color: var(--text); }
.art3__head .lead strong { color: var(--ink); }
.art3__by { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.art3__by span { display: inline-flex; align-items: center; gap: 5px; }
.art3__by a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); }
.art3__by a:hover { color: var(--brand-text); }
.art3__ia { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.art3__ia .icon { flex: none; margin-top: 2px; }
.art3__ia a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); }
.art3__share { justify-content: flex-start; margin-top: 12px; }
.art3__cover, .art3__img { width: 100%; border-radius: 22px; aspect-ratio: 16 / 8; margin: 6px 0 28px; object-fit: cover; }
.art3__cover .cover__fact { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.art3__toc { margin: 0 0 32px; padding: 20px 22px; border-radius: 18px; background: var(--band-blue); }
.art3__toc-t { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 700; color: var(--ink); }
.art3__toc-t .icon { color: var(--brand-text); }
.art3__toc ol { margin: 0; padding-left: 1.6em; display: grid; gap: 6px; }
.art3__toc li::marker { color: var(--brand-text); font-weight: 700; }
.art3__toc a { color: var(--ink); text-decoration: none; font-weight: 500; }
.art3__toc a:hover, .art3__toc a.is-active { color: var(--brand-text); }
.art3__prose { font-size: 1.07rem; line-height: 1.75; }
.art3__prose h2 { margin-top: 2em; }
.art3__side { display: grid; gap: 16px; }
.art3__box { display: grid; padding: 20px 20px 8px; border-radius: 18px; background: var(--band-blue); }
.art3__box-t { margin: 0 0 6px; font: 700 1.15rem/1.3 var(--font-display); color: var(--ink); }
.art3__box a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .94rem; text-decoration: none; }
.art3__box a:first-of-type { border-top: 0; }
.art3__box a:hover { color: var(--brand-text); }
.util { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 32px 0 0; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); }
.util > p:first-child { margin: 0; font-weight: 700; color: var(--ink); }
.util > div { display: flex; gap: 8px; }
.util .btn { min-height: 38px; padding: 6px 14px; }
.util .btn.is-on { border-color: var(--brand); color: var(--brand-text); background: var(--brand-tint); }
.util__ok { flex-basis: 100%; margin: 0; color: var(--muted); font-size: .92rem; }
.tags-row .pill { text-decoration: none; }
@media (max-width: 1020px) {
  .art3 { grid-template-columns: minmax(0, 1fr); }
  .art3__main { max-width: none; }
  .art3__side { position: static; }
}
@media (max-width: 600px) {
  .blog-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .blog-cats::-webkit-scrollbar { display: none; }
  .blog-cats a { flex: none; }
}

/* Fotografias: cartões e artigos (simples) e capas com o número por cima */
.gcard__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; background: var(--surface-2); transition: transform .3s; }
.gcard:hover .gcard__img { transform: translateY(-3px); }
.blog-feat__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; background: var(--surface-2); }
.art3__img { display: block; background: var(--surface-2); }
.cover--foto { background: #0b1a3a; }
.cover--foto .cover__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cover--foto::before { opacity: 1; background: linear-gradient(0deg, rgba(6, 14, 30, .78) 0%, rgba(6, 14, 30, .35) 45%, rgba(6, 14, 30, 0) 75%); }
.cover--foto::after { display: none; }
.cover--foto .cover__fact, .cover--foto .cover__label { position: relative; }
a:hover > .cover--foto .cover__img, a:hover .cover--foto .cover__img { transform: scale(1.04); }
@media (max-width: 900px) { .blog-feat__img { order: -1; } }
/* Dados dos cartões: palavras longas partem dentro da coluna (não invadem a seguinte) */
.inc-card__facts .fact { min-width: 0; }
.fact dd { overflow-wrap: anywhere; hyphens: auto; }

/* Banners entre secções e a meio dos guias */
.ad-entre { margin: 28px 0; }
.ad-meio { margin: 2.2em 0; }
.prose .ad-meio p, .prose .ad-meio ul { margin: 0; }
.prose .ad-meio .hb__title { margin-top: 4px; }
/* Banners dentro do texto dos guias: o estilo do texto não se aplica ao banner */
.prose .hb a.hb__cta { color: var(--hb-btn-ink); text-decoration: none; }
.prose .hb p, .prose .hb dl, .prose .hb dd { margin: 0; }
.prose .hb dl { padding: 0; }
.prose .hb .hb__facts { margin-top: 2px; }
.prose .hb img { margin: 0; border-radius: 0; }
.prose .hb li + li { margin-top: 0; }
.prose .hb .hb-steps, .prose .hb .hb-kpis { padding: 0; }
.prose .hb .hb-term ul { padding: 12px 14px 14px; }
.prose .hb li::marker { content: none; }

/* Guias: ligações aos apoios, apoios abertos no texto, pergunta rápida e chamada do autor */
.prose a.ap-link { color: var(--brand-text); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); text-underline-offset: 3px; }
.prose a.ap-link:hover { text-decoration-color: var(--brand); }
.ap-inline { margin: 2em 0; padding: 18px 20px 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); }
.ap-inline__t { display: flex; align-items: center; gap: 8px; margin: 0 0 8px !important; font: 700 1rem/1.3 var(--font-display); color: var(--ink); }
.ap-inline__t .icon { color: var(--ok); }
.prose .ap-inline a { text-decoration: none; font-weight: 400; }
.ap-inline__i { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
.ap-inline__i b { display: block; font-weight: 600; font-size: .97rem; line-height: 1.35; color: var(--ink); }
.ap-inline__i small { display: block; margin-top: 2px; color: var(--muted); font-size: .85rem; }
.ap-inline__cta { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-text); font-weight: 600; font-size: .86rem; white-space: nowrap; }
.ap-inline__i:hover b { color: var(--brand-text); }
.ap-inline__i:hover .ap-inline__cta { background: var(--brand); color: var(--on-brand); }
.prose a.ap-inline__mais { display: inline-flex; align-items: center; gap: 4px; padding-top: 8px; color: var(--brand-text); font-weight: 600; font-size: .9rem; }
.pergunta { margin: 2em 0; padding: 20px; border-radius: 18px; background: var(--band-blue); }
.pergunta__t { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.pergunta__ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface); color: var(--brand-text); }
.pergunta__t b { display: block; font: 700 1.05rem/1.3 var(--font-display); color: var(--ink); }
.pergunta__t span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.pergunta__f { display: flex; gap: 10px; align-items: flex-end; }
.pergunta__f textarea { flex: 1; min-width: 0; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font: 400 .97rem/1.4 var(--font-text); resize: vertical; }
.pergunta__f textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.pergunta__f .btn { flex: none; }
.author-card__cta { margin-top: 10px; }
@media (max-width: 560px) {
  .ap-inline__i { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pergunta__f { flex-direction: column; align-items: stretch; }
}
@media (max-width: 560px) { .pergunta__f textarea { min-height: 84px; } }

/* Página de autor (v3) */
.autor-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; padding: clamp(12px, 2vw, 24px) 0 clamp(36px, 5vw, 60px); }
.autor-hero > .byline__avatar { width: 112px; height: 112px; font-size: 2.3rem; }
.autor-hero h1 { margin: 6px 0 12px; }
.autor-hero .lead { max-width: 68ch; }
.autor-areas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.autor-areas li { padding: 6px 12px; border-radius: 99px; background: var(--brand-tint); color: var(--brand-text); font-weight: 600; font-size: .86rem; }
.autor-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 24px 0 0; }
.autor-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.autor-stats dt { color: var(--muted); font-size: .86rem; }
.autor-stats dd { margin: 0; font: 800 1.6rem/1.1 var(--font-display); color: var(--ink); }
.autor-stats .autor-stats__d { font-size: 1.15rem; padding-top: 6px; }
.autor-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.autor-tema { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 30px 0 0; }
.autor-tema .icon { color: var(--brand-text); }
.autor-falar { margin: 0 0 clamp(48px, 6vw, 80px); padding: clamp(22px, 4vw, 48px); border-radius: 28px; background: var(--band-blue); }
.autor-falar h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 12px; }
@media (max-width: 700px) {
  .autor-hero { grid-template-columns: minmax(0, 1fr); }
  .autor-hero > .byline__avatar { width: 76px; height: 76px; font-size: 1.6rem; }
  .autor-hero__cta .btn { width: 100%; justify-content: center; }
}
/* Biblioteca: cartão das regiões quando a secção tem poucos guias */
.reg-card { padding: 22px; border-radius: 18px; background: var(--band-blue); border: 1px solid var(--line); align-self: start; }
.reg-card__t { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 1.05rem var(--font-display); color: var(--ink); }
.reg-card__t .icon { color: var(--brand-text); }
.reg-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.reg-card li { border-top: 1px solid var(--line); }
.reg-card a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.reg-card a:hover { color: var(--brand-text); }

/* Guias: apoios referidos no texto, com o estado de hoje */
.ap-refs { margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.ap-refs__t { margin: 0; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.ap-refs__s { margin: 6px 0 16px; color: var(--muted); font-size: .94rem; }
.ap-refs__g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ap-ref { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ap-ref:hover { border-color: var(--brand); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.ap-ref__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ap-ref b { font-weight: 650; font-size: .98rem; line-height: 1.35; }
.ap-ref > small { color: var(--muted); font-size: .86rem; }
.ap-ref:hover b { color: var(--brand-text); }
@media (max-width: 700px) { .ap-refs__g { grid-template-columns: minmax(0, 1fr); } }

/* Ficha: no telemóvel, os dados do topo em coluna (sem separadores soltos no início das linhas) */
@media (max-width: 700px) {
  .page-head .meta-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .page-head .meta-row .sep { display: none; }
}

/* Portugal 2030: linhas para empresas, regiões e passos */
.pt-linhas { margin: 8px 0 clamp(36px, 5vw, 52px); }
.pt-linhas__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pt-linha { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pt-linha:hover { border-color: var(--brand); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.pt-linha .icon-tile { width: 36px; height: 36px; }
.pt-linha__t { font: 700 1rem/1.3 var(--font-display); }
.pt-linha__d { color: var(--muted); font-size: .86rem; line-height: 1.45; flex: 1; }
.pt-linha__n { font-size: .84rem; color: var(--muted); }
.pt-linha__n b { color: var(--ok); font-weight: 700; }
.pt-linha.is-vazia { background: var(--surface-2); }
.pt-linha.is-vazia .pt-linha__t { color: var(--muted); }
.pt-regioes { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--band-blue); }
.pt-regioes__t { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 700; color: var(--ink); }
.pt-regioes__t .icon { color: var(--brand-text); }
.pt-regioes > div { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-regioes a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.pt-regioes a b { color: var(--brand-text); }
.pt-regioes a:hover { border-color: var(--brand); }
.pt-sub { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; font-size: 1.1rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.pt-sub .icon-tile { width: 32px; height: 32px; }
.pt-passos .passos-ajuda { margin-top: 6px; }
.pt-passos__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 1100px) { .pt-linhas__g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pt-linhas__g { grid-template-columns: minmax(0, 1fr); } }

/* Página inicial: as linhas mais procuradas (Portugal 2030 e MICROINVEST) */
.focos__g { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.foco { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 32px); border-radius: 24px; }
.foco--pt { background: var(--band-blue); }
.foco--mi { background: var(--band-cream); }
.foco__k { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--brand-text); font-weight: 700; font-size: .9rem; }
.foco h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.foco h3 a { color: var(--ink); text-decoration: none; }
.foco h3 a:hover { color: var(--brand-text); }
.foco__x { margin: 0; color: var(--muted); line-height: 1.55; }
.foco__linhas { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.foco__linhas a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; height: 100%; }
.foco__linhas a:hover { border-color: var(--brand); }
.foco__linhas .icon-tile { width: 32px; height: 32px; flex: none; }
.foco__ln { flex: 1; min-width: 0; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.foco__n { flex: none; text-align: right; font-size: .82rem; color: var(--muted); line-height: 1.2; }
.foco__n b { color: var(--ok); font-size: 1rem; }
.foco__n small { display: block; font-size: .76rem; }
.foco__dl { display: grid; gap: 10px; margin: 4px 0 6px; }
.foco__dl div { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.foco__dl dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.foco__dl dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }
.foco__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.foco--pt > .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 900px) { .focos__g { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .foco__linhas { grid-template-columns: minmax(0, 1fr); } .foco__cta .btn, .foco--pt > .btn { width: 100%; justify-content: center; } }

/* Temas: ficha em destaque (ex.: MICROINVEST em Criar empresa) */
.fdest { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; margin: 8px 0 clamp(28px, 4vw, 40px); padding: clamp(20px, 3vw, 28px); border-radius: 22px; background: var(--band-cream); border: 1px solid var(--line); }
.fdest__k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--brand-text); font-weight: 700; font-size: .88rem; }
.fdest__t { margin: 0 0 10px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.25; }
.fdest__t a { color: var(--ink); text-decoration: none; }
.fdest__t a:hover { color: var(--brand-text); }
.fdest__x { margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
.fdest__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.fdest__dl { display: grid; gap: 10px; margin: 0; align-content: start; }
.fdest__dl div { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.fdest__dl dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.fdest__dl dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); line-height: 1.4; }
@media (max-width: 900px) { .fdest { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .fdest__cta .btn { width: 100%; justify-content: center; } }

.pt-sub a { color: var(--ink); text-decoration: none; }
.pt-sub a:hover { color: var(--brand-text); }
.pt-fontes { color: var(--muted); font-size: .9rem; }

/* Páginas práticas dos temas: bloco do parceiro (publicidade), notas, simuladores, fontes, cartões no tema */
.hb--conteudo .hb__body { padding: 30px 30px 28px; }
.hb__pontos { list-style: none; margin: 2px 0 6px; padding: 0; display: grid; gap: 8px; }
.hb__pontos li { display: flex; gap: 10px; align-items: flex-start; color: var(--hb-ink); font-size: .95rem; line-height: 1.45; }
.hb__pontos .icon { flex: none; margin-top: 3px; color: var(--hb-accent); }
.prose .hb p, .prose .hb ul { margin: 0; }
.prose .hb__pontos { margin: 2px 0 6px; padding: 0; }
.prose .hb__pontos li::marker { content: none; }
.prose .hb a.hb__cta { color: var(--hb-btn-ink); text-decoration: none; }
.tp-parc { margin: 2em 0; }
.tp-nota { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--band-blue); color: var(--ink); font-size: .95rem; }
.tp-nota .icon { flex: none; margin-top: 3px; color: var(--brand-text); }
.tp-sims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tp-sims .side-sim { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tp-fontes { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 32px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.tp-fontes .icon { flex: none; margin-top: 3px; color: var(--ok); }
.tp-head .meta-row .tag { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.tpags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 clamp(26px, 4vw, 36px); }
.tpag { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tpag:hover { border-color: var(--brand); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.tpag > span:nth-child(2) { flex: 1; min-width: 0; }
.tpag b { display: block; font-weight: 700; line-height: 1.3; }
.tpag small { display: block; margin-top: 3px; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.tpag > .icon { flex: none; color: var(--brand-text); }
@media (max-width: 700px) { .tpags, .tp-sims { grid-template-columns: minmax(0, 1fr); } .hb--conteudo .hb__body { padding: 40px 20px 22px; } }
.tp .tp-prose { margin-bottom: clamp(28px, 4vw, 40px); }
.tp .tp-prose > :last-child { margin-bottom: 0; }
.pt-regioes__sub { margin: 12px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.pt-regioes__sub a { color: var(--brand-text); font-weight: 600; }

/* Revisão de 29/11: linhas da página inicial sem sobreposições (colunas conforme a largura); botão do autor dentro do cartão */
.foco__linhas { grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.foco__ln { overflow-wrap: anywhere; }
.author-card__cta { white-space: normal; text-align: left; max-width: 100%; height: auto; }
.author-card > div { min-width: 0; }

/* Logótipo «Aprovado» (29/11/2026) */
.logo .marca { flex: none; display: block; filter: drop-shadow(0 6px 10px rgba(36, 83, 232, .22)); transition: transform .25s; }
.logo:hover .marca { transform: translateY(-1px) rotate(-3deg); }
.logo__w { white-space: nowrap; }
.logo__w b { font-weight: 900; color: var(--ink); }
.logo__i { background: linear-gradient(100deg, #339FD6, #2453E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] .logo__w b { color: #fff; }
[data-theme="dark"] .logo__i { background-image: linear-gradient(100deg, #7cc8f0, #a9bbff); }
@media (max-width: 380px) { .logo { gap: 8px; font-size: 1.18rem; } .logo .marca { width: 30px; height: 30px; } }
@media (forced-colors: active) { .logo__i { color: LinkText; background: none; } }
.avatar--marca { background: transparent !important; padding: 0; overflow: hidden; }
.avatar--marca .marca { width: 100%; height: 100%; display: block; }

/* Bloco do parceiro: números e testemunho */
.hb--conteudo .hb__facts { margin: 4px 0 2px; }
.hb__quote { margin: 4px 0 6px; padding: 12px 14px; border-left: 3px solid var(--hb-accent); border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, .06); }
.ad-dailyshot .hb__quote { background: rgba(0, 0, 0, .03); }
.hb__quote blockquote { margin: 0; font: italic 500 .98rem/1.5 var(--hb-em); color: var(--hb-ink); }
.hb__quote figcaption { margin-top: 6px; font-size: .82rem; color: var(--hb-text); }
.prose .hb__quote blockquote { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--hb-ink); font: italic 500 .98rem/1.5 var(--hb-em); }
.prose .hb__quote blockquote::before, .prose .hb__quote blockquote::after { content: none; }
.prose .hb__quote figcaption { color: var(--hb-text); }

/* Formulário de pedido: quem analisa e números da Macro */
.lead-form__prova { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.lead-form__prova p { margin: 0; font-size: .84rem; color: var(--muted); }
.lead-form__prova b { color: var(--ink); font-weight: 700; }
.lead-form__prova dl { display: flex; gap: 6px 20px; margin: 0; flex-wrap: wrap; }
.lead-form__prova dt { font: 800 1.02rem/1.1 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.lead-form__prova dd { margin: 2px 0 0; font: 500 .62rem/1.3 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.lead-form.is-sent .lead-form__prova { display: none; }
/* Pedir ajuda: testemunhos */
.help__quotes { margin-top: 28px; display: grid; gap: 14px; }
.help__quotes figure { margin: 0; padding: 14px 16px; border-left: 3px solid var(--brand); border-radius: 0 12px 12px 0; background: var(--surface-2); }
.help__quotes blockquote { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--ink); font-style: italic; }
.help__quotes figcaption { margin-top: 6px; font-size: .84rem; color: var(--muted); }
.help__quotes-src { margin: 0; font-size: .78rem; color: var(--muted); }

/* Ficha impressa ou guardada em PDF */
@media print {
  body:has(.ficha__side) .ficha { display: block; padding-bottom: 0; }
  body:has(.ficha__side) .ficha__side { position: static; display: block; margin-top: 24px; }
  body:has(.ficha__side) .ficha__side > :not(.keyfacts), .keyfacts__foot .btn, .keyfacts__foot .share-mini,
  .inpage, .hb, #pedir-ajuda, .elig, #guias-apoio, #relacionados, .sticky-cta, .inline-cta, .lead-form, .notice__acts { display: none !important; }
  .keyfacts { break-inside: avoid; border: 1px solid #ccc; box-shadow: none; }
  .ficha-h2 { break-after: avoid; }
  .ficha article a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; word-break: break-all; }
  body:has(.ficha__side) main::after { content: "PME Incentivos · pmeincentivos.pt · confirme sempre as condições no aviso oficial"; display: block; margin-top: 24px; font-size: .8rem; color: #555; }
}

/* Atalhos «o que quer comprar» */
.compras { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; max-width: 1000px; margin: clamp(20px, 2.6vw, 28px) auto 0; }
.compras__t { width: 100%; text-align: center; font: 600 .7rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.compras a { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; transition: border-color .2s, color .2s; }
.compras a:hover { border-color: var(--brand); color: var(--brand-text); }

/* Programa de parceiros: 4 passos */
.passos-ajuda--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .passos-ajuda--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .passos-ajuda--4 { grid-template-columns: minmax(0, 1fr); } }

/* Próximos avisos: linhas do plano sem ficha (sem ligação) */
.cal-row--plano:hover { background: none; }
.cal-row--plano:hover .cal-row__title { color: var(--ink); }
.tag--muted { background: transparent; border: 1px solid var(--line); }

/* Casos de sucesso */
.caso-destaque { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 4px 0 28px; padding: 18px 20px; border-radius: var(--radius-l); background: var(--brand-tint); }
.caso-destaque b { font: 800 clamp(1.8rem, 3.4vw, 2.4rem)/1 var(--font-display); letter-spacing: -.02em; color: var(--brand-text); }
.caso-destaque span { color: var(--ink); font-weight: 600; }
.caso-card__valor { margin: 0 0 6px; color: var(--ink); font-size: .92rem; }
.caso-card__valor b { font: 800 1.2rem/1 var(--font-display); color: var(--brand-text); }

/* Teste «Vou criar uma empresa» */
.criar { padding: clamp(20px, 3vw, 32px); display: grid; gap: clamp(26px, 3.5vw, 36px); margin-top: clamp(20px, 3vw, 32px); }
.criar .diag__q legend { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin-bottom: 12px; }
.criar .btn { justify-self: start; }
.criar-res { margin-top: clamp(28px, 4vw, 44px); scroll-margin-top: calc(var(--header-h, 64px) + 16px); }
.criar-res__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 4px 0 6px; }
.criar-lista { display: grid; gap: 10px; }
.criar-item { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s; }
.criar-item:hover { border-color: var(--brand); }
.criar-item__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.criar-item__top b { color: var(--ink); font-size: 1.02rem; }
.criar-item__q, .criar-item__p { font-size: .94rem; line-height: 1.5; }
.criar-item__q strong, .criar-item__p strong { color: var(--ink); }
.criar-email { margin-top: 22px; padding: 18px 20px; display: grid; gap: 10px; background: var(--brand-tint); border-color: transparent; }
.criar-email p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.criar-email__f { display: flex; gap: 8px; flex-wrap: wrap; }
.criar-email__f .input { flex: 1 1 240px; }
.criar-res .results-group { margin-top: 26px; }

/* Teste «Pronta para candidatar?» */
.criar__n { color: var(--brand-text); margin-right: 2px; }
.pronto-veredicto { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: clamp(18px, 3vw, 26px); border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.pronto-veredicto h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 4px 0 6px; }
.pronto-veredicto p { margin: 0; }
.pronto-veredicto--sim { border-color: var(--ok); }
.pronto-veredicto--quase { border-color: #d97706; }
.pronto-veredicto--nao { border-color: #dc2626; }
.pronto-score { text-align: center; min-width: 110px; }
.pronto-score b { display: block; font: 800 2.6rem/1 var(--font-display); color: var(--ink); }
.pronto-score b small { font-size: 1.2rem; color: var(--muted); font-weight: 700; }
.pronto-score span { font-size: .82rem; color: var(--muted); }
.pronto-item { cursor: default; }
.pronto-item:hover { border-color: var(--line); }
.pronto-item--bloqueia { border-left: 4px solid #dc2626; }
.pronto-item--tratar { border-left: 4px solid #d97706; }
.pronto-item--ok { border-left: 4px solid var(--ok); }
.pronto-item .criar-item__top b { display: inline-flex; align-items: center; gap: 8px; }
.pronto-item .mono { font-size: .78rem; color: var(--muted); }
.mini-radar__links { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; }
