/* Melhorias para os botões da capa */
.capa-badges-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1em;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}
/* Glassmorphism para os botões da capa */
.capa-badges-flex .badge.badge-hero {
  font-size: 1.13em;
  padding: 0.5em 2.2em;
  border-radius: 2em;
  background: rgba(231, 227, 227, 0.842);
  color: #23263a;
  font-weight: 600;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  margin: 0;
  transition: transform 0.13s, box-shadow 0.13s, background 0.18s, color 0.18s;
  display: flex;
  align-items: center;
  text-decoration: none;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 1.5px solid rgba(255,255,255,0.35);
  outline: 1.5px solid rgba(108,99,255,0.10);
  outline-offset: 2px;
  box-sizing: border-box;
}
.capa-badges-flex .badge.badge-hero:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 32px 0 rgba(31, 38, 135, 0.22);
  background: rgba(108,99,255,0.18);
  color: #23263a;
  border: 1.5px solid rgba(108,99,255,0.25);
}
.highlight {
  color: #6c63ff;
  font-weight: bold;
  background: #ffeaea;
  padding: 2px 6px;
  border-radius: 6px;
}

.capa-lead {
  color: #fff;
}
/* Ajusta largura da capa-frase para igualar ao card de redes sociais */
.capa-frase {
  max-width: 520px;
  width: 100%;
  margin: 1.5em auto 2em auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Ajusta largura da frase-impactante para igualar ao card de redes sociais */
.frase-impactante {
  max-width: 520px;
  width: 100%;
  margin: 1.5em auto 2em auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Centraliza o texto explicativo do card de redes sociais */
.card-redes-explicativo {
  text-align: center;
}
.card-redes {
  background: linear-gradient(90deg, #1a1f3c 0%, #6c63ff 60%, #00c3ff 100%);
  border-radius: 1.5em;
  box-shadow: 0 4px 32px rgba(60,60,80,0.18);
  padding: 2.2em 2em 1.7em 2em;
  margin: 1.5em auto 2em auto;
  max-width: 520px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #00c3ff;
  position: relative;
  overflow: hidden;
}
.card-redes::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #00c3ff88 0%, transparent 70%);
  z-index: 0;
}
.card-redes-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.22em;
  font-weight: 700;
  margin-bottom: 1.5em;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px #23263a99;
  z-index: 1;
}
.card-redes-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em 2em;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.card-redes-link {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 1.08em;
  color: #6c63ff;
  text-decoration: none;
  background: rgba(0,195,255,0.13);
  border-radius: 0.7em;
  padding: 0.5em 1.1em;
  box-shadow: 0 2px 8px rgba(60,60,80,0.10);
  transition: background 0.22s, color 0.22s, transform 0.22s;
  font-weight: 500;
  position: relative;
}
.card-redes-link:hover {
  background: linear-gradient(90deg, #6c63ff 0%, #00c3ff 100%);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 32px #00c3ff44;
}
.card-redes-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 1px 12px #6c63ff55;
  background: #6c63ff;
  padding: 3px;
  transition: box-shadow 0.22s, background 0.22s;
}
.card-redes-link:hover .card-redes-icon {
  box-shadow: 0 2px 24px #00c3ff99;
  background: #23263a;
}
.card-redes {
  background: linear-gradient(90deg, #23263a 0%, #23263a 60%, #3a3e5a 100%);
  border-radius: 1.2em;
  box-shadow: 0 2px 16px rgba(60,60,80,0.13);
  padding: 1.5em 2em 1.2em 2em;
  margin: 0.5em 0 0.5em 0;
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.card-redes-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.18em;
  font-weight: 600;
  margin-bottom: 1.2em;
  color: #23263a;
}
.card-redes-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em 2em;
  justify-content: center;
  align-items: center;
}
.card-redes-link {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 1.08em;
  color: #23263a;
  text-decoration: none;
  background: none;
  border-radius: 0.5em;
  padding: 0.4em 0.8em;
  transition: background 0.2s, color 0.2s;
}
.card-redes-link:hover {
  background: #e3e6ef;
  color: #6c63ff;
}
.card-redes-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(60,60,80,0.08);
}
@media (max-width: 900px) {
  /* Mantendo apenas regras utilizadas em index.html e transitos.html */
  /* CAPA, HEADER, NAV, PAGE, FORM, PRODUTOS, RODAPE, COSMIC-BG, STARS, BOOK, COVER, BADGE, HERO, SOBRE, VIVÊNCIAS, CARD-REDES, RESULTADO */
  /* ...existing code... */
  /* Adicione aqui apenas as regras que correspondem a classes, IDs e seletores presentes nos arquivos HTML */
  /* Removido bloco incompleto para corrigir sintaxe */
  .nav-list {
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .nav-item {
    width: 100%;
    text-align: center;
  }
  .nav-contact {
    margin: 0.5em 0;
    text-align: center;
    width: 100%;
  }
  .nav-dropdown .nav-title {
    width: 100%;
    text-align: center;
    display: block;
  }
}
/* Menu responsivo e animação */
.main-nav {
  position: relative;
  background: transparent !important;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 100;
}
.nav-toggle-icon {
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 8px 0 #fff, 0 16px 0 #fff;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-dropdown .nav-title {
  cursor: pointer;
  transition: color 0.2s;
}
.nav-dropdown .nav-title:hover {
  color: #6c63ff;
}
.nav-submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #292d47;
  border-radius: 0.7em;
  box-shadow: 0 2px 12px rgba(60,60,80,0.12);
  min-width: 180px;
  padding: 0.7em 0.5em;
  z-index: 99;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
}
.nav-dropdown.open .nav-submenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.nav-submenu li {
  margin: 0.3em 0;
}
.nav-submenu a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  padding: 0.3em 1em;
  display: block;
  border-radius: 0.4em;
  transition: background 0.2s;
}
.nav-submenu a:hover {
  background: #6c63ff;
}
@media (max-width: 900px) {
  .nav-list {
    flex-direction: column;
    gap: 0.5em;
    background: none !important;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    border-radius: 0 0 1em 1em;
    box-shadow: none;
    padding: 1.2em 0.5em;
    display: none;
  }
  .main-nav.open .nav-list {
    display: flex;
    background: #23263a !important;
    box-shadow: 0 4px 24px rgba(60,60,80,0.12);
  }
  .nav-toggle {
  display: block;
  position: fixed;
  top: 0.7em;
  right: 1.2em;
  left: auto;
  z-index: 200;
  }
  .nav-item.nav-contact {
    margin-top: 0.7em;
  }
  .nav-dropdown .nav-title {
    padding: 0.7em 0.5em;
    font-size: 1.1em;
  }
}
/* Frase destaque capa */
.capa-quote-rev {
  background: linear-gradient(90deg, #6c63ff 0%, transparent,100%);
  box-shadow: 0 2px 16px 0 rgba(60,60,80,0.08);
  border-radius: 1.2em;
  padding: 1.5em 2em 1.2em 2em;
  margin: 0.5em 0 0.5em 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.6em;
  color: #ffffff;
  position: relative;
  border-left: 6px solid #6c63ff;
  margin-bottom: 0.5em;
  text-align: left;
  max-width: 520px;
}
.quote-icon {
  position: absolute;
  left: 1em;
  top: 1em;
  font-size: 2em;
  color: #e3e6f5;
  opacity: 0.7;
}
.quote-text {
  display: block;
  margin-left: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.35;
}
.quote-author {
  display: block;
  margin-left: 1.5em;
  font-size: 1em;
  opacity: 0.8;
  color: #ffffff;
  font-style: italic;
}
section.cover.page#capa, section.cover.page[id="capa"] {
  min-height: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
}
.capa-hero {
  min-height: 100vh;
  height: 100%;
  width: 100%;
  margin: 0;
  border-radius: 0;
}
/* CAPA HERO MODERNA */
.capa-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44,44,66,0.12);
}
.capa-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.capa-img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) blur(1px);
  border-radius: 32px;
}
.capa-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, rgba(44,44,66,0.45) 0%, rgba(108,99,255,0.18) 100%);
  border-radius: 32px;
  z-index: 2;
}
.capa-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5em 1.5em;
  color: #fff;
  text-align: center;
}
.capa-logo {
  height: 70px;
  vertical-align: middle;
  margin-bottom: 0.5em;
}
.capa-titulo {
  font-size: 2.2em;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 0.5em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(44,44,66,0.18);
}
.capa-lead {
  font-size: 1.8em;
  margin-bottom: 1.2em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(44,44,66,0.10);
}
.badge-hero, .badge-hero2 {
  background: linear-gradient(90deg, #6c63ff 0%, #23263a 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  border-radius: 18px;
  padding: 0.5em 1.2em;
  margin-bottom: 1em;
  box-shadow: 0 2px 8px rgba(44,44,66,0.10);
}
.badge-hero2 {
  background: linear-gradient(90deg, #23263a 0%, #6c63ff 100%);
  margin-bottom: 1.5em;
}
.capa-frase {
  margin-top: 1.5em;
  font-size: 1.08em;
  color: #fff;
  opacity: 0.92;
  text-shadow: 0 1px 8px rgba(44,44,66,0.10);
}
@media (max-width: 900px) {
  .capa-hero {
    min-height: 220px;
    border-radius: 18px;
    padding: 0.5em;
  }
  .capa-content {
    padding: 1.2em 0.5em;
  }
  .capa-titulo {
    font-size: 1.3em;
  }
  .capa-logo {
    height: 44px;
  }
}
/* Header contato e redes sociais */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 2vw;
}
.header-contact {
  display: flex;
  gap: 1.2em;
  align-items: center;
  font-size: 1em;
}
.header-contact .contact-item a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-icon {
  width: 28px;
  height: 3px;
  background: #fff;
  display: block;
  position: relative;
}
.menu-icon::before, .menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}
.menu-icon::before {
  top: -8px;
}
.menu-icon::after {
  top: 8px;
}
@media (max-width: 900px) {
  .header-contact {
    display: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    background: #23263a;
    z-index: 100;
    flex-direction: column;
    padding: 2em 0;
  }
  .main-nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}
