/* ============================================================
   Mapa Solidário JP — Site styles
   Mobile-first, builds on /colors_and_type.css tokens.
   ============================================================ */

@font-face {
  font-family: "Achiko";
  src: url("fonts/Achiko-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fresh Spirit";
  src: url("fonts/FreshSpirit-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Borel";
  src: url("fonts/Borel-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ms-red:        #db4347;
  --ms-purple:     #795a9f;
  --ms-lime:       #96c226;
  --ms-yellow:     #f4bb31;
  --ms-blue:       #12467a;
  --ms-green:      #01a157;
  --ms-ink:        #1a1a1a;
  --ms-ink-soft:   #4a4a4a;
  --ms-ink-mute:   #8a857c;
  --ms-paper:      #ffffff;
  --ms-paper-soft: #faf7f1;
  --ms-line:       #e7e2d8;
  --ms-line-soft:  #f1ede4;

  --font-display: "Achiko", "Patrick Hand", system-ui, sans-serif;
  --font-text:    "Nunito", "Fresh Spirit", system-ui, sans-serif;
  --font-script:  "Borel", "Caveat", cursive;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(26,26,26,.06), 0 2px 6px rgba(26,26,26,.04);
  --shadow-md: 0 4px 14px rgba(26,26,26,.08), 0 1px 3px rgba(26,26,26,.05);
  --shadow-lg: 0 16px 40px rgba(26,26,26,.12), 0 4px 12px rgba(26,26,26,.06);

  --max-w: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ms-ink);
  background: var(--ms-paper-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Type ---------- */
.display { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.01em; font-weight: 400; }
.script  { font-family: var(--font-script);  line-height: 1.1; font-weight: 400; }
.text    { font-family: var(--font-text);    line-height: 1.5; }

.eyebrow {
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ms-ink-soft);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

section { position: relative; }

/* ---------- Top Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--ms-line);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: none; gap: 22px; align-items: center; }
.nav-link {
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--ms-ink);
  padding: 6px 2px;
  position: relative;
  transition: color .15s ease;
}
.nav-link:hover { color: var(--ms-red); }
.nav-link.is-active { color: var(--ms-red); }
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--ms-red);
  border-radius: 2px;
}
.nav-cta {
  display: none;
  border: 0; cursor: pointer;
  background: var(--ms-red);
  color: #fff;
  font-family: var(--font-text);
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform .12s ease, opacity .15s ease;
}
.nav-cta:hover { opacity: 0.9; }
.nav-cta:active { transform: scale(0.97); }

.nav-burger {
  display: inline-flex;
  width: 40px; height: 40px;
  border: 0; background: transparent;
  border-radius: 999px;
  align-items: center; justify-content: center;
  color: var(--ms-ink);
}
.nav-burger:hover { background: var(--ms-line-soft); }

.nav-sheet {
  position: fixed;
  inset: 0;
  background: var(--ms-paper-soft);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 32px;
  transform: translateY(-100%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s ease, visibility 0s linear .3s;
}
.nav-sheet.is-open {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .2s ease, visibility 0s linear 0s;
}
.nav-sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 24px;
}
.nav-sheet-link {
  font-family: var(--font-display);
  font-size: 34px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ms-line);
  color: var(--ms-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-sheet-link .accent { color: var(--ms-red); }
.nav-sheet-foot {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 32px;
}
.nav-sheet-foot .ig {
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--ms-ink-soft);
}

@media (min-width: 800px) {
  .nav-links { display: flex; }
  .nav-cta   { display: inline-flex; align-items: center; gap: 6px; }
  .nav-burger { display: none; }
  .nav-sheet { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ms-paper-soft);
  padding: 28px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ms-ink-soft);
  padding: 6px 12px;
  background: #fff;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--ms-line);
  margin-bottom: 18px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--ms-red);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--ms-blue);
}
.hero h1 .heart-o {
  color: var(--ms-red);
  display: inline-block;
}
.hero h1 .e2 { color: var(--ms-yellow); }
.hero h1 .e3 { color: var(--ms-purple); }
.hero h1 .e4 { color: var(--ms-green); }
.hero h1 .e5 { color: var(--ms-lime); }
.hero-lead {
  font-family: var(--font-text);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.4;
  color: var(--ms-ink-soft);
  max-width: 520px;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--ms-red);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-art .photo {
  position: absolute; inset: 0;
  background: #2a2520;
  background-size: cover;
  background-position: center;
}
.hero-art .handle {
  position: absolute;
  top: 22px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-text);
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.02em;
  z-index: 2;
}
.hero-art .quote {
  position: absolute;
  left: 24px; right: 24px; bottom: 26px;
  z-index: 2;
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  letter-spacing: -0.005em;
}
.hero-art .quote .sub {
  display: block;
  font-family: var(--font-text);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 12px;
  opacity: 0.9;
}

@media (min-width: 900px) {
  .hero { padding: 56px 0 88px; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 15px;
  cursor: pointer;
  transition: transform .12s ease, opacity .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ms-red); color: #fff; }
.btn-ghost   { background: #fff; color: var(--ms-ink); box-shadow: inset 0 0 0 1.5px var(--ms-ink); }
.btn-soft    { background: #fff; color: var(--ms-ink); box-shadow: inset 0 0 0 1px var(--ms-line); }
.btn-on-color{ background: #fff; color: var(--ms-ink); }
.btn .arrow {
  width: 18px; height: 18px;
  display: inline-flex;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

.btn-sm { padding: 10px 16px; font-size: 13px; }

/* ---------- Cloud petal corner ---------- */
.cloud {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.cloud svg { width: 100%; height: 100%; display: block; }

/* ---------- Sticker offset shadow ---------- */
.sticker {
  box-shadow: 0 8px 0 rgba(26,26,26,0.10), var(--shadow-md);
}

/* ---------- Section common ---------- */
.section {
  padding: 64px 0;
}
.section-head {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 36px;
  max-width: 720px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ms-blue);
}
.section-head .lead {
  font-family: var(--font-text);
  font-size: 18px;
  color: var(--ms-ink-soft);
  line-height: 1.45;
}
@media (min-width: 900px) {
  .section { padding: 96px 0; }
}

/* ---------- Verbs (Organiza · Amplifica · Conecta) ---------- */
.verbs {
  background: var(--ms-paper);
  border-top: 1px solid var(--ms-line);
  border-bottom: 1px solid var(--ms-line);
}
.verbs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.verb {
  position: relative;
  background: var(--ms-paper-soft);
  border-radius: var(--r-lg);
  padding: 28px 24px 32px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.verb:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.verb .num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ms-ink-mute);
  margin-bottom: 8px;
}
.verb h3 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  margin: 0 0 14px;
}
.verb .v-red    h3 { color: var(--ms-red); }
.verb p {
  font-family: var(--font-text);
  font-size: 15px;
  color: var(--ms-ink-soft);
  line-height: 1.5;
}
.verb-1 h3 { color: var(--ms-red); }
.verb-2 h3 { color: var(--ms-purple); }
.verb-3 h3 { color: var(--ms-green); }
@media (min-width: 800px) {
  .verbs-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- Causas grid ---------- */
.causas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 700px) { .causas-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .causas-grid { grid-template-columns: repeat(4, 1fr); } }

.causa-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease;
  background: var(--ms-ink-soft);
}
.causa-card:hover { transform: translateY(-3px); }
.causa-card .illus.is-letter {
  align-items: center !important;
  justify-content: center !important;
}
.causa-card .illus.is-letter span {
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 240px);
  color: rgba(255,255,255,0.95);
  line-height: 1;
  text-shadow: 0 4px 0 rgba(0,0,0,0.06);
}
.causa-card .illus {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
}
.causa-card .illus img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.causa-card .label {
  position: absolute;
  inset: auto 12px 12px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  z-index: 2;
}
.causa-card .label .pill {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: var(--ms-ink);
  display: flex; align-items: center; justify-content: center;
}
.causa-card.is-locked {
  background: var(--ms-paper);
  box-shadow: inset 0 0 0 1.5px var(--ms-line);
}
.causa-card.is-locked .label { color: var(--ms-ink); }
.causa-card.is-locked .lock-content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--ms-ink-mute);
}

