/* ═══════════════════════════════════════════════════
   Vinícius Baptista — Design System
   Paleta: Noite, Azul Royal (Palavra da Vida) & Dourado
   Tipografia: Cormorant Garamond + Inter + Space Grotesk
═══════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --ink:         #0D1528;
  --ink-mid:     #1E2D47;
  --ink-soft:    #2E4168;
  --royal:       #2B59A8;  /* azul royal do card Palavra da Vida */
  --royal-deep:  #16294F;
  --amber:       #C9A456;
  --amber-bright:#E0BB72;
  --amber-faint: #FBF6EE;
  --pearl:       #F7F6F2;
  --pearl-warm:  #F0EDE6;
  --white:       #FFFFFF;
  --stone:       #6B7280;
  --stone-light: #9CA3AF;
  --border:      #E5E1D8;

  --fd: 'Cormorant Garamond', Georgia, serif;
  --fb: 'Inter', system-ui, sans-serif;
  --fm: 'Space Grotesk', monospace;

  --out:    cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --r-lg:   16px;
  --r-xl:   20px;
  --r-pill: 99px;
  --shadow-card: 0 1px 3px rgba(13,21,40,.06), 0 4px 16px rgba(13,21,40,.07);
  --shadow-hover: 0 8px 32px rgba(13,21,40,.12);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--fb);
  background: var(--ink);
  color: var(--pearl);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

/* ── Cursor glow ── */
#cg {
  position: fixed; width: 360px; height: 360px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(201,164,86,.08) 0%, rgba(43,89,168,.06) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: left .07s linear, top .07s linear;
}

/* ── Scroll reveal ── */
.rev {
  opacity: 0; transform: translateY(24px);
  transition: opacity .75s var(--out), transform .75s var(--out);
}
.rev.v { opacity: 1; transform: none; }
.rev-l {
  opacity: 0; transform: translateX(-20px);
  transition: opacity .75s var(--out), transform .75s var(--out);
}
.rev-l.v { opacity: 1; transform: none; }
.rev-r {
  opacity: 0; transform: translateX(20px);
  transition: opacity .75s var(--out), transform .75s var(--out);
}
.rev-r.v { opacity: 1; transform: none; }

/* word split reveal */
.wr  { display: inline-block; overflow: hidden; vertical-align: bottom; }
.wi  { display: inline-block; transform: translateY(100%); opacity: 0;
       transition: transform .65s var(--out), opacity .5s var(--out); }
.wi.v { transform: none; opacity: 1; }

/* ── Section label ── */
.lbl {
  font-family: var(--fm); font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.lbl::before { content: ''; width: 20px; height: 1.5px; }
.lbl-amber { color: var(--amber); }
.lbl-amber::before { background: var(--amber); }
.lbl-stone { color: var(--stone); }
.lbl-stone::before { background: var(--stone); }
.lbl-dark { color: rgba(255,255,255,.35); }
.lbl-dark::before { background: rgba(255,255,255,.35); }

/* ── Buttons ── */
.btn-a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-pill);
  background: var(--amber); color: var(--ink);
  font-family: var(--fb); font-weight: 600; font-size: 13px; letter-spacing: .04em;
  transition: all .25s var(--spring);
  box-shadow: 0 4px 20px rgba(201,164,86,.25);
}
.btn-a:hover { background: var(--amber-bright); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(201,164,86,.38); }
.btn-a svg { flex-shrink: 0; }

.btn-gd {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.72);
  font-family: var(--fb); font-weight: 500; font-size: 13px; letter-spacing: .04em;
  transition: all .25s var(--out);
}
.btn-gd:hover { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.05); }

.btn-gl {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-pill);
  border: 1.5px solid var(--border); color: var(--stone);
  font-family: var(--fb); font-weight: 500; font-size: 13px; letter-spacing: .04em;
  transition: all .25s var(--out);
}
.btn-gl:hover { border-color: var(--amber); color: var(--ink); }

.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fb); font-weight: 600; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--amber);
  border-bottom: 1px solid rgba(201,164,86,.3); padding-bottom: 3px;
  transition: all .25s var(--out);
}
.btn-text:hover { letter-spacing: .13em; color: var(--amber-bright); }
.btn-text svg { transition: transform .25s var(--spring); }
.btn-text:hover svg { transform: translateX(5px); }

