@import "tokens.css";
/* =====================================================================
   header-embed.css — regras do .site-header isoladas dos resets globais
   do style.css (body/a/img/*), para uso em templates Tailwind-only (home)
   que não carregam o style.css inteiro. Mantido em espelho com os blocos
   "header" e "botões" de style.css — atualizar os três juntos.
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(11,61,145,.07); }
.site-header .container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 48px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 60px; width: auto; display: block; }
.nav-group { display: flex; align-items: center; gap: 26px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--accent); text-decoration: none; }
.btn, .btn-accent {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-family: var(--serif); font-weight: 700; font-size: 16px;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn { background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); }
.btn-accent { background: var(--accent-2-strong); color: var(--on-accent); border: 1px solid var(--accent-2-strong); }
.btn-accent:hover { background: #0a6747; text-decoration: none; }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; font-size: 15px; color: var(--on-accent); }
.nav-cta:hover { color: var(--on-accent); }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0; border: none; background: transparent; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--muted); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 28px 20px; box-shadow: 0 12px 24px rgba(11,61,145,.08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .site-header .container { padding: 0 20px; }
  .nav { padding-left: 20px; padding-right: 20px; }
}
