/* ============================================================
   ESPERANÇA EM COLUMBUS — Base / Componentes
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold-soft); color: var(--ink); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }

/* ---- Tipografia ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 5vw, 40px); }
.section { padding: var(--sp-8) 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: var(--sp-6); }
.section-head p { margin-top: var(--sp-3); color: var(--muted); }

/* ---- Botões ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--r-full);
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  border: 1.5px solid transparent; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), box-shadow var(--dur-fast);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: var(--on-ink); }
.btn--primary:hover { background: var(--ink-2); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--gold { background: var(--brand-gradient); color: var(--ink); }
.btn--gold:hover { box-shadow: var(--shadow-md); }
.btn--whatsapp { background: var(--green); color: #fff; }
.btn--whatsapp:hover { background: #1EBE5A; box-shadow: var(--shadow-md); }
.btn--light { background: var(--card); color: var(--ink); }
.btn--block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }

/* ---- Cards ---- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med), border-color var(--dur-med);
}
a.card { text-decoration: none; color: inherit; display: block; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.card__icon { font-size: 26px; line-height: 1; margin-bottom: var(--sp-3); }
.card__title { font-family: var(--font-serif); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.card__desc { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.card__arrow { color: var(--gold); font-family: var(--font-mono); }

/* ---- Header ---- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-med), box-shadow var(--dur-med);
}
.header--scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5);
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--sp-5);
}
.brand { font-family: var(--font-serif); font-weight: 700; font-size: 16.5px; letter-spacing: .02em; text-decoration: none; color: var(--ink); }
.brand em { font-style: normal; color: var(--gold); }
.nav { display: flex; gap: clamp(12px, 2.4vw, 26px); }
.nav a { text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color var(--dur-fast); position: relative; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.header__spacer { flex: 1; }
.header__cta { display: inline-flex; }
.menu-btn { display: none; background: none; border: none; font-size: 22px; color: var(--ink); padding: 4px; }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + var(--sp-5)) var(--sp-5) var(--sp-6);
  transform: translateY(-100%); transition: transform var(--dur-med) var(--ease-out);
  overscroll-behavior: contain;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-family: var(--font-serif); font-size: 26px; font-weight: 600; padding: 12px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a span { color: var(--gold); font-family: var(--font-mono); font-size: 16px; }
.mobile-menu .menu-foot { margin-top: auto; }
.menu-close { position: absolute; top: 18px; right: 20px; background: none; border: none; font-size: 24px; color: var(--ink); }

/* ---- Hero ---- */
.hero { padding: clamp(48px, 9vw, 104px) 0 var(--sp-8); }
.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }
.hero h1 { font-size: var(--fs-hero); margin: var(--sp-4) 0; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

/* Chips de conversa (hero) */
.chat-stage {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink);
  min-height: 420px;
  display: flex; align-items: flex-end;
}
.chat-stage::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(560px 300px at 85% -10%, rgba(201,162,39,.25), transparent 60%),
    radial-gradient(480px 320px at -10% 110%, rgba(37,211,102,.16), transparent 60%);
}
.chat-bubble {
  position: absolute; max-width: 270px; border-radius: 18px; padding: 14px 16px;
  font-size: 14px; line-height: 1.5; box-shadow: var(--shadow-lg);
  animation: floatIn var(--dur-slow) var(--ease-out) both;
}
.chat-bubble--in { background: var(--card); color: var(--ink); left: 24px; }
.chat-bubble--out { background: var(--green); color: #fff; right: 24px; }
.chat-bubble .who { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin-bottom: 4px; }
@keyframes floatIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.chat-stage .chat-bubble:nth-child(1) { bottom: 190px; animation-delay: .1s; }
.chat-stage .chat-bubble:nth-child(2) { bottom: 110px; animation-delay: .9s; }
.chat-stage .chat-bubble:nth-child(3) { bottom: 30px; animation-delay: 1.7s; }
.chat-stage__badge {
  position: absolute; top: 20px; right: 20px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(8px);
  border-radius: var(--r-full); padding: 8px 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--gold-ink);
}

