/* ==========================================================================
   ONG Amor sem Fronteiras — folha de estilos
   ========================================================================== */

:root {
  --red: #e21e3d;
  --red-dark: #b91532;
  --red-soft: #fdeaee;
  --blue: #05489b;
  --blue-dark: #053a7a;
  --blue-soft: #e8f0fb;
  --cream: #fff8f3;
  --sand: #fdf3ea;
  --ink: #14213d;
  --text: #2a3148;
  --muted: #5f6880;
  --line: #e6e9f0;
  --surface: #ffffff;
  --bg: #ffffff;
  --shadow-sm: 0 1px 2px rgba(20, 33, 61, .06), 0 2px 8px rgba(20, 33, 61, .06);
  --shadow-md: 0 8px 24px rgba(20, 33, 61, .10);
  --shadow-lg: 0 24px 60px rgba(20, 33, 61, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --gutter: 20px;
  --header-h: 92px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 800; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--cream { background: var(--cream); }
.section--blue { background: var(--blue); color: #fff; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h2 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: currentColor; }
.section-head--center .eyebrow::before { display: none; }
.eyebrow--blue { color: var(--blue); }
.eyebrow--light { color: #ffd1d9; }

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(226, 30, 61, .28); }
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 10px 26px rgba(226, 30, 61, .36); transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(5, 72, 155, .25); }
.btn--blue:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--blue); border-color: #c5d3ea; }
.btn--outline:hover { background: var(--blue-soft); border-color: var(--blue); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: #f1f5fc; transform: translateY(-1px); }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.2); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--lg { padding: 18px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(20,33,61,.06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand__mark { width: 72px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__ong { font-size: .7rem; font-weight: 800; letter-spacing: .3em; color: var(--blue); }
.brand__name { font-size: 1.32rem; font-weight: 900; letter-spacing: -.01em; white-space: nowrap; }
.brand__name b { color: var(--red); font-weight: 900; }
.brand__name span { color: var(--blue); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  display: inline-block; padding: 10px 14px; border-radius: 10px;
  color: var(--ink); font-weight: 700; font-size: .98rem; text-decoration: none; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav a:not(.btn):hover { background: var(--blue-soft); color: var(--blue); }
.nav a:not(.btn)[aria-current="page"] { color: var(--red); }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: .2s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .brand__mark { width: 60px; }
  .brand__name { font-size: 1.15rem; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 12px var(--gutter) 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--cream);
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 120px);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; background: #ffd5dc; top: -160px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: #d6e4f8; bottom: -220px; left: -160px; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title { margin-bottom: 20px; }
.hero__title em { font-style: italic; color: var(--red); font-weight: 600; }
.hero__text { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid #efd9d0; }
.hero__trust div strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.hero__trust div span { font-size: .9rem; color: var(--muted); font-weight: 700; }

.hero__visual { position: relative; }
.hero-carousel { position: relative; }
.hero-carousel__track { position: relative; aspect-ratio: 4 / 3.3; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; text-decoration: none !important; color: inherit; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide .hero__photo { height: 100%; }
.hero-carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.hero-carousel__dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #d9c9c0; cursor: pointer; transition: transform .2s, background .2s; }
.hero-carousel__dot[aria-current="true"] { background: var(--red); transform: scale(1.25); }
.hero-carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--shadow-md); cursor: pointer; display: grid; place-items: center;
  opacity: 0; transition: opacity .2s, background .2s;
}
.hero-carousel__btn svg { width: 20px; height: 20px; }
.hero-carousel__btn:hover { background: #fff; }
.hero-carousel:hover .hero-carousel__btn, .hero-carousel:focus-within .hero-carousel__btn { opacity: 1; }
.hero-carousel__btn--prev { left: 12px; } .hero-carousel__btn--next { right: 12px; }
@media (hover: none) { .hero-carousel__btn { opacity: 1; } }
.hero__photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -26px; bottom: 36px;
  background: #fff; border-radius: 16px; padding: 14px 18px 14px 14px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px; max-width: 290px;
}
.hero__badge img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.hero__badge strong { display: block; font-size: .95rem; color: var(--ink); line-height: 1.2; }
.hero__badge span { font-size: .82rem; color: var(--muted); font-weight: 700; }
.hero__mark { position: absolute; top: -28px; right: -18px; width: 120px; opacity: .95; filter: drop-shadow(0 10px 24px rgba(20,33,61,.18)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; }
  .hero__badge { left: 12px; bottom: 16px; }
  .hero__mark { width: 84px; top: -16px; right: 4px; }
  .hero-carousel__btn { opacity: 1; width: 36px; height: 36px; }
}

/* ---------- Page hero (internas) ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--blue); color: #fff;
  padding: clamp(56px, 8vw, 96px) 0;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(226,30,61,.45), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(255,255,255,.14), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { max-width: 680px; font-size: 1.15rem; color: rgba(255,255,255,.86); margin: 0; }
.page-hero .eyebrow { color: #ffd1d9; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 18px; font-weight: 700; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb li { list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }

/* ---------- Grids e cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 18px; }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red);
}
.card__icon--blue { background: var(--blue-soft); color: var(--blue); }
.card__icon svg { width: 26px; height: 26px; }

.value-card { position: relative; padding-left: 28px; }
.value-card::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; width: 4px; border-radius: 4px; background: var(--red); }
.value-card:nth-child(even)::before { background: var(--blue); }
.value-card h3 { margin-top: 0; }

/* ---------- Projeto cards ---------- */
.project-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease; color: inherit; text-decoration: none !important;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-soft); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__media img.project-card__logo {
  position: absolute; left: 16px; bottom: 16px; width: 96px; height: 96px; border-radius: 20px;
  background: #fff; padding: 8px; box-shadow: var(--shadow-md); object-fit: contain; transform: none;
}
.project-card__body { padding: 24px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.project-card h3 { margin: 4px 0 0; font-size: 1.45rem; }
.project-card p { color: var(--muted); margin: 0; flex: 1; }
.project-card__cta { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 800; margin-top: 8px; }
.project-card__cta svg { width: 18px; height: 18px; transition: transform .2s; }
.project-card:hover .project-card__cta svg { transform: translateX(4px); }

.project-card--soon {
  border-style: dashed; background: var(--cream); align-items: center; justify-content: center; text-align: center;
  padding: 40px 24px; min-height: 320px; box-shadow: none; color: var(--muted);
}
.project-card--soon:hover { transform: none; box-shadow: none; }
.project-card--soon h3 { color: var(--ink); margin-top: 14px; }
.project-card--soon .card__icon { margin: 0 auto; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-size: .78rem; font-weight: 800; letter-spacing: .02em; background: var(--blue-soft); color: var(--blue);
}
.tag--red { background: var(--red-soft); color: var(--red); }
.tag--light { background: rgba(255,255,255,.16); color: #fff; }
.tag svg { width: 14px; height: 14px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--red); opacity: .9; line-height: 1; display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 800; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split (texto + imagem) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; max-height: 600px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e21e3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Quote band ---------- */
.quote-band { text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 860px; }
.quote-band blockquote p { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.25; font-style: italic; font-weight: 500; margin: 0 0 20px; }
.quote-band cite { font-style: normal; font-weight: 800; color: #ffd1d9; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; }
.quote-band .mark { width: 72px; margin: 0 auto 24px; opacity: .95; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--red) 0%, #c71a3b 60%, var(--blue) 140%); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 72px); }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.08); right: -120px; top: -160px; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; font-size: 1.1rem; }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--red); line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-weight: 700; font-size: .95rem; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Projeto (página) ---------- */
.project-hero__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.project-hero__logo { width: 240px; height: 240px; border-radius: 36px; background: #fff; padding: 14px; box-shadow: var(--shadow-lg); object-fit: contain; }
.project-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
@media (max-width: 980px) { .project-hero__logo { width: 180px; height: 180px; border-radius: 28px; } }
@media (max-width: 720px) { .project-hero__inner { grid-template-columns: 1fr; } .project-hero__logo { width: 150px; height: 150px; order: -1; } }

.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.project-layout__aside { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 980px) { .project-layout { grid-template-columns: 1fr; } .project-layout__aside { position: static; } }

.prose h2 { font-size: 1.7rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .callout { background: var(--cream); border-left: 4px solid var(--red); padding: 18px 22px; border-radius: 0 14px 14px 0; margin: 28px 0; }
.prose .callout p { margin: 0; }
.prose small, .legal-note { color: var(--muted); font-size: .9rem; }

.figure { margin: 28px 0; }
.figure img { border-radius: 18px; width: 100%; }
.figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; font-weight: 700; }

/* Carrossel genérico (rolagem com snap) */
.carousel { position: relative; }
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 0; border-radius: 20px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.95); color: var(--ink); box-shadow: var(--shadow-md); cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.carousel__btn:hover { background: #fff; color: var(--red); }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn--prev { left: -10px; } .carousel__btn--next { right: -10px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.carousel__dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #d9dde8; cursor: pointer; transition: transform .2s, background .2s; }
.carousel__dot[aria-current="true"] { background: var(--red); transform: scale(1.25); }
@media (max-width: 720px) { .carousel__btn { width: 38px; height: 38px; } .carousel__btn--prev { left: 6px; } .carousel__btn--next { right: 6px; } }

/* Antes e depois */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-panel { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--blue-soft); }
.ba-panel img { width: 100%; height: 100%; object-fit: cover; }
.ba-label { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #fff; box-shadow: var(--shadow-sm); }
.ba-label--antes { background: var(--ink); }
.ba-label--depois { background: var(--red); }
.ba-caption { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.ba-caption strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }

/* Vídeo em destaque ao lado do texto */
.video-feature { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 48px); align-items: center; }
.video-feature .video-card { aspect-ratio: 9 / 16; }
@media (max-width: 720px) { .video-feature { grid-template-columns: 1fr; } .video-feature .video-card { max-width: 320px; margin: 0 auto; } }

/* Galeria de fotos */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0 8px; }
.photo-grid figure { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--blue-soft); box-shadow: var(--shadow-sm); position: relative; }
.photo-grid figure.is-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-grid figure:hover img { transform: scale(1.03); }
.photo-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: .85rem; font-weight: 800; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0)); }
@media (max-width: 480px) { .photo-grid { grid-template-columns: 1fr; } .photo-grid figure { aspect-ratio: 4 / 3; } }