/* ── Foto real (substitui .img-ph quando há imagem) ── */
.photo {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-xl); display: block;
  box-shadow: var(--shadow-card);
}
.hero-photo .photo { max-width: 420px; height: 540px; }

/* ── Image placeholder ── */
.img-ph {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.img-ph-dark  { background: var(--ink-mid); border: 1px dashed rgba(201,164,86,.2); }
.img-ph-light { background: var(--pearl-warm); border: 1px dashed rgba(13,21,40,.15); }
.img-ph svg   { opacity: .32; }
.img-ph span  { font-family: var(--fm); font-size: 11px; font-weight: 500; letter-spacing: 1.5px;
                text-transform: uppercase; text-align: center; padding: 0 20px; }
.img-ph-dark span  { color: rgba(201,164,86,.55); }
.img-ph-light span { color: rgba(13,21,40,.38); }
.img-ph::after {
  content: 'PLACEHOLDER'; position: absolute; top: 12px; left: 12px;
  font-family: var(--fm); font-size: 9px; font-weight: 700; letter-spacing: 2px;
  padding: 4px 9px; border-radius: 4px; opacity: .6;
}
.img-ph-dark::after  { background: rgba(201,164,86,.15); color: var(--amber); }
.img-ph-light::after { background: rgba(13,21,40,.08); color: var(--stone); }

/* Stat chip */
.chip {
  display: flex; align-items: baseline; gap: 6px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-pill); padding: 8px 18px; backdrop-filter: blur(8px);
}
.cv { font-family: var(--fm); font-weight: 700; font-size: 18px; color: var(--amber); }
.cl { font-size: 11px; color: rgba(255,255,255,.38); }

