/* Natal que move · Instituto ATMO
   Paleta do KV: vermelho #A51F33, verde #165643, dourado #E4B66B
   Secundárias: #831A29, #D52942, #3E8A70, #7BBBA4 */
:root {
  --red: #a51f33;
  --wine: #831a29;
  --red-bright: #d52942;
  --green: #165643;
  --green-mid: #3e8a70;
  --mint: #7bbba4;
  --gold: #e4b66b;
  --gold-soft: #f0d09a;
  --gold-dim: rgba(228, 182, 107, 0.4);

  --green-950: #102a21;
  --green-900: #1b3d31;
  --green-800: #214a3b;
  --cream: #f7f2e8;
  --paper: #ffffff;
  --ink: #163c30;
  --ink-muted: #5b7368;
  --text: #fbf7ef;
  --muted: #c3d4cb;
  --line: rgba(228, 182, 107, 0.3);
  --card: rgba(255, 255, 255, 0.05);
  --radius: 18px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Roboto', system-ui, sans-serif;
  --wrap: 1120px;
}

:root { color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--green-900);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-soft); }
button { font: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(28px, 4.6vw, 42px); }
.section { padding: 72px 0; position: relative; }
.section-head { margin-bottom: 36px; max-width: 660px; }
.section-head h2 { margin-top: 10px; }
.section-head p { color: var(--muted); margin: 12px 0 0; font-weight: 300; font-size: 17px; }
.section-head.center { text-align: center; margin-inline: auto; }
.alt { background: var(--green-800); }
.small { font-size: 13px; color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 14px 26px;
  font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.2;
  background: var(--gold); color: var(--green-950);
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--gold-dim); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.btn.sm { padding: 9px 15px; font-size: 13px; }
.btn[aria-disabled='true'] { opacity: 0.55; pointer-events: none; }

/* Barra do painel admin (só usada em admin.html) */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(16, 42, 33, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; color: var(--text); }
.brand small { font-size: 9px; letter-spacing: 0.4em; color: var(--muted); }
.brand b { font-size: 20px; letter-spacing: 0.12em; font-weight: 700; }

/* ---------- Abertura ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; padding: 24px 0 64px;
  background: radial-gradient(70% 380px at 50% 0%, #375344 0%, #375344 35%, transparent 100%), var(--green-900);
}
/* Faixa fina no topo com os logos lado a lado. */
.brand-strip { background: var(--green-950); border-bottom: 1px solid rgba(228, 182, 107, 0.25); }
.brand-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.brand-strip .logo-natal { height: 46px; width: auto; }
.brand-strip .logo-atmo { height: 26px; width: auto; }
.brand-strip .sep { width: 1px; height: 34px; background: rgba(228, 182, 107, 0.5); }
@media (min-width: 720px) {
  .brand-strip .logo-natal { height: 54px; }
  .brand-strip .logo-atmo { height: 30px; }
  .brand-strip .wrap { gap: 26px; }
}
#snow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
#snow i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: 0.5; animation: fall linear infinite; }
@keyframes fall { from { transform: translateY(-10px); } to { transform: translateY(110vh); } }

.hero-msg {
  position: relative; max-width: 780px; margin: 8px auto 0; padding: 26px 22px; text-align: center;
  background: var(--wine); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}
.hero-msg h1 { font-style: italic; font-weight: 700; font-size: clamp(28px, 5vw, 44px); line-height: 1.1; }
.hero-msg p { margin: 14px auto 0; max-width: 640px; }
.hero-intro { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 22px); line-height: 1.45; }
.hero-how { font-weight: 300; font-size: 16px; color: #f3dfe2; }
.hero-msg b { color: var(--gold); font-weight: 600; }
.ages { list-style: none; padding: 0; margin: 20px auto 0; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ages li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: rgba(0, 0, 0, 0.18); text-align: left; }
.ages strong { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--gold); }
.ages span { font-size: 14px; line-height: 1.3; max-width: 9em; }
@media (min-width: 720px) { .hero-msg { padding: 34px 44px; } }
.key-dates { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; }
.key-dates li {
  display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 12px;
  border: 1px solid rgba(123, 187, 164, 0.35); font-size: 14px; color: var(--muted);
}
.key-dates b { padding: 4px 10px; border-radius: 8px; background: var(--gold); color: var(--green-950); font-weight: 700; white-space: nowrap; }
.key-dates li.past { opacity: 0.5; }