/* Galeria de vídeos */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0 8px; }
@media (max-width: 720px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { border-radius: 18px; overflow: hidden; background: #000; position: relative; aspect-ratio: 9 / 16; box-shadow: var(--shadow-md); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card__play {
  position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; border: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%); color: #fff;
}
.video-card__play span { width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; color: var(--red); box-shadow: var(--shadow-lg); transition: transform .2s; }
.video-card__play:hover span { transform: scale(1.06); }
.video-card__play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-card__label { position: absolute; left: 14px; right: 14px; bottom: 14px; font-size: .88rem; font-weight: 800; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); pointer-events: none; }
.video-card.is-playing .video-card__play, .video-card.is-playing .video-card__label { display: none; }

/* ---------- Widget de doação ---------- */
.donate {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.donate::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--red), var(--blue)); }
.donate__title { font-family: var(--font-display); font-size: 1.6rem; margin: 6px 0 4px; }
.donate__sub { color: var(--muted); font-size: .95rem; margin: 0 0 20px; }
.donate__amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.donate__amount {
  appearance: none; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 6px;
  font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; color: var(--ink); cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.donate__amount:hover { border-color: #c5d3ea; transform: translateY(-1px); }
.donate__amount[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(226,30,61,.3); }
.donate__amount small { display: block; font-size: .72rem; font-weight: 700; opacity: .75; }
.donate__custom { margin-top: 12px; display: none; }
.donate__custom.is-visible { display: block; }
.donate__field { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.donate__field:focus-within { border-color: var(--blue); }
.donate__field span { padding: 0 14px; font-weight: 800; color: var(--muted); border-right: 1px solid var(--line); align-self: stretch; display: flex; align-items: center; background: #f7f8fb; }
.donate__field input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 14px; font: inherit; font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.donate__summary { margin: 18px 0 14px; padding: 14px 16px; border-radius: 14px; background: var(--cream); font-size: .95rem; color: var(--text); }
.donate__summary strong { color: var(--red); }
.donate__note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.donate__secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .8rem; color: var(--muted); font-weight: 700; }
.donate__secure svg { width: 16px; height: 16px; color: var(--blue); }

/* Doação em página própria (layout largo) */
.donate--wide { max-width: 640px; margin: 0 auto; }
.donate__projects { display: grid; gap: 10px; margin-bottom: 18px; }
.donate__project { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; text-align: left; font: inherit; transition: border-color .15s; }
.donate__project[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); }
.donate__project img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.donate__project strong { display: block; font-size: .98rem; color: var(--ink); }
.donate__project span { font-size: .82rem; color: var(--muted); font-weight: 700; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,33,61,.72); }
.modal__dialog { position: relative; background: #fff; border-radius: 24px; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow: auto; padding: 32px 28px; box-shadow: var(--shadow-lg); animation: pop .22s ease; }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f1f3f8; cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--ink); }
.modal__title { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 6px; padding-right: 40px; }
.modal__sub { color: var(--muted); margin: 0 0 20px; }
.pix-qr { display: grid; place-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; margin-bottom: 16px; }
.pix-qr svg { width: 220px; height: 220px; }
.pix-code { display: flex; gap: 8px; align-items: stretch; }
.pix-code textarea { flex: 1; min-width: 0; font: 600 .78rem/1.35 ui-monospace, Menlo, monospace; color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 10px; resize: none; height: 76px; background: #f7f8fb; }
.pix-steps { margin: 18px 0 0; padding-left: 1.2em; color: var(--muted); font-size: .92rem; }
.pix-steps li { margin-bottom: 4px; }
.modal__actions { display: grid; gap: 10px; margin-top: 16px; }
.copy-feedback { font-size: .85rem; color: #1a7f4b; font-weight: 800; min-height: 1.2em; margin-top: 8px; }

.pix-wait { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 14px; padding: 10px; border-radius: 12px; background: var(--cream); font-size: .9rem; font-weight: 800; color: var(--ink); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #f2cfd6; border-top-color: var(--red); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.thanks { text-align: center; padding: 8px 0; }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 14px; }
.modal__dialog .form { margin-top: 6px; }
.modal__dialog .field label { font-size: .88rem; }
.modal__dialog .field input { padding: 11px 12px; }

/* ---------- Formulários ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 13px 14px; font: inherit; color: var(--ink); background: #fff;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--blue); }
.field textarea { min-height: 150px; resize: vertical; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form__consent input { margin-top: 4px; }
.form__status { font-weight: 800; min-height: 1.4em; }
.form__status.is-ok { color: #1a7f4b; }
.form__status.is-error { color: var(--red); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .card__icon { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.contact-list .card__icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list span, .contact-list a { color: var(--muted); font-weight: 700; }

/* ---------- Tabela/Infos ---------- */
.info-box { background: var(--cream); border-radius: var(--radius); padding: 26px 28px; border: 1px solid #f3e3d8; }
.info-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.info-box dt { font-weight: 800; color: var(--ink); }
.info-box dd { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 18px 0; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--red); font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* ---------- Política (TOC) ---------- */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 20px); font-size: .92rem; }
.legal-toc ol { padding-left: 1.2em; margin: 0; display: grid; gap: 6px; }
.legal-toc a { color: var(--muted); font-weight: 700; }
.legal-toc a:hover { color: var(--blue); }
.legal-meta { font-size: .9rem; color: var(--muted); font-weight: 700; margin-bottom: 24px; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c9d0e0; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer .brand__ong { color: #9fb6dd; }
.footer .brand__name span { color: #fff; }
.footer p { font-size: .95rem; margin-top: 16px; max-width: 360px; }
.footer h4 { color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #c9d0e0; font-weight: 700; }
.footer a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .15s; }
.footer__social a:hover { background: var(--red); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .86rem; color: #94a0bd; }
.footer__bottom a { color: #94a0bd; }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0 !important; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--center { justify-content: center; }
.muted { color: var(--muted); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__mark { animation: none; }
  html { scroll-behavior: auto; }
}

::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