/* ═══════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: 68px; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s var(--out), backdrop-filter .4s var(--out);
}
.site-header.sc {
  background: rgba(13,21,40,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-brand {
  font-family: var(--fd); font-size: 22px; font-weight: 400;
  color: #fff; letter-spacing: .01em;
  opacity: 0; animation: afd .7s var(--out) .2s forwards;
}
.header-brand em { font-style: italic; color: var(--amber); }
.header-nav { display: flex; gap: 4px; list-style: none; }
.header-nav a {
  font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.52); padding: 6px 14px; border-radius: var(--r-pill);
  transition: all .2s var(--out);
}
.header-nav a:hover  { color: #fff; background: rgba(255,255,255,.08); }
.header-nav a.active { color: var(--amber); }
.header-cta {
  font-family: var(--fb); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 22px; border-radius: var(--r-pill);
  background: var(--amber); color: var(--ink);
  opacity: 0; animation: afd .7s var(--out) .35s forwards;
  transition: background .25s, transform .2s var(--spring);
}
.header-cta:hover { background: var(--amber-bright); transform: translateY(-2px); }
.header-ham {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none;
}
.header-ham span { display: block; width: 22px; height: 1.5px; background: #fff; transition: all .3s var(--out); }
.header-ham.o span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header-ham.o span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header-ham.o span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@keyframes afd { to { opacity: 1; } }

/* ═══════════════════════════════════════════════════
   HERO (main — index.html)
═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; position: relative;
  display: flex; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 15% 70%, rgba(201,164,86,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 55% at 80% 25%, rgba(43,89,168,.32) 0%, transparent 70%),
    var(--ink);
}
/* aurora — luz azul royal + dourada em deriva lenta */
.hero-bg::before {
  content: ''; position: absolute; inset: -25%;
  background:
    radial-gradient(ellipse 32% 42% at 72% 28%, rgba(43,89,168,.30), transparent 65%),
    radial-gradient(ellipse 26% 36% at 28% 62%, rgba(201,164,86,.12), transparent 65%);
  filter: blur(48px);
  animation: adrift 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes adrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(3%, 4%, 0) scale(1.1); }
}
.hero-bg::after {
  content: ''; position: absolute; top: 8%; right: 42%; bottom: 8%; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,164,86,.22) 35%, rgba(201,164,86,.36) 65%, transparent);
  animation: apulse 4s ease-in-out infinite;
}
@keyframes apulse { 0%,100%{opacity:.55} 50%{opacity:1} }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 0 48px; align-items: flex-end; padding-bottom: 80px;
}
.hero-text { padding-top: 68px; }
.hero-ey {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--fb); font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase; color: var(--amber);
  margin-bottom: 28px;
  opacity: 0; animation: afr .8s var(--out) .65s forwards;
}
.hero-ey::before { content: ''; width: 28px; height: 1px; background: var(--amber); }
@keyframes afr { from{opacity:0;transform:translateX(-14px)} to{opacity:1;transform:none} }
.hero-name { font-family: var(--fd); font-weight: 300; line-height: .88; letter-spacing: -.025em; }
.hero-name .l {
  display: block; font-size: clamp(68px, 12vw, 170px);
  opacity: 0; transform: translateY(100%); animation: alu .9s var(--out) forwards;
}
.hero-name .l1 { color: #fff; font-style: italic; animation-delay: .68s; }
.hero-name .l2 { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.25); animation-delay: .8s; }
@keyframes alu { to{opacity:1;transform:none} }
.hero-sub {
  font-family: var(--fb); font-weight: 300; font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.38);
  margin-top: 28px; opacity: 0; animation: afu .8s var(--out) 1.05s forwards;
}
.hero-q {
  max-width: 440px; font-family: var(--fd); font-style: italic; font-weight: 300;
  font-size: clamp(16px, 1.8vw, 22px); line-height: 1.55; color: rgba(255,255,255,.7);
  margin-top: 20px; opacity: 0; animation: afu .8s var(--out) 1.2s forwards;
}
.hero-q em { color: var(--amber); font-style: normal; }
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
  opacity: 0; animation: afu .8s var(--out) 1.35s forwards;
}
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px;
  opacity: 0; animation: afu .8s var(--out) 1.5s forwards;
}
@keyframes afu { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:none} }
.hero-photo {
  padding: 88px 0 80px 48px;
  display: flex; align-items: center;
  opacity: 0; animation: afu .9s var(--out) .9s forwards;
}
.hero-photo .img-ph { width: 100%; max-width: 420px; height: 540px; }
.scroll-hint {
  position: absolute; bottom: 32px; left: 48px; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.25); font-family: var(--fm); font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase;
}
.scroll-hint-line { width: 40px; height: 1px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.scroll-hint-line::after { content: ''; position: absolute; inset: 0; background: var(--amber); animation: asl 2s ease-in-out infinite; }
@keyframes asl { 0%{transform:translateX(-100%)} 100%{transform:translateX(200%)} }

/* ═══════════════════════════════════════════════════
   SUB-PAGE HERO
═══════════════════════════════════════════════════ */
.subhero {
  background: var(--ink); padding: 140px 48px 80px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.subhero::before {
  content: ''; position: absolute;
  bottom: -120px; right: -120px; width: 640px; height: 640px;
  background:
    radial-gradient(circle at 65% 35%, rgba(43,89,168,.20), transparent 60%),
    radial-gradient(circle at 35% 70%, rgba(201,164,86,.08), transparent 70%);
  filter: blur(32px);
  animation: adrift 26s ease-in-out infinite alternate;
  pointer-events: none;
}
.subhero::after {
  content: ''; position: absolute;
  top: 0; right: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,164,86,.2) 40%, rgba(201,164,86,.3) 60%, transparent);
  right: 20%;
}
.subhero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.subhero-title {
  font-family: var(--fd); font-weight: 300; font-style: italic;
  font-size: clamp(52px, 8vw, 110px);
  line-height: .9; letter-spacing: -.03em; color: #fff;
  margin-top: 16px;
  opacity: 0; transform: translateY(40px);
  animation: afu .9s var(--out) .4s forwards;
}
.subhero-title em { font-style: normal; color: var(--amber); }
.subhero-desc {
  max-width: 520px; font-size: 16px; color: rgba(255,255,255,.55); line-height: 1.7;
  margin-top: 24px;
  opacity: 0; animation: afu .8s var(--out) .6s forwards;
}

