/* =========================================================================
   AIA — Associação Imprescindíveis em Ação
   Identidade: cores do logótipo (verde-escuro, coral, pétalas rosa, miolo amarelo)
   Tipografia: Fraunces (títulos) + Atkinson Hyperlegible (texto, Braille Institute)
   ========================================================================= */

/* ---------- Tipos de letra (alojados localmente: sem pedidos a terceiros) ---------- */
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/atkinson-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/atkinson-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/atkinson-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/atkinson-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/atkinson-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: italic; font-weight: 700; font-display: swap; src: url(../fonts/atkinson-latin-700-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(../fonts/fraunces-latin-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(../fonts/fraunces-latin-ext-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 900; font-display: swap; src: url(../fonts/fraunces-latin-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 900; font-display: swap; src: url(../fonts/fraunces-latin-ext-italic.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F; }

/* ---------- Tokens ---------- */
:root {
  --cream: #fbf7f1;
  --paper: #fffdf9;
  --sand: #f3ece2;
  --line: #e5d9c9;
  --ink: #1d2b26;
  --ink-soft: #46564f;
  --green: #22503f;
  --green-deep: #163a2e;
  --green-night: #0f2b22;
  --green-tint: #e4ede7;
  --coral: #f08562;
  --coral-ink: #b0442a;
  --coral-tint: #fde7dd;
  --blush: #f4c6c2;
  --blush-tint: #fbeeec;
  --rose: #e0809a;
  --rose-ink: #a03a59;
  --yellow: #f5c400;
  --yellow-tint: #fdf3cc;
  --leaf: #5f9f70;
  --teal: #7f9c98;
  --teal-ink: #4b6b67;
  --error: #b3261e;
  --error-tint: #fdecea;
  --focus: #0d3b2c;
  --focus-halo: #f5c400;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(22, 58, 46, .06), 0 8px 24px -12px rgba(22, 58, 46, .18);
  --shadow-lg: 0 2px 4px rgba(22, 58, 46, .05), 0 24px 48px -20px rgba(22, 58, 46, .28);
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 84px;

  --dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg%3E%3Ccircle cx='8' cy='12' r='3' fill='%237f9c98'/%3E%3Ccircle cx='38' cy='6' r='2.5' fill='%23f08562'/%3E%3Ccircle cx='64' cy='20' r='3' fill='%23f5c400'/%3E%3Ccircle cx='98' cy='10' r='2.5' fill='%237f9c98'/%3E%3Ccircle cx='22' cy='44' r='2.5' fill='%23f5c400'/%3E%3Ccircle cx='52' cy='52' r='3' fill='%237f9c98'/%3E%3Ccircle cx='84' cy='42' r='3' fill='%23f08562'/%3E%3Ccircle cx='110' cy='58' r='2.5' fill='%23f5c400'/%3E%3Ccircle cx='10' cy='82' r='3' fill='%23f08562'/%3E%3Ccircle cx='40' cy='90' r='2.5' fill='%237f9c98'/%3E%3Ccircle cx='72' cy='80' r='2.5' fill='%23f5c400'/%3E%3Ccircle cx='100' cy='96' r='3' fill='%237f9c98'/%3E%3Ccircle cx='28' cy='112' r='2.5' fill='%23f08562'/%3E%3Ccircle cx='62' cy='110' r='3' fill='%23f08562'/%3E%3C/g%3E%3C/svg%3E");
}

/* Preferências de acessibilidade (definidas no painel “Acessibilidade”) */
html.ts--1 { font-size: 93.75%; }
html.ts-1 { font-size: 112.5%; }
html.ts-2 { font-size: 125%; }
html.ts-3 { font-size: 140%; }
html.hc {
  --cream: #ffffff; --paper: #ffffff; --sand: #ffffff; --line: #000000;
  --ink: #000000; --ink-soft: #111111; --green: #003322; --green-deep: #001a11; --green-night: #000000;
  --coral-ink: #7a1f00; --rose-ink: #6b0f2c; --teal-ink: #0f3532;
  --green-tint: #ffffff; --coral-tint: #ffffff; --blush-tint: #ffffff; --yellow-tint: #ffffff;
  --shadow: none; --shadow-lg: none; --dots: none;
}
html.hc a:not(.btn) { text-decoration: underline !important; }
html.hc .petal, html.hc .hero-dots, html.hc .footer-dots, html.hc .hero-dots-band { display: none; }
html.hc .btn, html.hc .area-card, html.hc .program-card, html.hc .t-card, html.hc .value-card, html.hc .aside-card, html.hc input, html.hc select, html.hc textarea { border: 2px solid #000 !important; }
html.ul a:not(.btn) { text-decoration: underline !important; text-underline-offset: .2em; }
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .6em; color: var(--green-deep); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--green); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--coral-ink); }
strong { font-weight: 700; }
em { font-style: italic; }
ul, ol { padding-left: 1.2em; }
blockquote { margin: 0; }
code { font-size: .9em; background: var(--sand); padding: .1em .35em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 7px var(--focus-halo); border-radius: 4px; }
::selection { background: var(--yellow); color: var(--ink); }

.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; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--green-deep); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 12px 12px; font-weight: 700; }
.skip-link:focus { top: 0; color: #fff; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 800px; }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--ink-soft); }
.eyebrow { font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: .9rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 14px 0 0 var(--coral), 28px 0 0 var(--teal); margin-right: 30px; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); max-width: 62ch; }
.lead-wide { max-width: 70ch; }
main:focus { outline: none; }
main { display: block; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--green); --fg: #fff; --bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { --bg: var(--green-deep); --bd: var(--green-deep); color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary { --bg: var(--green); --fg: #fff; }
.btn-secondary { --bg: transparent; --fg: var(--green); --bd: var(--green); }
.btn-secondary:hover { --bg: var(--green); --fg: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--green-deep); --bd: transparent; padding-inline: .6rem; }
.btn-ghost:hover { --bg: var(--green-tint); --bd: var(--green-tint); --fg: var(--green-deep); box-shadow: none; }
.btn-light { --bg: var(--cream); --fg: var(--green-deep); --bd: var(--cream); }
.btn-light:hover { --bg: var(--yellow); --bd: var(--yellow); --fg: var(--green-night); }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; color: var(--green); border-bottom: 2px solid var(--yellow); padding-bottom: .15rem; }
.link-arrow:hover { color: var(--coral-ink); border-color: var(--coral); }
.link-arrow .icon, .btn .icon { transition: transform .2s ease; }
.link-arrow:hover .icon, .btn:hover .icon { transform: translateX(3px); }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 241, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(22, 58, 46, .45); }
html.hc .site-header { background: #fff; border-color: #000; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: block; flex: none; border-radius: 8px; }
.brand img { height: 54px; width: auto; }
.header-tools { margin-left: auto; display: flex; gap: .5rem; align-items: center; order: 3; }
.main-nav { order: 2; margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.main-nav a:not(.btn) { display: block; padding: .6rem .8rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; position: relative; }
.main-nav a:not(.btn):hover { background: var(--green-tint); color: var(--green-deep); }
.main-nav a[aria-current="page"]:not(.btn) { color: var(--green-deep); }
.main-nav a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 3px; border-radius: 3px; background: var(--coral); }
.nav-cta { margin-left: .4rem; }
.nav-cta .btn[aria-current="page"] { --bg: var(--coral-ink); --bd: var(--coral-ink); }
.a11y-toggle, .nav-toggle { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .8rem; border: 2px solid var(--line); background: var(--paper); color: var(--green-deep); border-radius: 999px; font: 700 .9rem/1 var(--font-body); cursor: pointer; }
.a11y-toggle:hover, .nav-toggle:hover, .a11y-toggle[aria-expanded="true"], .nav-toggle[aria-expanded="true"] { border-color: var(--green); background: var(--green-tint); }
.nav-toggle { display: none; }
.nav-toggle-bars { width: 18px; height: 2px; background: currentColor; position: relative; border-radius: 2px; transition: background .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.a11y-panel { border-top: 1px solid var(--line); background: var(--sand); padding: 1rem 0 1.2rem; }
.a11y-title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: .7rem; color: var(--ink); letter-spacing: 0; }
.a11y-groups { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; }
.a11y-group { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.a11y-label { font-weight: 700; margin-right: .3rem; font-size: .95rem; }
.a11y-group button { min-height: 44px; min-width: 44px; padding: .4rem .9rem; border-radius: 999px; border: 2px solid var(--green); background: var(--paper); color: var(--green-deep); font: 700 .95rem/1 var(--font-body); cursor: pointer; }
.a11y-group button:hover { background: var(--green-tint); }
.a11y-group button[aria-pressed="true"] { background: var(--green); color: #fff; }
.a11y-more { font-weight: 700; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { order: 4; flex-basis: 100%; margin: 0; display: none; padding: 0 0 1rem; }
  .main-nav.is-open { display: block; }
  html.no-js .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .main-nav a:not(.btn) { padding: .85rem 1rem; font-size: 1.08rem; border-radius: 14px; }
  .main-nav a[aria-current="page"]:not(.btn) { background: var(--green-tint); }
  .main-nav a[aria-current="page"]:not(.btn)::after { display: none; }
  .nav-cta { margin: .6rem 0 0; }
  .nav-cta .btn { width: 100%; min-height: 52px; }
  .header-inner { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  :root { --header-h: 70px; }
  .brand img { height: 42px; }
  .a11y-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .a11y-toggle { padding: .4rem .6rem; }
}

/* ---------- Hero (início) ---------- */
.hero { position: relative; padding: clamp(2rem, 5vw, 4.5rem) 0 var(--section); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-title { font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: 1.0; font-weight: 650; margin-bottom: .45em; }
.hero-title em { font-style: italic; font-weight: 500; color: var(--coral-ink); }
.hero-text { font-size: clamp(1.15rem, 1.5vw, 1.3rem); color: var(--ink-soft); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-actions.center { justify-content: center; }
.hero-visual { position: relative; padding: 1.5rem; }
.hero-photo { position: relative; border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); background: var(--sand); z-index: 1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 47% 30%; }
.hero-caption { position: absolute; z-index: 2; left: 0; bottom: 1.2rem; background: var(--paper); border-radius: 16px; padding: .7rem 1rem; box-shadow: var(--shadow); font-size: .92rem; line-height: 1.3; margin: 0; max-width: 16rem; color: var(--ink-soft); }
.hero-caption strong { display: block; color: var(--green-deep); font-family: var(--font-display); font-size: 1.1rem; }
.petal { position: absolute; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; z-index: 0; pointer-events: none; }
.petal-1 { width: 34%; aspect-ratio: 1 / 2.1; background: var(--blush); top: -4%; right: 6%; transform: rotate(18deg); opacity: .9; }
.petal-2 { width: 26%; aspect-ratio: 2.4 / 1; background: var(--coral); top: 40%; left: -6%; transform: rotate(-12deg); border-radius: 60% 40% 40% 60% / 50%; opacity: .9; }
.petal-3 { width: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); bottom: 6%; right: 2%; z-index: 2; box-shadow: 0 0 0 10px var(--cream); }
.hero-dots { position: absolute; inset: auto -8% -6% 30%; height: 40%; background-image: var(--dots); background-size: 90px; opacity: .55; z-index: 0; -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent); }

/* ---------- Intro ---------- */
.intro-band { background: var(--paper); padding: var(--section) 0; border-block: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.intro-mark { width: 100%; max-width: 220px; position: sticky; top: calc(var(--header-h) + 2rem); }
.display-quote { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 500; line-height: 1.15; max-width: 26ch; }
.prose { max-width: 68ch; }
.prose > * + h2, .prose > * + h3 { margin-top: 1.6em; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.prose ul li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--coral); }
.prose ul li:nth-child(3n+2)::before { background: var(--teal); }
.prose ul li:nth-child(3n)::before { background: var(--yellow); }
.prose blockquote { border-left: 4px solid var(--coral); padding: .4rem 0 .4rem 1.3rem; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--green-deep); }

/* ---------- Secções genéricas ---------- */
.section-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); max-width: 760px; }
.section-head h2 { margin-bottom: 0; }
.section-head-split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; }

