/* ---------- Fonte (alojada localmente) ---------- */
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-800-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--petrol: #1F4E63;
	--petrol-900: #163a4a;
	--teal: #1B8EA6;
	--teal-700: #167A8F;
	--teal-050: #E8F4F6;
	--orange: #EF7F1A;
	--orange-600: #B35407;
	--yellow: #F6B629;
	--yellow-100: #FDF0CF;
	--ink: #1E2A32;
	--ink-soft: #4A5A64;
	--line: #E3E0DA;
	--sand: #FBF7F1;
	--white: #fff;
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(30, 42, 50, .06), 0 8px 24px rgba(30, 42, 50, .07);
	--container: 1180px;
	--font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-underline-offset: .18em; }
a:hover { color: var(--petrol); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--petrol); font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3, .h3 { font-size: 1.3rem; }
.h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--petrol); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.icon { flex: none; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.35em; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--petrol-900); color: #fff; }
.btn-accent { background: var(--orange); color: var(--ink); }
.btn-accent:hover { background: var(--yellow); color: var(--ink); }
.btn-outline { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-outline:hover { background: var(--petrol); color: #fff; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--petrol); }
.btn-light:hover { background: var(--yellow); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--petrol); color: #fff; }
.btn-sm { padding: .55em 1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--petrol); }
.link-arrow .icon { width: 1.1em; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { font-family: Arial, "Liberation Sans", Helvetica, sans-serif; font-weight: 400; font-size: 1.7rem; letter-spacing: .04em; color: var(--ink); line-height: 1; }
.brand-mark { width: 64px; height: auto; }
.custom-logo { max-height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav .menu { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav .menu a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav .menu a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current-menu-ancestor > a { color: var(--petrol); border-bottom-color: var(--orange); }
.main-nav .sub-menu { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--petrol); cursor: pointer; }
.nav-toggle-close { display: none; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.main-nav { position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 32px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; visibility: hidden; }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open .nav-toggle-open { display: none; }
	.nav-open .nav-toggle-close { display: inline; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { display: block; font-size: 1.2rem; padding: 16px 0; border-bottom: 1px solid var(--line); }
	.nav-cta { margin-top: 24px; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--sand), #fff); padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--orange-600); margin-bottom: .8em; }
.eyebrow-light { color: var(--yellow); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media img { position: relative; z-index: 1; border-radius: 28px 28px 28px 120px; aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.blob { position: absolute; border-radius: 50%; z-index: 0; }
.blob-yellow { width: 180px; height: 180px; background: var(--yellow); right: -40px; top: -36px; }
.blob-orange { width: 90px; height: 90px; background: var(--orange); left: -26px; bottom: 24px; z-index: 2; border-radius: 22px 50% 50% 50%; }
@media (max-width: 860px) {
	.hero { padding-top: 32px; }
	.hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.blob-yellow { width: 120px; height: 120px; right: -20px; }
}

/* ---------- Números ---------- */
.stats { background: var(--petrol); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
.stat { padding: 30px 20px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat:first-child { border-left: 0; }
.stat-num { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; color: var(--yellow); }
.stat-label { display: block; margin-top: 8px; font-size: .95rem; color: rgba(255, 255, 255, .85); }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; grid-auto-flow: row; } .stat:nth-child(odd) { border-left: 0; } .stat:nth-child(odd):last-child { grid-column: 1 / -1; } .stat { border-top: 1px solid rgba(255, 255, 255, .14); } }

/* ---------- Secções ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-first { padding-top: 48px; }
.section-sand { background: var(--sand); }
.section-petrol { background: var(--petrol); color: #fff; }
.section-petrol h2 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: .2em; }
.section-lead { color: var(--ink-soft); max-width: 36em; margin: .4em 0 0; }
@media (max-width: 700px) { .section { padding: 56px 0; } }

/* ---------- Grelhas e cartões ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--teal-050); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body > :last-child { margin-top: auto; }
.card-title { font-size: 1.2rem; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--teal-700); }
.tag { position: absolute; left: 14px; top: 14px; font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.tag-live { background: var(--yellow); color: var(--ink); }
.tag-done { background: rgba(255, 255, 255, .92); color: var(--ink-soft); }
.service-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--teal-050); color: var(--teal); margin-bottom: 16px; }
.grid .service-card:nth-child(3n+2) .service-icon { background: var(--yellow-100); color: var(--orange-600); }
.grid .service-card:nth-child(3n+3) .service-icon { background: #FDE6D2; color: var(--orange-600); }
.service-icon .icon { width: 26px; height: 26px; }

/* Progresso */
.progress { height: 10px; background: var(--teal-050); border-radius: 999px; overflow: hidden; margin: 6px 0 8px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--yellow)); border-radius: inherit; }
.progress-lg { height: 14px; }
.progress-meta { font-size: .92rem; color: var(--ink-soft); }
.progress-meta strong { color: var(--petrol); }

/* ---------- Mosaico de espaços ---------- */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.mosaic figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .94); color: var(--petrol); font-weight: 700; font-size: .88rem; padding: 6px 12px; border-radius: 999px; }
.mosaic-a { grid-row: span 2; }
.mosaic-d { grid-column: span 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; } .mosaic-a { grid-row: auto; grid-column: span 2; } .mosaic-d { grid-column: span 2; } }

/* ---------- Transparência (faixa) ---------- */
.transparency-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.transparency-band p { color: rgba(255, 255, 255, .86); max-width: 34em; }
.transparency-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.doc-chip { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff; padding: 14px 18px; border-radius: 14px; text-decoration: none; width: 100%; }
.doc-chip:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.doc-chip span { flex: 1; font-weight: 600; }
.doc-chip small { display: block; color: var(--yellow); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 760px) { .transparency-band { grid-template-columns: 1fr; } }

/* ---------- Parceiros ---------- */
.partners-section { overflow: hidden; }
.partners-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.partners-head .eyebrow { margin: 0; }
.partners-head h2 { margin: 0; color: var(--ink-soft); font-weight: 600; font-size: 1.05rem; }
.partners-marquee { display: flex; width: max-content; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.partners-track { list-style: none; margin: 0; padding: 0 28px 0 0; display: flex; align-items: center; gap: 56px; animation: partners-scroll 70s linear infinite; }
.partners-marquee:hover .partners-track, .partners-marquee:focus-within .partners-track { animation-play-state: paused; }
@keyframes partners-scroll { to { transform: translateX(-100%); } }
.partners-track li { flex: none; }
.partners-track a, .partners-track .partner { display: flex; align-items: center; justify-content: center; height: 56px; text-decoration: none; }
.partners-track img { display: block; max-width: none; transition: transform .2s; }
.partners-track a:hover img, .partners-track a:focus-visible img { transform: scale(1.08); }
.partner-name { font-size: .85rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
	.partners-marquee { width: auto; -webkit-mask-image: none; mask-image: none; }
	.partners-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 24px 40px; padding: 0 20px; }
	.partners-track[aria-hidden="true"] { display: none; }
}

/* ---------- CTA ---------- */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-card { border-radius: 24px; padding: 40px; }
.cta-card h2 { font-size: 1.7rem; }
.cta-yellow { background: var(--yellow); }
.cta-yellow h2 { color: var(--ink); }
.cta-yellow .eyebrow { color: var(--ink); }
.cta-teal { background: var(--teal-700); color: #fff; }
.cta-teal h2 { color: #fff; }
@media (max-width: 760px) { .cta-split { grid-template-columns: 1fr; } .cta-card { padding: 28px; } }

/* ---------- Cabeçalho de página ---------- */
.page-header { position: relative; background: var(--sand); padding: 64px 0 56px; overflow: hidden; }
.page-header h1 { max-width: 18em; }
.page-header .lead { margin-bottom: 0; }
.page-header-shapes { position: absolute; right: -30px; top: 50%; transform: translateY(-50%); width: 260px; height: 200px; pointer-events: none; }
.page-header-shapes i { position: absolute; display: block; }
.page-header-shapes i:nth-child(1) { width: 160px; height: 70px; background: var(--teal); right: 60px; top: 10px; border-radius: 8px 60px; transform: skewX(-18deg); opacity: .9; }
.page-header-shapes i:nth-child(2) { width: 110px; height: 110px; background: var(--yellow); right: 90px; top: 60px; border-radius: 50% 12px 50% 50%; }
.page-header-shapes i:nth-child(3) { width: 100px; height: 60px; background: var(--orange); right: 0; top: 20px; border-radius: 8px 40px; transform: skewX(-18deg); }
@media (max-width: 860px) { .page-header-shapes { display: none; } .page-header { padding: 40px 0; } }

/* ---------- Conteúdo editorial ---------- */
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { margin-top: 1.6em; font-size: 1.55rem; }
.entry-content ul { padding-left: 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--orange); }
.entry-content img { border-radius: var(--radius-sm); }
.single-media { margin-bottom: 32px; }
.single-media img { border-radius: var(--radius); }

/* ---------- Serviços (página) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 40px; }
.chips a { padding: 8px 16px; border-radius: 999px; background: var(--teal-050); color: var(--petrol); font-weight: 600; font-size: .92rem; text-decoration: none; }
.chips a:hover { background: var(--petrol); color: #fff; }
.service-list { display: grid; gap: 28px; }
.service-card--detail { display: grid; grid-template-columns: 380px 1fr; scroll-margin-top: 100px; }
.service-card--detail .card-media { aspect-ratio: auto; min-height: 100%; }
.service-card--detail .card-body { padding: 32px; }
.service-card--detail .card-body > :last-child { margin-top: 20px; align-self: flex-start; }
.service-card--detail:nth-child(even) { grid-template-columns: 1fr 380px; }
.service-card--detail:nth-child(even) .card-media { order: 2; }
@media (max-width: 860px) { .service-card--detail, .service-card--detail:nth-child(even) { grid-template-columns: 1fr; } .service-card--detail:nth-child(even) .card-media { order: 0; } .service-card--detail .card-media { aspect-ratio: 16 / 9; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.facts-stack { grid-template-columns: 1fr; border-top: 0; padding-top: 0; }
.facts-inline { border-top: 0; padding-top: 0; }

/* ---------- Projeto individual ---------- */
.project-hero { background: var(--sand); padding: 40px 0 56px; }
.project-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.project-hero-media img { border-radius: 24px 24px 24px 90px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.back { display: inline-block; margin-bottom: 18px; font-weight: 600; text-decoration: none; }
.project-layout { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.sponsor-card { position: sticky; top: 100px; background: #fff; border: 2px solid var(--yellow); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.sponsor-card h2 { display: flex; align-items: center; gap: 8px; }
.sponsor-card h2 .icon { color: var(--orange); }
.sponsor-card .btn-block + .btn-block, .sponsor-card .donate-box + .btn-block { margin-top: 14px; }
.or { text-align: center; color: var(--ink-soft); font-size: .88rem; margin: 14px 0; }
.needs { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.sponsor-card .donate-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.sponsor-card .donate-label { grid-column: 1 / -1; width: auto; }
.needs li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--sand); border-radius: 12px; margin: 0; }
.needs strong { flex: none; min-width: 72px; font-size: 1.15rem; color: var(--orange-600); }
@media (max-width: 960px) { .project-hero-grid, .project-layout { grid-template-columns: 1fr; } .sponsor-card { position: static; } }

/* ---------- Donativo ---------- */
.donate-box { background: var(--teal-050); border-radius: 16px; padding: 8px 18px; }
.donate-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(31, 78, 99, .12); flex-wrap: wrap; }
.donate-label { width: 88px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.donate-value { flex: 1; min-width: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .95rem; color: var(--petrol); font-weight: 600; word-break: break-word; background: none; }
span.donate-value { font-family: inherit; }
.copy-btn { display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(31, 78, 99, .25); background: #fff; color: var(--petrol); border-radius: 8px; padding: 5px 10px; font: 600 .8rem var(--font); cursor: pointer; }
.copy-btn .icon { width: 15px; height: 15px; }
.copy-btn.is-copied { background: var(--petrol); color: #fff; }
.donate-note { font-size: .86rem; color: var(--ink-soft); margin: 12px 0 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }

/* Formas de apoiar */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.ways a { display: flex; flex-direction: column; gap: 4px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ways a:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.ways .icon { color: var(--orange); width: 28px; height: 28px; margin-bottom: 8px; }
.ways strong { color: var(--petrol); }
.ways span { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ways { grid-template-columns: 1fr; } }

.irs-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--yellow-100); border-radius: 22px; padding: 32px; flex-wrap: wrap; }
.irs-nif { display: flex; align-items: center; gap: 12px; background: #fff; padding: 14px 18px; border-radius: 14px; }
.irs-nif strong { font-size: 1.4rem; color: var(--petrol); letter-spacing: .04em; }

/* ---------- Transparência (página) ---------- */
.transparency-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.side-card { background: var(--sand); border-radius: 20px; padding: 26px; position: sticky; top: 100px; }
.side-card h2 { display: flex; gap: 8px; align-items: center; }
.side-card h2 .icon { color: var(--teal); }
.year-block { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; background: #fff; }
.year-block summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 800; font-size: 1.25rem; color: var(--petrol); }
.year-block summary::-webkit-details-marker { display: none; }
.year-block summary::after { content: "+"; font-size: 1.4rem; color: var(--orange); margin-left: 12px; }
.year-block[open] summary::after { content: "–"; }
.year-block summary small { margin-left: auto; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.doc-list { list-style: none; margin: 0; padding: 0 22px 10px; }
.doc-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.doc-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--teal-050); color: var(--teal); flex: none; }
.doc-info { flex: 1; min-width: 0; }
.doc-info strong { display: block; }
.doc-info small { color: var(--ink-soft); }
@media (max-width: 860px) { .transparency-layout { grid-template-columns: 1fr; } .side-card { position: static; } }

/* ---------- Contactos ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon { color: var(--teal); margin-top: 2px; }
.contact-photo { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.form-card { background: var(--sand); border-radius: 24px; padding: 34px; scroll-margin-top: 100px; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } .form-card { padding: 24px; } }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .contact-form .field-row { grid-template-columns: 1fr; gap: 0; } }
.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #D5D0C8; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid rgba(27, 142, 166, .2); }
.field.check { display: flex; gap: 10px; align-items: flex-start; }
.field.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--petrol); }
.field.check label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.notice-ok { background: #E3F4EA; color: #1C5E36; }
.notice-error { background: #FDE8E4; color: #8A2414; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 64px 0 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .brand-text { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1.2fr; gap: 40px; }
.footer-about p { margin-top: 14px; }
.footer-title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-list, .footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list li { display: flex; gap: 10px; }
.footer-list .icon { width: 18px; height: 18px; color: var(--yellow); margin-top: 3px; }
.site-footer .muted { color: rgba(255, 255, 255, .6); margin-bottom: 2px; }
.iban { font-family: ui-monospace, Menlo, Consolas, monospace; color: #fff; font-size: .82rem; white-space: nowrap; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--yellow); color: var(--ink); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Paginação */
.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; }
.page-numbers.current { background: var(--petrol); color: #fff; border-color: var(--petrol); }

/* Cores do editor */
.has-petrol-color { color: var(--petrol); } .has-petrol-background-color { background-color: var(--petrol); }
.has-teal-color { color: var(--teal); } .has-teal-background-color { background-color: var(--teal); }
.has-orange-color { color: var(--orange); } .has-orange-background-color { background-color: var(--orange); }
.has-yellow-color { color: var(--yellow); } .has-yellow-background-color { background-color: var(--yellow); }
.has-sand-color { color: var(--sand); } .has-sand-background-color { background-color: var(--sand); }
.has-ink-color { color: var(--ink); } .has-ink-background-color { background-color: var(--ink); }

/* Órgãos sociais */
#orgaos-sociais { scroll-margin-top: 80px; }
.orgao { border-top: 4px solid var(--teal); }
.orgaos .orgao:nth-child(2) { border-top-color: var(--yellow); }
.orgaos .orgao:nth-child(3) { border-top-color: var(--orange); }
.orgao:hover { transform: none; box-shadow: none; }
.orgao ul { list-style: none; margin: 0; padding: 0; }
.orgao li { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--line); }
.orgao li:first-child { border-top: 0; padding-top: 4px; }
.orgao li span { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--ink-soft); }
.orgao li strong { font-weight: 600; color: var(--ink); }
.orgao .card-body > :last-child { margin-top: 0; }

/* Equipa */
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 32px 24px; }
.member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.member img, .member-initials { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--yellow); }
.member:nth-child(3n+2) img, .member:nth-child(3n+2) .member-initials { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--teal); }
.member:nth-child(3n+3) img, .member:nth-child(3n+3) .member-initials { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--orange); }
.member-initials { display: grid; place-items: center; background: var(--teal-050); color: var(--petrol); font-size: 3rem; font-weight: 800; }
.member strong { color: var(--petrol); font-size: 1.05rem; }
.member span { font-size: .9rem; color: var(--ink-soft); line-height: 1.4; }

