/* Acólitos & Missal — base
   Reset, tipografia global, layout wrapper, nav, hero, seções compartilhadas.
   Estilo sacro-minimalista: pergaminho, dourado, bordas finas, sem sombras duras. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(168,129,60,0.06), transparent 55%);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(246,241,230,0.9);
  border-bottom: 1px solid var(--border);
}
.nav::after {
  content: ""; display: block; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: .6;
}
.nav-inner {
  max-width: 920px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  display: flex; align-items: center; gap: 9px; letter-spacing: 0.01em;
}
.brand .brand-dot { color: var(--gold); font-size: 17px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.nav-links a { transition: color .15s ease; position: relative; padding-bottom: 3px; }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.current { color: var(--gold-deep); }
.nav-links a.current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--gold);
}

.nav-toggle {
  display: none; width: 38px; height: 38px; border-radius: 8px;
  border: 1.5px solid var(--border-strong); background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 1.5px; background: var(--text-primary);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 61px; left: 0; right: 0; z-index: 60;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
    font-size: 13px; text-transform: none; letter-spacing: normal;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links a {
    width: 100%; padding: 14px 24px; border-bottom: 0.5px solid var(--border);
  }
  .nav-links a:last-child { border-bottom: none; }
}

.float-home-btn {
  position: fixed; bottom: 22px; right: 22px; z-index: 999;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border-strong); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all .18s ease;
}
.float-home-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.float-home-btn svg { width: 20px; height: 20px; stroke: var(--gold-deep); }
@media (max-width: 640px) {
  .float-home-btn { bottom: 16px; right: 16px; width: 44px; height: 44px; }
  .float-home-btn svg { width: 17px; height: 17px; }
}

/* ---------- HERO ---------- */
.hero {
  padding: 84px 0 60px;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent);
}
.eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--gold-deep);
  margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.1em;
}
h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 660px;
  letter-spacing: -0.005em;
  color: var(--text-primary);
}
.hero-sub { font-size: 16px; color: var(--text-secondary); margin: 0 0 34px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- SECTION SHARED ---------- */
section { padding: 56px 0; border-top: 1px solid var(--border); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.section-path {
  display: flex; align-items: center; gap: 6px; font-family: var(--font-mono);
  font-size: 11.5px; color: var(--gold-deep); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.08em;
}
.section-title { font-family: var(--font-display); font-size: 28px; font-weight: 600; margin: 0 0 10px; color: var(--text-primary); }
.section-desc { color: var(--text-secondary); font-size: 14px; margin: 0; max-width: 480px; }
.section-link { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-secondary); white-space: nowrap; transition: color .15s ease; text-transform: uppercase; letter-spacing: 0.05em; }
.section-link:hover { color: var(--gold-deep); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- FOOTER ---------- */
footer {
  padding: 34px 24px 54px; text-align: center; font-size: 12px;
  color: var(--text-muted); font-family: var(--font-mono); line-height: 1.7;
  border-top: 1px solid var(--border);
}
footer a { color: var(--gold-deep); transition: opacity .15s ease; }
footer a:hover { opacity: 0.7; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 520px) {
  .hero { padding: 52px 0 42px; }
  section { padding: 38px 0; }
}