/* ---- Need cards ---- */
.need-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--sp-4); }
.need-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-4) var(--sp-5); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast), border-color var(--dur-fast);
}
.need-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.need-card .ico { font-size: 24px; }
.need-card .t { font-weight: 600; font-size: 15px; }
.need-card .d { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* ---- Guia / feature card ---- */
.feature-card {
  border-radius: var(--r-lg); padding: var(--sp-7);
  background: var(--ink); color: var(--on-ink);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(520px 260px at 90% -20%, rgba(201,162,39,.3), transparent 60%);
}
.feature-card > * { position: relative; }
.feature-card h3 { font-size: clamp(24px, 4.6vw, 36px); margin: var(--sp-3) 0; }
.feature-card p { color: var(--on-ink-muted); max-width: 52ch; }
.feature-card .btn { margin-top: var(--sp-5); }

/* ---- Lista de categorias ---- */
.cat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-4); }
.cat-row {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5); text-decoration: none; color: inherit;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast);
}
.cat-row:hover { transform: translateX(3px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.cat-row .ico { font-size: 22px; }
.cat-row .t { font-weight: 600; font-size: 15.5px; }
.cat-row .d { font-size: 13px; color: var(--muted); }
.cat-row .arr { margin-left: auto; color: var(--gold); font-family: var(--font-mono); }

/* ---- Busca ---- */
.search-box { max-width: 640px; margin: 0 auto; position: relative; }
.search-box input {
  width: 100%; padding: 18px 56px 18px 22px; border-radius: var(--r-full);
  border: 1.5px solid var(--line); background: var(--card); font-size: 16px; font-family: inherit;
  color: var(--ink); outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.search-box .q-ico { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--faint); pointer-events: none; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: var(--sp-4); }
.search-suggest button {
  background: none; border: 1px solid var(--line); border-radius: var(--r-full);
  padding: 7px 14px; font-size: 12.5px; color: var(--muted); font-family: inherit;
  transition: all var(--dur-fast);
}
.search-suggest button:hover { border-color: var(--gold); color: var(--gold-ink); background: var(--gold-soft); }

/* ---- Transição espiritual ---- */
.transition-band {
  border-radius: var(--r-lg); padding: var(--sp-7) var(--sp-5);
  background: var(--bg-soft); border: 1px solid var(--line);
  text-align: center; max-width: 760px; margin: 0 auto;
}
.transition-band h3 { font-size: clamp(22px, 4vw, 30px); margin: var(--sp-3) 0; }
.transition-band p { color: var(--muted); max-width: 54ch; margin: 0 auto; }

/* ---- Contador ---- */
.counter-row { display: flex; gap: var(--sp-6); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-6); }
.counter { text-align: center; }
.counter .n { font-family: var(--font-serif); font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1; }
.counter .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---- Eventos ---- */
.event-card { display: flex; gap: var(--sp-5); align-items: center; }
.event-card .date {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: var(--r-md);
  background: var(--gold-soft); color: var(--gold-ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-serif);
}
.event-card .date .d { font-size: 26px; font-weight: 700; line-height: 1; }
.event-card .date .m { font-size: 11px; font-weight: 600; }
.event-card .meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--gold-ink); text-transform: uppercase; }
.event-card h3 { font-size: 19px; margin: 4px 0; }
.event-card .desc { color: var(--muted); font-size: 13.5px; }

/* ---- Footer ---- */
.footer { background: var(--ink); color: var(--on-ink-muted); padding: var(--sp-8) 0 var(--sp-7); margin-top: var(--sp-8); }
.footer__grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
.footer .brand { color: var(--on-ink); }
.footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--sp-3); }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; font-size: 14px; transition: color var(--dur-fast); }
.footer a:hover { color: var(--on-ink); }
.footer__bottom { border-top: 1px solid rgba(250,247,242,.12); margin-top: var(--sp-6); padding-top: var(--sp-5); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; }

/* ---- Barra inferior mobile ---- */
.bottom-bar {
  display: none;
}
@media (max-width: 860px) {
  .bottom-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: color-mix(in srgb, var(--card) 94%, transparent);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 9px 0 7px; text-decoration: none; font-size: 10.5px; font-weight: 600;
    color: var(--muted); letter-spacing: .02em;
  }
  .bottom-bar a .ico { font-size: 18px; }
  .bottom-bar a.active { color: var(--ink); }
  body.has-bottom-bar { padding-bottom: calc(var(--bar-mobile-h) + var(--sp-5)); }
}

/* ---- Reveal on scroll (respeita reduced-motion) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---- Page interno ---- */
.page-hero { padding: var(--sp-8) 0 var(--sp-6); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 6vw, 48px); }
.page-hero p { color: var(--muted); max-width: 60ch; margin-top: var(--sp-3); }
.prose { max-width: 74ch; }
.prose h3 { font-size: 22px; margin: var(--sp-6) 0 var(--sp-3); }
.prose h4 { font-family: var(--font-sans); font-size: 16px; margin: var(--sp-5) 0 var(--sp-2); }
.prose p { margin-bottom: var(--sp-4); }
.prose ul, .prose ol { margin: 0 0 var(--sp-4) var(--sp-5); display: grid; gap: 8px; }
.prose li { line-height: 1.5; }
.prose a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose .checklist { list-style: none; margin-left: 0; display: grid; gap: 10px; }
.prose .checklist li { padding-left: 30px; position: relative; }
.prose .checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-deep); font-weight: 700; }