/* ---------- Manifesto strip ---------- */
.manifesto {
  position: relative;
  overflow: hidden;
  background: var(--ms-red);
  color: #fff;
}
.manifesto-inner {
  position: relative;
  z-index: 2;
  padding: 80px 0 90px;
}
.manifesto h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 14ch;
}
.manifesto p {
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.5;
  max-width: 540px;
  color: rgba(255,255,255,0.92);
}
.manifesto .script-tagline {
  font-family: var(--font-script);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  margin-top: 28px;
  color: rgba(255,255,255,0.95);
}
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ---------- ONG cards (catálogo + destaque) ---------- */
.ong-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 600px) { .ong-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .ong-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.ong {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.ong:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ong-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ms-paper-soft);
  overflow: hidden;
}
.ong-img .photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.ong-img .tag {
  position: absolute;
  left: 12px; top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--ms-ink);
  backdrop-filter: blur(4px);
}
.ong-img .tag .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  margin-right: 6px;
  vertical-align: 1px;
}
.ong-body {
  padding: 18px 18px 22px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.ong-body h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.05;
  margin: 0;
  color: var(--ms-ink);
}
.ong-body .meta {
  font-family: var(--font-text);
  font-size: 13px;
  color: var(--ms-ink-mute);
  display: flex; align-items: center; gap: 4px;
}
.ong-body .desc {
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--ms-ink-soft);
  line-height: 1.5;
  margin-top: 2px;
}
.ong-body .foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--ms-line);
}
.ong-body .foot .handle {
  font-family: var(--font-text);
  font-size: 13px;
  color: var(--ms-ink-soft);
}
.ong-body .foot .go {
  color: var(--ms-red);
  font-family: var(--font-text);
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 4px;
}

