/* Instituto de Ação Social Dona Zena — one-page institucional */

:root {
  --navy: #0B1F3A;
  --navy-2: #14305A;
  --navy-3: #1E3F70;
  --wave: #1F5FA8;
  --ink: #0B1F3A;
  --text: #24364F;
  --muted: #4E5F77;
  --on-navy: #FFFFFF;
  --on-navy-muted: #BCC9DD;
  --line: #DCE3EC;
  --line-strong: #C3CEDC;
  --paper: #FFFFFF;
  --paper-2: #F3F6FA;
  --green: #237A4B;
  --green-2: #1B633C;
  --green-soft: #E2F1E7;
  --green-line: #A9D3B8;
  --yellow: #F5CD47;
  --yellow-2: #EDBE2A;
  --yellow-soft: #FDF4D3;
  --yellow-line: #EBD58A;
  --error: #B42318;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 2px 8px rgba(11, 31, 58, .06);
  --shadow: 0 2px 4px rgba(11, 31, 58, .05), 0 12px 32px rgba(11, 31, 58, .10);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header-h: 68px;
  --section-y: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  scrollbar-color: var(--navy-3) var(--paper-2);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--yellow); color: var(--navy); }

img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--wave); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--yellow-2); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip:focus, .skip:hover { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .6em 1.15em;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: .8em 1.5em; font-size: 1.0625rem; }

.btn-donate { background: var(--yellow); color: var(--navy); box-shadow: 0 1px 2px rgba(11, 31, 58, .12), 0 4px 12px rgba(11, 31, 58, .14); }
.btn-donate:hover { background: var(--yellow-2); color: var(--navy); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: var(--green-2); color: #fff; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }

.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 2px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--navy);
  cursor: pointer; transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--navy); }
.icon-btn:disabled { opacity: .4; cursor: default; }