/* ═══════════════════════════════════════════════════
   SECTIONS — shared
═══════════════════════════════════════════════════ */
.sec-light  { background: var(--pearl);      padding: 100px 48px; }
.sec-warm   { background: var(--pearl-warm); padding: 100px 48px; }
.sec-dark   { background: var(--ink);        padding: 100px 48px; }
.sec-mid    { background: var(--ink-mid);    padding: 100px 48px; }
.sec-deep   { background: #070A11;           padding: 100px 48px; }
.sec-inner  { max-width: 1100px; margin: 0 auto; }

.sec-title {
  font-family: var(--fd); font-weight: 400; font-style: italic;
  font-size: clamp(38px, 5vw, 64px); line-height: 1.08;
  letter-spacing: -.02em; color: var(--ink); margin-top: 12px;
}
.sec-title em { font-style: normal; color: var(--amber); }
.sec-title-light { color: #fff; }
.sec-title-light em { color: var(--amber); }

.sec-body { font-size: 15px; color: var(--stone); line-height: 1.75; margin-top: 20px; max-width: 520px; }
.sec-body strong { color: var(--ink); font-weight: 600; }
.sec-body-light { color: rgba(255,255,255,.55); }
.sec-body-light strong { color: var(--amber); }

/* Two column grid */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col-rev { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col-rev > :first-child { order: 2; }
.two-col-rev > :last-child  { order: 1; }

/* ═══════════════════════════════════════════════════
   TIMELINE (sobre.html)
═══════════════════════════════════════════════════ */
.timeline {
  position: relative;
  margin-top: 56px;
}
.timeline::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, var(--amber), rgba(201,164,86,.2));
}
.tl-item {
  position: relative;
  padding: 0 0 56px 40px;
  opacity: 0; transform: translateX(-16px);
  transition: opacity .7s var(--out), transform .7s var(--out);
}
.tl-item.v { opacity: 1; transform: none; }
.tl-item:nth-child(2){transition-delay:.1s}
.tl-item:nth-child(3){transition-delay:.2s}
.tl-item:nth-child(4){transition-delay:.3s}
.tl-item:nth-child(5){transition-delay:.4s}
.tl-dot {
  position: absolute; left: -5px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--pearl), 0 0 0 5px rgba(201,164,86,.3);
}
.tl-item.current .tl-dot { box-shadow: 0 0 0 3px var(--pearl), 0 0 0 5px var(--amber), 0 0 16px rgba(201,164,86,.4); animation: apulse 2s ease-in-out infinite; }
.tl-item.future .tl-dot { background: transparent; border: 1.5px solid rgba(201,164,86,.4); box-shadow: none; }
.tl-year {
  font-family: var(--fm); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 8px;
}
.tl-title {
  font-family: var(--fd); font-size: 24px; font-weight: 600;
  color: var(--ink); line-height: 1.2; margin-bottom: 10px;
}
.tl-desc { font-size: 14px; color: var(--stone); line-height: 1.7; max-width: 500px; }
.tl-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--amber); color: var(--ink);
  font-family: var(--fm); font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-pill);
  margin-top: 12px;
}
.tl-badge-future {
  background: transparent; border: 1px solid rgba(201,164,86,.4); color: var(--amber);
}

/* ═══════════════════════════════════════════════════
   ACTIVITY CARDS (missao.html)
═══════════════════════════════════════════════════ */
.activity-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 56px; }
.activity-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 40px; align-items: center;
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--out), transform .7s var(--out), box-shadow .3s;
  box-shadow: var(--shadow-card);
}
.activity-card.v { opacity: 1; transform: none; }
.activity-card:hover { box-shadow: var(--shadow-hover); }
.activity-card:nth-child(2) { transition-delay: .12s; }
.activity-card:nth-child(3) { transition-delay: .24s; }
.activity-card:nth-child(even) .activity-img  { order: 1; }
.activity-card:nth-child(even) .activity-text { order: 2; }
.activity-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--amber-faint); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.activity-icon svg { color: var(--amber); }
.activity-title { font-family: var(--fd); font-size: 30px; font-weight: 600; color: var(--ink); line-height: 1.1; margin-bottom: 8px; }
.activity-subtitle { font-family: var(--fm); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.activity-desc { font-size: 14px; color: var(--stone); line-height: 1.7; margin-bottom: 20px; }
.activity-stat { display: inline-flex; flex-direction: column; gap: 2px; }
.activity-stat-v { font-family: var(--fm); font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1; }
.activity-stat-l { font-size: 12px; color: var(--stone); }
.activity-img .img-ph { width: 100%; height: 320px; }

/* ═══════════════════════════════════════════════════
   STATS GRID
═══════════════════════════════════════════════════ */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.08); border-radius: var(--r-xl); overflow: hidden;
}
.stat-box {
  background: var(--ink-mid); padding: 44px 28px;
  cursor: default; position: relative; overflow: hidden;
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--out), transform .7s var(--out);
}
.stat-box::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,164,86,.07), transparent); opacity: 0; transition: opacity .3s; }
.stat-box:hover::before { opacity: 1; }
.stat-box.v { opacity: 1; transform: none; }
.stat-box:nth-child(2){transition-delay:.1s} .stat-box:nth-child(3){transition-delay:.2s} .stat-box:nth-child(4){transition-delay:.3s}
.stat-num { font-family: var(--fm); font-size: clamp(44px, 5vw, 68px); font-weight: 700; color: var(--amber); line-height: 1; }
.stat-nm  { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 8px; line-height: 1.5; }