/* Áreas (cartões) */
.areas { padding: var(--section) 0; }
.area-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.area-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem 1.6rem 4.2rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.area-card h3 { font-size: 1.35rem; margin: 1.1rem 0 .6rem; }
.area-card h3 a { color: inherit; text-decoration: none; }
.area-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.area-card h3 a:focus-visible { outline: none; box-shadow: none; }
.area-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 7px var(--focus-halo); }
.area-card p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.area-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; }
.area-more { position: absolute; left: 1.6rem; bottom: 1.4rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--green); transition: background .2s, color .2s; }
.area-card:hover .area-more { background: var(--green); color: #fff; }
.area-escolas .area-icon { background: var(--yellow-tint); color: #7a5d00; }
.area-empresas .area-icon { background: var(--coral-tint); color: var(--coral-ink); }
.area-prisoes .area-icon { background: var(--green-tint); color: var(--green); }
.area-bairros .area-icon { background: var(--blush-tint); color: var(--rose-ink); }

/* Mensagem da presidente (teaser) */
.president-teaser { padding: var(--section) 0; background: linear-gradient(180deg, var(--cream), var(--blush-tint)); }
.teaser-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.teaser-photo { position: relative; max-width: 440px; }
.teaser-photo::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border-radius: 50%; background: var(--yellow); }
.teaser-photo img { position: relative; border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; }
.signature { font-family: var(--font-display); font-size: 1.3rem; color: var(--green-deep); margin: 1.2rem 0 1.6rem; }
.signature span { display: block; font-family: var(--font-body); font-size: .95rem; color: var(--ink-soft); }

/* ---------- Multiplicar (lema animado) ---------- */
.multiplicar { padding: var(--section) 0; background: var(--paper); border-block: 1px solid var(--line); text-align: center; overflow: hidden; }
.multiplicar .eyebrow { justify-content: center; }
.multiplicar-title { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 18ch; margin-inline: auto; }
.multiplicar-title em { color: var(--coral-ink); font-weight: 500; }
.mult-figure { position: relative; margin: clamp(1rem, 3vw, 2rem) auto 0; max-width: 980px; height: clamp(340px, 50vw, 540px); }
.mult-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mult-root { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: .9rem; }
.mult-root img:first-child { width: clamp(54px, 7vw, 76px); height: clamp(54px, 7vw, 76px); border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--blush); }
.mult-root img:last-child { width: clamp(56px, 7.5vw, 80px); height: auto; }
.mult-divider { width: 2px; height: 56px; background: var(--coral-ink); border-radius: 2px; }
.mult-replay { position: absolute; right: 0; top: 0; display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; padding: .4rem .9rem; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); color: var(--green-deep); font: 700 .9rem var(--font-body); cursor: pointer; }
.mult-replay:hover { border-color: var(--green); }
.lema-words { list-style: none; padding: 0; margin: clamp(2rem, 5vw, 3.5rem) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: left; max-width: 1100px; }
.lema-word { padding: 1.5rem 1.4rem; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.js .lema-word { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .lema-words.is-in .lema-word { opacity: 1; transform: none; }
.js .lema-words.is-in .lema-word-2 { transition-delay: .25s; }
.js .lema-words.is-in .lema-word-3 { transition-delay: .5s; }
.lema-term { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; color: var(--green-deep); margin-bottom: .4rem; }
.lema-term::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none; }
.lema-word-1 .lema-term::before { background: var(--teal); }
.lema-word-2 .lema-term::before { background: var(--coral); }
.lema-word-2 .lema-term { font-style: italic; color: var(--coral-ink); }
.lema-word-3 .lema-term::before { background: var(--yellow); }
.lema-def { color: var(--ink-soft); font-size: 1.02rem; display: block; }

/* ---------- Testemunhos ---------- */
.testimonials { padding: var(--section) 0; overflow: hidden; }
.t-carousel { position: relative; }
.t-track { list-style: none; margin: 0; padding: .5rem .25rem 1.5rem; display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 84%); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--teal) transparent; overscroll-behavior-x: contain; }
.t-track:focus-visible { box-shadow: none; outline-offset: 0; }
.t-card { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; border-radius: var(--radius-lg); padding: 2rem 1.8rem 1.6rem; position: relative; min-height: 300px; }
.t-card::before { content: "“"; font-family: var(--font-display); font-size: 6rem; line-height: .7; height: 2.6rem; display: block; color: currentColor; opacity: .35; }
.t-card blockquote p { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.4; color: var(--green-night); font-weight: 450; }
.t-author { margin: 1rem 0 0; font-size: .95rem; line-height: 1.35; color: var(--ink-soft); }
.t-author strong { display: block; color: var(--green-deep); font-size: 1rem; }
.t-tone-0 { background: var(--blush-tint); color: var(--rose-ink); }
.t-tone-1 { background: var(--yellow-tint); color: #8a6a00; }
.t-tone-2 { background: var(--green-tint); color: var(--green); }
.t-tone-3 { background: var(--coral-tint); color: var(--coral-ink); }
.t-controls { display: flex; gap: .6rem; justify-content: flex-end; margin-top: .4rem; }
.t-controls button { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--green); background: var(--paper); color: var(--green); display: grid; place-items: center; cursor: pointer; }
.t-controls button:hover:not(:disabled) { background: var(--green); color: #fff; }
.t-controls button:disabled { opacity: .35; cursor: default; }

/* ---------- Museu (destaque na página inicial) ---------- */
.museum-teaser { padding: 0 0 var(--section); }
.mosaic { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 1rem; }
.mosaic-1 { grid-column: span 2; grid-row: span 2; }
.mosaic-item a { position: relative; display: block; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic-item a:hover img { transform: scale(1.04); }
.mosaic-caption { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; background: rgba(255, 253, 249, .94); color: var(--green-deep); font-size: .88rem; font-weight: 700; line-height: 1.25; padding: .5rem .7rem; border-radius: 12px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; background: var(--green-deep); color: #f3efe6; padding: clamp(3rem, 7vw, 5rem) 0; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -40px; width: 420px; height: 320px; background-image: var(--dots); background-size: 110px; opacity: .55; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band h2 em { color: var(--yellow); }
.cta-band p { margin: 0; max-width: 58ch; color: #dfe8e2; font-size: 1.12rem; }
.cta-band, .site-footer, .quote-band { --focus: var(--yellow); --focus-halo: rgba(245, 196, 0, .25); }
html.hc .cta-band { background: #000; }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; background: var(--green-night); color: #d7e2dc; padding: clamp(3rem, 7vw, 4.5rem) 0 1.5rem; font-size: 1rem; }
.footer-dots { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--teal) 0 25%, var(--coral) 25% 50%, var(--blush) 50% 75%, var(--yellow) 75%); }
html.hc .footer-dots { display: block; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 2.5rem; }
.footer-brand img { width: 230px; }
.footer-motto { font-family: var(--font-display); font-size: 1.25rem; color: #fff; margin: 1.2rem 0 .4rem; font-style: italic; }
.footer-small { font-size: .92rem; color: #b5c6bd; }
.footer-title { font-family: var(--font-body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .45rem; }
.site-footer a { color: #f3efe6; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer-contacts a, .footer-contacts span { display: inline-flex; gap: .55rem; align-items: center; word-break: break-word; }
.social { display: flex !important; gap: .5rem; margin-top: 1rem !important; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); display: grid; place-items: center; }
.social a:hover { border-color: var(--yellow); background: rgba(245, 196, 0, .1); }
.footer-cta p { color: #d7e2dc; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: #a9bcb2; }
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; gap: .4rem 1.4rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-legal-start { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.4rem; }
.footer-credit a { color: #a9bcb2; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: #f3efe6; cursor: pointer; }
.link-button:hover { color: var(--yellow); text-decoration: underline; }

/* ---------- Cabeçalho de páginas internas ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; }
.page-hero h1 { max-width: 20ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.pill-links { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-links.center { justify-content: center; }
.pill-links a { display: inline-flex; min-height: 44px; align-items: center; padding: .4rem 1.1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 700; color: var(--green-deep); }
.pill-links a:hover { border-color: var(--green); background: var(--green-tint); }
.portrait { position: relative; max-width: 460px; justify-self: end; width: 100%; }
.portrait img { position: relative; z-index: 1; border-radius: 46% 54% 50% 50% / 42% 44% 56% 58%; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-lg); }
.portrait .petal-1 { width: 40%; right: -4%; top: -8%; }
.portrait .petal-3 { width: 18%; bottom: 4%; left: -2%; right: auto; }
.chip-nav { margin-top: 2rem; }
.chip-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.chip-nav a { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .45rem 1.1rem; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; color: var(--green-deep); font-size: .98rem; }
.chip-nav a:hover { border-color: var(--green); background: var(--green-tint); }

/* ---------- A Presidente ---------- */
.story { padding: clamp(2rem, 5vw, 3.5rem) 0 var(--section); }
.story-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.timeline { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.5rem; }
.timeline-title { font-size: 1.35rem; margin-bottom: 1rem; }
.timeline ol { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 6px; top: .5rem; bottom: .5rem; width: 2px; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 10px); }
.timeline li { position: relative; padding-left: 1.8rem; margin-bottom: 1.15rem; font-size: .98rem; line-height: 1.45; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--paper); }
.timeline li:nth-child(2)::before { background: var(--coral); }
.timeline li:nth-child(3)::before { background: var(--rose); }
.timeline li:nth-child(4)::before { background: var(--yellow); }
.timeline li:nth-child(5)::before { background: var(--green); }
.tl-when { display: block; font-weight: 700; color: var(--green-deep); }
.tl-what { color: var(--ink-soft); }
.prose-story { font-size: 1.16rem; }
.prose-story > h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.prose-story > p:first-of-type::first-letter { font-family: var(--font-display); float: left; font-size: 4.4em; line-height: .82; padding: .08em .1em 0 0; color: var(--coral-ink); font-weight: 600; }
.prose-story h3 { display: inline-block; margin-top: 1.4em; padding: .35rem .9rem; background: var(--yellow-tint); border-radius: 999px; font-size: 1.15rem; color: var(--green-deep); }
.letter { padding: var(--section) 0; background: var(--blush-tint); position: relative; }
.letter .display-quote { max-width: 22ch; color: var(--rose-ink); font-style: italic; }
.letter-body { font-size: 1.16rem; }
.letter-body p:last-child strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--green-deep); font-weight: 600; }
.letter-sign { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px dashed var(--blush); }
.letter-sign img { width: 72px; }
.letter-sign p { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.letter-sign strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--green-deep); }
.inspiration { padding: var(--section) 0; text-align: center; }
.inspiration blockquote p { font-family: var(--font-display); font-size: clamp(1.45rem, 2.8vw, 2.15rem); line-height: 1.32; font-style: italic; color: var(--green-deep); font-weight: 400; }
.inspiration p:last-child { color: var(--ink-soft); }
.press { padding: 0 0 var(--section); }
.press-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.press-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; border-top: 5px solid var(--coral); }
.press-item:nth-child(2) { border-top-color: var(--teal); }
.press-item:nth-child(3) { border-top-color: var(--yellow); }
.press-outlet { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--coral-ink); margin-bottom: .5rem; }
.press-outlet span { color: var(--ink-soft); }
.press-item h3 { font-size: 1.3rem; }
.press-item p { font-size: 1rem; color: var(--ink-soft); }
.press-author { font-size: .9rem !important; margin: 0; }

/* ---------- A Associação ---------- */
.page-hero-associacao { overflow: hidden; }
.assoc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); margin-top: 1.5rem; }
.assoc-intro .lead { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--green-deep); line-height: 1.4; }
.hero-dots-band { height: 90px; margin-top: 3rem; background-image: var(--dots); background-size: 100px; opacity: .6; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.meaning { padding: var(--section) 0; background: var(--green-deep); color: #e6eee9; --focus: var(--yellow); }
.meaning-word { color: #fff; font-size: clamp(2.3rem, 9vw, 7.5rem); font-weight: 500; letter-spacing: -.03em; margin-bottom: .2em; font-style: italic; }
.meaning-pos { font-family: var(--font-body); font-style: normal; font-size: 1.1rem; letter-spacing: .1em; color: var(--yellow); margin-left: .4rem; vertical-align: middle; white-space: nowrap; }
.meaning-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-family: var(--font-display); font-size: clamp(1.2rem, 2.3vw, 1.75rem); line-height: 1.35; }
.meaning-list li::after { content: "·"; margin-left: .9rem; color: rgba(255, 255, 255, .35); }
.meaning-list li:last-child::after { content: ""; }
.meaning-list .m-0 { color: #fff; } .meaning-list .m-1 { color: var(--blush); } .meaning-list .m-2 { color: var(--yellow); } .meaning-list .m-3 { color: #b8d3c2; } .meaning-list .m-4 { color: #f7b39a; }
.values { padding: var(--section) 0; }
.values-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.value-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.8rem; position: relative; }
.value-card:last-child:nth-child(odd) { grid-column: span 2; }
.value-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--coral); display: block; margin-bottom: .6rem; }
.value-card:nth-child(2) .value-num { color: var(--teal); }
.value-card:nth-child(3) .value-num { color: #d9a900; }
.value-card:nth-child(4) .value-num { color: var(--rose); }
.value-card:nth-child(5) .value-num { color: var(--leaf); }
.value-card h3 { font-size: 1.4rem; }
.value-card p { color: var(--ink-soft); margin: 0; font-size: 1.04rem; }
.quote-band { background: var(--coral-tint); padding: clamp(3rem, 7vw, 5rem) 0; text-align: center; }
.quote-band blockquote p { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; color: var(--coral-ink); font-style: italic; margin: 0; }

/* ---------- Iniciativas ---------- */
.initiative { padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--line); }
.initiative:nth-child(even) { background: var(--paper); }
.initiative-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.initiative-grid.is-flipped .initiative-copy { order: 2; }
.initiative-icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin-bottom: 1.2rem; }
.initiative-empresas .initiative-icon { background: var(--coral-tint); color: var(--coral-ink); }
.initiative-escolas .initiative-icon { background: var(--yellow-tint); color: #7a5d00; }
.initiative-prisoes .initiative-icon { background: var(--green-tint); color: var(--green); }
.initiative-bairros .initiative-icon { background: var(--blush-tint); color: var(--rose-ink); }
.initiative-programs { background: var(--cream); border-radius: var(--radius); padding: 1.1rem 1.3rem .4rem; margin: 1.2rem 0 1.6rem; border: 1px solid var(--line); max-width: 60ch; }
.initiative:nth-child(even) .initiative-programs { background: var(--cream); }
.initiative-programs ul { list-style: none; padding: 0; margin: 0 0 .7rem; }
.initiative-programs li { padding-left: 1.6rem; position: relative; margin-bottom: .5rem; font-weight: 700; color: var(--green-deep); }
.initiative-programs li::before { content: ""; position: absolute; left: 0; top: .4em; width: .85rem; height: .85rem; border-radius: 50%; border: 3px solid var(--coral); }
.initiative-photo { margin: 0; }
.initiative-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.initiative-photo figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: .7rem; }
.initiative-quote { margin: 0; background: var(--blush-tint); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.8rem); color: var(--rose-ink); }
.initiative-quote blockquote { border: 0; padding: 0; }
.initiative-quote blockquote p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.35; font-style: italic; color: var(--green-deep); }
.initiative-quote p { font-size: .98rem; color: var(--ink-soft); }
.support { padding: var(--section) 0; background: var(--green-tint); }
.support-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.support-list { list-style: none; padding: 0; margin: 0; }
.support-list li { background: var(--paper); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; border-left: 5px solid var(--green); }
.support-list li:nth-child(2) { border-left-color: var(--coral); }
.support-list h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.support-list p { margin: 0; color: var(--ink-soft); }
.benefits { background: var(--green-deep); color: #e6eee9; border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.6rem); --focus: var(--yellow); }
.benefits h2 { color: #fff; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.check-list li { position: relative; padding-left: 2.1rem; margin-bottom: .8rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230f2b22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.benefits .btn-primary { --bg: var(--yellow); --bd: var(--yellow); --fg: var(--green-night); }
.benefits .btn-primary:hover { --bg: #fff; --bd: #fff; }

/* ---------- Museu ---------- */
.gallery { padding: 0 0 var(--section); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
/* Sem JavaScript os filtros não funcionam: escondidos. Com JS, visíveis desde o 1.º desenho (sem saltos de layout). */
.no-js .gallery-filters { display: none; }
.chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .45rem 1.1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); font: 700 .98rem var(--font-body); color: var(--green-deep); cursor: pointer; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.chip-count { font-size: .8rem; background: rgba(0, 0, 0, .08); border-radius: 999px; padding: .1rem .5rem; }
.chip[aria-pressed="true"] .chip-count { background: rgba(255, 255, 255, .2); }
.masonry { list-style: none; padding: 0; margin: 0; columns: 3 300px; column-gap: 1.2rem; }
.masonry-item { break-inside: avoid; margin-bottom: 1.2rem; }
.masonry-item figure { margin: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.masonry-link { display: block; position: relative; overflow: hidden; background: var(--sand); }
.masonry-link img { width: 100%; transition: transform .6s ease; }
.masonry-link:hover img { transform: scale(1.03); }
.masonry-link::after { content: ""; position: absolute; right: .8rem; top: .8rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 253, 249, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7' fill='none' stroke='%2322503f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; opacity: 0; transition: opacity .2s; }
.masonry-link:hover::after, .masonry-link:focus-visible::after { opacity: 1; }
.masonry-link:focus-visible { outline-offset: -4px; }
.masonry-item figcaption { padding: .9rem 1.1rem 1.05rem; font-size: .98rem; line-height: 1.4; }
.masonry-item figcaption strong { display: block; color: var(--green-deep); }
.masonry-item figcaption span { display: block; color: var(--ink-soft); font-size: .92rem; margin-top: .2rem; }
.empty { padding: 2rem; background: var(--paper); border-radius: var(--radius); text-align: center; color: var(--ink-soft); }
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; color: #fff; --focus: var(--yellow); }
.lightbox::backdrop { background: rgba(10, 26, 20, .94); }
.lb-inner { position: relative; height: 100%; display: grid; place-items: center; padding: 4.5rem 4.5rem 2rem; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 100%; }
.lb-img { max-height: calc(100vh - 13rem); max-width: min(1400px, 100%); width: auto; border-radius: 10px; }
.lb-figure figcaption { text-align: center; max-width: 70ch; }
.lb-title { color: #fff; font-size: 1.3rem; margin: 0 0 .3rem; }
.lb-caption { margin: 0; color: #d4ded8; }
.lb-count { margin: .3rem 0 0; font-size: .9rem; color: #a9bcb2; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-inner { padding: 4rem .75rem 5.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}

/* ---------- Marcações ---------- */
.segment { padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--line); }
.segment-1 { background: var(--paper); }
.segment-head { margin-bottom: 2.2rem; max-width: 800px; }
.segment-motto { font-size: clamp(2rem, 4.4vw, 3.4rem); font-style: italic; font-weight: 500; margin-bottom: .2em; }
.segment-0 .segment-motto { color: var(--green-deep); }
.segment-1 .segment-motto { color: var(--coral-ink); }
.segment-2 .segment-motto { color: var(--rose-ink); }
.segment-sub { font-size: 1.15rem; color: var(--ink-soft); font-style: italic; }
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; align-items: start; }
.program-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.8rem; box-shadow: var(--shadow); border-top: 6px solid var(--green); }
.segment-1 .program-card { background: var(--cream); border-top-color: var(--coral); }
.segment-2 .program-card { border-top-color: var(--rose); }
.program-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: .4rem; }
.program-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-bottom: .3rem; }
.program-tagline { font-style: italic; color: var(--ink-soft); }
.program-facts { margin: 1.2rem 0; display: grid; gap: .6rem; }
.program-facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: .8rem; padding-bottom: .6rem; border-bottom: 1px dashed var(--line); }
.program-facts dt { font-weight: 700; color: var(--green-deep); font-size: .95rem; }
.program-facts dd { margin: 0; font-size: 1rem; }
.program-price dd strong { display: inline-block; background: var(--yellow-tint); color: var(--green-night); padding: .15rem .7rem; border-radius: 999px; font-size: 1.05rem; }
.program-price dd span { display: block; font-size: .92rem; color: var(--ink-soft); margin-top: .25rem; font-style: italic; }
.program-objective { font-size: 1.02rem; }
.program-actions-title { font-family: var(--font-body); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--coral-ink); margin: 1.3rem 0 .7rem; }
.program-actions { list-style: none; padding: 0; margin: 0 0 1.4rem; counter-reset: act; }
.program-actions li { counter-increment: act; position: relative; padding-left: 2.4rem; margin-bottom: .75rem; font-size: 1rem; line-height: 1.45; }
.program-actions li::before { content: counter(act); position: absolute; left: 0; top: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--green-tint); color: var(--green-deep); font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.program-actions strong { color: var(--green-deep); }
.program-actions span { color: var(--ink-soft); display: block; }
.matrix { padding: var(--section) 0; background: var(--green-tint); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.matrix-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 1rem; }
.matrix-table th, .matrix-table td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.matrix-table thead th { background: var(--green-deep); color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.matrix-table tbody th { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.1rem; }
.matrix-table tbody th a { color: var(--green-deep); }
.matrix-table td:first-child { font-weight: 700; color: var(--coral-ink); }
.matrix-table tbody tr:last-child > * { border-bottom: 0; }
.matrix-table tbody tr:hover { background: var(--cream); }
@media (max-width: 760px) {
  .matrix-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matrix-table, .matrix-table tbody, .matrix-table tr, .matrix-table th, .matrix-table td { display: block; }
  .matrix-table tr { border-bottom: 6px solid var(--green-tint); padding: .6rem 0; }
  .matrix-table th, .matrix-table td { border: 0; padding: .35rem 1.1rem; }
  .matrix-table [data-label]::before { content: attr(data-label); display: block; font-family: var(--font-body); font-style: normal; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
}
.booking { padding: var(--section) 0; }
.booking-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.booking-form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.8rem); box-shadow: var(--shadow); }
.form-required-note { font-size: .95rem; color: var(--ink-soft); }
.req { color: var(--error); font-weight: 700; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; }
.form legend { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--green-deep); padding: 0; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.form legend::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .4rem; font-size: 1rem; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem; border: 2px solid #c9bba8; border-radius: 12px; background: #fff;
  font: 400 1.05rem/1.4 var(--font-body); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; padding-right: 2.6rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2322503f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .8rem center / 20px no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal-ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--green); outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus-halo); }
