/* ==========================================================
   Kat6a — folha de estilos principal
   Mobile-first. Cores e fontes da identidade da associação.
   ========================================================== */

:root {
	--teal: #56AAAA;
	--teal-d: #357f7f;
	--lime: #B8C649;
	--lime-d: #6f7c15;
	--pink: #EA69A0;
	--pink-d: #c2417c;
	--orange: #ED7338;
	--orange-d: #c2551c;
	--green: #3A7A3A;
	--navy: #001530;
	--ink: #223043;
	--muted: #607086;
	--bg: #fbfcfd;
	--warm: #f6f4ef;
	--tint: #f1f7f7;
	--card: #fff;
	--border: rgba(0, 21, 48, .09);
	--r-xl: 28px;
	--r-lg: 20px;
	--r-md: 14px;
	--shadow: 0 14px 34px rgba(0, 21, 48, .09);
	--shadow-lg: 0 24px 56px rgba(0, 21, 48, .16);
	--ease: cubic-bezier(.22, .8, .3, 1);
	--font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-hand: "Delicious Handrawn", "Roboto", cursive;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); text-underline-offset: 3px; }
a:hover { color: var(--pink-d); }
h1, h2, h3, h4 { font-family: var(--font-hand); line-height: 1.12; margin: 0 0 .5em; color: var(--navy); font-weight: 400; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(900px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.strong { font-weight: 700; color: var(--navy); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 8px; color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.6em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 21, 48, .16); }
.btn:active { transform: translateY(-1px); }
.btn-primary { background: var(--teal-d); color: #fff; }
.btn-primary:hover { background: #2b6b6b; color: #fff; }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: #c8d65c; color: var(--navy); }
.btn-pink { background: var(--pink-d); color: #fff; }
.btn-pink:hover { background: #a8336a; color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #fff7f0; color: var(--orange-d); }
.btn-ghost { background: transparent; color: var(--teal-d); border-color: var(--teal-d); }
.btn-ghost:hover { background: var(--teal-d); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2em; }
.btn-row.center { justify-content: center; }

/* ---------- Cabeçalho ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .35s, border-color .35s, background .35s; }
.site-header::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--teal) 0 25%, var(--lime) 25% 50%, var(--pink) 50% 75%, var(--orange) 75% 100%); }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 10px 30px rgba(0, 21, 48, .09); }
/* O desfocado só no computador: no telemóvel prenderia o menu de ecrã inteiro ao cabeçalho. */
@media (min-width: 1040px) {
	.site-header { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); }
	.site-header.is-scrolled { background: rgba(255, 255, 255, .96); }
}

/* Barra de cima: contactos e redes sociais */
.topbar { display: none; background: var(--navy); color: rgba(255, 255, 255, .86); font-size: .86rem; max-height: 44px; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s; }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-contact { display: flex; gap: 22px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.topbar-contact a:hover { color: var(--lime); }
.topbar-contact svg { width: 15px; height: 15px; color: var(--lime); }
.social-top { gap: 6px; }
.social-top a { width: 30px; height: 30px; background: rgba(255, 255, 255, .1); }
.social-top svg { width: 15px; height: 15px; }
@media (min-width: 1040px) { .topbar { display: block; } }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); transition: min-height .35s var(--ease); }
.site-header.is-scrolled .header-inner { min-height: 64px; }
.brand { position: relative; z-index: 2; }
.brand img { width: 132px; height: auto; transition: width .35s var(--ease), transform .3s var(--ease); }
.site-header.is-scrolled .brand img { width: 108px; }
.brand:hover img { transform: rotate(-3deg) scale(1.05); }

/* Botão do menu (telemóvel) */
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 50px; height: 50px; padding: 0 13px; border: 0; border-radius: 16px; background: linear-gradient(135deg, var(--teal-d), #3e9a9a); cursor: pointer; box-shadow: 0 8px 18px rgba(53, 127, 127, .35); position: relative; z-index: 2; }
.nav-toggle-bar { display: block; height: 3px; border-radius: 3px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menu em ecrã inteiro (telemóvel) */
.site-nav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: calc(var(--header-h) + 36px) 28px 32px; background: linear-gradient(160deg, #fff 0%, #f1f7f7 55%, #fdeef5 100%); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; overflow-y: auto; }
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-list { list-style: none; padding: 0; display: grid; gap: 4px; counter-reset: nav; }
.nav-list li { counter-increment: nav; }
.nav-list a { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 6px 4px; font-family: var(--font-hand); font-size: 1.9rem; line-height: 1.1; color: var(--navy); text-decoration: none; border-bottom: 1px dashed var(--border); }
.nav-list a::before { content: counter(nav, decimal-leading-zero); font-family: var(--font); font-size: .78rem; font-weight: 700; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; flex: none; }
.nav-list li:nth-child(4n+2) a::before { background: var(--lime-d); }
.nav-list li:nth-child(4n+3) a::before { background: var(--pink); }
.nav-list li:nth-child(4n+4) a::before { background: var(--orange); }
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list .current_page_item > a { color: var(--teal-d); }
.nav-list .menu-cta a { color: var(--pink-d); }
.nav-extra { display: grid; gap: 14px; justify-items: start; color: var(--muted); font-size: .95rem; }
.nav-extra p { margin: 0; }
.nav-extra a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-extra .social a { background: var(--navy); }
body.nav-open { overflow: hidden; }
html.js .site-nav .nav-list li, html.js .site-nav .nav-extra { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
html.js .site-nav.is-open .nav-list li, html.js .site-nav.is-open .nav-extra { opacity: 1; transform: none; }
html.js .site-nav.is-open .nav-list li:nth-child(1) { transition-delay: .05s; }
html.js .site-nav.is-open .nav-list li:nth-child(2) { transition-delay: .09s; }
html.js .site-nav.is-open .nav-list li:nth-child(3) { transition-delay: .13s; }
html.js .site-nav.is-open .nav-list li:nth-child(4) { transition-delay: .17s; }
html.js .site-nav.is-open .nav-list li:nth-child(5) { transition-delay: .21s; }
html.js .site-nav.is-open .nav-list li:nth-child(6) { transition-delay: .25s; }
html.js .site-nav.is-open .nav-list li:nth-child(7) { transition-delay: .29s; }
html.js .site-nav.is-open .nav-list li:nth-child(8) { transition-delay: .33s; }
html.js .site-nav.is-open .nav-list li:nth-child(9) { transition-delay: .37s; }
html.js .site-nav.is-open .nav-extra { transition-delay: .42s; }

/* Menu no computador: pílulas com cor, «Doações» com coração e «Ser Sócio» em botão */
@media (min-width: 1040px) {
	.site-nav { position: static; inset: auto; z-index: auto; display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 0; padding: 0; background: transparent; opacity: 1; visibility: visible; transform: none; overflow: visible; transition: none; }
	.nav-toggle, .nav-extra { display: none; }
	html.js .site-nav .nav-list li { opacity: 1; transform: none; }
	.nav-list { display: flex; align-items: center; gap: 2px; counter-reset: none; }
	.nav-list a { position: relative; display: inline-flex; min-height: 44px; padding: 0 clamp(10px, 1.1vw, 16px); font-family: var(--font); font-size: .96rem; font-weight: 500; color: var(--ink); border: 0; border-radius: 999px; transition: background .25s, color .25s, transform .25s var(--ease); }
	.nav-list a::before { content: none; }
	.nav-list a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 3px; border-radius: 3px; background: var(--teal); transform: translateX(-50%); transition: width .3s var(--ease); }
	.nav-list li:nth-child(4n+2) a::after { background: var(--lime); }
	.nav-list li:nth-child(4n+3) a::after { background: var(--pink); }
	.nav-list li:nth-child(4n+4) a::after { background: var(--orange); }
	.nav-list a:hover { background: var(--tint); color: var(--navy); }
	.nav-list a:hover::after, .nav-list .current-menu-item > a::after, .nav-list .current_page_item > a::after { width: 26px; }
	.nav-list .current-menu-item > a, .nav-list .current_page_item > a { color: var(--teal-d); font-weight: 700; }
	.nav-list .menu-donate a { color: var(--pink-d); font-weight: 700; }
	.nav-list .menu-donate a::before { content: ""; color: var(--pink-d); display: inline-block; width: 16px; height: 16px; margin-right: 6px; border-radius: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5.2-8-11a4.6 4.6 0 0 1 8-3 4.6 4.6 0 0 1 8 3c0 5.800-8 11-8 11Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5.2-8-11a4.6 4.6 0 0 1 8-3 4.6 4.6 0 0 1 8 3c0 5.800-8 11-8 11Z'/%3E%3C/svg%3E") center / contain no-repeat; animation: beat 2.6s ease-in-out infinite; }
	.nav-list .menu-cta { margin-left: 10px; }
	.nav-list .menu-cta a { color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--orange-d), var(--pink-d)); box-shadow: 0 8px 20px rgba(194, 65, 124, .32); }
	.nav-list .menu-cta a::after { content: none; }
	.nav-list .menu-cta a:hover { color: #fff; background: linear-gradient(135deg, #a8461a, #a8336a); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(194, 65, 124, .4); }
}

/* ---------- Revelar ao deslizar ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Topo da Home ---------- */
.hero { position: relative; overflow: hidden; background: var(--warm); padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); isolation: isolate; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath fill='%23fbfcfd' d='M0 64V32c180 40 360 40 540 8s360-48 540-32 270 40 360 40v16Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; z-index: 1; }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: .55; animation: float 14s ease-in-out infinite; translate: var(--mx, 0px) calc(var(--my, 0px) + var(--py, 0px)); transition: translate .6s var(--ease); }
.blob-1 { width: 380px; height: 380px; left: -120px; top: -90px; background: radial-gradient(circle at 30% 30%, #cdeaea, var(--teal)); opacity: .35; }
.blob-2 { width: 260px; height: 260px; right: 6%; top: 10%; background: radial-gradient(circle at 30% 30%, #ffd3e6, var(--pink)); opacity: .35; animation-delay: -4s; }
.blob-3 { width: 200px; height: 200px; left: 38%; bottom: 4%; background: radial-gradient(circle at 30% 30%, #f1f6c4, var(--lime)); opacity: .5; animation-delay: -8s; }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(20px, -28px, 0) scale(1.06); } }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1, .display { font-family: var(--font-hand); font-weight: 400; color: var(--green); letter-spacing: .01em; line-height: 1.05; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.7rem); }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::before { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .06em; height: .42em; background: var(--lime); opacity: .55; border-radius: 6px; z-index: -1; transform: scaleX(0); transform-origin: left; animation: hl 1s .5s var(--ease) forwards; }
@keyframes hl { to { transform: scaleX(1); } }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 52ch; }
.hero-visual { position: relative; }
.hero-img { width: 100%; max-width: 620px; margin-inline: auto; filter: drop-shadow(0 26px 40px rgba(0, 21, 48, .18)); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(.8deg); } }
.stat { display: flex; align-items: center; gap: 16px; margin-top: 2em; }
.stat-icon { width: 64px; height: 64px; color: var(--navy); flex: none; }
.stat-num { font-family: var(--font-hand); font-size: 3rem; color: var(--teal-d); line-height: 1; }
.stat-plus { font-size: 1.6rem; font-weight: 700; color: var(--pink-d); margin-left: 2px; vertical-align: top; }
.stat-label { display: block; color: var(--muted); font-weight: 500; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }

/* ---------- Topo das páginas interiores ---------- */
.page-banner { position: relative; color: #fff; padding: clamp(44px, 7vw, 84px) 0 clamp(54px, 8vw, 96px); background: linear-gradient(90deg, rgba(120, 20, 70, .4), rgba(0, 0, 0, 0) 65%), var(--banner, none) center / cover no-repeat, linear-gradient(120deg, var(--pink), var(--teal)); overflow: hidden; }
.page-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 44px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44' preserveAspectRatio='none'%3E%3Cpath fill='%23fbfcfd' d='M0 44V22c240 30 480 30 720 6s480-26 720-6v22Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.page-banner h1 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.6rem); text-shadow: 0 2px 18px rgba(80, 0, 40, .35); margin-bottom: .2em; }
.crumbs { margin: 0; font-weight: 500; opacity: .95; }
.crumbs a { color: #fff; }
.crumbs a:hover { text-decoration: none; opacity: .85; color: #fff; }

/* ---------- Secções ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; position: relative; }
.section.tint { background: var(--tint); }
.section-title { text-align: center; margin-bottom: 1.4em; }
.section-title::after { content: ""; display: block; width: 96px; height: 5px; margin: 14px auto 0; border-radius: 6px; background: linear-gradient(90deg, var(--teal) 0 25%, var(--lime) 25% 50%, var(--pink) 50% 75%, var(--orange) 75% 100%); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 2.4em; }
.section-lead { color: var(--muted); font-size: 1.12rem; text-align: center; max-width: 66ch; margin-inline: auto; margin-bottom: 2em; }
.kicker { display: inline-block; margin-bottom: .6em; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-d); }
.kicker.light { color: #fff; opacity: .9; }
.display { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.tag { display: inline-block; padding: .3em 1em; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1em; }
.tag-teal { background: rgba(86, 170, 170, .18); color: var(--teal-d); }
.tag-pink { background: rgba(234, 105, 160, .18); color: var(--pink-d); }
.tag-lime { background: rgba(184, 198, 73, .3); color: #4d5a05; }
.tag-orange { background: rgba(237, 115, 56, .16); color: var(--orange-d); }
.two-col { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } .two-col.reverse > :first-child { order: 0; } }
.cards-2 { display: grid; gap: 24px; }
.cards-3 { display: grid; gap: 24px; }
@media (min-width: 760px) { .cards-2 { grid-template-columns: repeat(2, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); margin: 0 0 1em; }
.card-body { display: flex; flex-direction: column; align-items: flex-start; }

.check-list { list-style: none; display: grid; gap: .6em; margin: 1em 0 1.4em; }
.check-list li { position: relative; padding-left: 2em; line-height: 1.45; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 1.45em; height: 1.45em; display: grid; place-items: center; border-radius: 50%; background: var(--teal-d); color: #fff; font-size: .8em; font-weight: 700; }
.check-list.alt li::before { background: var(--pink-d); }
.check-list.small { font-size: .96rem; }

.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); object-fit: cover; }
.note { padding: 16px 20px; border-left: 5px solid var(--lime); background: #fff; border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--muted); }

/* Síndromes */
.syn-card { border-top: 8px solid var(--teal); }
.syn-card.syn-pink { border-top-color: var(--pink); }
.syn-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* Passos */
.step { text-align: center; }
.step-img { position: relative; width: min(230px, 70%); margin: 0 auto 1.4em; }
.step-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; box-shadow: var(--shadow-lg); transition: border-radius .8s var(--ease), transform .5s var(--ease); }
.step:hover .step-img img { border-radius: 58% 42% 45% 55% / 42% 55% 45% 58%; transform: scale(1.04) rotate(2deg); }
.step-num { position: absolute; right: -6px; bottom: 4px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-hand); font-size: 1.7rem; box-shadow: 0 8px 18px rgba(237, 115, 56, .4); }
.step:nth-child(2) .step-num { background: var(--pink); }
.step:nth-child(3) .step-num { background: var(--teal-d); }
.step p { color: var(--muted); }

/* RD */
.rd { background: linear-gradient(180deg, var(--bg), var(--tint)); }
.rd-grid { display: grid; gap: 28px; align-items: center; background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow); border: 1px solid var(--border); }
.rd-logo { display: block; }
.rd-logo img { width: min(360px, 100%); margin-inline: auto; transition: transform .4s var(--ease); }
.rd-logo:hover img { transform: scale(1.05); }
@media (min-width: 820px) { .rd-grid { grid-template-columns: 1.3fr 1fr; } }

/* O que é */
.chip-card { display: grid; place-items: center; min-height: 240px; padding: 32px; border-radius: var(--r-xl); text-align: center; color: #fff; background: linear-gradient(135deg, var(--teal), var(--pink) 60%, var(--orange)); box-shadow: var(--shadow-lg); }
.chip-quote { font-family: var(--font-hand); font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; text-shadow: 0 2px 14px rgba(0, 21, 48, .25); }
.numbers { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 1em; }
.number { flex: 1 1 180px; padding: 20px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.number strong { display: block; font-family: var(--font-hand); font-size: 3.2rem; line-height: 1; color: var(--teal-d); }
.number.alt strong { color: var(--pink-d); }
.number span { color: var(--muted); font-weight: 500; }
.step-card .step-tag { display: inline-block; margin-bottom: .8em; padding: .2em .9em; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.step-card { display: flex; flex-direction: column; align-items: flex-start; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: .8em; }
.pill { display: inline-block; padding: .35em .9em; border-radius: 999px; background: var(--tint); color: var(--teal-d); font-weight: 500; font-size: .88rem; border: 1px solid rgba(86, 170, 170, .35); }
.handbook-card { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); color: #fff; background: linear-gradient(120deg, var(--navy), #0b4b57 55%, var(--teal-d)); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.handbook-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(184, 198, 73, .55), transparent 70%); }
.handbook-card h2, .handbook-card p { color: #fff; }
.handbook-card p { opacity: .9; margin: 0; }
.handbook-cta { display: grid; gap: 12px; justify-items: start; position: relative; z-index: 1; }
.badge { padding: .3em 1em; border-radius: 999px; background: var(--lime); color: var(--navy); font-weight: 700; font-size: .85rem; }
@media (min-width: 820px) { .handbook-card { grid-template-columns: 1.6fr 1fr; } .handbook-cta { justify-items: end; } }
.news-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.news-card .card-img { border-radius: 0; margin: 0; aspect-ratio: 16 / 10; }
.news-card .card-body { padding: 22px 24px 28px; flex: 1; }
.news-card .btn { margin-top: auto; }

.faq { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; margin-left: auto; font-size: 1.6rem; line-height: 1; color: var(--teal-d); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-size: .9rem; }
.faq-item:nth-child(4n+2) .faq-n { background: var(--teal-d); }
.faq-item:nth-child(4n+3) .faq-n { background: var(--pink-d); }
.faq-item:nth-child(4n+4) .faq-n { background: var(--lime-d); }
.faq-item p { padding: 0 24px 22px 68px; margin: 0; color: var(--muted); }

/* A Associação */
.moves { max-width: 760px; margin: 0 auto 2.4em; text-align: center; }
.team { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.member { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 18px 18px 26px; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member-photo { aspect-ratio: 1; overflow: hidden; border-radius: var(--r-lg); margin-bottom: 16px; background: var(--tint); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .member-photo img { transform: scale(1.06); }
.member h3 { margin-bottom: .1em; }
.member-role { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-d); margin-bottom: .8em; }
.member-bio { color: var(--muted); font-size: .98rem; }
.member-bio p { margin-bottom: .6em; }

/* Os nossos meninos */
.kids { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.kid { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: #fff; box-shadow: var(--shadow); background: var(--tint); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.kid:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow-lg); color: #fff; }
.kid-photo, .kid-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kid-photo img { transition: transform .8s var(--ease); }
.kid:hover .kid-photo img { transform: scale(1.08); }
.kid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 21, 48, .78)); }
.kid-name { position: absolute; left: 20px; right: 20px; bottom: 44px; z-index: 1; font-family: var(--font-hand); font-size: 2rem; line-height: 1.05; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.kid-more { position: absolute; left: 20px; bottom: 16px; z-index: 1; font-weight: 700; font-size: .92rem; padding: .25em .9em; border-radius: 999px; background: var(--orange); transition: background .2s, transform .3s var(--ease); }
.kid:hover .kid-more { background: var(--pink-d); transform: translateX(4px); }

/* Ficha individual / texto genérico */
.single { display: grid; gap: 32px; }
.single .photo img { max-height: 640px; width: auto; max-width: 100%; margin-inline: auto; }
.entry { font-size: 1.08rem; }
.entry h2 { font-family: var(--font-hand); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3rem); color: var(--green); }
.entry img { border-radius: var(--r-lg); margin-block: 1em; }
.single .entry p, .single .entry span, .single .entry li { font-family: var(--font) !important; font-size: inherit !important; color: inherit !important; }
.single .entry p { line-height: 1.7 !important; }
.entry :where(p, ul, ol) { margin-bottom: 1.1em; }
.back { margin-top: 1em; }

/* Doações */
.heart-card { display: grid; place-items: center; min-height: 280px; border-radius: var(--r-xl); background: linear-gradient(135deg, #fff0f6, #fff7f0); color: var(--pink); box-shadow: var(--shadow); }
.heart-card svg { width: min(210px, 56%); animation: beat 2.6s ease-in-out infinite; filter: drop-shadow(0 18px 22px rgba(234, 105, 160, .4)); }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.1); } 28% { transform: scale(1); } 42% { transform: scale(1.07); } }
.donate h3 { font-size: 1.6rem; }
.copy-box { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1em; }
.copy-box input { flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 999px; border: 2px dashed rgba(0, 21, 48, .2); background: var(--tint); font-weight: 700; letter-spacing: .04em; text-align: center; }
.iban-label { margin: .6em 0 0; font-weight: 700; }
.copy-done { margin: .6em 0 0; min-height: 1.5em; color: var(--green); font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.copy-done.show { opacity: 1; transform: none; }
.receipt-note { max-width: 760px; margin: 1.6em auto 0; padding: 14px 20px; border-left: 5px solid var(--orange); border-radius: 0 var(--r-md) var(--r-md) 0; background: #fff8f3; color: var(--ink); }
.thanks { max-width: 760px; margin: 2.4em auto 0; text-align: center; font-size: 1.12rem; color: var(--muted); }

/* Ajudar */
.help-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
.help { border-left: 8px solid var(--teal); }
.help-pink { border-left-color: var(--pink); }
.help-lime { border-left-color: var(--lime); }
.help-soon { border-left-color: var(--orange); background: linear-gradient(135deg, #fff, #fff8f3); }
.help .kicker { display: block; }

/* Formulários */
.form-card, .thanks-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; gap: 16px; margin-top: 1.4em; }
@media (min-width: 700px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .field.wide { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea, .news-form input { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid rgba(0, 21, 48, .18); border-radius: var(--r-md); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .news-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(86, 170, 170, .25); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 1.2em; font-size: .92rem; color: var(--muted); }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--teal-d); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 1.6em; }
.form-foot.end { justify-content: flex-end; }
.form-foot small { color: var(--muted); }
.form-notice { margin: 1em 0; padding: 14px 18px; border-radius: var(--r-md); font-weight: 500; }
.form-notice.is-error { background: #fdecef; color: #8a1c3a; border: 1px solid #f4b8c6; }
.form-notice.is-ok { background: #ecf7e8; color: #2a5c19; border: 1px solid #bfe3b0; }
.thanks-card { text-align: center; }

/* Galeria */
.album { margin-bottom: clamp(48px, 7vw, 88px); }
.album-head { margin-bottom: 1.6em; max-width: 760px; }
.album-head h2 { margin-bottom: .3em; }
.album-head p { color: var(--muted); }
.count { display: inline-block; margin-left: .4em; padding: .15em .8em; border-radius: 999px; background: var(--tint); color: var(--teal-d); font-weight: 700; font-size: .85rem; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.g-item { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--tint); box-shadow: var(--shadow); }
.g-item a { display: block; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-item:hover img { transform: scale(1.08); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: .85rem; font-weight: 500; color: #fff; background: linear-gradient(transparent, rgba(0, 21, 48, .75)); transform: translateY(100%); transition: transform .35s var(--ease); pointer-events: none; }
.g-item:hover figcaption, .g-item:focus-within figcaption { transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 10, 24, .92); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(100%, 1200px); max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-weight: 500; }
.lightbox button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 1.7rem; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Loja */
.shop { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-head { padding: 18px 20px 0; font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.product-head span { color: var(--orange-d); font-weight: 700; }
.product-media { margin: 14px 20px; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--tint); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product:hover .product-media img { transform: scale(1.07); }
.product-foot { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding: 0 20px 22px; }
.product-foot p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Rodapé ---------- */
.site-footer { margin-top: 0; background: var(--navy); color: rgba(255, 255, 255, .82); }
.cta-band { position: relative; overflow: hidden; color: #fff; padding: clamp(48px, 7vw, 88px) 0 0; background: linear-gradient(120deg, #2f7474, #3e9a9a 30%, #7c6d9a 58%, var(--pink-d) 82%, var(--orange-d)); background-size: 220% 220%; animation: ctaShift 16s ease-in-out infinite; isolation: isolate; }
@keyframes ctaShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-band::before { content: ""; position: absolute; z-index: -1; left: -140px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(184, 198, 73, .5), transparent 68%); }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -100px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 68%); }
.cta-dot { position: absolute; z-index: -1; border-radius: 50%; opacity: .55; animation: float 12s ease-in-out infinite; }
.cta-dot.d1 { width: 18px; height: 18px; left: 8%; top: 22%; background: var(--lime); }
.cta-dot.d2 { width: 12px; height: 12px; left: 46%; top: 12%; background: #fff; animation-delay: -3s; }
.cta-dot.d3 { width: 26px; height: 26px; right: 38%; bottom: 20%; background: var(--orange); animation-delay: -6s; }
.cta-dot.d4 { width: 14px; height: 14px; right: 7%; top: 30%; background: var(--lime); animation-delay: -9s; }
.cta-inner { position: relative; display: grid; gap: 20px; align-items: end; }
.cta-copy { padding-bottom: clamp(32px, 5vw, 72px); align-self: center; }
.cta-copy h2 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.02; margin-bottom: .35em; text-shadow: 0 4px 24px rgba(0, 21, 48, .25); }
.cta-copy .hl::before { background: var(--lime); opacity: .5; }
.cta-copy p { max-width: 46ch; font-size: 1.15rem; opacity: .95; }
.cta-copy .btn svg { width: 18px; height: 18px; flex: none; color: var(--pink-d); }
.btn-outline-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: #fff; color: var(--pink-d); }
.cta-phone { margin: 1.4em 0 0; font-size: .95rem; opacity: .9; }
.cta-phone a { color: #fff; text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.cta-phone a:hover { color: var(--lime); border-color: var(--lime); }
.cta-visual { position: relative; min-height: 300px; display: grid; align-items: end; justify-items: center; }
.cta-disc { position: absolute; bottom: 0; left: 50%; width: min(380px, 88%); aspect-ratio: 1; transform: translateX(-50%) translateY(38%); border-radius: 50%; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 14px rgba(255, 255, 255, .12); }
.cta-ring { position: absolute; bottom: -6%; left: 50%; width: min(440px, 100%); aspect-ratio: 1; margin-left: calc(min(440px, 100%) / -2); border-radius: 50%; border: 3px dashed rgba(255, 255, 255, .55); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-img { position: relative; z-index: 1; width: min(400px, 84%); filter: drop-shadow(0 22px 30px rgba(0, 21, 48, .35)); animation: bob 7s ease-in-out infinite; }
.cta-chip { position: absolute; z-index: 2; left: 2%; top: 22%; display: inline-flex; align-items: center; gap: .5em; padding: .55em 1.1em; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: .9rem; box-shadow: 0 14px 30px rgba(0, 21, 48, .28); animation: float 8s ease-in-out infinite; }
.cta-chip span { color: var(--pink); animation: beat 2.6s ease-in-out infinite; }
@media (min-width: 820px) { .cta-inner { grid-template-columns: 1.3fr 1fr; } .cta-visual { min-height: 440px; } .cta-chip { left: -2%; top: 26%; } }
@media (max-width: 819px) { .cta-chip { left: 50%; top: 4%; transform: translateX(-50%); white-space: nowrap; animation: none; } }
@media (prefers-reduced-motion: reduce) { .cta-band { animation: none; } }
.footer-main { padding: clamp(40px, 6vw, 72px) 0; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.1fr .9fr .9fr 1.4fr; } }
.footer-col h3 { color: var(--lime); font-size: 1.1rem; margin-bottom: 1em; }
.footer-list { list-style: none; display: grid; gap: .55em; }
.footer-list a, .footer-bottom a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer-list a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-news small { display: block; margin-top: .8em; opacity: .7; font-size: .8rem; }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; }
.news-form input { flex: 1 1 180px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; font-size: .92rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer-bottom p { margin: 0; }
.social { display: flex; align-items: center; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .25s, transform .3s var(--ease); }
.social a:hover { background: var(--pink); transform: translateY(-3px) rotate(-6deg); text-decoration: none; }
.social a:nth-of-type(2):hover { background: var(--teal); }
.social a:nth-of-type(3):hover { background: var(--lime-d); }
.social svg { width: 20px; height: 20px; }

/* ---------- Telemóvel e movimento reduzido ---------- */
@media (max-width: 600px) {
	body { font-size: 1rem; }
	.btn { width: 100%; }
	.btn-row .btn, .form-foot .btn { width: 100%; }
	.faq-item p { padding-left: 24px; }
	.kid-name { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html.js .reveal { opacity: 1; transform: none; }
	.hl::before { transform: none; }
}

/* ---------- Semana das Doenças Raras (plano de atividades) ---------- */
.facts { display: grid; gap: 14px; margin: 0 0 1.6em; }
.facts > div { padding: 16px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.facts dt { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-d); }
.facts dd { margin: 4px 0 0; font-weight: 500; color: var(--navy); }
@media (min-width: 760px) { .facts { grid-template-columns: 1fr 1fr 1.4fr; } }
.note.goal h3 { margin-bottom: .2em; }
.note.goal p { margin: 0; }
.days { list-style: none; display: grid; gap: 20px; }
.day { --c: var(--teal); position: relative; background: #fff; border: 1px solid var(--border); border-left: 8px solid var(--c); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.day-pink { --c: var(--pink); } .day-orange { --c: var(--orange); } .day-lime { --c: var(--lime); }
.day-label { display: inline-block; margin-bottom: .6em; padding: .25em 1em; border-radius: 999px; background: var(--c); color: #fff; font-weight: 700; font-size: .85rem; }
.day-lime .day-label { color: var(--navy); }
.day h3 { margin-bottom: .6em; }
.day-h { margin: 0 0 .2em; font-weight: 700; color: var(--navy); }
.day-goal { margin: 1.2em 0 0; padding: 12px 16px; border-radius: var(--r-md); background: var(--tint); color: var(--ink); }
.transversal .day-goal { margin-top: 1.2em; }
.split { margin-top: 24px; }
.calendar { overflow-x: auto; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.calendar table { width: 100%; border-collapse: collapse; }
.calendar th { text-align: left; padding: 16px 20px; background: var(--navy); color: #fff; font-weight: 700; }
.calendar td { padding: 16px 20px; border-top: 1px solid var(--border); vertical-align: top; }
.calendar tbody tr:nth-child(even) { background: var(--tint); }
@media (max-width: 640px) {
	.calendar thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.calendar tr, .calendar td { display: block; }
	.calendar tr { padding: 12px 4px; border-top: 1px solid var(--border); }
	.calendar td { border: 0; padding: 4px 16px; }
	.calendar td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--teal-d); }
}

/* ---------- Destaque na Home ---------- */
.feature { padding-block: clamp(24px, 4vw, 48px); }
.feature-card { position: relative; display: grid; gap: 24px; align-items: center; overflow: hidden; padding: clamp(28px, 5vw, 60px); border-radius: var(--r-xl); color: #fff; text-decoration: none; background: linear-gradient(120deg, var(--navy) 0%, #0b4b57 55%, var(--teal-d) 100%); box-shadow: var(--shadow-lg); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 30px 64px rgba(0, 21, 48, .28); color: #fff; }
.feature-card h2, .feature-card p { color: #fff; }
.feature-card h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.feature-card p { max-width: 56ch; opacity: .92; }
.feature-copy { position: relative; z-index: 1; }
.feature-zebra { display: none; }
@media (min-width: 820px) {
	.feature-card { grid-template-columns: 1.6fr 1fr; }
	.feature-zebra { display: flex; justify-content: center; gap: 12px; transform: rotate(-12deg); }
	.feature-zebra span { width: 26px; height: 190px; border-radius: 16px; background: #fff; opacity: .92; animation: bob 6s ease-in-out infinite; }
	.feature-zebra span:nth-child(even) { background: var(--lime); height: 220px; animation-delay: -2s; }
	.feature-zebra span:nth-child(3) { background: var(--pink); animation-delay: -4s; }
}
.feature-card .tag-lime { background: var(--lime); color: var(--navy); }

/* ---------- Ajustes de telemóvel (revisão) ---------- */
ol, ul { margin: 0; padding: 0; }
.days { padding: 0; margin: 0; }
.member-role { font-size: .8rem; }
.help .btn-row + p, .thanks-card .btn-row + p { margin-top: 1.2em; }
@media (max-width: 819px) {
	.cta-dot { display: none; }
	.page-banner { background: linear-gradient(90deg, rgba(120, 20, 70, .62), rgba(120, 20, 70, .3) 78%), var(--banner, none) center / cover no-repeat, linear-gradient(120deg, var(--pink), var(--teal)); }
	.crumbs, .crumbs a { text-shadow: 0 1px 10px rgba(80, 0, 40, .55); }
	.kid-name { bottom: 60px; }
}


/* ==========================================================
   Animações ao deslizar (só com JavaScript ativo)
   ========================================================== */
html.js .reveal[data-anim="left"] { transform: translateX(-56px); }
html.js .reveal[data-anim="right"] { transform: translateX(56px); }
html.js .reveal[data-anim="zoom"] { transform: translateY(24px) scale(.92); }
html.js .reveal[data-anim="wipe"] { transform: none; opacity: 1; clip-path: inset(0 0 100% 0 round 28px); transition: clip-path 1.1s var(--ease) var(--d, 0s); }
html.js .reveal[data-anim="wipe"].is-visible { clip-path: inset(0 0 0 0 round 28px); }
html.js .reveal[data-anim="wipe"] img { transform: scale(1.18); transition: transform 1.6s var(--ease) var(--d, 0s); }
html.js .reveal[data-anim="wipe"].is-visible img { transform: scale(1); }
html.js .reveal.is-visible[data-anim] { transform: none; }

/* o sublinhado colorido dos títulos «desenha-se» */
html.js .section-title::after { transform: scaleX(0); transition: transform .9s var(--ease) .25s; }
html.js .section-title.is-visible::after { transform: scaleX(1); }

/* listas com visto: os itens entram um a seguir ao outro */
html.js .reveal .check-list li { opacity: 0; transform: translateX(-16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
html.js .reveal.is-visible .check-list li { opacity: 1; transform: none; }
html.js .reveal.is-visible .check-list li:nth-child(1) { transition-delay: .25s; }
html.js .reveal.is-visible .check-list li:nth-child(2) { transition-delay: .33s; }
html.js .reveal.is-visible .check-list li:nth-child(3) { transition-delay: .41s; }
html.js .reveal.is-visible .check-list li:nth-child(4) { transition-delay: .49s; }
html.js .reveal.is-visible .check-list li:nth-child(5) { transition-delay: .57s; }
html.js .reveal.is-visible .check-list li:nth-child(n+6) { transition-delay: .65s; }
html.js .pills .pill { opacity: 0; transform: scale(.85); transition: opacity .4s, transform .5s var(--ease); }
html.js .reveal.is-visible .pills .pill { opacity: 1; transform: none; transition-delay: .5s; }

/* título da Home: palavra a palavra */
.hero h1.split .w { display: inline-block; opacity: 0; transform: translateY(.7em) rotate(2deg); animation: wordIn .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .11s + .15s); }
@keyframes wordIn { to { opacity: 1; transform: none; } }

/* barra de progresso (por baixo do cabeçalho) */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--teal), var(--lime), var(--pink), var(--orange)); transform-origin: left; transform: scaleX(var(--p, 0)); will-change: transform; }

/* paralaxe: usa a propriedade «translate» para não chocar com as outras animações */
.hero-img, .cta-img, .step-img, .photo img, .kid-photo img, .feature-zebra, .rd-logo { translate: 0 var(--py, 0px); }
.cta-disc { translate: 0 var(--py, 0px); }
.page-banner { background-position: center, center calc(50% + var(--py, 0px)), center; }
.photo img { scale: 1.05; }

/* reforço do movimento em cartões e botões */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.step-img img { transition: border-radius .8s var(--ease), transform .5s var(--ease); }
.kid:hover .kid-name { transform: translateY(-4px); transition: transform .3s var(--ease); }

@media (prefers-reduced-motion: reduce) {
	html.js .reveal[data-anim], html.js .reveal .check-list li, html.js .pills .pill { opacity: 1; transform: none; clip-path: none; }
	.hero h1.split .w { opacity: 1; transform: none; animation: none; }
}
.photo { overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.photo img { box-shadow: none; border-radius: 0; scale: 1.12; }
@media (max-width: 819px) {
	html.js .reveal[data-anim="left"], html.js .reveal[data-anim="right"] { transform: translateY(28px); }
}

/* Notícias: 4 cartões (o destaque primeiro) */
.news-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.news-card.is-featured { border-top: 6px solid var(--pink); }
.card-ph { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 16px; text-align: center; background: linear-gradient(135deg, var(--teal-d), var(--pink-d) 60%, var(--orange-d)); }
.card-ph span { font-family: var(--font-hand); font-size: 1.7rem; line-height: 1.1; color: #fff; text-shadow: 0 2px 12px rgba(0, 21, 48, .3); }
.news-card .card-ph { margin: 0; border-radius: 0; }

/* Na imprensa (Home) */
.press { padding-block: clamp(28px, 5vw, 64px); }
.press-card { display: grid; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.press-visual { position: relative; display: grid; place-items: center; min-height: 220px; overflow: hidden; background: linear-gradient(135deg, var(--teal-d), var(--pink-d) 60%, var(--orange-d)); }
.press-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.press-quote { position: absolute; left: 24px; top: -14px; font-family: var(--font-hand); font-size: 12rem; line-height: 1; color: rgba(255, 255, 255, .22); }
.press-tag { position: relative; z-index: 1; padding: 0 24px; text-align: center; font-family: var(--font-hand); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; color: #fff; text-shadow: 0 2px 14px rgba(0, 21, 48, .3); }
.press-copy { padding: clamp(24px, 4vw, 52px); align-self: center; }
.press-copy h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.press-copy p { color: var(--muted); max-width: 56ch; }
@media (min-width: 820px) { .press-card { grid-template-columns: .8fr 1.4fr; } .press-visual { min-height: 100%; } }

/* Voluntariado */
.choices { margin: 1.4em 0 0; padding: 0; border: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.choices legend { grid-column: 1 / -1; padding: 0; margin-bottom: 4px; font-weight: 700; color: var(--navy); }
.choice { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1px solid rgba(0, 21, 48, .15); border-radius: var(--r-md); background: #fff; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.choice:hover { border-color: var(--teal); transform: translateY(-2px); }
.choice input { width: 22px; height: 22px; flex: none; accent-color: var(--teal-d); }
.choice:has(input:checked) { border-color: var(--teal-d); background: var(--tint); }
.volunteer .kicker { display: block; }

