/* ============================================
   BASE — tokens, reset, nav, footer, botões
   Compartilhado por TODAS as páginas do site
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #FAF7F0;
  --bg-soft:  #F2EFE6;
  --bg-card:  #EDE7D8;
  --ink:      #17241D;
  --ink-2:    #4A4540;
  --ink-3:    #8A847C;
  --accent:   #1F3D2E;
  --accent-2: #2C5240;
  --gold:     #C9973F;
  --gold-light: #E3B968;
  --gold-dark:  #A87A2B;
  --eggblue:  #5B93A0;
  --eggblue-light: #8AB7C1;
  --eggblue-dark:  #3F6B76;
  --rule:     #E2DCC8;
  --rule-2:   #EDE8DA;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; font-size: 16px; line-height: 1.6; overflow-x: clip; }
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,240,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  padding: 0 5%;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow .3s ease;
}
nav.scrolled { box-shadow: 0 4px 20px rgba(23,36,29,0.08); }
.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  flex-shrink: 0;
  display: flex; align-items: center;
}
.nav-logo img { display: block; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-2);
  padding: 0 1rem; white-space: nowrap; transition: color 0.2s; display: block;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: -2px;
  height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-btn {
  background: #1f3d2e; color: #fff !important;
  padding: 0.38rem 0.9rem !important; border-radius: 999px; font-weight: 600 !important;
  font-size: 0.85rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.2s, transform 0.2s; flex-shrink: 0; margin-left: 0.75rem; margin-right: 0.5rem;
}
.nav-btn:hover { background: #2a5240; transform: translateY(-1px); }

/* Mobile menu */
.menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--ink); flex-shrink: 0; }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
  background: var(--accent); color: var(--bg); padding: 0.5rem 5% 1.5rem;
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 0.9rem 0; font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: 0.95rem; color: var(--bg); border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-menu a:last-child { border-bottom: none; color: var(--gold-light); }

/* ── BOTÕES ── */
.btn { padding: 0.85rem 1.9rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif; transition: all 0.2s; display: inline-block; }
.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,151,63,0.35); }
.btn-ghost { border: 1.5px solid var(--rule); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── TÍTULOS DE SEÇÃO (reutilizados em várias páginas) ── */
.section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 0.7rem;
}
h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800; line-height: 1.15; color: var(--ink); margin-bottom: 0.8rem; letter-spacing: -0.01em;
}
.section-intro { font-size: 0.97rem; color: var(--ink-2); max-width: 520px; line-height: 1.75; font-weight: 400; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.ver-mais {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  border-bottom: 1px solid var(--gold); padding-bottom: 1px; transition: opacity 0.2s; white-space: nowrap;
}
.ver-mais:hover { opacity: 0.65; }

.divider { border: none; border-top: 1px solid var(--rule); }
section { padding: 80px 5%; }
.section-wrap { max-width: 1200px; margin: 0 auto; }

/* Scroll reveal (JS adds .in-view) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
footer { background: var(--accent); padding: 48px 5% 24px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 2rem;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 18px;
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.footer-brand { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--gold-light); margin-bottom: 6px; }
.footer-sub { font-size: 0.78rem; color: rgba(250,247,240,0.55); max-width: 260px; line-height: 1.5; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 0.78rem; color: rgba(250,247,240,0.6); transition: color 0.15s; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 0.65rem; color: rgba(250,247,240,0.35); text-align: center; max-width: 1200px; margin: 0 auto; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-btn { display: none; }
  .menu-btn { display: flex; align-items: center; justify-content: center; margin-left: auto; }
  nav { overflow: visible; }
  .nav-logo { font-size: 0; }
  .nav-logo img { display: block; margin-right: 0 !important; }
  .nav-logo span { display: none; }
  section { padding: 44px 5%; }
  footer { padding: 36px 5% 20px; }
  .section-header { margin-bottom: 1.5rem; }
  h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .footer-top { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 600px) {
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