/* ═══════════════════════════════════════════════════
   COMMUNITY CARDS
═══════════════════════════════════════════════════ */
.comm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.comm-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px;
  position: relative; overflow: hidden; cursor: default;
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--out), transform .7s var(--out), box-shadow .3s, border-color .3s;
  box-shadow: var(--shadow-card);
}
.comm-card.v { opacity: 1; transform: none; }
.comm-card:nth-child(2){transition-delay:.1s} .comm-card:nth-child(3){transition-delay:.2s}
.comm-card:hover { box-shadow: var(--shadow-hover); border-color: rgba(201,164,86,.38); }
.comm-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--out);
}
.comm-card:hover::before { transform: scaleX(1); }
.comm-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--amber-faint); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: background .3s; }
.comm-card:hover .comm-icon { background: rgba(201,164,86,.2); }
.comm-icon svg { color: var(--amber); }
.comm-h { font-family: var(--fd); font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.2; }
.comm-p { font-size: 14px; color: var(--stone); line-height: 1.7; }

/* ═══════════════════════════════════════════════════
   PIX BOX (apoio.html, filipinas.html)
═══════════════════════════════════════════════════ */
.pix-box {
  background: #fff; border-left: 3px solid var(--amber); border-radius: 8px;
  padding: 20px 24px; margin-top: 32px;
  display: flex; flex-direction: column; gap: 8px;
}
.pix-label { font-family: var(--fm); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); }
.pix-value-row { display: flex; align-items: center; gap: 12px; }
.pix-value { font-family: monospace; font-size: 15px; color: var(--ink); word-break: break-all; }
.pix-copy-btn {
  flex-shrink: 0; background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 8px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--stone); transition: border-color .2s, color .2s;
}
.pix-copy-btn:hover { border-color: var(--amber); color: var(--amber); }

/* ═══════════════════════════════════════════════════
   PROGRESS BAR (filipinas.html — meta de captação)
═══════════════════════════════════════════════════ */
.progress-bar {
  width: 100%; height: 10px; border-radius: var(--r-pill);
  background: var(--pearl-warm); border: 1px solid var(--border);
  overflow: hidden; margin-top: 20px;
}
.progress-bar-fill {
  height: 100%; width: 0%; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--amber), var(--amber-bright));
  transition: width 1s var(--out);
}
.progress-text { font-size: 13px; color: var(--stone); margin-top: 10px; }

/* ═══════════════════════════════════════════════════
   REPORT CARDS (comunidade.html, index.html)
═══════════════════════════════════════════════════ */
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.report-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--out), transform .7s var(--out), box-shadow .3s;
  box-shadow: var(--shadow-card);
}
.report-card.v { opacity: 1; transform: none; }
.report-card:nth-child(2) { transition-delay: .1s; }
.report-card:nth-child(3) { transition-delay: .2s; }
.report-card:hover { box-shadow: var(--shadow-hover); }
.report-period { font-family: var(--fm); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); }
.report-label { font-size: 13px; color: var(--stone-light); margin-top: 2px; }
@media (max-width: 1024px) { .report-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px)  { .report-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   FORM ELEMENTS
═══════════════════════════════════════════════════ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: var(--fm); font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--stone);
}
.form-input {
  padding: 13px 16px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--white);
  font-family: var(--fb); font-size: 14px; color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(201,164,86,.12); }