/* Garante que cada linha da tabela se ajuste ao conteúdo */
.cover-mapa-table .cover-col {
  vertical-align: top;
}
/* Responsivo para tabela de capa/vivências */
.cover-mapa-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 32px 24px;
  table-layout: fixed;
}
.cover-mapa-table .cover-col {
  width: 50%;
  vertical-align: top;
}
@media (max-width: 900px) {
  .cover-mapa-table,
  .cover-mapa-table tbody,
  .cover-mapa-table tr {
    display: block;
    width: 100%;
  }
  .cover-mapa-table .cover-col {
    display: block;
    width: 100% !important;
    margin-bottom: 32px;
  }
}
/* Todas as seções principais mais largas e responsivas */
.page {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (max-width: 1200px) {
  .page {
    max-width: 98vw;
    padding-left: 2vw;
    padding-right: 2vw;
  }
}
/* Layout para capa + mapa personalizado lado a lado, responsivo e amplo */
.cover-mapa-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 3vw;
  width: 100%;
  justify-content: center;
}
.cover-mapa-flex > section {
  flex: 1 1 1200px;
  min-width: 420px;
  box-sizing: border-box;
}
@media (max-width: 1200px) {
  .cover-mapa-flex > section {
    flex: 1 1 100%;
  }
  .cover-mapa-flex {
    gap: 0;
  }
}
/* Rodapé */
.rodape {
  background: #23263a;
  color: #ffffff;
  text-align: center;
  padding: 32px 0;
  background: transparent;
  border-radius: 18px;
}
.rodape-texto {
  color: #ffffff !important;
}
/* Card Human Design */
.hd-badge {
  margin-bottom: 2.5rem;
}
.hd-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 2em;
  color: #23263a;
  font-weight: 700;
  margin-bottom: 1.2em;
  letter-spacing: -1px;
}
.hd-paragrafo {
  font-size: 1.15em;
  color: #23263a;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  margin-bottom: 1.2em;
}
.hd-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em 0;
}
.hd-item {
  margin-bottom: 0.8em;
  font-size: 1.08em;
  color: #3a3d5c;
  background: #e9eaf6;
  border-radius: 8px;
  padding: 0.7em 1.1em;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
}
.hd-bullet {
  color: #6c63ff;
  font-weight: 600;
  margin-right: 8px;
}
.hd-destaque {
  font-size: 1.13em;
  color: #23263a;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  background: #f5f6fb;
  border-radius: 10px;
  padding: 1.1em 1em;
  box-shadow: 0 2px 8px rgba(35,38,8,0.06);
}
.hd-destaque-strong {
  color: #6c63ff;
  font-weight: 700;
}
/* Card Sobre Mim */
.sobre-badge {
  margin-bottom: 2.5rem;
}
.sobre-flex {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
  width: 100%;
}
.sobre-textos {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sobre-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 2em;
  color: #23263a;
  font-weight: 700;
  margin-bottom: 1.2em;
  letter-spacing: -1px;
  text-align: center;
}
.sobre-paragrafo {
  font-size: 1.15em;
  color: #23263a;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  margin-bottom: 1em;
  word-break: break-word;
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .sobre-paragrafo {
    font-size: 1em;
    width: 100%;
    max-width: none;
    white-space: normal;
    word-break: break-word;
    padding-left: 0.5em;
    padding-right: 0.5em;
    box-sizing: border-box;
  }
}
.sobre-foto {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sobre-img {
  width: 320px;
  height: 380px;
  object-fit: cover;
  border-radius: 20%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border: 4px solid #fff;
  background: #f7f7f7;
}
.sobre-destaque {
  font-size: 1.15em;
  color: #23263a;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  background: #f5f6fb;
  border-radius: 10px;
  padding: 1.1em 1em;
  box-shadow: 0 2px 8px rgba(35,38,58,0.06);
  margin-bottom: 0;
}
/* Card de Vivências (Dores Comuns) */
.vivencias-badge {
  margin-bottom: 2.5rem;
}
.vivencias-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 2.1em;
  color: #23263a;
  font-weight: 700;
  margin-bottom: 1.2em;
  letter-spacing: -1px;
}
.vivencias-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 2em 0;
}
.vivencias-item {
  margin-bottom: 1em;
  font-size: 1.15em;
  color: #3a3d5c;
  background: #e9eaf6;
  border-radius: 8px;
  padding: 0.8em 1.2em;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
}
.vivencias-bullet {
  color: #6c63ff;
  font-weight: 600;
  margin-right: 8px;
}
.vivencias-explicativo {
  margin-top: 1.5em;
  font-size: 1.18em;
  color: #23263a;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  background: #f5f6fb;
  border-radius: 10px;
  padding: 1.2em 1em;
  box-shadow: 0 2px 8px rgba(35,38,58,0.06);
}
.vivencias-destaque {
  color: #6c63ff;
  font-weight: 700;
}
.vivencias-destaque2 {
  color: #23263a;
  font-weight: 600;
}
/* Cards de produtos */
.produtos-lista {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.produto-card {
  flex: 1 1 280px;
  max-width: 340px;
  min-width: 220px;
  box-sizing: border-box;
  background: transparent;
  box-shadow: 0 2px 12px rgba(35,38,58,0.08);
  border-radius: 14px;
  padding: 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.produto-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35em;
  color: #23263a;
  font-weight: 700;
  margin-bottom: 1em;
  text-align: center;
}
.produto-desc {
  font-size: 1.08em;
  color: #3a3d5c;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1.2em;
}
.produto-btn {
  display: inline-block;
  margin-top: auto;
  padding: 10px 22px;
  background: #6c63ff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(35,38,58,0.10);
  transition: background 0.2s;
}
.produto-btn:hover {
  background: #4158d0;
}
/* Card elegante para formulários principais */
.card-elegante {
  background: linear-gradient(135deg, #f7f8fa 60%, #e3e6f5 100%);
  box-shadow: 0 6px 32px rgba(35,38,58,0.10);
  border-radius: 18px;
  padding: 2rem 2rem;
  max-width: 1200px;
  margin: auto;
}
/* Card de destaque sobreposto na capa */
.destaque-capa {
  position: absolute;
  bottom: 32px;
  right: -24px;
  width: 340px;
  background: linear-gradient(120deg, #6e79ff 80%, #c7b7ff 100%);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0002;
  padding: 24px 28px;
  font-family: 'Playfair Display', serif;
  font-size: 1.15em;
  font-weight: 600;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 120px;
}
.destaque-frase {
  line-height: 1.5;
  text-align: left;
}
@media (max-width: 1200px) {
  .destaque-capa {
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
    position: static;
    width: 100%;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
    margin: 24px 0 0 0;
    right: 0;
    top: 0;
    font-size: 1em;
    box-shadow: 0 2px 12px #0001;
  }
}
/* Menu agrupado: Gere seu mapa */
.fixed-header nav .menu-group {
  position: relative;
  display: inline-block;
}
.fixed-header nav .menu-group-title {
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff !important;
  transition: background .2s, color .2s;
  user-select: none;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1.2;
}
.fixed-header nav .menu-group-title:hover {
  background: var(--ring);
  color: var(--brand);
}
.fixed-header nav .menu-group-list {
  display: none;
  position: absolute;
  left: 0;
  top: 110%;
  min-width: 180px;
  background: #23263a !important;
  box-shadow: 0 8px 24px rgba(17,24,39,.10);
  border-radius: 12px;
  padding: 8px 0;
  z-index: 200;
}
.fixed-header nav .menu-group:hover .menu-group-list,
.fixed-header nav .menu-group:focus-within .menu-group-list {
  display: block;
}
.fixed-header nav .menu-group-list a {
  display: block;
  padding: 10px 22px;
  color: #fff !important;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0;
  transition: background .2s, color .2s;
}
.fixed-header nav .menu-group-list a:hover {
  background: var(--ring);
  color: var(--brand);
}
/* Cabeçalho fixo Guided */
.fixed-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20,22,40,0.8);
  color: #fff;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  min-height: 64px;
  border-bottom: none;
}
.fixed-header .logo img {
  height: 40px;
  margin-right: 8px;
}
.fixed-header nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.fixed-header nav a {
  color: #fff !important;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.fixed-header nav a:hover {
  background: var(--ring);
  color: var(--brand);
}
main.book {
  margin-top: 80px;
}
/* Remover bordas do resultado do mapa personalizado e de relacionamento */
#mapa-resultado, #mapa-resultado img, #mapa-resultado table, #mapa-resultado th, #mapa-resultado td,
#relacionamento-resultado, #relacionamento-resultado img, #relacionamento-resultado table, #relacionamento-resultado th, #relacionamento-resultado td {
  border: none !important;
  box-shadow: none !important;
}
/* Cosmic e layout Guided - O caminho do amor */
:root{
  --brand:#6e79ff;
  --brand-2:#a56bff;
  --ink:#111827;
  --muted:#5b6472;
  --paper:#ffffff;
  --bg-url:url('https://images.unsplash.com/photo-1503264116251-35a269479413?q=80&w=1600&auto=format&fit=crop');
  --ring:rgba(110,121,255,.18);
}
html,body{height:100%;}
body{
  margin:0; color:var(--ink); background:#0b0f1a;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
.cosmic-bg{
  position:fixed; inset:0; z-index:-2; pointer-events:none; opacity:.9;
  background:
    radial-gradient(1200px 1200px at 85% 10%, rgba(165,107,255,.16), transparent 60%),
    radial-gradient(1000px 800px at 10% 20%, rgba(110,121,255,.14), transparent 60%),
    radial-gradient(900px 900px at 50% 100%, rgba(255,255,255,.06), transparent 70%),
    #070a14;
}
.cosmic-bg::after{
  content:""; position:absolute; inset:0; mix-blend-mode:screen; opacity:.35;
  background-image: var(--bg-url);
  background-size:cover; background-position:center; filter:contrast(120%) saturate(110%);
}
.stars{position:fixed; inset:0; z-index:-1; background-image:radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.4) 40%, transparent 41%),
                                               radial-gradient(1.5px 1.5px at 70% 60%, rgba(255,255,255,.35) 40%, transparent 41%),
                                               radial-gradient(1.8px 1.8px at 40% 80%, rgba(255,255,255,.25) 40%, transparent 41%),
                                               radial-gradient(1px 1px at 85% 40%, rgba(255,255,255,.25) 40%, transparent 41%);
  background-repeat:no-repeat; opacity:.6; pointer-events:none;}