.blockquote {
  border-left: 3px solid var(--gold); padding: var(--sp-3) var(--sp-5);
  background: var(--bg-soft); border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--sp-5) 0; font-style: italic; color: var(--ink-2);
}

/* ---- CTA contextual ---- */
.cta-contextual {
  margin-top: var(--sp-7); border-radius: var(--r-lg);
  background: var(--ink); color: var(--on-ink);
  padding: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; justify-content: space-between;
}
.cta-contextual h3 { font-size: 22px; }
.cta-contextual p { color: var(--on-ink-muted); font-size: 14px; max-width: 46ch; }
.cta-contextual .cta-btns { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ---- Links de fonte ---- */
.sources { margin-top: var(--sp-6); }
.sources h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.sources ul { list-style: none; margin: var(--sp-3) 0 0; display: grid; gap: 8px; }
.sources a { font-size: 14px; }

/* ---- Bíblia / páginas espirituais ---- */
.bible-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--sp-4); }
.verse-card { border-radius: var(--r-lg); padding: var(--sp-6); background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.verse-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 180px at 100% 0%, rgba(201,162,39,.28), transparent 60%); }
.verse-card blockquote { position: relative; font-family: var(--font-serif); font-size: 19px; line-height: 1.5; }
.verse-card cite { position: relative; display: block; margin-top: var(--sp-3); font-family: var(--font-mono); font-style: normal; font-size: 12px; color: var(--gold); letter-spacing: .08em; }

/* ---- Formulários ---- */
.form-card { max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); }
.form-field { margin-bottom: var(--sp-4); }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-family: inherit; font-size: 15px; background: var(--bg); color: var(--ink); outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.form-note { font-size: 12.5px; color: var(--faint); margin-top: var(--sp-4); line-height: 1.5; }

/* ---- Onboarding (primeiros passos) ---- */
.steps { max-width: 620px; margin: 0 auto; }
.step { display: none; }
.step.active { display: block; animation: fadeUp var(--dur-med) var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-3); margin: var(--sp-5) 0; }
.choice {
  border: 1.5px solid var(--line); background: var(--card); border-radius: var(--r-md);
  padding: var(--sp-4); text-align: left; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--ink);
  transition: all var(--dur-fast);
}
.choice:hover { border-color: var(--gold); }
.choice.selected { border-color: var(--gold); background: var(--gold-soft); }
.choice--multi.selected { border-color: var(--gold); background: var(--gold-soft); }
.step-nav { display: flex; gap: var(--sp-3); justify-content: space-between; margin-top: var(--sp-5); }
.step-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: var(--sp-5); }
.step-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background var(--dur-fast); }
.step-dots i.on { background: var(--gold); }
.result-path {
  border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink);
  padding: var(--sp-6); margin-top: var(--sp-5);
}
.result-path ol { margin-left: 18px; display: grid; gap: 12px; }
.result-path li::marker { color: var(--gold); font-weight: 700; }
.result-path .note { color: var(--on-ink-muted); font-size: 13.5px; margin-top: var(--sp-4); }

/* ---- Respiração / listas de frases ---- */
.phrase-group { margin-bottom: var(--sp-6); }
.phrase-group h4 { font-size: 17px; margin-bottom: var(--sp-3); display: flex; align-items: center; gap: 10px; }
.phrase { display: grid; gap: 4px; padding: var(--sp-3) var(--sp-4); border-left: 2px solid var(--line); margin-bottom: 10px; background: var(--card); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.phrase .pt { font-weight: 500; }
.phrase .en { font-family: var(--font-serif); font-size: 17px; color: var(--ink-2); }
.phrase .pron { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }

/* ---- Tabela (horários) ---- */
.simple-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.simple-table th { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 8px 10px; border-bottom: 2px solid var(--line); }
.simple-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); }

/* ---- Tags ---- */
.tag { display: inline-block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-soft); border-radius: var(--r-full); padding: 4px 10px; margin: 0 6px 6px 0; }

/* ---- Foco acessível ---- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---- Desktop: layout hero 2 colunas ---- */
@media (min-width: 861px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .header__cta { margin-left: auto; }
  .nav { margin-left: auto; }
}

/* ---- Mobile header ---- */
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header__cta .btn { padding: 10px 16px; font-size: 13px; }
  .section { padding: var(--sp-7) 0; }
}