.field [aria-invalid="true"] { border-color: var(--error) !important; background-color: var(--error-tint) !important; }
.field-hint { font-size: .92rem; color: var(--ink-soft); margin: .35rem 0 0; }
.field-error { color: var(--error); font-weight: 700; font-size: .95rem; margin: .4rem 0 0; display: flex; gap: .4rem; align-items: baseline; }
.field-error span { display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--error); color: #fff; font-size: .8rem; flex: none; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; align-items: start; background: var(--cream); padding: 1rem; border-radius: 12px; }
.field-check input { width: 26px; height: 26px; margin: .1rem 0 0; accent-color: var(--green); }
.field-check label { font-weight: 400; margin: 0; font-size: 1rem; }
.field-check .field-error { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.estimate { margin: -.2rem 0 1.2rem; padding: .9rem 1.1rem; border-radius: 12px; background: var(--yellow-tint); border: 1px solid #f0dc8a; font-size: 1rem; }
.estimate strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--green-deep); }
.error-summary { border: 3px solid var(--error); background: var(--error-tint); border-radius: 14px; padding: 1.1rem 1.3rem; margin-bottom: 1.6rem; }
.error-summary h3 { font-family: var(--font-body); font-size: 1.1rem; color: var(--error); margin-bottom: .5rem; letter-spacing: 0; }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: var(--error); font-weight: 700; }
.notice { background: var(--yellow-tint); border-radius: 12px; padding: 1rem 1.2rem; }
.booking-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.aside-card h3 { font-size: 1.25rem; }
.aside-card p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.aside-note { background: var(--yellow-tint); border-color: #f0dc8a; }
.aside-contacts { background: var(--green-deep); color: #fff; border: 0; --focus: var(--yellow); }
.aside-contacts h3 { color: #fff; }
.aside-contacts ul { list-style: none; padding: 0; margin: 0; }
.aside-contacts li { margin-bottom: .3rem; }
.aside-contacts a { color: #fff; font-weight: 700; font-size: 1.1rem; word-break: break-word; }
.aside-contacts a:hover { color: var(--yellow); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding-left: 2.6rem; margin-bottom: .9rem; font-size: 1rem; line-height: 1.45; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: -.1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.steps li:nth-child(2)::before { background: var(--teal-ink); }
.steps li:nth-child(3)::before { background: var(--green); }

/* Obrigado / 404 / legal */
.page-thanks { padding-bottom: var(--section); }
.thanks-mark { width: 110px; margin: 0 auto 1.5rem; }
.page-thanks h1, .page-404 h1 { margin-inline: auto; }
.page-thanks .lead, .page-404 .lead { margin-inline: auto; }
.ref-box { display: inline-block; background: var(--paper); border: 2px dashed var(--coral); padding: .8rem 1.4rem; border-radius: 14px; font-size: 1.1rem; margin: 1rem 0; }
.big-404 { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 10rem); font-weight: 300; line-height: 1; color: var(--coral); margin: 0; font-style: italic; }
.page-legal { padding-bottom: 1rem; }
.legal-body { padding-bottom: var(--section); }
.legal-body h2 { font-size: 1.6rem; margin-top: 1.8em; }
.bare-logo { padding-top: 3rem; }
.bare-logo img { width: 240px; margin: 0 auto; }

/* ---------- Revelação suave ao rolar (apenas com JS e sem “reduzir movimento”) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
html.rm .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .press-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .teaser-grid, .page-hero-grid, .initiative-grid, .support-grid, .booking-grid, .story-grid, .assoc-intro { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-mark { position: static; max-width: 120px; }
  .teaser-photo { max-width: 320px; margin-inline: auto; }
  .portrait { justify-self: center; max-width: 360px; }
  .initiative-grid.is-flipped .initiative-copy { order: 0; }
  .timeline { position: static; }
  .booking-aside { position: static; }
  .program-grid { grid-template-columns: 1fr; }
  .lema-words { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: 1fr; }
  .value-card:last-child:nth-child(odd) { grid-column: auto; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic-1 { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .area-grid, .press-list, .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .program-facts div { grid-template-columns: 1fr; gap: .1rem; }
  .mosaic { grid-auto-rows: 160px; }
  .mosaic-5 { display: none; }
  .hero-caption { position: relative; bottom: auto; margin-top: -1.5rem; margin-left: .5rem; }
  .mult-replay { position: relative; margin: 0 auto; display: flex; top: auto; }
  .mult-figure { height: 360px; }
  .cta-inner .btn { width: 100%; }
}

/* ---------- Impressão ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .mult-figure, .t-controls, .a11y-panel, .hero-actions, .booking-aside, .petal, .hero-dots { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; }
  .t-track { display: block; overflow: visible; }
}

/* Imagens dentro de <picture> ocupam o contentor */
.hero-photo picture, .teaser-photo picture, .portrait picture { display: block; height: 100%; }
.portrait picture { position: relative; z-index: 1; }
[hidden] { display: none !important; }
.site-footer a.btn { color: var(--fg); text-decoration: none; }
.site-footer a.btn:hover { color: var(--fg); }
.mult-replay { top: auto; bottom: 0; }
/* Contraste de componentes (WCAG 1.4.11): limites dos campos ≥ 3:1 */
.field input:not([type="checkbox"]), .field select, .field textarea { border-color: #857766; }
.steps li:first-child::before { background: var(--coral-ink); }
/* Títulos longos nunca saem do ecrã (texto ampliado / ecrãs estreitos) */
/* Nunca partir palavras (sem hifenização nem cortes a meio da palavra) */
html { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; word-break: normal; }
h1, h2, h3, .hero-title, .meaning-word { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; word-break: normal; }
@media (max-width: 640px) {
  .hero-title { font-size: clamp(2.1rem, 10.5vw, 3rem); }
  .mult-figure { margin-bottom: 4rem; }
  .mult-replay { position: absolute; top: auto; bottom: -3.6rem; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }
}

/* Aviso de cookies (Google Analytics só com consentimento) */
.consent { position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-inner { pointer-events: auto; width: min(100%, 46rem); display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; background: var(--paper); color: var(--ink-soft); border: 1px solid rgba(34, 80, 63, .18); border-radius: 18px; padding: 1rem 1.2rem; box-shadow: var(--shadow-lg); }
.consent-text { flex: 1 1 20rem; }
.consent h2 { font-size: 1.05rem; margin: 0 0 .25rem; color: var(--green-deep); }
.consent p { margin: 0; font-size: .92rem; line-height: 1.45; }
.consent-actions { display: flex; gap: .6rem; flex: none; }
@media print { .consent { display: none !important; } }