/* ---------- Árvore / progresso ---------- */
.progress-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .progress-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.tree-box { position: relative; max-width: 400px; margin: 0 auto; width: 100%; }
.tree-box svg { width: 100%; height: auto; overflow: visible; }
.tree-pct {
  position: absolute; right: 0; top: 4%; text-align: right;
  font-family: var(--serif); font-size: clamp(42px, 9vw, 60px); color: var(--gold); line-height: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.tree-pct small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; margin-top: 6px; }
.light { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.star-on { filter: drop-shadow(0 0 10px rgba(240, 208, 154, 0.9)); animation: starglow 2.4s ease-in-out infinite; transform-origin: 150px 40px; }
@keyframes starglow { 50% { filter: drop-shadow(0 0 22px rgba(240, 208, 154, 1)); } }
.tree-gifts { transition: opacity 0.8s, transform 0.8s; }

.raised { margin: 14px 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.raised strong { font-family: var(--serif); font-size: clamp(40px, 7vw, 58px); color: var(--gold); line-height: 1; }
.raised span { color: var(--muted); font-size: 16px; }
.raised b { color: var(--text); font-weight: 500; }
.bar { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.bar.big { height: 16px; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); width: 0; transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lead { color: var(--muted); font-weight: 300; font-size: 17px; margin: 18px 0 0; }
.milestones { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .milestones { grid-template-columns: repeat(4, 1fr); } }
.milestones li { padding: 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: var(--muted); }
.milestones li b { display: block; font-family: var(--serif); font-size: 22px; color: rgba(255, 255, 255, 0.35); }
.milestones li.hit { border-color: var(--gold-dim); color: var(--text); background: rgba(228, 182, 107, 0.08); }
.milestones li.hit b { color: var(--gold); }
.countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.countdown svg { color: var(--gold); flex: none; }
.countdown strong { color: var(--text); }

/* ---------- Como doar ---------- */
#doar { background: var(--cream); color: var(--ink); }
#doar .eyebrow { color: var(--red); }
#doar .section-head p { color: var(--ink-muted); }
.donate-grid { display: grid; gap: 20px; align-items: start; }
.donate-grid > * { min-width: 0; }
.card {
  position: relative; padding: 28px 20px; border-radius: var(--radius);
  background: var(--paper); color: var(--ink); box-shadow: 0 10px 40px rgba(22, 86, 67, 0.1);
}
@media (min-width: 720px) { .card { padding: 34px; } }
.card h3 { font-size: 27px; color: var(--green); }
.card-lead { color: var(--ink-muted); margin: 8px 0 22px; }
.card h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.step {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
  background: var(--red); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 18px;
}
.pix-body, .gift-pay { display: grid; gap: 20px; }
.pix-body > *, .gift-pay > * { min-width: 0; }
@media (min-width: 520px) { .pix-body, .gift-pay { grid-template-columns: 170px 1fr; align-items: start; } }
.qr { position: relative; width: 170px; max-width: 100%; border-radius: 14px; overflow: hidden; margin: 0 auto; border: 3px solid var(--green); }
.qr svg { display: block; width: 100%; height: auto; }
.qr .sample {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-weight: 800; letter-spacing: 0.2em; font-size: 15px; color: var(--red); background: rgba(255, 255, 255, 0.6);
}
.pix-info h4:not(:first-child) { margin-top: 16px; }
.copy-row { display: flex; gap: 8px; margin: 0 0 6px; }
.copy-row code {
  flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; background: #eef3ef;
  font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink);
}
.card .small { color: var(--ink-muted); }
.card .btn.sm { background: var(--green); color: #fff; }
.card .btn.sm:hover { background: var(--green-mid); }

.gift-head { display: grid; gap: 16px; align-items: center; }
.gift-art { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; }
.gift-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
@media (min-width: 720px) { .gift-head { grid-template-columns: 1fr 300px; gap: 32px; } }
.seal { display: inline-block; margin: -10px 0 22px; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 500; background: #fbf1df; color: #7a5a1e; border: 1px dashed var(--gold); }
.gifts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
@media (min-width: 640px) { .gifts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 960px) { .gifts { grid-template-columns: repeat(5, 1fr); } }
.gift {
  display: grid; align-content: start; gap: 8px; text-align: left; padding: 10px 10px 14px; border-radius: 14px;
  background: #fff; border: 2px solid #ece6da; color: var(--ink); transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.gift:hover { border-color: var(--mint); transform: translateY(-2px); }
.gift[aria-checked='true'] { border-color: var(--red); background: #fdf1f2; }
.gift .art { display: block; border-radius: 10px; background: var(--cream); padding: 8px; }
.gift .art svg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.gift .info { display: grid; gap: 2px; padding: 0 4px; }
.gift b { font-weight: 600; font-size: 15px; line-height: 1.3; }
.gift .desc { font-size: 13px; color: var(--ink-muted); }
.gift .price { font-family: var(--serif); font-size: 22px; color: var(--green); font-weight: 600; }
.gift .count { font-size: 12px; color: var(--ink-muted); }
.gift .tag { justify-self: start; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--red); color: #fff; margin-bottom: 4px; }
#giftKit { margin-bottom: 12px; }
.gift.featured { width: 100%; border-color: var(--gold); background: #fffaf0; }
.gift.featured .art { background: #f8ecd2; }
.gift.featured b { font-family: var(--serif); font-size: 22px; color: var(--wine); }
.gift.featured .price { font-size: 28px; }
@media (min-width: 560px) {
  .gift.featured { grid-template-columns: 200px 1fr; align-items: center; gap: 20px; }
}
.gift-chosen { margin: 0 0 14px; font-size: 15px; }
.gift-chosen b { color: var(--red); }
.deadline { text-align: center; margin: 28px 0 0; }
.deadline span { display: inline-block; padding: 6px 16px; border-radius: 10px; background: var(--gold); color: var(--green-950); font-weight: 500; }

/* ---------- Voluntários ---------- */
#voluntario { overflow: hidden; }
.vol-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .vol-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
/* Mão do Papai Noel com o envelope (PNG transparente): grande, encostada na borda direita no computador; em cima no celular. */
.vol-art { order: -1; margin-right: -16px; }
.vol-art img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35)); }
@media (min-width: 900px) {
  .vol-art { order: 0; margin-right: calc((min(100vw, var(--wrap)) - 100vw) / 2 - 32px); }
  .vol-art img { width: 115%; max-width: none; }
}
.vol-title { margin: 12px 0 26px; font-weight: 400; font-size: clamp(26px, 3.8vw, 38px); line-height: 1.25; }
.vol-title em { font-weight: 700; }
.vol-dates { display: grid; gap: 22px 14px; margin-bottom: 28px; }
@media (min-width: 560px) { .vol-dates { grid-template-columns: 1fr 1fr; } }
.date-card { position: relative; padding: 26px 18px 16px; border-radius: 14px; border: 1px solid rgba(123, 187, 164, 0.35); }
.date-card p { margin: 0; font-weight: 300; font-size: 17px; }
.date-card b { font-weight: 700; }
.date-tag {
  position: absolute; top: -15px; left: 14px; padding: 4px 14px; border-radius: 8px;
  background: var(--gold); color: var(--green-950); font-weight: 700; font-size: 17px;
}
#volNote { margin: 10px 0 0; }

/* ---------- Linha do tempo ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: s; }
.timeline li { position: relative; padding: 0 0 28px 52px; }
.timeline li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  border: 1.5px solid rgba(255, 255, 255, 0.2); color: var(--muted); background: var(--green-800);
}
.timeline li::after { content: ''; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: rgba(255, 255, 255, 0.12); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 21px; padding-top: 5px; color: var(--muted); }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.timeline li.done::before { content: '✓'; background: var(--green-mid); border-color: var(--green-mid); color: #fff; }
.timeline li.done::after { background: var(--green-mid); }
.timeline li.done h3 { color: var(--text); }
.timeline li.current::before { background: var(--gold); border-color: var(--gold); color: var(--green-950); box-shadow: 0 0 0 6px rgba(228, 182, 107, 0.2); }
.timeline li.current h3 { color: var(--gold); }
.timeline li.current p { color: var(--text); }
.timeline .tag { display: inline-block; margin-left: 8px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; vertical-align: middle; padding: 3px 8px; border-radius: 99px; background: var(--gold); color: var(--green-950); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .timeline li { padding: 52px 0 0; }
  .timeline li::after { left: 44px; right: -14px; top: 17px; bottom: auto; width: auto; height: 2px; }
}
#entitiesLine b { color: var(--text); font-weight: 500; }

/* ---------- Fotos ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--green-800); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 10px 8px; font-size: 12px; text-align: left; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8, 22, 17, 0.94); display: none; place-items: center; padding: 16px; }
.lightbox.open { display: grid; }
.lightbox figure { margin: 0; max-width: 960px; text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { margin-top: 12px; color: var(--muted); }
.lightbox .close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 24px; }

/* ---------- Compartilhar ---------- */
.share-band { padding: 64px 0; text-align: center; background: var(--red); background: radial-gradient(90% 120% at 50% 0%, var(--red) 0%, var(--wine) 100%); }
.share-logo { width: min(240px, 60%); margin: 0 auto 22px; }
.share-band h2 { font-style: italic; font-weight: 700; }
.share-band p { margin: 10px 0 26px; font-weight: 300; font-size: 17px; color: #f7dde1; }
.share-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn.whats { background: #fff; color: var(--wine); }
.btn.whats:hover { background: var(--cream); }
.share-band .btn.ghost { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.share-band .btn.ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }

.share-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border: 0; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(228, 182, 107, 0.7);
  transition: transform 0.2s, opacity 0.3s;
}
.share-fab:hover { transform: translateY(-2px); background: var(--red-bright); }
.share-fab.away { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* ---------- Rodapé ---------- */
footer { padding: 56px 0 96px; background: var(--green-950); text-align: center; }
footer .groups { display: grid; gap: 28px; }
footer h4 { margin: 0 0 12px; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
footer .chips { justify-content: center; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); }
footer .realizacao { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; font-weight: 700; letter-spacing: 0.08em; }
footer .realizacao span { color: var(--gold); font-size: 22px; font-weight: 400; }
footer .credit { margin-top: 28px; font-size: 12px; color: rgba(255, 255, 255, 0.4); }

.toast {
  position: fixed; left: 50%; bottom: 80px; transform: translate(-50%, 20px); opacity: 0; z-index: 60;
  background: var(--cream); color: var(--green-950); padding: 12px 20px; border-radius: 99px; font-weight: 600; font-size: 14px;
  transition: 0.25s; pointer-events: none; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Doação em fluxo único (escolha → Pix) ---------- */
/* Fluxo único de doação: escolha à esquerda, Pix à direita (fixo enquanto rola). */
.donate-v2 { display: grid; gap: 20px; align-items: start; }
.donate-v2 > * { min-width: 0; }
@media (min-width: 900px) {
  .donate-v2 { grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); }
  .pay { position: sticky; top: 16px; }
}
.donate-v2 h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.donate-v2 h3 .step { margin: 0; flex: none; }
.choose .seal { margin: 0 0 16px; }
@media (min-width: 960px) { .choose .gifts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.choose .gifts { margin-bottom: 0; }

.gift.other { border-style: dashed; }
.gift.other .art { display: grid; place-items: center; aspect-ratio: 4 / 3; }
.gift.other .any { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--green); }

.pay { border: 2px solid var(--gold); }
.pay-sum { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--cream); margin-bottom: 16px; }
.pay-sum span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.pay-sum b { font-family: var(--serif); font-size: 21px; color: var(--wine); line-height: 1.2; }
.pay-sum strong { font-family: var(--serif); font-size: 32px; color: var(--green); line-height: 1.1; }
.pay-sum small { font-size: 13px; color: var(--ink-muted); }

/* No celular, copiar o código é a ação principal (não dá para escanear a própria tela). */
.pay-copy { width: 100%; padding: 17px 20px; font-size: 17px; background: var(--red); color: #fff; }
.pay-copy:hover { background: var(--red-bright); }
.pay-steps { margin: 14px 0 16px; padding-left: 22px; color: var(--ink-muted); font-size: 14px; display: grid; gap: 4px; }
.pay-steps b { color: var(--ink); font-weight: 500; }
.pay details { border-top: 1px solid #ece6da; padding: 12px 0; }
.pay summary { cursor: pointer; font-weight: 500; color: var(--green); font-size: 14px; }
.pay details[open] summary { margin-bottom: 12px; }
.pay .qr { margin: 0 auto 8px; }
.pay-qr .small { text-align: center; }

/* No computador: QR Code primeiro e já aberto; o botão de copiar fica como alternativa. */
@media (min-width: 900px) {
  .pay { display: flex; flex-direction: column; }
  .pay h3 { order: 0; } .pay-sum { order: 1; } .pay-qr { order: 2; border-top: 0; padding-top: 0; }
  .pay-qr summary { display: none; }
  .pay-copy { order: 3; background: var(--green); font-size: 15px; padding: 13px 18px; }
  .pay-copy:hover { background: var(--green-mid); }
  .pay-steps { order: 4; } .pay-key { order: 5; } #pixHolder { order: 6; }
}

.gifts-label { margin: 18px 0 10px; font-weight: 500; color: var(--ink-muted); }
#giftKit { margin: 12px 0 0; }
#giftAny .gift.other { border-style: solid; }
#giftAny .gift.other .art { aspect-ratio: auto; padding: 18px; }
#giftAny .gift .any { font-size: 46px; }
@media (min-width: 560px) { #giftAny .gift.featured { grid-template-columns: 140px 1fr; } }
.gift.featured[aria-checked='true'] { border-color: var(--red); background: #fdf1f2; }

/* ---------- Quem vamos ajudar (OCA) ---------- */
.oca { background: var(--cream); color: var(--ink); }
.oca .eyebrow { color: var(--red); }
.oca-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .oca-grid:has(.oca-photo:not([hidden])) { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.oca-grid:not(:has(.oca-photo:not([hidden]))) .oca-text { max-width: 640px; margin: 0 auto; text-align: center; }
.oca-brand { margin: 16px 0 18px; }
.oca-grid:not(:has(.oca-photo:not([hidden]))) .oca-brand { display: flex; justify-content: center; }
.oca-logo { height: 96px; width: auto; }
.oca-logo-text { display: inline-grid; gap: 2px; font-size: 14px; color: var(--ink-muted); }
.oca-logo-text b { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--red); letter-spacing: 0.04em; }
.oca-text p { margin: 0 0 12px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.oca-text p b { color: var(--green); font-weight: 600; }
.oca-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 16px 40px rgba(22, 86, 67, 0.15); }
.oca-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Abertura em duas colunas: logos grandes + bloco vermelho ---------- */
.hero { padding-top: 40px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-brand { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-brand .logo-natal { width: min(240px, 70vw); height: auto; }
.hero-brand .logo-atmo { height: 34px; width: auto; }
.hero-grid .hero-msg { margin: 0; max-width: none; }
@media (min-width: 960px) {
  .hero { padding-top: 64px; }
  .hero-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
  .hero-brand { gap: 28px; }
  .hero-brand .logo-natal { width: min(380px, 100%); }
  .hero-brand .logo-atmo { height: 52px; }
}

/* ---------- Contribuir de outra forma ---------- */
.other-help { padding: 0 0 72px; background: var(--cream); color: var(--ink); }
.other-box {
  display: grid; gap: 20px; align-items: center; padding: 28px 22px; border-radius: var(--radius);
  background: #fff; border: 2px dashed var(--gold);
}
.other-box .eyebrow { color: var(--red); }
.other-box h2 { margin: 8px 0 8px; color: var(--green); font-size: clamp(24px, 3.6vw, 32px); }
.other-box p { margin: 0; color: var(--ink-muted); font-size: 16px; }
.other-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.other-actions .btn.whats { background: #1f8f4e; color: #fff; }
.other-actions .btn.whats:hover { background: #26a75b; }
.other-actions .btn.ghost { color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
@media (min-width: 900px) { .other-box { grid-template-columns: 1.4fr 1fr; padding: 32px 36px; } .other-actions { justify-content: flex-end; } }

/* ---------- Faixa do topo só com o Instituto ATMO ---------- */
.brand-strip .wrap { padding-top: 12px; padding-bottom: 12px; }
.brand-strip .logo-atmo { height: 30px; }
@media (min-width: 720px) { .brand-strip .logo-atmo { height: 36px; } }

/* Ordem das seções e fundos: abertura (verde) → OCA (creme) → doação + outra forma (verde) → voluntários (vinho) → etapas (verde). */
#doar { background: var(--green-800); color: var(--text); }
#doar .eyebrow { color: var(--gold); }
#doar .section-head h2 { color: var(--text); }
#doar .section-head p { color: var(--muted); }
.other-help { background: var(--green-800); }

#voluntario { background: radial-gradient(90% 120% at 80% 30%, var(--red) 0%, var(--wine) 70%); color: var(--text); }
#voluntario .eyebrow { color: var(--gold); }
#voluntario .vol-title em { color: var(--gold-soft); }
#voluntario .date-card { border-color: rgba(255, 255, 255, 0.28); background: rgba(0, 0, 0, 0.12); }
#voluntario .date-card p { color: var(--text); }
#voluntario .small { color: #f3dfe2; }

/* ---------- Abertura curta ---------- */
.hero-kicker { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); }
.hero-facts { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-facts li { padding: 7px 14px; border-radius: 99px; background: rgba(0, 0, 0, 0.2); font-size: 14px; font-weight: 500; color: #fff; }
.hero-grid .hero-msg .hero-intro { font-size: clamp(19px, 2.4vw, 24px); }

/* ---------- Etapas em creme (sem a seção de voluntários) ---------- */
#etapas { background: var(--cream); color: var(--ink); }
#etapas .eyebrow { color: var(--red); }
#etapas .section-head h2 { color: var(--green); }
#etapas .section-head p, #etapas #entitiesLine { color: var(--ink-muted); }
#etapas #entitiesLine b { color: var(--green); }
#etapas .timeline li::before { background: var(--cream); border-color: rgba(22, 86, 67, 0.3); color: var(--ink-muted); }
#etapas .timeline li::after { background: rgba(22, 86, 67, 0.18); }
#etapas .timeline h3 { color: var(--ink-muted); }
#etapas .timeline p { color: var(--ink-muted); }
#etapas .timeline li.done h3 { color: var(--green); }
#etapas .timeline li.current h3 { color: var(--red); }
#etapas .timeline li.current p { color: var(--ink); }

/* Botão único da abertura: leva até a doação. */
.hero-cta { margin-top: 22px; padding: 13px 26px; }

/* 06/11: logo do Instituto ATMO maior na faixa do topo. */
.brand-strip .logo-atmo { height: 40px; }
@media (min-width: 720px) { .brand-strip .logo-atmo { height: 50px; } }
/* "Outro valor" fica depois do kit. */
#giftAny { margin-top: 12px; }
/* Nada escolhido: o passo 2 só mostra o pedido de escolha. */
.pay.empty .pay-copy, .pay.empty .pay-steps, .pay.empty details, .pay.empty #pixHolder { display: none; }

/* 06/11: rodapé com logos em branco. */
footer .realizacao { gap: 28px 40px; }
footer .realizacao img { height: 44px; width: auto; max-width: 180px; object-fit: contain; }
footer .logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 34px; max-width: 900px; margin: 0 auto; }
footer .logos img { height: 34px; width: auto; max-width: 140px; object-fit: contain; opacity: 0.92; }
@media (min-width: 720px) { footer .logos img { height: 40px; max-width: 160px; } }

/* Apoio: altura de cada logo calculada em public.js (equalizeLogos). */
footer .logos { gap: 26px 44px; max-width: 980px; }
footer .logos img { max-width: 100%; opacity: 1; }
@media (max-width: 719px) { footer .logos { gap: 20px 28px; } }

/* Realização: os dois "ATMO" com a mesma largura, alinhados pela base, com uma linha dourada entre eles. */
footer .realizacao { align-items: flex-end; gap: 0 28px; flex-wrap: nowrap; }
footer .realizacao img { width: 150px; height: auto; max-width: 38vw; }
footer .realizacao .sep { width: 1px; height: 46px; background: var(--gold); opacity: 0.6; align-self: center; }
@media (max-width: 480px) { footer .realizacao { gap: 0 18px; } footer .realizacao .sep { height: 36px; } }

/* Contato por e-mail: endereço visível e dois botões. */
.other-actions .contact-mail { margin: 0 0 10px; font-weight: 700; font-size: 18px; color: var(--green); word-break: break-all; }
.other-actions .contact-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Contato: ilustração, cartão do e-mail com "Copiar" e um botão principal. */
.other-box { border: 1.5px solid var(--gold); grid-template-columns: 64px 1fr; column-gap: 18px; }
.other-box .other-art { width: 64px; height: auto; align-self: center; }
.other-box .other-actions { grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 12px; }
.mail-card { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 12px; background: var(--cream); color: var(--green); }
.mail-card span { flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.mail-card button { border: 0; border-radius: 8px; padding: 8px 12px; background: #fff; color: var(--green); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--green); }
.mail-card button:hover { background: var(--green); color: #fff; }
.other-actions .btn.mail-send { background: var(--green); color: #fff; justify-content: center; }
.other-actions .btn.mail-send:hover { background: var(--green-800); }
@media (min-width: 900px) {
  .other-box { grid-template-columns: 80px 1.3fr 1fr; column-gap: 24px; }
  .other-box .other-art { width: 80px; }
  .other-box .other-actions { grid-column: auto; }
}