.form-input::placeholder { color: var(--stone-light); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-full { grid-column: 1 / -1; }
.form-note { font-size: 12px; color: var(--stone-light); margin-top: 4px; }

/* Dark form variant */
.form-input-dark {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff;
}
.form-input-dark:focus { border-color: var(--amber); background: rgba(255,255,255,.08); }
.form-input-dark::placeholder { color: rgba(255,255,255,.3); }
.form-label-dark { color: rgba(255,255,255,.35); }

/* Form compacto dentro de um comm-card (filipinas.html) */
.commit-form { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* Checkbox de tópicos (comunidade.html) */
.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-opt {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--stone); cursor: pointer;
}
.checkbox-opt input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--amber); cursor: pointer; flex-shrink: 0; }
.checkbox-opt-dark { color: rgba(255,255,255,.65); }

/* ═══════════════════════════════════════════════════
   SUB-PAGE MAP CARDS
═══════════════════════════════════════════════════ */
.map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.map-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 32px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--out), transform .7s var(--out), background .25s, border-color .25s;
}
.map-card.v { opacity: 1; transform: none; }
.map-card:nth-child(2){transition-delay:.08s}.map-card:nth-child(3){transition-delay:.16s}
.map-card:nth-child(4){transition-delay:.24s}.map-card:nth-child(5){transition-delay:.32s}.map-card:nth-child(6){transition-delay:.4s}
.map-card:hover { background: rgba(255,255,255,.07); border-color: rgba(201,164,86,.3); }
.map-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(201,164,86,.12); display: flex; align-items: center; justify-content: center; }
.map-icon svg { color: var(--amber); }
.map-path { font-family: var(--fm); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(201,164,86,.55); }
.map-title { font-family: var(--fd); font-weight: 600; font-size: 20px; color: #fff; line-height: 1.2; }
.map-desc { font-size: 13px; color: rgba(255,255,255,.42); line-height: 1.65; }
.map-arrow { margin-top: auto; display: flex; align-items: center; gap: 6px; font-family: var(--fm); font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(201,164,86,.5); transition: color .2s, gap .25s var(--out); }
.map-card:hover .map-arrow { color: var(--amber); gap: 10px; }

/* ═══════════════════════════════════════════════════
   SOCIAL ICONS
═══════════════════════════════════════════════════ */
.social-wrap { display: inline-flex; list-style: none; gap: 12px; }
.s-ico {
  position: relative;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%; width: 52px; height: 52px;
  display: flex; justify-content: center; align-items: center;
  cursor: pointer; color: rgba(255,255,255,.55);
  transition: all .25s cubic-bezier(0.68,-0.55,0.265,1.55);
}
.s-ico:hover { transform: translateY(-5px); border-color: transparent; color: #fff; }
.s-ico a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: inherit; }
.s-ico .tip {
  position: absolute; top: 0;
  font-size: 12px; font-family: var(--fb); font-weight: 600;
  background: #fff; color: var(--ink);
  padding: 5px 10px; border-radius: 6px;
  white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,.2);
  opacity: 0; pointer-events: none;
  transition: all .3s cubic-bezier(0.68,-0.55,0.265,1.55);
}
.s-ico .tip::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 8px; height: 8px; background: inherit; transition: background .3s; }
.s-ico:hover .tip { top: -48px; opacity: 1; }
.s-ico.ig:hover, .s-ico.ig:hover .tip, .s-ico.ig:hover .tip::after { background: #e4405f; color: #fff; }
.s-ico.yt:hover, .s-ico.yt:hover .tip, .s-ico.yt:hover .tip::after { background: #ff0000; color: #fff; }
.s-ico.wa:hover, .s-ico.wa:hover .tip, .s-ico.wa:hover .tip::after { background: #25d366; color: #fff; }
.s-ico.fb:hover, .s-ico.fb:hover .tip, .s-ico.fb:hover .tip::after { background: #1877f2; color: #fff; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer { background: #070A11; }
.footer-amber-line {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: asweep 3s ease-in-out infinite;
}
@keyframes asweep { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.footer-inner {
  padding: 64px 48px 48px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px;
  max-width: 1200px; margin: 0 auto;
}
.footer-brand { font-family: var(--fd); font-size: 26px; font-weight: 300; font-style: italic; color: #fff; line-height: 1.1; }
.footer-brand em { font-style: normal; color: var(--amber); }
.footer-tagline { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.3); line-height: 1.65; max-width: 220px; }
.footer-col-title { font-family: var(--fm); font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 8px; transition: color .2s; }
.footer-links a::before { content: ''; width: 12px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--out); }
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { transform: scaleX(1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 24px 48px; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-family: var(--fm); font-size: 11px; letter-spacing: .5px; color: rgba(255,255,255,.18); }
.footer-mission-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fm); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); opacity: .6; }

/* ═══════════════════════════════════════════════════
   VERSÍCULO — bloco reutilizável (Filipenses 1:5 etc.)
═══════════════════════════════════════════════════ */
.verse { max-width: 760px; margin: 0 auto; text-align: center; position: relative; }
.verse-text {
  font-family: var(--fd); font-style: italic; font-weight: 300;
  font-size: clamp(24px, 3.8vw, 42px); line-height: 1.3; letter-spacing: -.02em;
  color: var(--ink); margin: 20px 0 0;
}
.verse-text em { font-style: italic; color: var(--royal); }
.verse-ref {
  font-family: var(--fm); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--stone); margin-top: 20px;
  display: inline-flex; align-items: center; gap: 12px;
}
.verse-ref::before, .verse-ref::after { content: ''; width: 28px; height: 1px; background: var(--amber); }
.verse-dark .verse-text { color: rgba(255,255,255,.9); }
.verse-dark .verse-text em { color: var(--amber); }
.verse-dark .verse-ref { color: rgba(255,255,255,.4); }

/* ═══════════════════════════════════════════════════
   FEEDBACK DE FORMULÁRIO (comunidade)
═══════════════════════════════════════════════════ */
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.form-msg.ok    { display: block; background: rgba(52,168,83,.12);  color: #34A853; border: 1px solid rgba(52,168,83,.3); }
.form-msg.err   { display: block; background: rgba(220,38,38,.10);  color: #DC2626; border: 1px solid rgba(220,38,38,.28); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid, .two-col, .two-col-rev { grid-template-columns: 1fr; }
  .hero-photo { padding: 40px 0 0; justify-content: center; }
  .hero-photo .photo, .hero-photo .img-ph { max-width: 100%; height: 420px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .comm-grid, .map-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .activity-card { grid-template-columns: 1fr; }
  .activity-card:nth-child(even) .activity-img, .activity-card:nth-child(even) .activity-text { order: unset; }
  .two-col-rev > :first-child, .two-col-rev > :last-child { order: unset; }
}
@media (max-width: 768px) {
  .site-header { padding: 0 20px; gap: 8px; }
  .header-brand { font-size: 17px; }
  .header-cta { padding: 8px 14px; font-size: 11px; }
  .header-ham { display: flex; }
  /* Menu mobile: dropdown abaixo do header, aberto via .open (ver main.js) */
  .header-nav {
    display: flex; flex-direction: column; gap: 2px;
    position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
    background: rgba(13,21,40,.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 8px 20px 12px;
    max-height: 0; opacity: 0; overflow: hidden; pointer-events: none;
    transition: max-height .35s var(--out), opacity .3s var(--out);
  }
  .header-nav.open {
    max-height: calc(100vh - 68px); opacity: 1; pointer-events: auto; overflow-y: auto;
  }
  .header-nav a { display: block; padding: 15px 8px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .header-nav a:hover { background: transparent; }
  .header-nav li:last-child a { border-bottom: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: rgba(13,21,40,.92); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,.06); }
  .hero-grid, .subhero, .sec-light, .sec-warm, .sec-dark, .sec-mid, .sec-deep { padding-left: 20px !important; padding-right: 20px !important; }
  .comm-grid, .map-grid, .stats-grid, .form-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: clamp(36px, 11vw, 52px); }
  .footer-inner { grid-template-columns: 1fr; padding: 40px 20px 32px; }
  .footer-bottom { padding: 20px 20px; flex-direction: column; gap: 12px; text-align: center; }
  .hero-photo .photo, .hero-photo .img-ph { height: 340px; }
  .hero-name .l { font-size: clamp(52px, 16vw, 90px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; }
}