/* ---------- Filters row ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.chip {
  border: 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-text);
  font-size: 13px;
  color: var(--ms-ink);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--ms-line);
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
  display: inline-flex; align-items: center; gap: 7px;
}
.chip .dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--ms-ink-mute);
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ms-ink); }
.chip.is-active {
  background: var(--ms-ink);
  color: #fff;
  box-shadow: none;
}
.chip.is-active .dot { background: #fff; }

.search {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-bottom: 18px;
}
.search input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ms-line);
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--ms-ink);
  outline: 0;
}
.search input:focus { box-shadow: inset 0 0 0 1.5px var(--ms-ink); }
.search .icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--ms-ink-mute);
}

/* ---------- Impact numbers ---------- */
.impact {
  background: var(--ms-blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.impact-inner { padding: 72px 0; }
.impact h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  margin: 0 0 8px;
  color: #fff;
}
.impact .sub {
  font-family: var(--font-text);
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin-bottom: 40px;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 800px) {
  .impact-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.stat {
  position: relative;
}
.stat .n {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1;
  color: var(--ms-yellow);
}
.stat .l {
  font-family: var(--font-text);
  font-size: 14px;
  color: rgba(255,255,255,0.86);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--ms-yellow);
  color: var(--ms-ink);
  position: relative;
  overflow: hidden;
}
.cta-strip-inner {
  padding: 56px 0;
  display: grid;
  gap: 24px;
  align-items: center;
  position: relative; z-index: 2;
}
@media (min-width: 800px) {
  .cta-strip-inner { grid-template-columns: 1.4fr 1fr; }
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  margin: 0 0 12px;
  color: var(--ms-ink);
}
.cta-strip p {
  font-family: var(--font-text);
  font-size: 17px;
  color: rgba(26,26,26,0.7);
}
.cta-strip .actions {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.cta-strip .btn-primary { background: var(--ms-ink); color: #fff; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ms-ink);
  color: rgba(255,255,255,0.86);
  padding: 64px 0 28px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer h4 {
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 16px;
}
.footer-brand .display-mark {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 0.95;
  color: #fff;
  margin: 0 0 16px;
}
.footer-brand .display-mark .h { color: var(--ms-red); }
.footer-brand p {
  font-family: var(--font-text);
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  max-width: 320px;
  line-height: 1.5;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,0.86);
  font-family: var(--font-text);
  font-size: 14px;
  transition: color .15s ease;
}
.footer-links a:hover { color: var(--ms-yellow); }
.footer-foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  font-family: var(--font-text);
  font-size: 12px;
  color: rgba(255,255,255,0.48);
}

/* ---------- Page transitions ---------- */
.page {
  animation: page-in .35s cubic-bezier(.4,0,.2,1);
}
@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- ONG detail ---------- */
.detail-hero {
  position: relative;
  background: var(--ms-paper);
  overflow: hidden;
}
.detail-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ms-paper-soft);
  overflow: hidden;
}
@media (min-width: 900px) {
  .detail-cover { aspect-ratio: 21 / 9; }
}
.detail-cover .photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.detail-cover .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%);
}
.detail-cover .head {
  position: absolute; left: 0; right: 0; bottom: 24px;
  padding: 0 20px;
  color: #fff;
  z-index: 2;
}
@media (min-width: 900px) { .detail-cover .head { bottom: 40px; padding: 0 40px; } }
.detail-cover .head .tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.95);
  color: var(--ms-ink);
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 13px;
  margin-bottom: 14px;
}
.detail-cover .head h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  line-height: 0.98;
  margin: 0;
  letter-spacing: -0.01em;
}
.detail-cover .head .where {
  font-family: var(--font-text);
  font-size: 15px;
  color: rgba(255,255,255,0.86);
  margin-top: 10px;
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 56px 0;
}
@media (min-width: 900px) {
  .detail-body { grid-template-columns: 1.3fr 1fr; gap: 64px; padding: 80px 0; }
}
.detail-body h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1;
  color: var(--ms-blue);
  margin: 0 0 16px;
}
.detail-body p {
  font-family: var(--font-text);
  font-size: 17px;
  color: var(--ms-ink-soft);
  line-height: 1.55;
}
.detail-body .lede { font-size: 18px; color: var(--ms-ink); }