/* ---------- Tags & chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .3em .75em; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; line-height: 1.2;
}
.tag-obra { background: var(--yellow); color: var(--navy); }
.tag-obra::before {
  content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--navy);
}

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: .4em .85em; border-radius: 999px;
  background: var(--paper-2); color: var(--navy);
  font-size: .875rem; font-weight: 600; line-height: 1.3;
}
.chips li:nth-child(1) { background: var(--green-soft); }
.chips li:nth-child(2) { background: var(--yellow-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 42px; width: auto; mix-blend-mode: multiply; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a {
  display: block; padding: .5em .6em; border-radius: 8px;
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.nav ul a:hover { background: var(--paper-2); }
.nav ul a[aria-current="true"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--yellow-2); border-radius: 0; }
.nav .nav-wa { display: none; }
.header-cta { flex: none; }
.menu-toggle { display: none; }

@media (max-width: 1140px) {
  .nav a { padding: .5em .45em; font-size: .875rem; }
}

@media (max-width: 1023px) {
  .header-inner { gap: 12px; }
  .brand img { height: 36px; }
  .header-cta { margin-left: auto; }
  .menu-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border: 0; border-radius: 10px; background: var(--paper-2); color: var(--navy); cursor: pointer;
  }
  .menu-toggle .ic { width: 24px; height: 24px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    margin: 0; padding: 12px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: .85em .25em; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav ul a[aria-current="true"] { box-shadow: none; color: var(--green); }
  .nav .nav-wa {
    display: flex; align-items: center; gap: .5em; margin-top: 16px; justify-content: center;
    min-height: 48px; border-radius: 999px; background: var(--green); color: #fff !important; font-weight: 700;
  }
}

@media (max-width: 479px) {
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .brand img { height: 34px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2, .sobre h2, .transp h2, .contato h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-variation-settings: "wdth" 104;
  margin-bottom: .45em;
}
.section-head p { font-size: 1.1875rem; color: var(--muted); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head--row h2 { margin-bottom: 0; }

.lead { font-size: clamp(1.1875rem, 1.6vw, 1.3125rem); line-height: 1.5; color: var(--ink); font-weight: 500; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 72px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid {
  display: grid; gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.25rem, 4.3vw, 3.875rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 104;
  margin-bottom: .4em;
  max-width: 13ch;
}
.hero-place { display: flex; align-items: center; gap: .4em; margin: -.1em 0 .9em; font-weight: 700; color: var(--green); font-size: 1.0625rem; }
.hero-sub { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--text); max-width: 36rem; margin-bottom: 1.5rem; }

.placa-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 1.5rem; padding: 0;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  overflow: hidden; max-width: 34rem;
}
.placa-stats > div { padding: 14px 16px 16px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; }
.placa-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .16); }
.placa-stats dd {
  margin: 0; font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1;
  font-variation-settings: "wdth" 115; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums;
  color: var(--yellow);
}
.placa-stats dt { font-size: .8125rem; line-height: 1.3; color: var(--on-navy-muted); font-weight: 500; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.5rem; }

.hero-photo { margin: 0; position: relative; }
.hero-placa {
  position: absolute; left: -28px; right: 28px; bottom: 44px;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 18px 20px 16px; box-shadow: 0 10px 30px rgba(11, 31, 58, .32);
}
.hero-placa-title {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px;
  text-transform: uppercase; font-weight: 800; font-size: .9375rem; letter-spacing: .02em; font-variation-settings: "wdth" 118;
}
.hero-placa-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-placa-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 12px 12px 10px 0; }
.hero-placa-stats > div + div { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .16); }
.hero-placa-stats dd { margin: 0; color: var(--yellow); font-weight: 800; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1; font-variation-settings: "wdth" 118; font-variant-numeric: tabular-nums lining-nums; }
.hero-placa-stats dt { font-size: .8125rem; line-height: 1.3; color: var(--on-navy-muted); margin-top: 4px; }
.hero-placa-meta { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .9375rem; color: #E4EAF3; }
.hero-placa-meta strong { color: #fff; text-transform: uppercase; font-variation-settings: "wdth" 118; }
.mini-bar { flex: 1 1 auto; min-width: 60px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.mini-bar span { display: block; width: 33.333%; height: 100%; background: var(--yellow); border-radius: 999px; }
@media (min-width: 900px) {
  .hero-copy .placa-stats { display: none; }
  .photo-frame { aspect-ratio: 4 / 4.6; }
}
@media (max-width: 899px) {
  .hero-placa { display: none; }
}
.photo-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.4; background: var(--paper-2); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.photo-frame .tag { position: absolute; left: 16px; top: 16px; box-shadow: var(--shadow-sm); }
.hero-photo figcaption, .diario figcaption {
  position: relative;
  margin-top: 10px; font-size: .875rem; color: var(--muted); line-height: 1.4;
}
.hero-photo figcaption strong { color: var(--navy); }

.hero-support {
  margin-top: clamp(28px, 4vw, 48px); margin-bottom: 0;
  font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 600; color: var(--navy);
  font-variation-settings: "wdth" 104;
}
.waves {
  position: absolute; width: 120px; height: 40px; right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  bottom: clamp(36px, 5vw, 76px);
  fill: none; stroke: var(--wave); stroke-width: 2.4; stroke-linecap: round; opacity: .8;
}

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 15ch; }
  .photo-frame { aspect-ratio: 4 / 3; }
  .waves { display: none; }
}
@media (max-width: 479px) {
  .hero { padding-top: 20px; }
  .hero h1 { font-size: 2.125rem; margin-bottom: .35em; }
  .hero-place { display: flex; align-items: center; gap: .4em; margin: -.1em 0 .9em; font-weight: 700; color: var(--green); font-size: 1.0625rem; }
.hero-sub { font-size: 1rem; line-height: 1.5; margin-bottom: 1.1rem; }
  .placa-stats { margin-bottom: 1.1rem; }
  .placa-stats > div { padding: 12px 12px 14px; }
  .placa-stats dd { font-size: 1.625rem; }
  .placa-stats dt { font-size: .75rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Sobre ---------- */
.sobre { background: var(--paper-2); }
.sobre-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.sobre-text { max-width: 40rem; }
.sobre-text .lead { margin-bottom: 1.25em; }

.lineage { list-style: none; margin: 1.75rem 0; padding: 0; position: relative; }
.lineage::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line-strong); }
.lineage li { position: relative; padding: 0 0 1rem 32px; }
.lineage li:last-child { padding-bottom: 0; }
.lineage li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper-2); border: 3px solid var(--navy);
}
.lineage li:last-child::before { background: var(--yellow); }
.lineage strong { display: block; color: var(--navy); font-size: 1.0625rem; }
.lineage span { color: var(--muted); }

