/* Caos Que Enriquece — estilos do site estático.
   Cores, tipografia e classes utilitárias (.gold-text, .grid-pattern, .prose-cqe,
   .animate-float) copiados fielmente de src/app/globals.css do projeto original. */

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f7f9f9;
  color: #0f2a2f;
}

.font-display {
  font-family: '"Playfair Display"', Georgia, serif;
}

/* ---------- Texto e conteúdo de artigos/páginas legais ---------- */
.prose-cqe h2 {
  font-family: '"Playfair Display"', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 600;
  color: #083d46;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose-cqe h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #083d46;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-cqe p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  font-size: 1.075rem;
  color: #223f44;
}

.prose-cqe ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.prose-cqe ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  line-height: 1.7;
  color: #223f44;
}

.prose-cqe ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #d4af37, #f57c00);
}

.prose-cqe blockquote {
  border-left: 4px solid #d4af37;
  background: #fbf6e6;
  padding: 1.25rem 1.5rem;
  border-radius: 0 1rem 1rem 0;
  margin: 2rem 0;
  font-family: '"Playfair Display"', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #083d46;
}

.prose-cqe strong {
  color: #083d46;
  font-weight: 700;
}

/* ---------- Efeitos de marca ---------- */
.gold-text {
  background: linear-gradient(120deg, #d4af37 0%, #f1dc8a 45%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid-pattern {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ---------- Cabeçalho: sombra ao rolar + ícone hambúrguer animado ---------- */
#site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(4, 34, 40, 0.35);
}

#menu-toggle[aria-expanded="true"] .menu-bar-top {
  transform: translateY(7px) rotate(45deg);
}
#menu-toggle[aria-expanded="true"] .menu-bar-mid {
  opacity: 0;
}
#menu-toggle[aria-expanded="true"] .menu-bar-bot {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Calculadoras (Ferramentas) ---------- */
#ci-chart .ci-bar {
  flex: 1 1 auto;
  min-width: 3px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #d4af37, #145a64);
}

.ef-profile-btn[aria-pressed="true"] {
  border-color: #2e7d32;
  background-color: #e6f2e7;
}

/* ---------- Utilidades gerais ---------- */
img {
  max-width: 100%;
  height: auto;
}