.help-card {
  background: var(--ms-paper);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky; top: 80px;
}
.help-card h4 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 16px;
  color: var(--ms-ink);
}
.help-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ms-line);
  font-family: var(--font-text); font-size: 14px;
  color: var(--ms-ink-soft);
}
.help-row:last-of-type { border-bottom: 0; }
.help-row .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ms-paper-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--ms-ink);
  flex-shrink: 0;
}
.help-row strong {
  display: block; color: var(--ms-ink); font-weight: 400;
  font-family: var(--font-text);
}

/* ---------- Forms (Cadastrar / Contato) ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-text);
  font-size: 13px;
  color: var(--ms-ink);
  letter-spacing: 0.01em;
}
.field label .req { color: var(--ms-red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--ms-line);
  font-family: var(--font-text);
  font-size: 15px;
  color: var(--ms-ink);
  outline: 0;
  transition: box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--ms-ink); }
.field textarea { resize: vertical; min-height: 140px; }
.field .hint {
  font-family: var(--font-text);
  font-size: 12px;
  color: var(--ms-ink-mute);
}
.field.error input,
.field.error select,
.field.error textarea { box-shadow: inset 0 0 0 1.5px var(--ms-red); }
.field .err {
  font-family: var(--font-text);
  font-size: 12px;
  color: var(--ms-red);
}

.causa-pick {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.causa-pick .pick {
  border: 0;
  padding: 9px 14px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 13px;
  background: #fff;
  color: var(--ms-ink);
  cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--ms-line);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.causa-pick .pick:hover { transform: translateY(-1px); }
.causa-pick .pick .dot { width: 8px; height: 8px; border-radius: 999px; }
.causa-pick .pick.is-on {
  background: var(--ms-ink);
  color: #fff;
  box-shadow: none;
}

/* ---------- Steps progress ---------- */
.steps {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 32px;
}
.step {
  display: flex; align-items: center; gap: 10px;
  flex: 1;
  font-family: var(--font-text);
  font-size: 13px;
  color: var(--ms-ink-mute);
}
.step .num {
  width: 28px; height: 28px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ms-paper);
  box-shadow: inset 0 0 0 1.5px var(--ms-line);
  font-family: var(--font-text); font-size: 13px;
  color: var(--ms-ink-mute);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
}
.step.is-active { color: var(--ms-ink); }
.step.is-active .num { background: var(--ms-red); color: #fff; box-shadow: none; }
.step.is-done .num { background: var(--ms-ink); color: #fff; box-shadow: none; }
.step .bar {
  flex: 1; height: 2px;
  background: var(--ms-line);
  border-radius: 2px;
}
.step.is-done .bar { background: var(--ms-ink); }
.step:last-child .bar { display: none; }

/* ---------- Success card ---------- */
.success {
  text-align: center;
  background: var(--ms-paper);
  border-radius: var(--r-xl);
  padding: 56px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.success .check {
  width: 80px; height: 80px;
  border-radius: 999px;
  background: var(--ms-green);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  animation: pop .5s cubic-bezier(.4,0,.2,1);
}
.success h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  margin: 0 0 12px;
  color: var(--ms-blue);
}
.success p {
  font-family: var(--font-text);
  font-size: 17px;
  color: var(--ms-ink-soft);
  max-width: 460px;
  margin: 0 auto 28px;
}
@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ---------- Sobre / Manifesto detail ---------- */
.about-quote {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
  color: var(--ms-blue);
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin: 0 0 18px;
}
.about-quote em {
  font-style: normal;
  color: var(--ms-red);
}
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px;
}
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
}

.bridge {
  display: flex; flex-direction: column; gap: 12px;
}
.bridge-row {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.bridge-row .dot {
  width: 12px; height: 12px; border-radius: 999px;
  flex-shrink: 0;
}
.bridge-row .label {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

/* ---------- Page hero (smaller, for sub-pages) ---------- */
.page-hero {
  position: relative;
  background: var(--ms-paper-soft);
  padding: 48px 0 28px;
  overflow: hidden;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ms-blue);
}
.page-hero h1 .accent { color: var(--ms-red); }
.page-hero .lead {
  font-family: var(--font-text);
  font-size: 18px;
  color: var(--ms-ink-soft);
  max-width: 600px;
  line-height: 1.5;
}
@media (min-width: 900px) {
  .page-hero { padding: 72px 0 40px; }
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .contato-grid { grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
}

/* ---------- Skip-to-section ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 999; }
