/* =========================================================
   Tema "taguma" — layout inspirado no site original
   Cores principais configuráveis no painel: --accent e --accent-2
   Modo noturno: html[data-theme="dark"]
   ========================================================= */
:root {
    --accent: #176d3b;
    --accent-2: #f57223;
    --accent-dark: color-mix(in srgb, var(--accent) 80%, #000);
    --accent-soft: color-mix(in srgb, var(--accent) 9%, transparent);
    --heading: #1b1d21;
    --text: #6b7075;
    --muted: #8d9297;
    --bg: #ffffff;
    --bg-alt: #f5f5f5;
    --surface: #ffffff;
    --border: #e9e9e9;
    --topbar-bg: #f1f1f1;
    --topbar-text: #8a8f94;
    --footer-bg: #2d3034;
    --footer-bottom: #26292c;
    --footer-text: #9da2a7;
    --shadow: 0 4px 22px rgba(0, 0, 0, .07);
    --shadow-hover: 0 14px 34px rgba(0, 0, 0, .12);
    --container: 1170px;
    --radius: 3px;
    --font-head: Montserrat, system-ui, sans-serif;
    --font-body: "Open Sans", system-ui, sans-serif;
    color-scheme: light;
}
html[data-theme="dark"] {
    --accent-soft: color-mix(in srgb, var(--accent) 22%, transparent);
    --heading: #eef2f0;
    --text: #b4bdb8;
    --muted: #87918c;
    --bg: #111513;
    --bg-alt: #171c1a;
    --surface: #1c2220;
    --border: #2a322e;
    --topbar-bg: #0c0f0e;
    --topbar-text: #8d9792;
    --footer-bg: #0d100f;
    --footer-bottom: #090b0a;
    --footer-text: #8d9792;
    --shadow: 0 4px 22px rgba(0, 0, 0, .35);
    --shadow-hover: 0 14px 34px rgba(0, 0, 0, .5);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.8; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .3s, color .3s; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
a:hover { color: var(--accent-dark); }
html[data-theme="dark"] a:not(.btn) { color: color-mix(in srgb, var(--accent) 50%, #9fe0b9); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--heading); font-weight: 700; line-height: 1.35; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
button { font: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-wide { width: 100%; padding: 0 10%; }
.text-center { text-align: center; }
.ico { flex-shrink: 0; vertical-align: middle; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px;
    font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
    border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: all .25s; line-height: 1.2; text-decoration: none;
}
.btn-accent { background: var(--accent); color: #fff !important; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-white { background: rgba(255, 255, 255, .95); color: #1b1d21 !important; border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff !important; }
.btn-outline { border: 1px solid var(--border); color: var(--muted) !important; background: transparent; font-weight: 600; padding: 12px 30px; }
.btn-outline:hover { border-color: var(--accent); background: var(--accent); color: #fff !important; }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, .25); color: #fff !important; background: transparent; }
.btn-outline-light:hover { background: var(--accent); border-color: var(--accent); }
.btn-sm { padding: 9px 20px; font-size: 11px; }
.btn-icon { padding: 0 26px 0 0; overflow: hidden; }
.btn-icon .btn-ico { display: grid; place-items: center; width: 46px; align-self: stretch; padding: 13px 0; background: rgba(0, 0, 0, .14); margin-right: 8px; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--topbar-bg); font-size: 12.5px; color: var(--topbar-text); position: relative; z-index: 60; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 10px 16px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; min-width: 0; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-info a { color: inherit; }
.topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.tb-label { font-weight: 600; }
.socials { display: inline-flex; gap: 2px; }
.socials a { width: 28px; height: 28px; display: inline-grid; place-items: center; color: var(--topbar-text) !important; border-radius: 2px; }
.socials a:hover { color: #fff !important; background: var(--accent); }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.lang-switch a { padding: 1px 8px; font-size: 11.5px; font-weight: 700; color: var(--topbar-text) !important; font-family: var(--font-head); }
.lang-switch a.active { background: var(--accent); color: #fff !important; }
.theme-toggle { border: 0; background: transparent; color: var(--topbar-text); cursor: pointer; width: 30px; height: 28px; display: inline-grid; place-items: center; border-radius: 2px; padding: 0; }
.theme-toggle:hover { color: var(--accent-2); }
.theme-toggle .ico-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
html[data-theme="dark"] .theme-toggle .ico-moon { display: none; }

/* ---------- Cabeçalho ---------- */
.site-header { position: relative; z-index: 50; background: var(--bg); }
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 102px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { max-height: 62px; width: auto; }
.logo .logo-dark { display: none; }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--heading); }
.header-aside { display: flex; align-items: center; gap: 38px; }
.info-box { display: flex; align-items: center; gap: 14px; color: var(--text) !important; }
.info-ico { color: #c4c7ca; display: grid; }
html[data-theme="dark"] .info-ico { color: #4d5753; }
.info-box:hover .info-ico { color: var(--accent); }
.info-title { display: block; font-family: var(--font-head); font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: var(--accent); letter-spacing: .03em; line-height: 1.5; }
html[data-theme="dark"] .info-title { color: color-mix(in srgb, var(--accent) 50%, #9fe0b9); }
.info-sub { display: block; font-size: 13.5px; color: var(--text); line-height: 1.5; }
.btn-donate { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); padding: 9px 22px; font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; border-radius: 2px; }
.btn-donate .ico { color: var(--accent-2); }
.btn-donate:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.btn-donate:hover .ico { color: #fff; }
.header-mobile-actions { display: none; align-items: center; gap: 10px; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: var(--accent); border-radius: 3px; cursor: pointer; padding: 0 11px; }
.nav-toggle span { height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu verde */
.nav-wrap { background: var(--accent); position: relative; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 4px; height: 52px; padding: 0 17px; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #fff !important; }
.main-nav > ul > li:first-child > a { padding-left: 0; }
.main-nav > ul > li > a:hover, .main-nav > ul > li.current > a { color: rgba(255, 255, 255, .72) !important; }
.main-nav > ul > li.current > a { box-shadow: inset 0 -3px 0 var(--accent-2); }
.sub-toggle { display: none; }
.sub-menu { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--surface); box-shadow: 0 12px 30px rgba(0, 0, 0, .14); border-top: 3px solid var(--accent-2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .22s; z-index: 70; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 8px 22px; font-size: 13.5px; color: var(--text) !important; }
.sub-menu a:hover, .sub-menu .current a { color: var(--accent) !important; background: var(--accent-soft); padding-left: 26px; }
.nav-mobile-extra { display: none; }
.search-toggle { border: 0; background: transparent; color: #fff; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; border-radius: 3px; }
.search-toggle:hover { background: rgba(0, 0, 0, .12); }
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); padding: 14px 0; display: none; z-index: 80; }
.search-panel.open { display: block; animation: drop .2s ease; }
.search-panel .container { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.search-panel input { flex: 1; border: 0; background: transparent; font-size: 18px; padding: 10px 0; color: var(--heading); outline: none; }
.search-close { border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Menu fixo ao rolar */
.site-header.is-sticky .nav-wrap { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 6px 20px rgba(0, 0, 0, .15); animation: drop .3s ease; }

/* ---------- Mensagens ---------- */
.flash { padding: 14px 0; font-weight: 600; }
.flash-success { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); }
.flash-error { background: color-mix(in srgb, #c0392b 12%, var(--bg)); color: #c0392b; }

/* ---------- Slider ---------- */
.hero { position: relative; height: clamp(440px, 72vh, 720px); overflow: hidden; background: #111; touch-action: pan-y; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide.active .hero-bg img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .25) 100%); }
.align-center .hero-overlay { background: #000; }
.hero-content { position: relative; z-index: 2; color: #fff; }
.align-center .hero-content { text-align: center; }
.hero-title, .hero-subtitle { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; color: #fff; line-height: 1.12; margin: 0 0 6px; font-size: clamp(30px, 5.2vw, 58px); letter-spacing: -.01em; max-width: 900px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.align-center .hero-title, .align-center .hero-subtitle, .align-center .hero-text { margin-left: auto; margin-right: auto; }
.hero-title .hl { color: var(--accent-2); }
.hero-subtitle { font-size: clamp(22px, 4.2vw, 50px); }
.hero-text { font-size: clamp(15px, 1.6vw, 18px); max-width: 560px; margin: 18px 0 0; opacity: .92; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.align-center .hero-actions { justify-content: center; }
.hero-slide.active .hero-title, .hero-slide.active .hero-subtitle, .hero-slide.active .hero-text, .hero-slide.active .hero-actions { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-slide.active .hero-subtitle { animation-delay: .12s; }
.hero-slide.active .hero-text { animation-delay: .24s; }
.hero-slide.active .hero-actions { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); transition: background .2s; }
.hero-arrow:hover { background: var(--accent); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; transition: all .25s; }
.hero-dots button.active { background: #fff; width: 28px; border-radius: 6px; }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(255, 255, 255, .15); }
.hero-progress i { display: block; height: 100%; width: 0; background: var(--accent-2); }
.hero-progress i.run { animation: progress linear forwards; }
@keyframes progress { to { width: 100%; } }

/* ---------- Secções ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(22px, 2.6vw, 28px); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px; }
.section-head p { font-size: 15px; line-height: 2; color: var(--muted); margin: 0; }
.section-cta { margin-top: 50px; }

/* Destaques (caixas com ícone) */
.features { padding: 90px 0 100px; }
.icon-boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 30px; }
.icon-boxes.cols-3 { grid-template-columns: repeat(3, 1fr); }
.icon-boxes.cols-2 { grid-template-columns: repeat(2, 1fr); }
.icon-boxes.cols-1 { grid-template-columns: 1fr; max-width: 420px; margin: auto; }
.icon-box { text-align: center; color: var(--text) !important; display: block; }
.icon-circle { display: grid; place-items: center; width: 125px; height: 125px; border-radius: 50%; border: 2px solid var(--border); margin: 0 auto 22px; color: var(--accent); transition: all .35s; background: var(--bg); }
html[data-theme="dark"] .icon-circle { color: color-mix(in srgb, var(--accent) 45%, #9fe0b9); }
.icon-box:hover .icon-circle { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-4px); box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.icon-box h3 { font-size: 16px; margin-bottom: 12px; }
.icon-box p { font-size: 14px; line-height: 1.9; margin: 0; }

/* Contador */
.counter-band { position: relative; padding: 110px 0; background: #1d2a22; overflow: hidden; color: #fff; text-align: center; }
.counter-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.counter-band::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.counter-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.counter-ico { color: var(--accent-2); margin-bottom: 12px; }
.counter-num { font-family: var(--font-head); font-size: clamp(42px, 6vw, 56px); font-weight: 700; line-height: 1.05; }
.counter-sep { width: 42px; height: 2px; background: rgba(255, 255, 255, .6); margin: 14px 0; }
.counter-label { font-family: var(--font-head); font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* Galeria (página inicial) */
.gallery-section { padding-bottom: 90px; }
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin: -20px 0 40px; }
.filter-tabs button, .filter-tabs a { border: 0; border-bottom: 1px solid var(--border); background: transparent; padding: 10px 24px; font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) !important; cursor: pointer; }
.filter-tabs button.active, .filter-tabs a.active { color: var(--heading) !important; border: 1px solid var(--border); border-bottom-color: transparent; background: var(--bg); }
.filter-tabs button:hover, .filter-tabs a:hover { color: var(--accent) !important; }
.masonry { columns: 4 240px; column-gap: 5px; }
.masonry-item { display: block; position: relative; margin-bottom: 5px; break-inside: avoid; overflow: hidden; background: var(--bg-alt); }
.masonry-item img { width: 100%; transition: transform .6s; }
.masonry-item.hide { display: none; }
.masonry-cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 18px; color: #fff; background: linear-gradient(0deg, color-mix(in srgb, var(--accent) 92%, transparent) 0%, color-mix(in srgb, var(--accent) 40%, transparent) 60%, transparent 100%); opacity: 0; transition: opacity .35s; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; line-height: 1.45; }
.masonry-item:hover img { transform: scale(1.06); }
.masonry-item:hover .masonry-cap, .masonry-item:focus .masonry-cap { opacity: 1; }

/* Sobre nós */
.about-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-alt); }
.about-split.no-image { grid-template-columns: 1fr; }
.about-media { min-height: 530px; position: relative; }
.about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-body { padding: 12% 13%; align-self: center; }
.about-split.no-image .about-body { max-width: 860px; margin: auto; padding: 90px 20px; }
.about-body h2 { font-size: clamp(22px, 2.6vw, 28px); text-transform: uppercase; margin-bottom: 18px; }
.about-body p { font-size: 15px; line-height: 2; }
.about-body .btn { margin-top: 12px; }

/* Carrosséis */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 6px; scroll-behavior: smooth; scrollbar-width: none; padding: 12px 6px 22px; margin: -12px -6px 0; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 calc((100% - 60px) / 3); }
.partners-track { gap: 18px; }
.partners-track > * { flex-basis: calc((100% - 54px) / 4); }
.carousel-arrow { position: absolute; top: calc(50% - 26px); z-index: 2; width: 44px; height: 44px; border: 0; background: transparent; color: #c9cccf; cursor: pointer; display: grid; place-items: center; transition: color .2s; }
.carousel-arrow:hover { color: var(--accent); }
.carousel-arrow.prev { left: -62px; }
.carousel-arrow.next { right: -62px; }
.carousel-arrow[disabled] { opacity: .3; cursor: default; }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--text) 30%, transparent); cursor: pointer; transition: all .25s; }
.carousel-dots button.active { background: var(--accent); transform: scale(1.25); }

/* Parceiros */
.partners-section { padding-top: 60px; }
.partner-card { display: grid; place-items: center; height: 170px; padding: 20px; background: #fff; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
html[data-theme="dark"] .partner-card { background: #f4f5f4; }
.partner-card img { max-height: 120px; width: auto; object-fit: contain; }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* Notícias */
.news-section { background: var(--bg-alt); }
.post-card { background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; min-width: 0; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.post-card-img { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-alt); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-card-img img { transform: scale(1.06); }
.post-card-ph { display: grid; place-items: center; height: 100%; color: var(--muted); }
.post-card-body { padding: 26px 26px 30px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 14.5px; text-transform: uppercase; line-height: 1.55; letter-spacing: .02em; margin-bottom: 14px; }
.post-card h3 a { color: var(--heading) !important; }
.post-card h3 a:hover { color: var(--accent) !important; }
.post-card p { font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.read-more { margin-top: auto; align-self: center; font-family: var(--font-head); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted) !important; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.read-more:hover { color: var(--accent) !important; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.post-meta time, .post-meta a, .post-meta span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted) !important; }
.post-meta a:hover { color: var(--accent) !important; }

/* Newsletter */
.newsletter { background: color-mix(in srgb, var(--accent) 72%, #7fc28f); color: #fff; padding: 34px 0; }
html[data-theme="dark"] .newsletter { background: color-mix(in srgb, var(--accent) 70%, #0d100f); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.newsletter-head { display: flex; align-items: center; gap: 18px; }
.newsletter-ico { opacity: .95; display: grid; }
.newsletter h3 { color: #fff; font-size: 18px; margin: 0; }
.newsletter p { margin: 0; font-size: 13px; opacity: .9; }
.newsletter-form { display: flex; gap: 8px; flex: 1; max-width: 640px; flex-wrap: wrap; position: relative; }
.newsletter-form input:not(.hp) { flex: 1 1 160px; min-width: 0; height: 44px; border: 0; padding: 0 16px; font: inherit; font-size: 13px; color: #333; background: #fff; border-radius: 2px; }
.newsletter-form button { height: 44px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, .8); background: transparent; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; border-radius: 2px; }
.newsletter-form button:hover { background: #fff; color: var(--accent); }
.newsletter-msg { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; font-weight: 600; min-height: 0; }
.newsletter-msg:empty { display: none; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1.1fr 1fr 1.1fr; gap: 40px; padding-top: 70px; padding-bottom: 60px; }
.footer-col h4 { color: #fff; font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 26px; }
.footer-logo { max-height: 64px; width: auto; margin-bottom: 20px; }
.footer-name { color: #fff; font-family: var(--font-head); font-size: 20px; display: block; margin-bottom: 18px; }
.footer-about p { line-height: 1.9; }
.site-footer a { color: var(--footer-text) !important; }
.site-footer a:hover { color: #fff !important; }
.footer-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.footer-posts li { display: flex; gap: 14px; }
.fp-ico { flex-shrink: 0; width: 42px; height: 42px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.footer-posts a { color: #d7dadc !important; line-height: 1.6; display: block; }
.footer-posts time { font-size: 12px; opacity: .7; }
.footer-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 270px; }
.footer-photos a { display: block; aspect-ratio: 1; overflow: hidden; }
.footer-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.footer-photos a:hover img { transform: scale(1.1); opacity: .85; }
.footer-contacts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.footer-contacts li { display: flex; gap: 10px; line-height: 1.6; }
.footer-contacts .ico { margin-top: 3px; color: var(--accent-2); }
.socials-box a { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .14); margin-right: 4px; }
.socials-box a:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom { background: var(--footer-bottom); font-size: 12px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.copyright { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.copyright .credits a { color: var(--accent-2) !important; font-weight: 600; }
.copyright .credits a:hover { color: #fff !important; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 6px 26px; text-transform: uppercase; letter-spacing: .05em; font-family: var(--font-head); font-size: 11px; font-weight: 600; }

/* Botões flutuantes */
.whatsapp-float { position: fixed; left: 20px; bottom: 22px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff !important; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .4); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }
.to-top { position: fixed; right: 20px; bottom: 22px; z-index: 90; width: 44px; height: 44px; border: 0; border-radius: 3px; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Páginas internas ---------- */
.page-header { background: var(--accent); background-image: linear-gradient(120deg, color-mix(in srgb, var(--accent) 100%, #000 20%), var(--accent-dark)); color: #fff; padding: 50px 0; position: relative; overflow: hidden; }
.page-header::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .05); }
.page-header h1 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); text-transform: uppercase; margin: 0 0 8px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; opacity: .9; }
.breadcrumb a { color: #fff !important; }
.breadcrumb a:hover { text-decoration: underline; }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.post-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.post-grid .post-card-body { text-align: left; }
.post-grid .post-meta { justify-content: flex-start; }
.post-grid .read-more { align-self: flex-start; }
.site-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 46px; }
.site-pagination a, .site-pagination .dots { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--text) !important; font-weight: 600; padding: 0 10px; }
.site-pagination a.active, .site-pagination a:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.results-note { color: var(--muted); margin-bottom: 26px; }
.empty-box { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--border); }
.empty-box .ico { margin: 0 auto 10px; }

/* Barra lateral */
.sidebar { display: grid; gap: 34px; position: sticky; top: 76px; }
.widget-title { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--border); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--accent); }
.widget-search { display: flex; border: 1px solid var(--border); background: var(--surface); }
.widget-search input { flex: 1; border: 0; background: transparent; padding: 13px 16px; font: inherit; color: var(--heading); outline: none; min-width: 0; }
.widget-search button { border: 0; background: var(--accent); color: #fff; width: 50px; cursor: pointer; display: grid; place-items: center; }
.widget-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.widget-posts li { display: flex; gap: 14px; align-items: flex-start; }
.wp-thumb { flex-shrink: 0; width: 72px; height: 60px; overflow: hidden; background: var(--bg-alt); display: grid; place-items: center; color: var(--muted); }
.wp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-posts a:not(.wp-thumb) { color: var(--heading) !important; font-size: 13.5px; font-weight: 600; line-height: 1.5; display: block; }
.widget-posts a:not(.wp-thumb):hover { color: var(--accent) !important; }
.widget-posts time { font-size: 12px; color: var(--muted); }
.widget-cats { list-style: none; margin: 0; padding: 0; }
.widget-cats a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--border); color: var(--text) !important; font-size: 14px; }
.widget-cats a:hover, .widget-cats .current a { color: var(--accent) !important; }
.widget-cats span { color: var(--muted); font-size: 12px; }

/* Artigo */
.article-cover { margin: 0 0 26px; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.article .post-meta { justify-content: flex-start; }
.article-title { font-size: clamp(22px, 3vw, 32px); line-height: 1.3; margin-bottom: 22px; }
.prose { font-size: 16px; line-height: 1.9; color: var(--text); }
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.prose img { margin: 1.4em auto; height: auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding: 18px 26px; border-left: 4px solid var(--accent); background: var(--bg-alt); font-style: italic; color: var(--heading); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.prose .align-center { text-align: center; }
.prose img.align-center { margin-left: auto; margin-right: auto; }
.prose .align-right { text-align: right; }
.prose strong { color: var(--heading); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 22px 0; margin-top: 34px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.share strong { color: var(--heading); font-family: var(--font-head); font-size: 13px; text-transform: uppercase; margin-right: 6px; }
.share a, .share button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); background: transparent; color: var(--text) !important; cursor: pointer; border-radius: 50%; }
.share a:hover, .share button:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.post-nav a { display: block; color: var(--heading) !important; }
.post-nav small { display: flex; align-items: center; gap: 4px; color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; font-weight: 700; }
.post-nav span { font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.5; }
.post-nav a:hover span { color: var(--accent); }
.pn-next { text-align: right; }
.pn-next small { justify-content: flex-end; }

/* Galeria — álbuns */
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.album-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.album-card { display: block; background: var(--surface); box-shadow: var(--shadow); color: var(--heading) !important; transition: transform .3s, box-shadow .3s; }
.album-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.album-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--bg-alt); }
.album-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.album-card:hover .album-img img { transform: scale(1.06); }
.album-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 20px; display: inline-flex; align-items: center; gap: 5px; }
.album-body { display: block; padding: 18px 20px 20px; }
.album-body strong { display: block; font-family: var(--font-head); font-size: 14px; line-height: 1.5; }
.album-body time { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.album-head { max-width: 860px; margin: 0 auto 40px; text-align: center; }
.album-head .post-meta { justify-content: center; }
.album-desc { text-align: left; margin-top: 18px; position: relative; }
.album-desc.collapsed { max-height: 190px; overflow: hidden; }
.album-desc.collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, var(--bg)); }
.readmore-btn { display: block; margin: 10px auto 0; border: 0; background: transparent; color: var(--accent); font-weight: 700; cursor: pointer; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.photo-masonry { columns: 4 220px; column-gap: 8px; }
.photo-masonry a { display: block; margin-bottom: 8px; break-inside: avoid; overflow: hidden; cursor: zoom-in; background: var(--bg-alt); }
.photo-masonry img { width: 100%; transition: transform .5s, opacity .3s; }
.photo-masonry a:hover img { transform: scale(1.04); opacity: .9; }

/* Visualizador de fotos */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 10, 9, .95); display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #ddd; margin-top: 10px; font-size: 14px; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; }
.lightbox button:hover { background: var(--accent); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 30px; left: 24px; color: #aaa; font-size: 13px; }

/* 404 / manutenção */
.error-page { text-align: center; padding: 110px 20px; }
.error-page .code { font-family: var(--font-head); font-size: clamp(80px, 14vw, 140px); font-weight: 800; color: var(--accent); line-height: 1; }

/* Animação ao aparecer */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Páginas por blocos
   ========================================================= */
.page-header.has-image { background: #111; padding: 90px 0 80px; }
.page-header-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-header .container { position: relative; z-index: 1; }
.page-subtitle { font-size: 16px; opacity: .9; margin: -2px 0 12px; max-width: 720px; }
.container-narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
.bg-alt { background: var(--bg-alt); }
.bg-accent { background: var(--accent); color: rgba(255, 255, 255, .9); }
.bg-accent h2, .bg-accent h3, .bg-accent .prose strong { color: #fff; }
.bg-accent .section-head p, .bg-accent .feature p { color: rgba(255, 255, 255, .85); }
.bg-accent .icon-circle { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.block + .block.bg-white:not(.bg-alt), .block.bg-white + .block.bg-white { padding-top: 0; }
.block-title { font-size: clamp(22px, 2.6vw, 28px); text-transform: uppercase; margin-bottom: 22px; }
.block-title.line-left { padding-left: 18px; border-left: 4px solid var(--accent); line-height: 1.2; }

/* Caixas com ícone */
.feature-grid { display: grid; gap: 40px 30px; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature { color: var(--text) !important; display: block; }
.feature h3 { font-size: 16px; margin-bottom: 10px; line-height: 1.5; }
.feature p { font-size: 14px; line-height: 1.9; margin: 0; }
.style-top .feature { text-align: center; }
.style-left .feature { display: flex; gap: 20px; align-items: flex-start; }
.style-left .icon-circle { width: 84px; height: 84px; margin: 0; flex-shrink: 0; }
.feature:hover .icon-circle { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Imagem e texto */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.no-image { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
.split.side-right .split-media { order: 2; }
.split-media { margin: 0; overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body .btn { margin-top: 10px; }

/* Acordeão */
.accordion { display: grid; gap: 10px; }
.acc-item { border: 1px solid var(--border); background: var(--surface); }
.acc-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; font-family: var(--font-head); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; color: var(--heading); }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); color: var(--accent); transition: transform .25s; flex-shrink: 0; }
.acc-item[open] .acc-ico { transform: rotate(45deg); background: var(--accent); color: #fff; }
.acc-item[open] summary { color: var(--accent); }
html[data-theme="dark"] .acc-item[open] summary { color: color-mix(in srgb, var(--accent) 50%, #9fe0b9); }
.acc-body { padding: 0 20px 18px; font-size: 15px; }
.acc-body ul { margin: 0; }

/* Contadores */
.counter-grid { position: relative; z-index: 1; display: grid; gap: 50px 30px; }
.counter-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.counter-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.counter-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.block-counters .counter-inner { position: static; }
.block-counters .counter-num { font-size: clamp(38px, 5vw, 52px); }

/* Equipa */
.team-group { text-align: center; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin: 10px 0 34px; display: flex; align-items: center; gap: 18px; color: var(--muted); }
.team-group::before, .team-group::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.team-grid + .team-group { margin-top: 60px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 28px; }
.member { text-align: center; }
.member-photo { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--bg-alt); margin-bottom: 18px; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.member:hover .member-photo img { transform: scale(1.05); }
.member-initials { display: grid; place-items: center; height: 100%; font-family: var(--font-head); font-size: 46px; font-weight: 700; color: var(--accent); background: var(--accent-soft); }
.member-social { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 6px; padding: 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); transform: translateY(100%); transition: transform .3s; }
.member:hover .member-social, .member:focus-within .member-social { transform: none; }
.member-social a { width: 34px; height: 34px; display: grid; place-items: center; background: #fff; color: var(--accent) !important; border-radius: 50%; }
.member h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.member-role { font-size: 13px; color: var(--accent); font-weight: 600; margin: 0 0 8px; }
html[data-theme="dark"] .member-role { color: color-mix(in srgb, var(--accent) 50%, #9fe0b9); }
.member-bio { font-size: 13.5px; line-height: 1.8; color: var(--muted); }

/* Testemunhos */
.testimonial-track > * { flex-basis: calc((100% - 60px) / 3); }
.testimonial { margin: 0; background: var(--surface); box-shadow: var(--shadow); padding: 46px 32px 30px; position: relative; display: flex; flex-direction: column; }
.quote-mark { position: absolute; top: 4px; left: 24px; font-family: Georgia, serif; font-size: 80px; line-height: 1; color: var(--accent-2); opacity: .5; }
.testimonial blockquote { margin: 0 0 24px; font-size: 14.5px; line-height: 1.9; font-style: italic; color: var(--text); flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial figcaption img, .t-initial { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.t-initial { display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; font-family: var(--font-head); }
.testimonial strong { display: block; font-family: var(--font-head); font-size: 13.5px; text-transform: uppercase; color: var(--heading); }
.testimonial small { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* Chamada para ação */
.cta-band { position: relative; overflow: hidden; background: var(--accent); color: #fff; padding: 64px 0; }
.cta-band.has-image::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--accent) 75%, transparent); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 6px; }
.cta-inner p { margin: 0; opacity: .92; max-width: 680px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.contact-intro { color: var(--muted); font-style: italic; margin-top: -10px; }
.contact-form { display: grid; gap: 16px; margin-top: 22px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field span { display: block; font-size: 12.5px; font-weight: 600; color: var(--heading); margin-bottom: 6px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; }
.cf-field input, .cf-field textarea { width: 100%; border: 1px solid var(--border); background: var(--surface); color: var(--heading); padding: 13px 16px; font: inherit; font-size: 14.5px; border-radius: 2px; transition: border-color .2s, box-shadow .2s; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cf-field .field-error { color: #c0392b; font-size: 13px; margin-top: 5px; }
.contact-form .btn { justify-self: start; }
.contact-info { display: grid; gap: 26px; padding: 30px; background: var(--bg-alt); border-top: 3px solid var(--accent); }
.ci-item { display: flex; gap: 16px; }
.ci-ico { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; background: var(--surface); color: var(--accent); border-radius: 50%; box-shadow: var(--shadow); }
.ci-item h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin: 2px 0 4px; }
.ci-item p { margin: 0; line-height: 1.7; }
.ci-item a { color: var(--text) !important; }
.ci-item a:hover { color: var(--accent) !important; }
.socials-soft a { width: 38px; height: 38px; background: var(--surface); color: var(--muted) !important; border-radius: 50%; box-shadow: var(--shadow); margin-right: 4px; }
.contact-map { margin-top: 70px; line-height: 0; }
.contact-map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.2); }
html[data-theme="dark"] .contact-map iframe { filter: invert(.9) hue-rotate(180deg) grayscale(.3); }

@media (max-width: 991px) {
    .feature-grid.cols-3, .feature-grid.cols-4, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .split.side-right .split-media { order: 0; }
    .counter-grid.cols-3, .counter-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .testimonial-track > * { flex-basis: calc((100% - 30px) / 2); }
}
@media (max-width: 767px) {
    .feature-grid.cols-2, .feature-grid.cols-3, .feature-grid.cols-4 { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
    .member h3 { font-size: 13px; }
    .counter-grid.cols-2, .counter-grid.cols-3, .counter-grid.cols-4 { grid-template-columns: 1fr; }
    .testimonial-track > * { flex-basis: 88%; }
    .cf-row { grid-template-columns: 1fr; }
    .contact-info { padding: 24px; }
    .contact-map iframe { height: 300px; }
    .page-header.has-image { padding: 60px 0 50px; }
    .member-social { transform: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1320px) {
    .carousel-arrow.prev { left: -14px; }
    .carousel-arrow.next { right: -14px; }
    .carousel-arrow { background: var(--surface); box-shadow: var(--shadow); border-radius: 50%; color: var(--muted); }
}
@media (max-width: 1100px) {
    .header-aside { gap: 24px; }
    .info-box:nth-child(2) { display: none; }
    .main-nav > ul > li > a { padding: 0 12px; font-size: 11.5px; }
    .with-sidebar { grid-template-columns: minmax(0, 1fr) 280px; gap: 34px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .container-wide { padding: 0 20px; }
}
@media (max-width: 991px) {
    .tb-hide-md { display: none !important; }
    .header-main { min-height: 78px; }
    .logo img { max-height: 50px; }
    .header-aside { display: none; }
    .header-mobile-actions { display: flex; }
    .btn-donate-sm { padding: 10px 14px; }

    .nav-wrap { display: none; }
    .nav-open .nav-wrap { display: block; animation: drop .25s ease; }
    .nav-inner { flex-direction: column; align-items: stretch; padding-top: 6px; padding-bottom: 14px; }
    .search-toggle { display: none; }
    .search-panel { display: block !important; position: static; background: transparent; box-shadow: none; padding: 10px 0 0; order: -1; }
    .search-panel .container { background: rgba(255, 255, 255, .14); padding: 0 14px; border-radius: 3px; color: #fff; }
    .search-panel input { color: #fff; font-size: 15px; }
    .search-panel input::placeholder { color: rgba(255, 255, 255, .75); }
    .search-close { display: none; }
    .nav-wrap .nav-inner { order: 2; }
    .nav-wrap { display: none; flex-direction: column; }
    .nav-open .nav-wrap { display: flex; max-height: calc(100vh - 78px); overflow-y: auto; }
    .main-nav > ul { flex-direction: column; }
    .main-nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .main-nav > ul > li > a, .main-nav > ul > li:first-child > a { height: auto; padding: 14px 44px 14px 0; font-size: 13px; }
    .main-nav > ul > li > a .ico { display: none; }
    .main-nav > ul > li.current > a { box-shadow: none; color: #fff !important; }
    .sub-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 4px; width: 42px; height: 42px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 3px; cursor: pointer; }
    .sub-open > .sub-toggle .ico { transform: rotate(180deg); }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: rgba(0, 0, 0, .12); min-width: 0; padding: 6px 0; margin-bottom: 10px; }
    .sub-open > .sub-menu { display: block; }
    .sub-menu a { color: #fff !important; padding: 9px 16px; }
    .sub-menu a:hover, .sub-menu .current a { background: transparent; color: #fff !important; padding-left: 20px; }
    .nav-mobile-extra { display: grid; gap: 8px; padding-top: 16px; }
    .nav-mobile-extra a { color: #fff !important; display: flex; align-items: center; gap: 10px; font-size: 14px; }
    .site-header.is-sticky .nav-wrap { position: static; animation: none; box-shadow: none; }

    .icon-boxes, .icon-boxes.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
    .about-split { grid-template-columns: 1fr; }
    .about-media { min-height: 0; aspect-ratio: 16 / 10; }
    .about-body { padding: 60px 30px; }
    .carousel-track > * { flex-basis: calc((100% - 30px) / 2); }
    .partners-track > * { flex-basis: calc((100% - 36px) / 3); }
    .with-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .post-grid.cols-3, .album-grid, .album-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 70px 0; }
    .hero-arrow { display: none; }
}
@media (max-width: 767px) {
    .tb-hide-sm { display: none !important; }
    .topbar-inner { min-height: 40px; }
    .tb-welcome { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; display: inline-block !important; }
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 34px; }
    .features { padding: 60px 0; }
    .icon-circle { width: 100px; height: 100px; }
    .icon-circle .ico { width: 34px; height: 34px; }
    .counter-band { padding: 70px 0; }
    .filter-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: -10px -20px 26px; padding: 0 20px; scrollbar-width: none; }
    .filter-tabs::-webkit-scrollbar { display: none; }
    .filter-tabs button, .filter-tabs a { white-space: nowrap; padding: 10px 16px; }
    .masonry { columns: 2; }
    .carousel-track { gap: 16px; }
    .carousel-track > * { flex-basis: 86%; }
    .partners-track > * { flex-basis: calc((100% - 16px) / 2); }
    .partner-card { height: 130px; }
    .carousel-arrow { display: none; }
    .post-grid, .post-grid.cols-3, .album-grid, .album-grid.cols-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 54px; padding-bottom: 40px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .copyright { justify-content: center; }
    .footer-menu { justify-content: center; }
    .newsletter-form { max-width: none; }
    .newsletter-form button { flex: 1 1 100%; }
    .post-nav { grid-template-columns: 1fr; }
    .pn-next { text-align: left; }
    .pn-next small { justify-content: flex-start; }
    .photo-masonry { columns: 2; column-gap: 6px; }
    .photo-masonry a { margin-bottom: 6px; }
    .lightbox .lb-prev, .lightbox .lb-next { display: none; }
    .page-header { padding: 36px 0; }
    .hero { height: clamp(460px, 78vh, 620px); }
    .hero-overlay { background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .45) 100%); }
    .hero-content { align-self: flex-end; padding-bottom: 70px; }
    .hero-actions .btn { padding: 12px 18px; }
    .whatsapp-float { width: 50px; height: 50px; left: 14px; bottom: 16px; }
    .to-top { right: 14px; bottom: 16px; }
}
@media (max-width: 480px) {
    .icon-boxes, .icon-boxes.cols-2, .icon-boxes.cols-3 { grid-template-columns: 1fr; }
    .btn-donate-sm span { display: none; }
    .btn-donate-sm { padding: 0; width: 44px; height: 44px; justify-content: center; }
    .lang-switch a { padding: 1px 6px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
@media print {
    .topbar, .nav-wrap, .site-footer, .newsletter, .whatsapp-float, .to-top, .sidebar, .share, .header-aside, .header-mobile-actions { display: none !important; }
    .with-sidebar { display: block; }
}

/* =========================================================
   ACABAMENTO PROFISSIONAL (v1.3)
   Sistema único de espaçamentos, alinhamentos e componentes.
   Este bloco fica no fim de propósito: prevalece sobre as regras anteriores.
   ========================================================= */
:root {
    --gutter: 20px;
    --section-y: clamp(64px, 7.5vw, 100px);
    --head-gap: clamp(36px, 4vw, 54px);
    --radius-card: 6px;
    --radius-btn: 4px;
    --ctl-h: 48px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Grelha e ritmo vertical ---------- */
.container { padding-left: var(--gutter); padding-right: var(--gutter); }
.section, .features { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.features { padding-top: calc(var(--section-y) - 24px); padding-bottom: calc(var(--section-y) - 20px); }
.partners-section { padding-top: var(--section-y); }
.section-head { max-width: 680px; margin: 0 auto var(--head-gap); }
.section-head h2 { position: relative; padding-bottom: 18px; margin-bottom: 16px; letter-spacing: .03em; }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 46px; height: 3px; border-radius: 3px; background: var(--accent-2); transform: translateX(-50%); }
.section-head p { line-height: 1.95; }
.bg-accent .section-head h2::after { background: #fff; }
.block-title { letter-spacing: .02em; }
.section-cta { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Botões: alturas e cantos iguais ---------- */
.btn { min-height: var(--ctl-h); padding: 0 28px; border-radius: var(--radius-btn); line-height: 1.2; }
.btn-sm { min-height: 38px; padding: 0 18px; }
.btn-outline { min-height: var(--ctl-h); padding: 0 30px; border-radius: var(--radius-btn); }
.btn-icon { padding: 0 26px 0 0; }
.btn-icon .btn-ico { align-self: stretch; padding: 0; width: 48px; border-radius: var(--radius-btn) 0 0 var(--radius-btn); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico-arrow-right { transform: translateX(3px); }

/* ---------- Barra superior e cabeçalho ---------- */
.topbar-inner { min-height: 42px; }
.topbar-info span { line-height: 1.2; }
.lang-switch { align-items: stretch; border-radius: var(--radius-btn); }
.lang-switch a { display: inline-flex; align-items: center; padding: 5px 9px; line-height: 1; }
.topbar-right { gap: 12px; }
.header-main { min-height: 100px; gap: 24px; }
.logo-img { display: inline-flex; align-items: center; line-height: 0; transition: background-color .3s, box-shadow .3s; }
.logo img { max-height: 60px; width: auto; height: auto; max-width: min(260px, 100%); image-rendering: auto; }
.logo .logo-dark { display: none; }
html[data-theme="dark"] .logo-img.has-light { display: none; }
html[data-theme="dark"] .logo .logo-dark { display: block; }
/* Sem logótipo claro: o principal numa placa branca (nítido, sem filtros) */
html[data-theme="dark"] .logo-img:not(.has-light) { background: #fff; padding: 6px 12px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
html[data-theme="dark"] .logo-img:not(.has-light) img { max-height: 48px; }
.header-aside { gap: 34px; }
.info-box { align-items: center; gap: 14px; }
.info-box > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.info-title, .info-sub { line-height: 1.35; }
.btn-donate { min-height: 42px; padding: 0 22px; border-radius: var(--radius-btn); }
.main-nav > ul > li > a { height: 54px; }
.nav-inner { min-height: 54px; }
.sub-menu { border-radius: 0 0 var(--radius-card) var(--radius-card); }

/* ---------- Faixa de título das páginas internas ---------- */
.page-header { display: flex; align-items: center; min-height: 210px; padding: 44px 0; }
.page-header .container { width: 100%; }
.page-header h1 { margin-bottom: 10px; letter-spacing: .02em; }
.page-header.has-image { min-height: 300px; }
.breadcrumb { gap: 8px; font-size: 13px; }
.breadcrumb .ico { opacity: .7; }

/* ---------- Slider ---------- */
.hero-overlay { background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .5) 52%, rgba(0, 0, 0, .12) 100%), linear-gradient(0deg, rgba(0, 0, 0, .45) 0%, transparent 35%); }
.align-center .hero-overlay { background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .8) 100%); }
.hero-content { padding-top: 10px; padding-bottom: 40px; }
.hero-title { letter-spacing: -.005em; }
.hero-subtitle { font-weight: 700; opacity: .96; }
.hero-text { max-width: 600px; }
.hero-actions { gap: 12px; }
.hero-actions .btn { min-height: 50px; }
.hero-count { position: absolute; z-index: 3; bottom: 24px; left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .75); font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.hero-count b { color: #fff; font-size: 20px; font-weight: 700; }
.hero-count span { display: inline-block; width: 34px; height: 1px; background: rgba(255, 255, 255, .55); }
.hero-arrow { width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .18); }
.hero-arrow:hover { border-color: var(--accent); }
.hero.is-paused .hero-progress i { animation-play-state: paused; }

/* ---------- Destaques (caixas com ícone) ---------- */
.icon-boxes { gap: 26px; align-items: stretch; }
.icon-box { height: 100%; padding: 34px 24px 32px; border-radius: var(--radius-card); border: 1px solid transparent; transition: background-color .35s, box-shadow .35s, transform .35s var(--ease), border-color .35s; }
.icon-box:hover { background: var(--surface); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
html[data-theme="dark"] .icon-box:hover { border-color: var(--border); }
.icon-circle { width: 112px; height: 112px; margin-bottom: 24px; }
.icon-box h3 { font-size: 16.5px; margin-bottom: 12px; }
.style-top .feature { height: 100%; padding: 30px 22px; border-radius: var(--radius-card); transition: background-color .35s, box-shadow .35s, transform .35s var(--ease); }
.style-top .feature:hover { background: var(--surface); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.feature-grid { align-items: stretch; }

/* ---------- Contador ---------- */
.counter-band { padding: calc(var(--section-y) + 10px) 0; }
.counter-band::after { background: linear-gradient(180deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, .68)); }
.counter-num { letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.counter-sep { width: 46px; height: 3px; border-radius: 3px; background: var(--accent-2); }

/* ---------- Filtros (galeria) ---------- */
.filter-tabs { gap: 8px; margin: 0 0 36px; }
.filter-tabs button, .filter-tabs a { border: 1px solid var(--border) !important; border-radius: 40px; padding: 9px 20px; background: transparent; transition: all .25s; }
.filter-tabs button.active, .filter-tabs a.active, .filter-tabs button.active:hover, .filter-tabs a.active:hover { background: var(--accent); border-color: var(--accent) !important; color: #fff !important; }
.filter-tabs button:hover, .filter-tabs a:hover { border-color: var(--accent) !important; }
.gallery-section .filter-tabs { margin-top: -6px; }

/* ---------- Galeria da página inicial: grelha regular ---------- */
.gallery-section .container-wide { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.masonry { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.masonry-item { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-card); transition: opacity .3s, transform .3s var(--ease); }
.masonry-item img { width: 100%; height: 100%; object-fit: cover; }
.masonry.is-filtering .masonry-item { opacity: 0; transform: scale(.97); }
.masonry-cap { opacity: 1; padding: 18px 20px; background: linear-gradient(0deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .25) 45%, transparent 70%); flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 14px; font-size: 13.5px; }
.masonry-cap span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.masonry-cap .ico { flex-shrink: 0; width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: var(--accent); opacity: 0; transform: scale(.7); transition: all .3s var(--ease); }
.masonry-item:hover .masonry-cap, .masonry-item:focus .masonry-cap { background: linear-gradient(0deg, color-mix(in srgb, var(--accent) 92%, #000) 0%, color-mix(in srgb, var(--accent) 45%, transparent) 55%, transparent 90%); }
.masonry-item:hover .masonry-cap .ico, .masonry-item:focus .masonry-cap .ico { opacity: 1; transform: none; }

/* ---------- Sobre nós (imagem + texto) ---------- */
.about-media { min-height: 560px; overflow: hidden; }
.about-media img { transition: transform 1.2s var(--ease); }
.about-split:hover .about-media img { transform: scale(1.03); }
.about-body { padding: clamp(48px, 8vw, 110px) clamp(24px, 7vw, 100px); max-width: 680px; }
.about-body h2 { position: relative; padding-bottom: 18px; margin-bottom: 22px; }
.about-body h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; border-radius: 3px; background: var(--accent-2); }

/* ---------- Carrosséis ---------- */
.carousel-track { padding: 14px 8px 26px; margin: -14px -8px 0; scroll-padding: 0 8px; }
.carousel-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--muted); box-shadow: var(--shadow); transition: all .25s; }
.carousel-arrow:hover:not([disabled]) { background: var(--accent); border-color: var(--accent); color: #fff; }
.carousel-arrow.prev { left: -66px; }
.carousel-arrow.next { right: -66px; }
.carousel-dots { margin-top: 18px; }
.carousel-dots button.active { width: 22px; border-radius: 6px; transform: none; }

/* ---------- Parceiros: cinzento → cor ---------- */
.partner-card { height: 150px; border-radius: var(--radius-card); border: 1px solid var(--border); box-shadow: none; padding: 22px; }
.partner-card img { max-height: 104px; filter: grayscale(1); opacity: .72; transition: filter .35s, opacity .35s, transform .35s var(--ease); }
.partner-card:hover { box-shadow: var(--shadow-hover); border-color: transparent; }
.partner-card:hover img { filter: none; opacity: 1; transform: scale(1.04); }
html[data-theme="dark"] .partner-card { border-color: transparent; }
html[data-theme="dark"] .partner-card img { opacity: .9; }

/* ---------- Cartões de notícias ---------- */
.post-card { border-radius: var(--radius-card); overflow: hidden; border: 1px solid transparent; height: 100%; }
html[data-theme="dark"] .post-card, html[data-theme="dark"] .album-card, html[data-theme="dark"] .testimonial { border: 1px solid var(--border); }
.post-card-img { position: relative; aspect-ratio: 3 / 2; }
.post-card-date { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: center; min-width: 52px; padding: 7px 8px 6px; border-radius: var(--radius-btn); background: var(--accent); color: #fff; font-family: var(--font-head); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.post-card-date b { font-size: 19px; letter-spacing: 0; line-height: 1.05; }
.post-card-body { padding: 24px 24px 26px; }
.post-card h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.post-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
.post-grid { gap: 28px; align-items: stretch; }
.post-grid .post-meta { flex-wrap: nowrap; gap: 14px; overflow: hidden; }
.post-grid .post-meta > * { white-space: nowrap; }
.post-grid .post-meta a { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.read-more { padding-bottom: 3px; }

/* ---------- Álbuns, equipa, testemunhos, acordeão, contacto ---------- */
.album-card { display: flex; flex-direction: column; border-radius: var(--radius-card); overflow: hidden; height: 100%; }
.album-body { flex: 1; padding: 18px 20px 20px; }
.album-body strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
.album-grid { align-items: stretch; }
.photo-masonry a, .member-photo, .split-media, .article-cover img, .acc-item, .contact-info, .testimonial, .ci-ico + div, .contact-map iframe { border-radius: var(--radius-card); }
.photo-masonry a { overflow: hidden; }
.acc-item { overflow: hidden; }
.testimonial { height: 100%; }
.contact-info { border-top-width: 3px; }
.split-media { box-shadow: var(--shadow); }
.prose img { border-radius: var(--radius-btn); }

/* ---------- Formulários: mesma altura e cantos ---------- */
.cf-field input, .widget-search input, .search-panel input { min-height: var(--ctl-h); }
.cf-field input, .cf-field textarea { border-radius: var(--radius-btn); }
.cf-field textarea { min-height: 170px; resize: vertical; }
.widget-search { border-radius: var(--radius-btn); overflow: hidden; }
.widget-search button { width: 52px; }
.newsletter-form input:not(.hp), .newsletter-form button { height: var(--ctl-h); border-radius: var(--radius-btn); }

/* ---------- Barra lateral ---------- */
.sidebar { gap: 38px; }
.widget-posts li { align-items: center; }
.wp-thumb { border-radius: var(--radius-btn); }

/* ---------- Newsletter ---------- */
.newsletter { padding: 38px 0; }
.newsletter-inner { gap: 22px 48px; }

/* ---------- Rodapé alinhado ---------- */
.footer-grid { grid-template-columns: 1.25fr 1.1fr 1fr 1.1fr; gap: 40px 48px; padding-top: 72px; padding-bottom: 60px; align-items: start; }
.footer-col h4 { position: relative; padding-bottom: 14px; margin-bottom: 24px; line-height: 1.4; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--accent-2); }
.footer-logo-link { display: inline-block; margin-bottom: 22px; line-height: 0; }
.footer-logo { max-height: 60px; height: auto; width: auto; max-width: 100%; margin: 0; }
.logo-plate { display: inline-flex; align-items: center; background: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
.logo-plate .footer-logo { max-height: 50px; image-rendering: auto; filter: none; }
.footer-about p { margin: 0 0 22px; }
.footer-posts { gap: 20px; }
.fp-ico { border-radius: var(--radius-btn); }
.footer-photos { gap: 8px; }
.footer-photos a { border-radius: var(--radius-btn); }
.socials-box a { border-radius: var(--radius-btn); }
.footer-bottom-inner { min-height: 64px; padding-top: 16px; padding-bottom: 16px; }

/* ---------- Animações ---------- */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.icon-boxes .reveal:nth-child(2), .feature-grid .reveal:nth-child(2), .team-grid .reveal:nth-child(2) { transition-delay: .08s; }
.icon-boxes .reveal:nth-child(3), .feature-grid .reveal:nth-child(3), .team-grid .reveal:nth-child(3) { transition-delay: .16s; }
.icon-boxes .reveal:nth-child(4), .feature-grid .reveal:nth-child(4), .team-grid .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Responsivo do acabamento ---------- */
@media (max-width: 1320px) {
    .carousel-arrow.prev { left: -12px; }
    .carousel-arrow.next { right: -12px; }
}
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
    .header-main { min-height: 76px; }
    .logo img { max-height: 48px; }
    html[data-theme="dark"] .logo-img:not(.has-light) img { max-height: 40px; }
    .masonry { grid-template-columns: repeat(2, 1fr); }
    .about-media { min-height: 0; }
    .about-body { max-width: none; }
    .page-header { min-height: 170px; padding: 36px 0; }
    .page-header.has-image { min-height: 230px; }
    .main-nav > ul > li > a { height: auto; }
}
@media (max-width: 767px) {
    :root { --gutter: 18px; --section-y: 56px; --head-gap: 32px; }
    .hero-count { display: none; }
    .hero-content { padding-bottom: 66px; }
    .masonry { gap: 8px; }
    .masonry-cap { padding: 12px; font-size: 12px; }
    .masonry-cap .ico { display: none; }
    .icon-box { padding: 26px 18px; }
    .icon-circle { width: 96px; height: 96px; }
    .post-card-body { padding: 20px 20px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 44px; }
    .footer-photos { max-width: 300px; }
    .partner-card { height: 120px; }
    .partner-card img { max-height: 80px; }
    .page-header { min-height: 140px; padding: 30px 0; }
    .about-body { padding: 52px var(--gutter); }
    .filter-tabs { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
    .newsletter-head { align-items: flex-start; }
}
@media (max-width: 400px) {
    .hero-actions .btn { width: 100%; }
    .masonry { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .icon-box:hover, .style-top .feature:hover, .post-card:hover, .album-card:hover, .partner-card:hover img { transform: none; }
}

/* ---------- Acabamento: páginas internas ---------- */
.page-header { min-height: 180px; padding: 40px 0; }
.page-header + .section, .page-header + .flash + .section, .page-header + .block:not(.counter-band):not(.cta-band) { padding-top: calc(var(--section-y) * .75); }
.post-grid .post-meta a { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-grid .post-meta a .ico { vertical-align: -2px; margin-right: 4px; }
/* Fotos dos álbuns: grelha regular, linhas incompletas centradas (ver em tamanho real no visualizador) */
.photo-masonry { columns: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.photo-masonry a { flex: 0 0 calc((100% - 36px) / 4); margin: 0; aspect-ratio: 4 / 3; }
.photo-masonry img { width: 100%; height: 100%; object-fit: cover; }
/* Equipa: linhas incompletas centradas */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 28px; }
.team-grid > .member { flex: 0 0 calc((100% - 84px) / 4); }
.album-head { margin-bottom: 44px; }
.album-desc { max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 991px) {
    .photo-masonry a { flex-basis: calc((100% - 24px) / 3); }
    .team-grid > .member { flex-basis: calc((100% - 28px) / 2); }
}
@media (max-width: 767px) {
    .page-header { min-height: 130px; padding: 28px 0; }
    .photo-masonry { gap: 8px; }
    .photo-masonry a { flex-basis: calc((100% - 8px) / 2); }
    .team-grid { gap: 26px 16px; }
    .team-grid > .member { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 767px) and (min-width: 401px) {
    .album-grid, .album-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .album-body { padding: 14px 14px 16px; }
    .album-body strong { font-size: 13px; }
}

/* =========================================================
   FAIXA DE IMPACTO (página inicial)
   Título + texto + botões à esquerda/direita e 4 números em cartões
   ========================================================= */
.impact-band { position: relative; overflow: hidden; color: #fff; padding: var(--section-y) 0; background: #12241a; isolation: isolate; }
.impact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); }
.impact-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(900px 420px at 85% 0%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%),
        linear-gradient(115deg, rgba(8, 24, 15, .94) 0%, color-mix(in srgb, var(--accent) 62%, rgba(8, 20, 13, .9)) 55%, rgba(8, 20, 13, .82) 100%); }
.impact-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 0; background: linear-gradient(90deg, var(--accent-2), color-mix(in srgb, var(--accent-2) 30%, transparent)); }
.impact-inner { position: relative; }

.impact-head { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; align-items: end; gap: 28px 60px; margin-bottom: var(--head-gap); }
.impact-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.impact-kicker::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--accent-2); }
.impact-copy h2 { color: #fff; font-size: clamp(24px, 3.1vw, 36px); line-height: 1.22; letter-spacing: -.01em; margin: 0 0 14px; max-width: 720px; }
.impact-copy p { color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.85; margin: 0; max-width: 620px; }
.impact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.btn-accent2 { background: var(--accent-2); border-color: var(--accent-2); color: #fff !important; box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-2) 35%, transparent); }
.btn-accent2:hover { background: color-mix(in srgb, var(--accent-2) 85%, #000); border-color: color-mix(in srgb, var(--accent-2) 85%, #000); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.btn-ghost-light:hover { background: #fff; border-color: #fff; color: var(--accent) !important; }
.impact-actions .btn { min-height: var(--ctl-h); border-radius: var(--radius-btn); }

.impact-grid { display: grid; gap: 20px; }
.impact-grid.cols-1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.impact-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.impact-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.impact-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.impact-stat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px 26px 26px; border-radius: var(--radius-card); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .35s var(--ease), background .35s, border-color .35s; transition-delay: var(--d, 0ms); }
.impact-stat::before { content: ""; position: absolute; left: 26px; top: 0; width: 38px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent-2); }
.impact-stat:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24); }
.impact-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent-2) 18%, transparent); color: var(--accent-2); margin-bottom: 10px; }
.impact-num { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-head); font-size: clamp(34px, 3.6vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -.01em; color: #fff; font-variant-numeric: tabular-nums; }
.impact-num .counter-num { font: inherit; letter-spacing: inherit; }
.impact-num em { font-style: normal; color: var(--accent-2); font-size: .72em; }
.impact-label { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .8); font-weight: 600; }
.impact-stat.reveal { transition: opacity .8s ease var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms), background .35s, border-color .35s; }

html[data-theme="dark"] .impact-band { background: #0b130e; }

@media (max-width: 991px) {
    .impact-head { grid-template-columns: 1fr; align-items: start; }
    .impact-actions { justify-content: flex-start; }
    .impact-grid.cols-3, .impact-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .impact-grid.cols-2, .impact-grid.cols-3, .impact-grid.cols-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .impact-stat { padding: 22px 16px 18px; }
    .impact-stat::before { left: 16px; }
    .impact-ico { width: 42px; height: 42px; margin-bottom: 6px; }
    .impact-ico .ico { width: 20px; height: 20px; }
    .impact-num { font-size: 30px; }
    .impact-label { font-size: 12.5px; }
    .impact-actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .impact-stat, .impact-stat:hover { transition: none; transform: none; }
}

/* =========================================================
   FORMULÁRIOS: anti-spam, envio sem recarregar, mensagens
   ========================================================= */
.hp-field { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Desafio (formulários grandes) */
.as-field .as-row { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius-btn, 4px); overflow: hidden; background: var(--surface); max-width: 360px; }
.as-field .as-q { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--bg-alt); color: var(--heading); font-family: var(--font-head); font-weight: 700; font-size: 14px; white-space: nowrap; border-right: 1px solid var(--border); }
.as-field .as-q::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpolyline points='9 12 11 14 15 10'/%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' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpolyline points='9 12 11 14 15 10'/%3E%3C/svg%3E") center/contain no-repeat; }
.as-field .as-row input { border: 0 !important; box-shadow: none !important; flex: 1; min-width: 70px; text-align: center; font-weight: 700; font-size: 16px; }
.as-field .as-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.as-field.has-error .as-row { border-color: #c0392b; }

/* Desafio compacto (newsletter) */
.newsletter-form .as-compact { display: flex; align-items: stretch; flex: 0 0 auto; height: 44px; border-radius: 2px; overflow: hidden; background: #fff; }
.newsletter-form .as-compact .as-q { display: grid; place-items: center; padding: 0 10px 0 12px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--accent); background: rgba(0, 0, 0, .05); white-space: nowrap; }
.newsletter-form .as-compact input { flex: 0 0 52px !important; width: 52px; min-width: 0; height: 44px; border: 0; padding: 0 8px !important; text-align: center; font-weight: 700; color: #333; }
.newsletter-form .has-error, .newsletter-form .as-compact.has-error { box-shadow: 0 0 0 2px #ffb4a8; }

/* Estado de erro dos campos */
.cf-field.has-error input, .cf-field.has-error textarea, .cf-field.has-error select { border-color: #c0392b !important; }
.dn-file.has-error { border-color: #c0392b; }

/* Mensagens */
.form-msg { font-size: 14px; font-weight: 600; border-radius: 6px; }
.form-msg:empty { display: none; }
.form-msg.is-ok, .form-msg.is-error { display: flex; align-items: center; gap: 10px; padding: 12px 16px; animation: msgIn .3s ease; }
.form-msg.is-ok { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.form-msg.is-error { background: color-mix(in srgb, #c0392b 10%, var(--bg)); color: #c0392b; border: 1px solid color-mix(in srgb, #c0392b 30%, transparent); }
html[data-theme="dark"] .form-msg.is-ok { color: color-mix(in srgb, var(--accent) 50%, #9fe0b9); }
html[data-theme="dark"] .form-msg.is-error { color: #ff9d93; }
.form-msg.is-ok::before { content: "✓"; font-weight: 800; }
.form-msg.is-error::before { content: "!"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: currentColor; color: #fff; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.newsletter-form .form-msg { flex-basis: 100%; margin-top: 2px; }
.newsletter-form .form-msg.is-ok { background: rgba(255, 255, 255, .95); color: var(--accent); border-color: transparent; }
.newsletter-form .form-msg.is-error { background: #fff3f1; border-color: transparent; }
@keyframes msgIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* A enviar… */
form.is-sending { cursor: progress; }
form.is-sending button[type=submit] { opacity: .85; }
.btn-spinner { display: inline-block; width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 767px) {
    .as-field .as-row { max-width: none; }
    .newsletter-form .as-compact { flex: 1 1 120px; }
    .newsletter-form .as-compact input { flex: 1 1 auto !important; }
}
@media (prefers-reduced-motion: reduce) {
    .btn-spinner { animation-duration: 2s; }
    .form-msg.is-ok, .form-msg.is-error { animation: none; }
}

/* =========================================================
   SLIDER — legibilidade garantida (fotografias claras ou escuras)
   ========================================================= */
.hero-slide { isolation: isolate; }
.hero-bg { z-index: -3; }
/* 1) Camada fixa atrás do texto: tom escuro com um toque da cor da marca */
.hero-scrim { position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 14, 9, .86) 0%, rgba(5, 14, 9, .72) 34%, rgba(5, 14, 9, .38) 62%, rgba(5, 14, 9, .12) 100%),
        linear-gradient(0deg, rgba(5, 14, 9, .55) 0%, rgba(5, 14, 9, 0) 38%); }
.hero-scrim.tone-dark { opacity: .8; }
.hero-scrim.tone-mid { opacity: 1; }
/* Fotografias muito claras: reforço do lado do texto e um véu geral */
.hero-scrim.tone-bright { background:
        linear-gradient(90deg, rgba(5, 14, 9, .92) 0%, rgba(5, 14, 9, .84) 38%, rgba(5, 14, 9, .55) 66%, rgba(5, 14, 9, .32) 100%),
        linear-gradient(0deg, rgba(5, 14, 9, .6) 0%, rgba(5, 14, 9, 0) 42%); }
.align-center .hero-scrim { background: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(5, 14, 9, .78) 0%, rgba(5, 14, 9, .55) 60%, rgba(5, 14, 9, .4) 100%); }
.align-center .hero-scrim.tone-bright { background: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(5, 14, 9, .88) 0%, rgba(5, 14, 9, .7) 60%, rgba(5, 14, 9, .55) 100%); }
/* 2) Véu uniforme ajustável no painel (0–80 %) */
.hero-overlay, .align-center .hero-overlay { z-index: -1; background: #000; }

/* 3) Texto com sombra discreta mas eficaz */
.hero-title, .hero-subtitle { text-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 28px rgba(0, 0, 0, .45); }
.hero-text { text-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 2px 16px rgba(0, 0, 0, .45); opacity: 1; color: rgba(255, 255, 255, .94); }
.hero-title .hl { text-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 24px rgba(0, 0, 0, .35); }

/* Telemóvel: o texto fica em baixo, por isso o reforço é de baixo para cima */
@media (max-width: 767px) {
    .hero-scrim, .hero-scrim.tone-mid, .hero-scrim.tone-dark { opacity: 1; background: linear-gradient(0deg, rgba(5, 14, 9, .92) 0%, rgba(5, 14, 9, .78) 45%, rgba(5, 14, 9, .35) 80%, rgba(5, 14, 9, .2) 100%); }
    .hero-scrim.tone-bright { background: linear-gradient(0deg, rgba(5, 14, 9, .95) 0%, rgba(5, 14, 9, .86) 50%, rgba(5, 14, 9, .55) 85%, rgba(5, 14, 9, .4) 100%); }
    .align-center .hero-scrim { background: linear-gradient(0deg, rgba(5, 14, 9, .92) 0%, rgba(5, 14, 9, .7) 55%, rgba(5, 14, 9, .45) 100%); }
}

/* =========================================================
   DESTAQUES (por baixo do slider): título à esquerda + cartões 2×2
   ========================================================= */
.pillars { position: relative; padding: var(--section-y) 0; background:
    radial-gradient(700px 360px at 0% 0%, var(--accent-soft), transparent 70%), var(--bg); }
.pillars-inner { display: grid; gap: 40px; }
.pillars.has-head .pillars-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.pillars-head { position: sticky; top: 90px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: currentColor; }
.pillars-head h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 16px; }
.pillars-head p { font-size: 16px; line-height: 1.9; color: var(--text); margin: 0 0 26px; max-width: 460px; }
.pillars-head .btn { min-height: var(--ctl-h, 48px); border-radius: var(--radius-btn, 4px); }

.pillars-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pillars:not(.has-head) .pillars-grid.count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillars:not(.has-head) .pillars-grid.count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar { position: relative; display: flex; flex-direction: column; height: 100%; padding: 30px 28px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--text) !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); overflow: hidden;
    transition: transform .35s var(--ease, ease), box-shadow .35s, border-color .35s; transition-delay: 0s; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease, ease); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--accent) 25%, var(--border)); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.pillar-ico { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); transition: background .35s, color .35s; }
html[data-theme="dark"] .pillar-ico { color: color-mix(in srgb, var(--accent) 45%, #9fe0b9); }
.pillar:hover .pillar-ico { background: var(--accent); color: #fff; }
.pillar-num { font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--heading) 22%, transparent); transition: -webkit-text-stroke-color .35s; }
.pillar:hover .pillar-num { -webkit-text-stroke-color: var(--accent-2); }
.pillar h3 { font-size: 17px; line-height: 1.4; margin: 0 0 10px; color: var(--heading); }
.pillar p { font-size: 14.5px; line-height: 1.85; margin: 0; color: var(--text); }
.pillar-more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.pillar.reveal { transition: opacity .7s ease var(--d, 0ms), transform .7s var(--ease, ease) var(--d, 0ms), box-shadow .35s, border-color .35s; }

@media (max-width: 1100px) {
    .pillars.has-head .pillars-inner { grid-template-columns: 1fr; gap: 36px; }
    .pillars-head { position: static; max-width: 680px; }
    .pillars:not(.has-head) .pillars-grid.count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .pillars-grid, .pillars:not(.has-head) .pillars-grid.count-3, .pillars:not(.has-head) .pillars-grid.count-4 { grid-template-columns: 1fr; gap: 16px; }
    .pillar { padding: 24px 22px; }
    .pillar-ico { width: 50px; height: 50px; border-radius: 12px; }
    .pillar-num { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .pillar, .pillar:hover { transform: none; }
}

/* =========================================================
   CABEÇALHO, LOGÓTIPO COMPOSTO, MENU E MEGA MENU
   ========================================================= */
/* Sem placas brancas: o logótipo composto muda a cor do texto com o fundo */
html[data-theme="dark"] .logo-img:not(.has-light) { background: none; padding: 0; box-shadow: none; }
.logo-plate { background: none !important; padding: 0 !important; box-shadow: none !important; }

.brand { display: inline-flex; align-items: center; gap: 14px; line-height: 1; }
.brand-mark { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .08)); }
.brand-name { display: flex; flex-direction: column; gap: 4px; }
.brand-l1 { font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.brand-l2 { font-family: var(--font-head); font-size: 21px; font-weight: 800; letter-spacing: .015em; text-transform: uppercase; color: var(--heading); }
html[data-theme="dark"] .brand-header .brand-l1 { color: color-mix(in srgb, var(--accent) 45%, #9fe0b9); }
.brand-footer .brand-mark { width: 58px; height: 58px; }
.brand-footer .brand-l1 { color: color-mix(in srgb, var(--accent-2) 85%, #fff); }
.brand-footer .brand-l2 { color: #fff; font-size: 19px; }
.footer-logo-link { display: inline-block; margin-bottom: 20px; }
.logo.logo-composed:hover .brand-mark { transform: rotate(-6deg) scale(1.04); }
.brand-mark { transition: transform .4s var(--ease, ease); }

/* Barra do menu */
.nav-wrap { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 92%, #000) 0%, var(--accent) 45%, color-mix(in srgb, var(--accent) 88%, #000) 100%); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12); }
.nav-inner { min-height: 58px; gap: 16px; }
.main-nav > ul.menu-root { gap: 2px; }
.main-nav > ul > li > a { height: 58px; padding: 0 16px; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: rgba(255, 255, 255, .92) !important; position: relative; }
.main-nav > ul > li:first-child > a { padding-left: 16px; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent-2); transform: scaleX(0); transition: transform .3s var(--ease, ease); }
.main-nav > ul > li:hover > a, .main-nav > ul > li:focus-within > a { color: #fff !important; background: rgba(255, 255, 255, .08); }
.main-nav > ul > li:hover > a::after, .main-nav > ul > li.current > a::after { transform: scaleX(1); }
.main-nav > ul > li.current > a { box-shadow: none; color: #fff !important; }
.main-nav > ul > li > a .ico { opacity: .75; transition: transform .25s; }
.main-nav > ul > li:hover > a .ico { transform: rotate(180deg); opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.search-toggle { width: 42px; height: 42px; border-radius: 50%; color: #fff; }
.search-toggle:hover { background: rgba(255, 255, 255, .14); }
.nav-donate { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 999px; background: var(--accent-2); color: #fff !important; font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent-2) 40%, transparent); transition: transform .2s, background .2s; }
.nav-donate:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--accent-2) 88%, #000); }
.nav-donate .ico { animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.18); } }

/* Submenu simples */
.main-nav .dropdown-panel { top: calc(100% + 8px); left: 0; min-width: 290px; padding: 10px; border: 1px solid var(--border); border-top: 0; border-radius: 12px; background: var(--surface); box-shadow: 0 24px 50px rgba(10, 20, 15, .18); }
.main-nav .dropdown-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.main-nav .dropdown-panel::after { content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.main-nav .dropdown-panel a { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 8px; color: var(--text) !important; }
.main-nav .dropdown-panel a:hover, .main-nav .dropdown-panel .current a { background: var(--accent-soft); padding-left: 12px; }
.dd-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; background: var(--bg-alt); color: var(--accent); transition: background .2s, color .2s; }
.dropdown-panel a:hover .dd-ico { background: var(--accent); color: #fff; }
.dd-text strong { display: block; font-family: var(--font-head); font-size: 13.5px; font-weight: 700; color: var(--heading); line-height: 1.35; }
.dd-text small { display: block; font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 3px; }

/* Mega menu */
.main-nav > ul > li.is-mega { position: static; }
.nav-inner { position: relative; }
.mega-panel { position: absolute; left: 20px; right: 20px; top: calc(100% + 8px); z-index: 70; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .22s, transform .22s, visibility .22s; }
.mega-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.mega-inner { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(10, 20, 15, .2); }
.mega-inner.has-promo { grid-template-columns: 220px minmax(0, 1fr) 250px; }
.mega-head { padding: 28px 24px; background: var(--bg-alt); border-right: 1px solid var(--border); }
.mega-kicker { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--heading); margin-bottom: 10px; line-height: 1.25; }
.mega-kicker::after { content: ""; display: block; width: 36px; height: 3px; border-radius: 3px; background: var(--accent-2); margin-top: 12px; }
.mega-head p { font-size: 13.5px; line-height: 1.7; color: var(--muted); margin: 0; }
.main-nav .mega-grid { position: static; opacity: 1; visibility: visible; transform: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 18px; margin: 0; list-style: none; min-width: 0; background: none; box-shadow: none; border: 0; border-radius: 0; }
.mega-link { display: flex !important; align-items: flex-start; gap: 14px; padding: 13px 14px !important; border-radius: 10px; color: var(--text) !important; transition: background .2s; }
.mega-link:hover, .mega-grid .current .mega-link { background: var(--accent-soft) !important; padding-left: 14px !important; }
.mega-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: var(--accent-soft); color: var(--accent); transition: background .2s, color .2s, transform .2s; }
html[data-theme="dark"] .mega-ico, html[data-theme="dark"] .dd-ico { color: color-mix(in srgb, var(--accent) 45%, #9fe0b9); }
.mega-link:hover .mega-ico { background: var(--accent); color: #fff; transform: translateY(-1px); }
.mega-text strong { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--heading); line-height: 1.35; }
.mega-text small { display: block; font-size: 12.5px; line-height: 1.55; color: var(--muted); margin-top: 3px; }
.mega-promo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 26px 24px; color: #fff !important; overflow: hidden;
    background: radial-gradient(260px 200px at 100% 0%, color-mix(in srgb, var(--accent-2) 55%, transparent), transparent 70%), linear-gradient(160deg, color-mix(in srgb, var(--accent) 85%, #000), color-mix(in srgb, var(--accent) 60%, #000)); }
.mega-promo-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; margin-bottom: auto; }
.mega-promo strong { font-family: var(--font-head); font-size: 17px; line-height: 1.3; }
.mega-promo span:not(.mega-promo-ico):not(.mega-promo-btn) { font-size: 13px; line-height: 1.6; opacity: .88; }
.mega-promo-btn { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 6px; padding: 9px 16px; border-radius: 999px; background: var(--accent-2); font-family: var(--font-head); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s; }
.mega-promo:hover .mega-promo-btn { transform: translateX(3px); }

/* Ecrãs médios: menos espaço entre itens */
@media (max-width: 1200px) {
    .main-nav > ul > li > a { padding: 0 11px; font-size: 11.5px; }
    .main-nav > ul > li > a::after { left: 11px; right: 11px; }
    .mega-inner.has-promo { grid-template-columns: 200px minmax(0, 1fr) 220px; }
}
@media (max-width: 1100px) and (min-width: 992px) {
    .nav-donate span { display: none; }
    .nav-donate { padding: 0 13px; }
}

/* Telemóvel: menu em lista, submenus a abrir/fechar */
@media (max-width: 991px) {
    .brand-mark { width: 50px; height: 50px; }
    .brand-l2 { font-size: 16px; }
    .brand-l1 { font-size: 9.5px; letter-spacing: .26em; }
    .brand { gap: 10px; }
    .nav-actions { display: none; }
    .main-nav > ul.menu-root { gap: 0; }
    .main-nav > ul > li > a, .main-nav > ul > li:first-child > a { height: auto; padding: 15px 48px 15px 0; background: none !important; }
    .main-nav > ul > li > a::after { display: none; }
    .main-nav > ul > li.is-mega { position: relative; }
    .mega-panel { position: static; opacity: 1; visibility: visible; transform: none; display: none; }
    .sub-open > .mega-panel { display: block; }
    .mega-inner, .mega-inner.has-promo { display: block; background: rgba(0, 0, 0, .14); border: 0; border-radius: 10px; box-shadow: none; margin-bottom: 12px; }
    .mega-head, .mega-promo { display: none; }
    .main-nav .mega-grid { grid-template-columns: 1fr; padding: 6px; }
    .main-nav .dropdown-panel { border: 0; border-radius: 10px; padding: 6px; margin-bottom: 12px; background: rgba(0, 0, 0, .14); box-shadow: none; }
    .main-nav .dropdown-panel::after { display: none; }
    .mega-link, .main-nav .dropdown-panel a { padding: 10px !important; }
    .mega-text strong, .dd-text strong { color: #fff; font-size: 13.5px; }
    .mega-text small, .dd-text small { color: rgba(255, 255, 255, .7); }
    .mega-ico, .dd-ico { width: 36px; height: 36px; background: rgba(255, 255, 255, .12) !important; color: #fff !important; }
    .mega-link:hover, .main-nav .dropdown-panel a:hover { background: rgba(255, 255, 255, .08) !important; }
}
@media (max-width: 420px) {
    .brand-l1 { display: none; }
    .brand-l2 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .nav-donate .ico { animation: none; }
}

/* Submenus no computador: abrem só pela classe .open (intenção do rato, clique ou teclado) */
@media (min-width: 992px) {
    .main-nav li.has-children > .sub-menu,
    .main-nav li.has-children > .mega-panel { opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; }
    .main-nav li.has-children.open > .sub-menu,
    .main-nav li.has-children.open > .mega-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
    .main-nav > ul > li.open > a { color: #fff !important; background: rgba(255, 255, 255, .08); }
    .main-nav > ul > li.open > a::after { transform: scaleX(1); }
    .main-nav > ul > li:hover > a .ico { transform: none; }
    .main-nav > ul > li.open > a .ico { transform: rotate(180deg); opacity: 1; }
}

/* =========================================================
   CAMPOS DOS FORMULÁRIOS: contornos visíveis e desafio claro
   ========================================================= */
:root { --input-border: #c9d1cd; --input-border-hover: #a9b4ae; --input-bg: #fff; }
html[data-theme="dark"] { --input-border: #3b4742; --input-border-hover: #4f5d57; --input-bg: #161c1a; }
.cf-field input, .cf-field textarea, .cf-field select, .dn-form .cf-field select, .dn-chip-other input { border: 1px solid var(--input-border) !important; background: var(--input-bg); }
.cf-field input:hover, .cf-field textarea:hover, .cf-field select:hover { border-color: var(--input-border-hover) !important; }
.cf-field input:focus, .cf-field textarea:focus, .cf-field select:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.widget-search { border-color: var(--input-border); }
.dn-file { border-color: var(--input-border); }
.dn-chip span { border-color: var(--input-border); }

/* Desafio anti-spam */
.as-field { display: block; margin-top: 4px; padding: 16px 18px; border: 1px dashed var(--input-border); border-radius: 10px; background: color-mix(in srgb, var(--accent) 4%, var(--bg)); }
.as-field > span:first-child { display: block; margin-bottom: 10px; }
.as-field .as-row { border: 1px solid var(--input-border) !important; background: var(--input-bg); max-width: 380px; border-radius: 8px; }
.as-field .as-row:hover { border-color: var(--input-border-hover) !important; }
.as-field .as-row:focus-within { border-color: var(--accent) !important; }
.as-field .as-q { background: color-mix(in srgb, var(--accent) 9%, var(--bg-alt)); border-right: 1px solid var(--input-border); font-size: 15px; padding: 0 18px; }
.as-field .as-row input { border: 0 !important; background: transparent; min-height: 48px; font-size: 17px; letter-spacing: .04em; }
.as-field .as-row input::placeholder { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.as-hint { display: flex; align-items: flex-start; gap: 6px; margin-top: 9px; font-size: 13px; line-height: 1.5; color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.as-hint::before { content: "i"; display: grid; place-items: center; flex-shrink: 0; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 800; font-style: italic; font-family: Georgia, serif; }
.as-field.has-error { border-color: #c0392b; background: color-mix(in srgb, #c0392b 5%, var(--bg)); }
.newsletter-form .as-compact input::placeholder { color: #666; font-weight: 700; }
/* =========================================================
   CABEÇALHO DAS PÁGINAS COM VÁRIAS IMAGENS (alternam sozinhas)
   ========================================================= */
.page-header.is-slides .page-header-bg { opacity: 0; transition: opacity 1.6s ease; will-change: opacity, transform; }
.page-header.is-slides .page-header-bg.is-active { opacity: .45; }
/* Movimento lento (zoom + deslocação), diferente em cada imagem; continua durante a transição */
.page-header.is-slides .page-header-bg.is-active, .page-header.is-slides .page-header-bg.is-leaving { animation: phKenA var(--ph-dur, 12s) linear both; }
.page-header.is-slides .page-header-bg:nth-of-type(2).is-active, .page-header.is-slides .page-header-bg:nth-of-type(2).is-leaving { animation-name: phKenB; }
.page-header.is-slides .page-header-bg:nth-of-type(3).is-active, .page-header.is-slides .page-header-bg:nth-of-type(3).is-leaving { animation-name: phKenC; }
@keyframes phKenA { from { transform: scale(1.04) translate3d(1.2%, 0, 0); } to { transform: scale(1.16) translate3d(-1.2%, -1%, 0); } }
@keyframes phKenB { from { transform: scale(1.16) translate3d(-1.5%, 0, 0); } to { transform: scale(1.04) translate3d(1.5%, 0, 0); } }
@keyframes phKenC { from { transform: scale(1.05) translate3d(0, 1.2%, 0); } to { transform: scale(1.15) translate3d(1%, -1.2%, 0); } }
.page-header-dots { position: absolute; z-index: 2; right: max(20px, calc((100vw - var(--container)) / 2)); bottom: 18px; display: flex; gap: 8px; }
.page-header-dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: width .4s ease, background .4s ease; }
.page-header-dots span.is-active { width: 24px; background: var(--accent-2); }
@media (prefers-reduced-motion: reduce) {
    .page-header.is-slides .page-header-bg { transition: opacity .6s ease; animation: none !important; transform: none !important; }
}

/* Cabeçalhos com imagem: película escura (mais forte do lado do texto) para o título ler-se bem mesmo em fotografias muito claras */
.page-header.has-image .page-header-bg { z-index: 0; }
.page-header.has-image::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 12, 8, .62) 0%, rgba(5, 12, 8, .42) 45%, rgba(5, 12, 8, .18) 100%),
        linear-gradient(0deg, rgba(5, 12, 8, .35) 0%, rgba(5, 12, 8, 0) 45%); }
.page-header.has-image .container { z-index: 2; }
.page-header.has-image .page-header-dots { z-index: 3; }
.page-header.has-image h1, .page-header.has-image .page-subtitle, .page-header.has-image .breadcrumb { text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .35); }
@media (max-width: 720px) {
    .page-header.has-image::before { background: linear-gradient(0deg, rgba(5, 12, 8, .55), rgba(5, 12, 8, .4)); }
}

/* Conteúdo ainda sem tradução (ex.: notícia só em português no site em inglês) */
.lang-badge { display: inline-block; vertical-align: 2px; margin-left: 4px; padding: 1px 6px; border-radius: 4px; border: 1px solid var(--border); background: var(--bg-alt); color: var(--muted); font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; cursor: help; }

/* Cancelar subscrição da newsletter */
.nl-unsub { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 30px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.nl-unsub p { font-size: 16px; line-height: 1.7; }
.nl-unsub-ico { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.nl-unsub-ico.warn { background: rgba(217, 119, 6, .12); color: #b45309; }

/* Carrinho da loja no cabeçalho */
.nav-cart { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff !important; }
.nav-cart:hover { background: rgba(255, 255, 255, .12); }
.nav-cart b { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent-2); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-family: var(--font-head); }
.nav-cart b[hidden] { display: none; }

/* Texto só para leitores de ecrã */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
