/* =========================================================
   Abraço pra Luciana — folha de estilos do site público
   Paleta: areia, sálvia, rosa-chá e um toque de dourado.
   ========================================================= */

:root {
  --sand: #f6f1e8;
  --sand-2: #efe8dc;
  --cream: #fbf8f3;
  --paper: #fffdf9;

  --sage: #8fa48b;
  --sage-deep: #5a7457;
  --sage-ink: #3f5340;
  --sage-soft: #dfe7da;

  --rose: #d8a99b;
  --rose-soft: #f3e1da;
  --rose-ink: #b4533e;

  --gold: #d9b979;
  --gold-soft: #f2e7cb;

  --ink: #2b2724;
  --ink-2: #57504a;
  --ink-3: #8c8279;
  --line: rgba(43, 39, 36, 0.1);
  --line-strong: rgba(43, 39, 36, 0.18);

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

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 24px 60px -30px rgba(43, 39, 36, 0.35);
  --shadow-card: 0 12px 40px -24px rgba(43, 39, 36, 0.28);

  --container: 1140px;
  --gutter: clamp(16px, 5vw, 40px);
  --nav-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
::selection { background: var(--sage-soft); color: var(--ink); }

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

/* textura sutil de papel */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- tipografia ---------- */

h1, h2, h3, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 70, "opsz" 96;
  text-wrap: balance;
}

.hero__title {
  font-size: clamp(2.7rem, 6.2vw, 4.8rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 90, "opsz" 144;
  margin-bottom: 0.45em;
}

.h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.12; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.2; }
h3 { font-size: 1.35rem; line-height: 1.25; }

p { margin: 0 0 1.1em; }
.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 1rem;
}

/* ---------- botões ---------- */

.btn {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-border: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), background-color 0.25s, border-color 0.25s, box-shadow 0.35s;
  will-change: transform;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__icon { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.35s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--primary {
  --btn-bg: var(--sage-deep);
  --btn-fg: var(--cream);
  --btn-border: var(--sage-deep);
  box-shadow: 0 10px 24px -14px rgba(90, 116, 87, 0.8);
}
.btn--primary:hover { --btn-bg: var(--sage-ink); box-shadow: 0 16px 30px -14px rgba(90, 116, 87, 0.9); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); }
.btn--ghost:hover { --btn-bg: rgba(255, 253, 249, 0.7); }

.btn--soft {
  --btn-bg: rgba(255, 253, 249, 0.12);
  --btn-fg: var(--cream);
  --btn-border: rgba(255, 253, 249, 0.28);
}
.btn--soft:hover { --btn-bg: rgba(255, 253, 249, 0.22); }

.btn--sm { padding: 0.62rem 1.05rem; font-size: 0.88rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none !important; }
/* botões magnéticos: o GSAP cuida do transform, sem transition de CSS no meio */
.btn[data-magnetic] { transition-property: background-color, border-color, box-shadow; }
.btn[data-magnetic]:hover { transform: none; }

/* ---------- navegação ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: rgba(246, 241, 232, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.5rem 0;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover { text-decoration: none; color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

/* menu do celular */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  cursor: pointer;
  position: relative;
  flex: none;
  transition: background-color 0.25s, border-color 0.25s;
}
.nav__toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav__toggle.is-open { background: var(--sage-soft); border-color: var(--sage); }
.nav__toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.nav__menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  z-index: 39;
  background: rgba(246, 241, 232, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.nav__menu[hidden] { display: none; }
.nav__menu-links { display: flex; flex-direction: column; margin-bottom: auto; }
.nav__menu-links a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.2rem);
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 80, "opsz" 48;
}
.nav__menu-links a:hover { text-decoration: none; color: var(--sage-deep); }
.nav__menu-links a span { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; color: var(--sage-deep); }
.nav__menu .btn { margin-top: 24px; }
.nav__menu-foot { margin: 18px 0 0; text-align: center; font-family: var(--font-display); font-style: italic; color: var(--ink-3); }
body.menu-open { overflow: hidden; }