.book{ max-width:100%; margin:auto; padding:40px 28px 120px; }
.cover{
  position:relative; display:grid; grid-template-columns:1.1fr .9fr; gap:24px; align-items:center;
  color:#23263a;
}
.cover .badge{ display:inline-flex; align-items:center; gap:.6rem; padding:.4rem .7rem; border:1px solid rgba(255,255,255,.25); border-radius:999px; font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; opacity:.9;}
.cover h1{ font-family:"Playfair Display", serif; font-weight:800; font-size: clamp(34px, 6vw, 70px); line-height:1.05; margin:.35em 0 .25em; }
.cover p.lead{ font-size: clamp(16px, 2.1vw, 20px); color:#fff; max-width:45ch;}
.cover .glass{ background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06)); border:1px solid rgba(255,255,255,.18); border-radius:20px; padding:22px; backdrop-filter:blur(10px)}
.constellation{ aspect-ratio:1/1; border-radius:24px; position:relative; overflow:hidden; background:radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.14), rgba(255,255,255,.02) 60%, transparent 70%);
  box-shadow:0 20px 60px rgba(0,0,0,.45), inset 0 0 120px rgba(165,107,255,.14);
}
.meta{ display:flex; flex-wrap:wrap; gap:10px 16px; margin-top:18px; font-size:.95rem }
.chip{ background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); color:#eaf; padding:.45rem .75rem; border-radius:999px }
.page{ background:transparent; border-radius:0; box-shadow:none;
  padding:20px clamp(20px, 4vw, 60px); margin:20px 0; position:relative; }