.mvv { margin: 2rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.mvv > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.mvv dt { font-weight: 800; color: var(--navy); font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: .875rem; letter-spacing: .04em; padding-top: .2em; }
.mvv dd { margin: 0; }
.values { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.values li { padding: .25em .7em; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: .9375rem; box-shadow: var(--shadow-sm); }

.sobre-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.video-card { margin: 0; }
.video-card video { color: #fff; width: 100%; aspect-ratio: 9 / 16; max-height: 70vh; object-fit: cover; border-radius: var(--radius); background: var(--navy); box-shadow: var(--shadow); }
.video-card video a, .video-card video a:hover { color: var(--yellow); }
.video-card figcaption { margin-top: 10px; font-size: .875rem; color: var(--muted); }

.quote { margin: 0; padding: 24px 24px 22px; background: var(--navy); color: #fff; border-radius: var(--radius); }
.quote p { font-size: 1.125rem; line-height: 1.5; font-weight: 500; }
.quote footer { margin-top: 14px; font-weight: 700; color: var(--yellow); }
.quote footer span { color: var(--on-navy-muted); font-weight: 500; }

@media (max-width: 899px) {
  .sobre-grid { grid-template-columns: minmax(0, 1fr); }
  .sobre-aside { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 599px) {
  .sobre-aside { grid-template-columns: minmax(0, 1fr); }
  .video-card video { max-height: 78vh; }
  .mvv > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* ---------- Projetos ---------- */
.proj-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "feat a b"
    "feat c d"
    "wide wide wide";
}
.proj-grid > :nth-child(1) { grid-area: feat; }
.proj-grid > :nth-child(2) { grid-area: a; }
.proj-grid > :nth-child(3) { grid-area: b; }
.proj-grid > :nth-child(4) { grid-area: c; }
.proj-grid > :nth-child(5) { grid-area: d; }
.proj-grid > :nth-child(6) { grid-area: wide; }

.proj { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.proj img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proj-body { padding: 18px 20px 22px; }
.proj h3 { font-size: 1.25rem; margin-bottom: .4em; font-variation-settings: "wdth" 102; }
.proj p { color: var(--muted); font-size: 1rem; }

.proj--text { padding: 24px 22px; justify-content: flex-end; min-height: 200px; box-shadow: none; }
.proj--yellow { background: var(--yellow-soft); }
.proj--green { background: var(--green-soft); }
.proj--text h3 { font-size: 1.5rem; }
.proj--text p { color: var(--text); }

.proj--feature img { aspect-ratio: auto; flex: 1 1 auto; min-height: 260px; object-position: 25% 50%; }
.proj--feature .proj-body { background: var(--navy); }
.proj--feature h3 { color: #fff; font-size: 1.5rem; }
.proj--feature p { color: var(--on-navy-muted); }

.proj--wide { flex-direction: row; align-items: stretch; }
.proj--wide img { width: 46%; aspect-ratio: 16 / 10; min-height: 0; height: auto; }
.proj--wide .proj-body { align-self: center; padding: 28px clamp(20px, 4vw, 48px); max-width: 36rem; }
.proj--wide h3 { font-size: 1.5rem; }

@media (max-width: 899px) {
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "feat feat" "a b" "c d" "wide wide"; }
  .proj--feature img { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 599px) {
  .proj-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "feat" "a" "b" "c" "d" "wide"; }
  .proj--text { min-height: 0; }
  .proj--wide { flex-direction: column; }
  .proj--wide img { width: 100%; aspect-ratio: 4 / 3; min-height: 0; }
  .proj--wide .proj-body { padding: 18px 20px 22px; }
}

/* ---------- Placa de obra ---------- */
.placa {
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--navy); color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow);
}
.placa-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: clamp(20px, 3vw, 32px); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.placa h3 { color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.05; font-variation-settings: "wdth" 118; text-transform: uppercase; letter-spacing: -0.01em; }
.placa h3 span { display: block; }
.placa .placa-sub { color: var(--yellow); }

.placa-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding: clamp(24px, 3vw, 36px) 0; align-items: center; }
.placa-text > p { font-size: 1.125rem; color: #E4EAF3; max-width: 34rem; }
.placa-rows { margin: 1.5rem 0 1.75rem; }
.placa-rows > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.placa-rows dt { text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; font-weight: 700; color: var(--on-navy-muted); padding-top: .25em; }
.placa-rows dd { margin: 0; color: #fff; font-weight: 500; }

.planta { margin: 0; }
.planta svg { width: 100%; height: auto; overflow: visible; }
.planta text { fill: #fff; font-family: var(--font); font-size: 17px; font-weight: 700; text-anchor: middle; }
.planta .pl-small { font-size: 13px; font-weight: 500; fill: var(--on-navy-muted); }
.planta .pl-fill { fill: #1A3256; }
.planta .pl-wall { fill: none; stroke: var(--yellow); stroke-width: 6; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 0; }
.planta .pl-dash { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2; stroke-dasharray: 7 6; }
.planta figcaption { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .875rem; color: var(--on-navy-muted); }
.legend { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.legend::before { content: ""; width: 22px; height: 0; border-top: 5px solid var(--yellow); }
.legend--todo::before { border-top: 2px dashed rgba(255, 255, 255, .7); }
.legend-note { margin-left: auto; }

.js .planta .pl-wall { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.js .planta .pl-wall + .pl-wall { transition-delay: .5s; }
.js .planta .pl-fill { opacity: 0; transition: opacity .8s var(--ease) 1.2s; }
.js .planta .pl-todo { opacity: 0; transition: opacity .9s var(--ease) 1.5s; }
.js .planta .pl-built text { opacity: 0; transition: opacity .6s var(--ease) 1.1s; }
.js .planta.is-drawn .pl-wall { stroke-dashoffset: 0; }
.js .planta.is-drawn .pl-fill,
.js .planta.is-drawn .pl-todo,
.js .planta.is-drawn .pl-built text { opacity: 1; }
.js .planta.is-drawn .pl-dash { animation: march 1.2s linear infinite; animation-play-state: paused; }
.planta:hover .pl-dash { animation-play-state: running; }
@keyframes march { to { stroke-dashoffset: -26; } }

.diario { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: clamp(20px, 3vw, 32px); border-top: 1px solid rgba(255, 255, 255, .18); }
.diario figure { margin: 0; }
.diario-next { padding: 20px; border-radius: var(--radius-sm); border: 1.5px dashed rgba(255, 255, 255, .45); color: #E4EAF3; font-size: .9375rem; display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; }
.diario-next p { margin: 0 0 .6em; }
.diario-next .diario-next-label { margin-top: .6em; }
.diario-next strong { color: #fff; }
.diario-next a { color: var(--yellow); font-weight: 700; }
.diario img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.diario figcaption { color: #E4EAF3; }
.stamp {
  display: block; margin-bottom: 4px; color: var(--yellow);
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  font-variation-settings: "wdth" 112; font-variant-numeric: tabular-nums lining-nums;
}

@media (max-width: 899px) {
  .placa-body { grid-template-columns: minmax(0, 1fr); }
  .planta { order: -1; }
}
@media (max-width: 599px) {
  .diario { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 calc(-1 * clamp(24px, 4vw, 48px)); padding-left: clamp(24px, 4vw, 48px); padding-right: clamp(24px, 4vw, 48px); scroll-padding: 0 clamp(24px, 4vw, 48px); scrollbar-width: none; }
  .diario figure { scroll-snap-align: start; }
  .placa-rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legend-note { margin-left: 0; width: 100%; }
  .placa .btn { width: 100%; }
}

/* ---------- Impacto ---------- */
.impacto { background: var(--paper); }
.metrics { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--navy); }
.metrics > div { display: flex; flex-direction: column; padding: 24px 24px 8px 0; }
.metrics > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.metrics dd {
  order: -1; margin: 0; color: var(--navy); font-weight: 800; line-height: .95;
  font-size: clamp(3.5rem, 8vw, 6rem); letter-spacing: -0.03em;
  font-variation-settings: "wdth" 116; font-variant-numeric: tabular-nums lining-nums;
}
.metrics dt { margin-top: 12px; color: var(--muted); font-size: 1.0625rem; max-width: 18rem; }

.meta { margin-top: clamp(32px, 5vw, 56px); padding: 24px; border-radius: var(--radius); background: var(--yellow-soft); }
.meta-label { font-size: 1.1875rem; color: var(--navy); margin-bottom: 14px; }
.meta-bar { position: relative; height: 18px; border-radius: 999px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 2px var(--yellow-line); }
.meta-fill { position: absolute; inset: 0 auto 0 0; width: 33.333%; background: var(--navy); border-radius: 999px; }
.meta-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: .875rem; font-weight: 600; color: var(--navy); }
.meta-scale span:first-child { padding-left: calc(33.333% - 3.5em); }

.territorio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: clamp(56px, 7vw, 96px); align-items: center; }
.territorio figure { margin: 0; }
.territorio img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.territorio h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .5em; }
.territorio p { max-width: 36rem; }

.timeline { list-style: none; margin: 1.75rem 0 0; padding: 0; counter-reset: tl; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 14px 30px; font-weight: 600; color: var(--navy); }
.timeline li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: var(--green); }
.timeline li::after { content: ""; position: absolute; left: 6px; top: 1.2em; bottom: -.1em; width: 2px; background: var(--green-line); }
.timeline li:last-child::after { display: none; }
.timeline li.is-now::before { background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-soft), 0 0 0 5px var(--yellow-2); }
.timeline li.is-now { padding-bottom: 0; }

@media (max-width: 899px) {
  .territorio { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .metrics { grid-template-columns: minmax(0, 1fr); }
  .metrics > div, .metrics > div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .meta-scale span:first-child { padding-left: 0; }
}

/* ---------- Como ajudar ---------- */
.doar { background: var(--green-soft); }
.doar .section-head p { color: var(--text); }
.doar-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }

.tablist { display: flex; gap: 6px; padding: 6px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-sm); overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tablist [role="tab"] {
  flex: 1 0 auto; min-height: 44px; padding: .5em 1em; border: 0; border-radius: 999px;
  background: transparent; color: var(--navy); font: inherit; font-weight: 700; font-size: .9375rem; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.tablist [role="tab"]:hover { background: var(--paper-2); }
.tablist [role="tab"][aria-selected="true"] { background: var(--navy); color: #fff; }
.tabpanel { padding: 20px 4px 0; font-size: 1.125rem; color: var(--ink); min-height: 6.5em; }
.tabpanel:focus-visible { outline-offset: 6px; }

.needs { margin-top: 28px; padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.needs h3 { font-size: 1.375rem; margin-bottom: 16px; }
.need + .need { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.need h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--green); margin-bottom: 6px; font-variation-settings: "wdth" 112; }
.need strong { color: var(--navy); font-size: 1.25rem; }
.materials { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.materials li { padding: .3em .75em; border-radius: 999px; background: var(--paper-2); color: var(--navy); font-weight: 600; font-size: .9375rem; }

.donate-box {
  background: var(--navy); color: #fff; border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
  position: sticky; top: calc(var(--header-h) + 24px);
}
.donate-box h3 { position: relative; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); font-variation-settings: "wdth" 118; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 18px; }
.donate-box { overflow: hidden; }
.sun-arcs { position: absolute; top: 0; right: 0; width: 120px; height: 120px; fill: none; stroke: var(--yellow); stroke-width: 3; opacity: .55; pointer-events: none; }
.pix-label { margin: 0; font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--on-navy-muted); }
.pix-key {
  margin: 4px 0 2px; font-size: clamp(1.625rem, 3.4vw, 2.375rem); font-weight: 800; color: var(--yellow);
  font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.01em; font-variation-settings: "wdth" 108;
  overflow-wrap: anywhere; user-select: all; -webkit-user-select: all;
}
.pix-holder { color: var(--on-navy-muted); font-size: .9375rem; margin-bottom: 22px; }
.donate-actions { display: grid; gap: 10px; }
.donate-actions .btn { width: 100%; }
.donate-contacts { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; gap: 8px; color: var(--on-navy-muted); }
.donate-contacts li { display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.donate-contacts a { color: #fff; }
.donate-contacts a:hover { color: var(--yellow); }
.trust { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .07); color: #E4EAF3; font-size: .9375rem; }

@media (max-width: 899px) {
  .doar-grid { grid-template-columns: minmax(0, 1fr); }
  .donate-box { position: relative; order: -1; }
}

/* ---------- Depoimentos ---------- */
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px 0;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: 2px; }
.depo-item {
  margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 28px 26px; border-radius: var(--radius); background: var(--paper-2);
}
.depo-item blockquote { margin: 0; }
.depo-item blockquote p { font-size: 1.1875rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
.depo-item figcaption { font-size: .9375rem; color: var(--muted); display: grid; gap: 2px; }
.depo-item figcaption strong { color: var(--navy); }
.depo-item--lead { background: var(--navy); }
.depo-item--lead blockquote p { color: #fff; font-size: 1.375rem; }
.depo-item--lead figcaption { color: var(--on-navy-muted); }
.depo-item--lead figcaption strong { color: var(--yellow); }
.carousel-ctrl { display: none; gap: 8px; }
.dots { display: none; justify-content: center; gap: 8px; margin-top: 14px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background-color .2s, width .2s var(--ease); }
.dots span.is-active { background: var(--navy); width: 22px; border-radius: 999px; }
.depo-note { margin-top: 18px; font-size: .9375rem; color: var(--muted); }

@media (max-width: 899px) {
  .carousel { grid-auto-columns: 100%; }
  .carousel-ctrl { display: flex; }
  .dots { display: flex; }
}

/* ---------- Transparência ---------- */
.transp { background: var(--paper-2); }
.transp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.transp .lead { margin-bottom: 1.5em; }
.transp .btn { white-space: normal; text-align: left; }
.checklist { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.checklist li { display: flex; gap: 14px; padding: 18px 22px; }
.checklist li + li { border-top: 1px solid var(--line); }
.checklist .ic { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3; margin-top: 1px; }
.checklist strong { display: block; color: var(--navy); }

@media (max-width: 899px) {
  .transp-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Contato ---------- */
.contato-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contato-info > p { font-size: 1.1875rem; color: var(--muted); }
.contact-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; overflow-wrap: anywhere; }
.contact-list .ic { color: var(--green); }
.contact-list a { color: var(--navy); font-weight: 600; }
.muted { color: var(--muted); font-size: .9375rem; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--paper-2); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; }

.form { background: var(--paper-2); padding: clamp(22px, 4vw, 40px); border-radius: calc(var(--radius) + 4px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-weight: 700; color: var(--navy); font-size: .9375rem; }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7em .9em;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8em center; background-size: 18px; padding-right: 2.6em;
}
.field input::placeholder { color: #5E6D83; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(245, 205, 71, .7); }
.field [aria-invalid="true"] { border-color: var(--error); }
.err { margin: 0; color: var(--error); font-size: .875rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 600; color: var(--navy); }
.form-status.is-ok { color: var(--green); }
.form-status.is-error { color: var(--error); }

@media (max-width: 899px) {
  .contato-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .form .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: clamp(48px, 7vw, 80px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 32px; align-items: start; }
.logo-tile { display: inline-block; background: #fff; border-radius: var(--radius); padding: 10px 14px; }
.logo-tile img { width: 220px; height: auto; mix-blend-mode: multiply; }
.motto { margin-top: 16px; color: #fff; font-weight: 700; font-size: 1.125rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.footer-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; }
.footer-legal p { margin: 0; }

@media (max-width: 899px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Floating WhatsApp / mobile bar ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; box-shadow: 0 6px 20px rgba(11, 31, 58, .28);
  transition: transform .25s var(--ease), background-color .2s;
}
.wa-float .ic { width: 30px; height: 30px; }
.wa-float:hover { background: var(--green-2); color: #fff; transform: translateY(-2px); }

.mobile-bar { display: none; }

@media (max-width: 767px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr auto auto; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(11, 31, 58, .08);
  }
  .mobile-bar .btn { min-height: 52px; }
  .mobile-bar .btn-icon { width: 52px; padding: 0; }
  .mobile-bar .btn-icon .ic { width: 26px; height: 26px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 600; box-shadow: var(--shadow);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 767px) { .toast { bottom: calc(88px + env(safe-area-inset-bottom)); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