.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand__mark { width: 30px; height: 30px; color: var(--sage-deep); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__lead { margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.6rem; }
.hero__trust {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.86rem; color: var(--ink-3); margin: 0;
}
.hero__trust svg { width: 16px; height: 16px; color: var(--sage-deep); }

.hero__visual { display: grid; place-items: center; }

/* respiração: anéis concêntricos + foto */
.breath {
  --size: min(78vw, 440px);
  position: relative;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;
}
.breath__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid rgba(90, 116, 87, 0.45);
  will-change: transform;
}
.breath__ring--1 { width: 64%; height: 64%; border-color: rgba(90, 116, 87, 0.55); background: radial-gradient(circle, rgba(223, 231, 218, 0.55), rgba(223, 231, 218, 0) 70%); }
.breath__ring--2 { width: 82%; height: 82%; border-color: rgba(90, 116, 87, 0.32); }
.breath__ring--3 { width: 100%; height: 100%; border-color: rgba(216, 169, 155, 0.45); border-style: dashed; }

.breath__photo {
  position: relative;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage-soft), var(--rose-soft));
  box-shadow: 0 30px 60px -30px rgba(43, 39, 36, 0.45), inset 0 0 0 6px var(--paper);
}
.breath__photo img { width: 100%; height: 100%; object-fit: cover; }

/* mala: 36 contas orbitando a foto */
.breath__mala {
  position: absolute;
  inset: 4%;
  width: 92%;
  height: 92%;
  color: var(--sage-deep);
  opacity: 0.7;
  will-change: transform;
}
.breath__mala circle { fill: currentColor; }
.breath__mala .mala__guru { fill: var(--gold); }

/* pétalas flutuando no hero */
.petals { position: absolute; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.petal {
  position: absolute;
  top: 0; left: 0;
  width: 22px;
  height: 22px;
  color: var(--sage);
  opacity: 0.35;
  will-change: transform;
}
.petal svg { width: 100%; height: 100%; display: block; }
.petal--rose { color: var(--rose); }
.petal--gold { color: var(--gold); }

/* mantras em movimento */
.mantra {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.35);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mantra__track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
.mantra__item, .mantra__sep { margin-right: 2.4rem; }
.mantra__item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-3);
  font-variation-settings: "SOFT" 100, "opsz" 24;
}
.mantra__sep {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.7;
}

/* mandala em linha, girando devagar ao fundo das seções */
.mandala-wrap {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  width: min(60vw, 560px);
  aspect-ratio: 1;
}
.mandala-wrap--a { right: -12%; top: -6%; }
.mandala-wrap--b { left: -14%; bottom: -10%; width: min(50vw, 460px); }
.mandala-wrap--c { left: -16%; top: 6%; width: min(44vw, 420px); }
.mandala-wrap--d { right: -14%; bottom: -12%; width: min(56vw, 520px); }
.mandala-wrap--e { left: -10%; top: -8%; width: min(40vw, 380px); }
.mandala-wrap--f { right: -12%; top: -30%; width: min(60vw, 560px); }
.mandala-wrap--g { right: -14%; top: 0; width: min(46vw, 440px); }
.section--share .mandala { color: var(--paper); opacity: 0.12; }
.petals--cream .petal { color: var(--paper); opacity: 0.22; }
.mandala {
  width: 100%;
  height: 100%;
  color: var(--sage-deep);
  opacity: 0.16;
  will-change: transform;
}
.mandala * { fill: none; stroke: currentColor; stroke-width: 0.6; vector-effect: non-scaling-stroke; }
.mandala .mandala__dot { fill: currentColor; stroke: none; }

/* lótus que se desenha na seção da história */
.lotus-draw {
  width: 60px;
  height: 60px;
  color: var(--sage-deep);
  margin-bottom: 1.2rem;
}
.lotus-draw path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* barra de progresso da rolagem */
.progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--sage-deep);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 46;
  pointer-events: none;
}