.page h2{ font-family:"Playfair Display", serif; font-size: clamp(26px, 3.2vw, 40px); margin:.2em 0 .6em; }
.page h3{ font-family:"Playfair Display", serif; font-size: clamp(20px, 2.2vw, 28px); margin:1.2em 0 .5em; }
.page p{ line-height:1.7; color:#23263a; }
.grid{ display:grid; gap:24px; }
.card{ border:1px solid #e6e8ef; border-radius:16px; padding:22px; background:#fff; box-shadow:0 5px 18px rgba(17,24,39,.06);} 
.card h4{ margin:.2em 0 .5em; font-size:1.05rem; text-transform:uppercase; letter-spacing:.08em; color:#475569}
.divider{ height:1px; background:linear-gradient(90deg, transparent, var(--ring), transparent); margin:18px 0 8px; }
.toc ol{ counter-reset: item; list-style:none; padding:0; margin:0; }
.toc li{ counter-increment: item; padding:10px 0; border-bottom:1px dashed #e8ebf3; display:flex; align-items:baseline; gap:12px; }
.toc li a{ text-decoration:none; color:#0f172a; flex:1; }
.toc li::before{ content: counters(item, '.') '. '; color:var(--brand); font-weight:600; }
.cols{ columns:2 280px; column-gap:40px; }
.pill{ display:inline-block; padding:.25rem .6rem; background:rgba(110,121,255,.12); color:#334155; border:1px solid rgba(110,121,255,.25); border-radius:999px; font-size:.8rem; letter-spacing:.06em; text-transform:uppercase }
.tags{ display:flex; flex-wrap:wrap; gap:10px }
.side-index{ position:sticky; top:16px; margin-top:8px; display:flex; flex-direction:column; gap:8px }
.side-index a{ text-decoration:none; font-size:.86rem; color:#475569; padding:8px 12px; border-radius:999px; border:1px solid #e6e8ef }
@page{ size:A4; margin:16mm; }
@media print{
  body{ background:#fff; }
  .cosmic-bg,.stars{ display:none !important; }
  .book{ padding:0; }
  .cover{ color:#0b0f1a; min-height:auto; display:block; }
  .cover .constellation{ display:none; }
  .page{ box-shadow:none; margin:0; border-radius:0; page-break-after:always; }
  .no-break{ page-break-after:avoid; }
  .only-screen{ display:none !important; }
  .page-number::after{ counter-increment: page; content: counter(page); }
  .toc a::after{ content: leader('.') target-counter(attr(href), page); float:right; }
}
.muted{ color:var(--muted) }
.kicker{ letter-spacing:.1em; text-transform:uppercase; color:#475569; font-size:.8rem }
.big{ font-size: clamp(30px, 4.5vw, 54px); line-height:1.15; }
.accent{
  color:#bfcaff;
  text-shadow: 0 2px 12px #23263a99;
}
.accent2{ color:var(--brand-2) }
.center{ text-align:center }
.wrap{ max-width:75ch }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace }
.note{ background:#f8f9ff; border:1px solid #e5e7ff; padding:14px 16px; border-radius:12px; }
.timeline{ position:relative; padding-left:24px }
.timeline::before{ content:""; position:absolute; left:8px; top:4px; bottom:4px; width:2px; background:linear-gradient(var(--brand), var(--brand-2)); border-radius:2px }
.timeline .step{ position:relative; margin:16px 0; }
.timeline .step::before{ content:""; position:absolute; left:-20px; top:6px; width:12px; height:12px; border-radius:50%; background:#fff; border:3px solid var(--brand); box-shadow:0 0 0 4px rgba(110,121,255,.14) }
.ring{
  --s:120px; width:var(--s); height:var(--s); border-radius:50%; display:grid; place-items:center;
  background:radial-gradient(circle at 30% 30%, rgba(110,121,255,.25), transparent 60%), #fff;
  border:1px solid #e6e8ef; box-shadow:inset 0 0 24px rgba(110,121,255,.14), 0 10px 24px rgba(17,24,39,.06);
}
body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

header {
  background: #2d2d2d;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav a {
  color: #fff;
  margin-left: 1rem;
  text-decoration: none;
  transition: color 0.3s;
}
nav a:hover {
  color: #6c63ff;
  background: rgba(108,99,255,0.18);
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #ffcc70, #c850c0, #4158d0);
  color: #fff;
}
.hero h1 {
  font-size: 2.5rem;
}
.hero p {
  font-size: 1.2rem;
  margin-top: 1rem;
}

.section {
  padding: 3rem 2rem;
  text-align: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}
.form-group {
  margin-bottom: 1rem;
}
label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3rem;
}
input {
  width: 100%;
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}
button {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background: #4158d0;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: transparent;
}

.resultado {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#local-fallback {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: #e63946;
}
.hidden {
  display: none;
}

footer {
  background: #2d2d2d;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}

.mapa-stats-chart.horizontal { margin-bottom: 2em; }
.mapa-stats-bars-horizontal { display: flex; flex-direction: column; gap: 0.7em; align-items: stretch; width: 100%; }
.mapa-stats-bar-horizontal { display: flex; align-items: center; gap: 0.7em; min-height: 32px; }
.mapa-stats-bar-label-horizontal-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 38px;
  height: 2.1em;
  padding-right: 0.3em;
}
.mapa-stats-bar-label-horizontal {
  font-size: 1em;
  color: #23263a;
  font-weight: 600;
  text-align: center;
  /* white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */
}
.mapa-stats-bar-inner-horizontal {
  height: 2.1em;
  border-radius: 8px;
  background: linear-gradient(90deg,#6c63ff 60%,#00c3ff 100%);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px #6c63ff22;
  transition: width 0.3s, background 0.3s, box-shadow 0.3s;
  position: relative;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
}
.mapa-stats-bar-inner-horizontal.destaque { box-shadow: 0 2px 12px #ffb70055; background: linear-gradient(90deg,#ffb700 60%,#ff6c63 100%) !important; }
.mapa-stats-bar-label-inside {
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  margin-left: auto;
  margin-right: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
  position: relative;
  background: none !important;
}
/* Removido bloco duplicado de .mapa-stats-bar-inner-horizontal para evitar conflito de estilos */
.mapa-stats-bar-value {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 1em;
  color: #fff;
  background: none;
  font-weight: 700;
  z-index: 2;
  white-space: nowrap;
  min-width: 2ch;
  text-align: right;
}
@media (max-width: 900px) { .mapa-stats-bar-label-horizontal { min-width: 24px; font-size: 0.95em; } .mapa-stats-bar-inner-horizontal { height: 1.5em; } }
/* Composite SVG Styles */
.composite-svg-flex {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2.5em;
  margin: 2em 0 2em 0;
  flex-wrap: wrap;
}
.composite-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
  max-width: 220px;
}
.composite-person-label {
  font-weight: 600;
  margin-bottom: 0.4em;
  color: #6c63ff;
  text-align: center;
  font-size: 1.08em;
}
.composite-person-img {
  max-width: 180px;
  border-radius: 14px;
  box-shadow: 0 0px 12px #0002;
  border: none;
  background: #fff;
}
.composite-mandala {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  max-width: 260px;
}
.composite-mandala-img {
  max-width: 220px;
  border-radius: 14px;
  box-shadow: 0 0px 12px #0002;
  border: none;
  background: #fff;
}
@media (max-width: 900px) {
  .composite-svg-flex {
    flex-direction: column;
    gap: 1.5em;
    align-items: center;
  }
  .composite-person, .composite-mandala {
    min-width: 0;
    max-width: 98vw;
  }
  .composite-person-img, .composite-mandala-img {
    max-width: 98vw;
  }
}