:root {
  --navy-900: #081a30; --navy-800: #0b1f3a; --navy-700: #12315a;
  --gold: #b8934a; --gold-light: #d9b978;
  --ink: #1b2430; --muted: #5b6675; --line: #e4e8ee; --bg: #f5f7fa; --white: #ffffff;
  --radius: 12px; --shadow: 0 10px 30px rgba(11, 31, 58, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--navy-800); line-height: 1.2; }
a { color: inherit; text-decoration: none; }
.container { width: 92%; max-width: 1140px; margin: 0 auto; }
section { padding: 80px 0; }
.ico { width: 24px; height: 24px; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 8px; font-weight: 600; font-size: .95rem;
  font-family: inherit; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 6px 18px rgba(184,147,74,.35); }
.btn-gold:hover { background: var(--gold-light); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }

/* Cabeçalho */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
header.scrolled { box-shadow: 0 4px 20px rgba(11,31,58,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px; background: var(--navy-800); color: var(--gold-light);
  display: grid; place-items: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.05rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy-800); }
.logo-text small { font-size: .68rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
nav ul { display: flex; align-items: center; gap: 30px; list-style: none; }
nav a.link { font-size: .92rem; font-weight: 500; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
nav a.link:hover, nav a.link.ativo { color: var(--navy-800); border-color: var(--gold); }
.menu-toggle { display: none; background: none; border: none; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--navy-800); position: relative; transition: transform .3s, background .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Topo das páginas de posts */
.pagina-topo {
  position: relative; padding: 156px 0 72px; color: var(--white); overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(184,147,74,.18), transparent 45%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
}
.pagina-topo::before {
  content: ""; position: absolute; inset: 0; opacity: .06;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}
.pagina-topo .container { position: relative; }
.eyebrow { display: inline-block; color: var(--gold); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.pagina-topo .eyebrow { color: var(--gold-light); }
.pagina-topo h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 820px; margin-bottom: 18px; }
.pagina-topo p { color: #cbd5e1; font-size: 1.08rem; max-width: 640px; }
.migalhas { font-size: .84rem; color: #aab6c8; margin-bottom: 22px; }
.migalhas a { color: var(--gold-light); }
.migalhas a:hover { text-decoration: underline; }
.post-info { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: #aab6c8; margin-top: 8px; }

.lista-posts { background: var(--bg); }
.vazio { text-align: center; color: var(--muted); }

/* Artigo */
.artigo { max-width: 760px; margin: 0 auto; font-size: 1.06rem; }
.artigo > * + * { margin-top: 1.1em; }
.artigo h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 1.9em; }
.artigo h3 { font-size: 1.2rem; margin-top: 1.6em; }
.artigo p, .artigo li { color: #333d4a; }
.artigo ul, .artigo ol { padding-left: 1.4em; }
.artigo li + li { margin-top: .45em; }
.artigo strong { color: var(--navy-800); }
.artigo blockquote {
  border-left: 4px solid var(--gold); background: rgba(184,147,74,.08);
  padding: 18px 22px; border-radius: 0 10px 10px 0; color: var(--navy-800); font-style: italic;
}
.artigo .lead { font-size: 1.18rem; color: var(--navy-800); }
.cta-post {
  max-width: 760px; margin: 56px auto 0; padding: 34px; border-radius: 16px; text-align: center;
  background: var(--navy-900); color: #cbd5e1;
}
.cta-post h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 10px; }
.cta-post p { margin-bottom: 22px; }
.relacionados { max-width: 1140px; margin: 64px auto 0; }
.relacionados > h2 { font-size: 1.6rem; margin-bottom: 24px; text-align: center; }
.cta-post .btn-outline { border-color: rgba(255,255,255,.4); color: var(--white); }
.cta-post .btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.cta-post .cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.voltar { max-width: 760px; margin: 36px auto 0; }
.voltar a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-800); }
.voltar a:hover { color: var(--gold); }

/* Rodapé */
footer { background: var(--navy-900); color: #94a3b8; padding: 56px 0 28px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; font-weight: 600; }
footer ul { list-style: none; }
footer li { padding: 4px 0; }
footer a:hover { color: var(--gold-light); }
.foot-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-logo .logo-mark { background: rgba(255,255,255,.08); }
.foot-logo strong { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.1rem; }
.aviso { padding-top: 24px; font-size: .8rem; line-height: 1.6; color: #7d8ba1; }
.copy { margin-top: 14px; font-size: .8rem; color: #7d8ba1; }

/* WhatsApp flutuante */
.whats {
  position: fixed; right: 22px; bottom: 22px; z-index: 200; display: flex; align-items: center; gap: 10px;
  background: #1fa855; color: #fff; padding: 14px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s, background .2s;
}
.whats:hover { transform: translateY(-3px); background: #178f47; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .post-card, .whats { transition: none; }
}
@media (max-width: 960px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  nav ul {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 4% 22px;
    border-bottom: 1px solid var(--line); display: none; box-shadow: 0 16px 24px rgba(11,31,58,.08);
  }
  nav ul.aberto { display: flex; }
  nav a.link { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  nav li:last-child { margin-top: 16px; }
  nav li:last-child .btn { width: 100%; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .pagina-topo { padding: 124px 0 56px; }
  .cta-post { padding: 26px 20px; }
  .whats span { display: none; }
  .whats { padding: 16px; }
}