/* manchas de cor ao fundo */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}
.blob--sage { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; right: -12vw; top: -8vw; background: radial-gradient(circle, #dfe7da 0%, rgba(223, 231, 218, 0) 70%); }
.blob--rose { width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; left: -10vw; bottom: -6vw; background: radial-gradient(circle, #f3e1da 0%, rgba(243, 225, 218, 0) 70%); }
.blob--gold { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -14vw; top: 10%; background: radial-gradient(circle, #f2e7cb 0%, rgba(242, 231, 203, 0) 70%); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 1px; height: 48px;
  overflow: hidden;
  opacity: 0.6;
}
.scroll-cue span {
  display: block;
  width: 1px; height: 100%;
  background: var(--ink-3);
  animation: cue 2.4s var(--ease-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- seções ---------- */

.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; isolation: isolate; }

/* cada dobra com um fundo próprio, em transição suave */
.section--story { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 30%, var(--cream) 100%); }
.section--donate { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 25%, var(--sand) 100%); }
.section--soft { background: linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%); }
.section--gallery { background: linear-gradient(180deg, var(--sand-2) 0%, #f4ece3 60%, #f6efe6 100%); }
.section--trust { background: linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%); }
.section--donate-alt { background: linear-gradient(180deg, var(--sand-2) 0%, var(--cream) 30%, var(--cream) 100%); }
.section--faq { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 40%, var(--sand) 100%); }
.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head .lead { margin-bottom: 0; }

/* história */
.story__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}
.story__figure { margin: 0; }
.story__stack {
  position: relative;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  isolation: isolate;
  margin-right: 6%;
  margin-bottom: 5%;
}
.story__stack:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 8px; border-radius: var(--radius-lg); }
.story__card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--sage-soft), var(--rose-soft));
  box-shadow: var(--shadow-soft);
  will-change: transform, opacity;
  transition: transform 0.85s var(--ease-out), opacity 0.6s ease;
}
.story__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* frente: levemente inclinada; atrás: deslocada, mais inclinada e meio opaca */
.story__card--front { transform: rotate(-1.5deg); z-index: 2; }
.story__card--back { transform: translate(7%, 6%) rotate(2.5deg) scale(0.97); opacity: 0.55; z-index: 1; }
.story__stack:hover .story__card--back { opacity: 0.7; }
.story__stack.is-swapped .story__card--front { transform: translate(7%, 6%) rotate(2.5deg) scale(0.97); opacity: 0.55; z-index: 1; }
.story__stack.is-swapped .story__card--back { transform: rotate(-1.5deg); opacity: 1; z-index: 2; }
.story__stack.is-swapped:hover .story__card--front { opacity: 0.7; }
.story__caption { margin-top: 1.4rem; font-size: 0.92rem; text-align: center; color: var(--ink-3); }
.story__caption a { display: block; margin-top: 0.2rem; }
.story__copy p { max-width: 58ch; }

.quote {
  margin: 2rem 0 0;
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 2px solid var(--gold);
}
.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-variation-settings: "SOFT" 100, "opsz" 48;
}
.quote cite { font-style: normal; font-size: 0.9rem; color: var(--ink-3); }

/* cartões */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  perspective: 1200px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.card:hover { box-shadow: 0 24px 50px -28px rgba(43, 39, 36, 0.35); }
.card[data-tilt] { transform-style: preserve-3d; }
.card__icon {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 16px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  margin-bottom: 1.2rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.4rem; }
.card p { margin: 0; color: var(--ink-2); }

/* ---------- galeria "Amigos da Lu" ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 12px;
}
.gallery__item {
  position: relative;
  grid-row: span 2;
  border: 0;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--sand-2);
  cursor: zoom-in;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}
.gallery__item--landscape { grid-column: span 2; }
.gallery__item--portrait img { object-position: 50% 30%; } /* rostos costumam ficar no terço de cima */
.gallery__item picture, .gallery__item img { width: 100%; height: 100%; display: block; }
.gallery__item img { object-fit: cover; transform: scale(1.001); transition: transform 1s var(--ease-out), filter 0.6s; }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43, 39, 36, 0) 55%, rgba(43, 39, 36, 0.35));
  opacity: 0;
  transition: opacity 0.5s;
}
.gallery__plus {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.9);
  z-index: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}
.gallery__plus::before, .gallery__plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.gallery__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:hover .gallery__plus, .gallery__item:focus-visible .gallery__plus { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(43, 39, 36, 0.92);
  display: grid;
  place-items: center;
  padding: 56px 16px 40px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: grid; justify-items: center; gap: 12px; }