/* Sobre nós: menos espaço entre o texto e a equipa */
.about-intro { padding-bottom: 24px; }
.about-team { padding-top: 32px; }
.about-intro .entry-content > :last-child { margin-bottom: 0; }

/* Texto justificado (com hifenização em português para evitar espaços largos) */
.entry-content p, .entry-content li, .lead, .section-lead, .card-body p, .cta-card p, .transparency-band p, .two-col p, .irs-card p, .donate-note, .needs span {
	text-align: justify;
	-webkit-hyphens: auto;
	hyphens: auto;
	hyphenate-limit-chars: 6 3 3;
}
.hero .lead { text-align: left; }
.member span, .stat-label, .partners-head h2, .footer-about p { text-align: inherit; }

/* Sobre nós: duas colunas (texto + ficha da associação) */
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.about-aside { position: sticky; top: 100px; background: var(--sand); border-radius: 22px; overflow: hidden; }
.about-aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-aside-body { padding: 22px 24px 26px; }
.about-aside .facts { margin-top: 0; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.about-stats strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--petrol); line-height: 1.1; }
.about-stats span { font-size: .82rem; color: var(--ink-soft); line-height: 1.3; display: block; }
@media (max-width: 960px) { .about-layout { grid-template-columns: 1fr; gap: 36px; } .about-aside { position: static; } }

.about-stats > div:nth-child(odd):last-child { grid-column: 1 / -1; }