.lightbox__figure picture { display: contents; }
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  max-height: calc(100svh - 150px);
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  object-fit: contain;
}
.lightbox__caption { color: rgba(251, 248, 243, 0.8); font-size: 0.9rem; letter-spacing: 0.04em; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 249, 0.25);
  background: rgba(255, 253, 249, 0.08);
  cursor: pointer;
  transition: background-color 0.25s, transform 0.3s var(--ease-out);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 253, 249, 0.2); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__close::before, .lightbox__close::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: var(--cream);
  transform: translate(-50%, -50%) rotate(45deg);
}
.lightbox__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__nav::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px;
  border-left: 1.5px solid var(--cream); border-bottom: 1.5px solid var(--cream);
  transform: translate(-35%, -50%) rotate(45deg);
}
.lightbox__nav--next::before { transform: translate(-65%, -50%) rotate(-135deg); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
body.lightbox-open { overflow: hidden; }

/* ---------- contribuir ---------- */

.donate__layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.donate__intro { position: sticky; top: calc(var(--nav-h) + 24px); }
.donate__points {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.7rem;
  color: var(--ink-2);
}
.donate__points li {
  position: relative;
  padding-left: 1.6rem;
}
.donate__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sage);
}

.donate {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow-soft);
}
.donate__group { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.donate__recurring { overflow: hidden; }
.amount--custom.is-active { border-color: var(--sage-deep); box-shadow: inset 0 0 0 1px var(--sage-deep); background: var(--sage-soft); color: var(--sage-ink); }
.donate__label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
  padding: 0;
}
.donate__hint { font-size: 0.86rem; color: var(--ink-3); margin: 0.6rem 0 0; }
.donate__summary { color: var(--sage-deep); }

/* segmento: uma vez / todo mês */
.seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--line);
}
.seg__btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 0.25s;
}
.seg__btn.is-active { color: var(--ink); }
.seg__thumb {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 6px 16px -8px rgba(43, 39, 36, 0.4);
  pointer-events: none;
}

/* valores */
.amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 56px;
  padding: 0.6rem 0.8rem;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.amount:hover { border-color: var(--sage); transform: translateY(-2px); }
.amount.is-active {
  border-color: var(--sage-deep);
  background: var(--sage-soft);
  color: var(--sage-ink);
  box-shadow: inset 0 0 0 1px var(--sage-deep);
}
/* "Outro valor": um botão de largura total que vira o campo ao clicar */
.amount--other { grid-column: 1 / -1; cursor: pointer; border-style: dashed; color: var(--ink-2); }
.amount--other input {
  display: none;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: center;
  outline: none;
}
.amount--other input::placeholder { color: var(--ink-3); opacity: 1; }
.amount--other.is-editing { cursor: text; border-style: solid; }
.amount--other.is-editing .amount__text { display: none; }
.amount--other.is-editing input { display: block; }
.donate__hint.is-error { color: var(--rose-ink); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* campos */
.field { display: block; }
.field__label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.field__label em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.field input,
.field textarea,
.select select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus,
.field textarea:focus,
.select select:focus {
  outline: none;
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 4px var(--sage-soft);
}
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 1.1rem; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.donate__error {
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--rose-soft);
  color: var(--rose-ink);
  font-size: 0.92rem;
}
.donate__secure {
  display: flex; align-items: flex-start; gap: 0.5rem;
  margin: 1rem 0 0;
  font-size: 0.84rem; color: var(--ink-3);
}
.donate__secure svg { width: 16px; height: 16px; flex: none; margin-top: 0.15em; }

/* ---------- compartilhar ---------- */

.section--share {
  background: var(--sage-deep);
  color: var(--cream);
}
.section--share .eyebrow { color: var(--gold-soft); }
.section--share .h2 { color: var(--paper); }
.section--share .lead { color: rgba(251, 248, 243, 0.85); }
.share {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.share__copy .lead { margin-bottom: 0; }
.share__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.7rem; }
.share__actions .btn { flex: none; }

/* ---------- transparência + FAQ ---------- */

.trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.trust__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}
.trust__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  margin-bottom: 1rem;
}
.trust__icon svg { width: 22px; height: 22px; }
.trust__item h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.trust__item p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }

/* formas de pagamento */
.paymethods { margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.paymethods__label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 0.9rem; }
.paymethods__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pm {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.9rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line-strong);
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
}
.pm__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.pm--visa .pm__dot { background: #1a1f71; }
.pm--mastercard .pm__dot { background: linear-gradient(90deg, #eb001b 50%, #f79e1b 50%); }
.pm--elo .pm__dot { background: linear-gradient(90deg, #ffcb05 50%, #1a1a1a 50%); }
.pm--amex .pm__dot { background: #2e77bc; }
.pm--hipercard .pm__dot { background: #b3131b; }
.pm--pix .pm__dot { background: #32bcad; }
.pm--boleto .pm__dot { background: #6b625a; }
.pm--applepay .pm__dot { background: #111; }
.pm--googlepay .pm__dot { background: conic-gradient(#4285f4 0 25%, #ea4335 0 50%, #fbbc05 0 75%, #34a853 0); }
.paymethods__note { margin: 0.9rem 0 0; font-size: 0.86rem; color: var(--ink-3); }

.section--faq { padding-top: clamp(40px, 6vw, 72px); }
.faq { max-width: 760px; margin-inline: auto; }
.faq__title { text-align: center; margin-bottom: 1.6rem; }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0.2rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--ink);
  font-variation-settings: "SOFT" 70, "opsz" 24;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--sage-deep); }
.faq-item__chevron {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
  transition: transform 0.4s var(--ease-out), background-color 0.25s, border-color 0.25s;
}
.faq-item__chevron::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: translate(-50%, -70%) rotate(45deg);
}
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); background: var(--sage-soft); border-color: var(--sage); }
.faq-item__body { overflow: hidden; }
.faq-item__body p { margin: 0 0 0.9rem; padding-right: 3rem; color: var(--ink-2); }
.faq-item__body p:last-child { margin-bottom: 1.3rem; }
.faq__contact { text-align: center; margin: 2rem 0 0; color: var(--ink-3); font-size: 0.95rem; }

/* ---------- rodapé ---------- */

.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer__inner { text-align: center; font-size: 0.92rem; }
.footer__inner p { margin: 0; }
.footer__inner a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.footer__muted { color: var(--ink-3); font-family: var(--font-display); font-style: italic; margin-top: 0.3rem !important; }

/* ---------- página de privacidade e termos ---------- */
.legal { max-width: 760px; margin-inline: auto; padding: calc(var(--nav-h) + 40px) 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.3em; }
.legal h2 { font-size: 1.45rem; margin: 2.2rem 0 0.6rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2rem; }
.legal .muted { color: var(--ink-3); font-size: 0.92rem; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  z-index: 60;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.92rem;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- página obrigado ---------- */

.thanks {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 24px) 0 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.thanks__card {
  max-width: 620px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-soft);
}
.thanks__mark { width: 64px; height: 64px; color: var(--sage-deep); margin: 0 auto 1.2rem; }
.thanks__amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--sage-ink);
  margin: 0.4rem 0 0.2rem;
}
.thanks__meta { color: var(--ink-3); font-size: 0.95rem; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-top: 1.8rem; }

/* ---------- responsivo ---------- */

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { order: -1; }
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .story__grid,
  .donate__layout,
  .share { grid-template-columns: 1fr; }
  .donate__intro { position: static; }
  .share__actions { justify-content: flex-start; }
  .cards { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .gallery__item { border-radius: 16px; }
  .breath { --size: min(58vw, 300px); }
  .hero { padding-top: calc(var(--nav-h) + 8px); }
  .mandala-wrap--a { right: -30%; top: -4%; width: 70vw; }
  .mandala-wrap--b, .mandala-wrap--c, .mandala-wrap--e, .mandala-wrap--g { display: none; }
  .mandala-wrap--d { right: -35%; width: 80vw; }
  .mandala-wrap--f { right: -40%; width: 90vw; }
  .story__figure { max-width: 420px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; order: 2; margin-left: auto; }
  .nav__inner { gap: 0.6rem; }
  .nav__inner .btn--sm { order: 3; padding-inline: 0.9rem; }
  .brand__name { font-size: 1.05rem; }
  .hero__actions .btn { width: 100%; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; }
  .lightbox { padding: 64px 8px 48px; }
  .lightbox__nav { width: 42px; height: 42px; top: auto; bottom: 8px; transform: none; }
  .lightbox__nav:hover { transform: none; }
  .lightbox__nav--prev { left: calc(50% - 56px); }
  .lightbox__nav--next { right: calc(50% - 56px); }
  .lightbox__figure img { max-height: calc(100svh - 170px); }
  .faq-item summary { font-size: 1.1rem; }
  .faq-item__body p { padding-right: 0; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue span { animation: none; }
  .btn, .card, .amount { transition: none; }
  .progress { display: none; }
}
