.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 72px);
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  -webkit-filter: blur(4px);
  transform: scale(1.05);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-video--fade-in {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.hero-vignette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
  pointer-events: none;
  z-index: 0;
}

/* Fallback when video can't play */
.hero--no-video {
  background: radial-gradient(ellipse at 60% 40%, #0e1f38 0%, #050c1a 60%, #000 100%);
}

.hero--no-video .hero-video {
  display: none;
}


.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: all;
  width: 92%;
  max-width: 800px;
  z-index: 2;
}

[data-anim] {
  opacity: 0;
}

.hero-subtitle[data-anim] {
  animation: heroSlideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero-title[data-anim] {
  animation: heroRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.hero-desc[data-anim] {
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.hero-cta[data-anim] {
  animation: heroFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(0.75rem, 1.05rem, 1.2rem);
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.hero-title {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
}

.hero-desc {
  font-weight: 300;
  font-size: clamp(0.85rem, 1.2rem, 1.4rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-top: 0.25rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s, box-shadow 0.3s, transform 0.2s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}

.hero-btn--primary {
  background: #0d2b4e;
  color: #fff;
  border: 1.5px solid transparent;
  box-shadow: 0 0 24px rgba(13, 43, 78, 0.4);
}

.hero-btn--primary:hover {
  background: #153a63;
  box-shadow: 0 0 36px rgba(13, 43, 78, 0.6);
  transform: translateY(-1px);
}

.hero-btn--ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-btn--ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  transform: translateY(-1px);
}

.hero-btn:active {
  transform: scale(0.96);
}

/* ── Scroll hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  animation: popReveal 0.6s ease 1.2s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: lineGrow 1.8s ease-in-out 1.4s infinite;
}

@keyframes lineGrow {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

@keyframes heroSlideDown {
  0%   { opacity: 0; transform: translateY(-14px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroRise {
  0%   { opacity: 0; transform: translateY(28px) scale(0.97); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroFadeUp {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* kept for any other uses */
@keyframes popReveal {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
  scroll-margin-top: 80px;
}

.section-inner {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  border-radius: 2px;
}

.sobre .section-title::after {
  background: #b87333;
}

.missao .section-title::after {
  background: #d4875e;
}

.fontes .section-title::after {
  background: #d4a06a;
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 400;
}

.section-text strong {
  font-weight: 700;
}

.highlight {
  background: none;
  font-weight: 500;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}

.sobre {
  background: linear-gradient(180deg, #f5f0eb 0%, #ece6dc 100%);
  color: #1a1a2e;
}

.sobre .highlight {
  color: #b87333;
  border-bottom-color: #b87333;
}

.missao {
  background: linear-gradient(180deg, #0f1a30 0%, #080e1a 100%);
  color: rgba(255, 255, 255, 0.88);
}

.missao .highlight {
  color: #d4875e;
  border-bottom-color: #d4875e;
}

.fontes {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(135deg, #0f1f2e, #162a3a, #0f1f2e, #1a3040);
  background-size: 400% 400%;
  animation: gradShift 12s ease infinite;
  overflow: hidden;
}

.fontes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 50%, rgba(212, 135, 94, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(180, 115, 51, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.fontes .highlight {
  color: #d4a06a;
  border-bottom-color: #d4a06a;
}

.capitulo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.capitulo-content {
  display: none;
  width: 100%;
  color: rgba(255, 255, 255, 0.92);
  min-height: 60vh;
  padding: 5rem 1.5rem;
}

.capitulo-content.active {
  display: block;
  animation: chapterFadeIn 0.4s ease;
}

.capitulo-content[data-chapter="1"] {
  background: linear-gradient(180deg, #2d1b0e 0%, #1a0f06 100%);
}

.capitulo-content[data-chapter="1"] .capitulo-badge {
  color: #e8954c;
}

.capitulo-content[data-chapter="1"] .capitulo-title {
  color: #f5d6b8;
}

.capitulo-content[data-chapter="1"] .capitulo-title::after {
  background: #e8954c;
}

.capitulo-content[data-chapter="1"] .capitulo-text strong {
  color: #f5d6b8;
}

.capitulo-content[data-chapter="1"] .highlight {
  color: #e8954c;
  border-bottom-color: #e8954c;
  font-weight: 500;
}

.capitulo-content[data-chapter="2"] {
  background: linear-gradient(180deg, #0a2a4a 0%, #061525 100%);
}

.capitulo-content[data-chapter="2"] .capitulo-badge {
  color: #5ba3d9;
}

.capitulo-content[data-chapter="2"] .capitulo-title {
  color: #c4e0f2;
}

.capitulo-content[data-chapter="2"] .capitulo-title::after {
  background: #5ba3d9;
}

.capitulo-content[data-chapter="2"] .capitulo-text strong {
  color: #c4e0f2;
}

.capitulo-content[data-chapter="2"] .highlight {
  color: #5ba3d9;
  border-bottom-color: #5ba3d9;
  font-weight: 500;
}

.capitulo-content[data-chapter="3"] {
  background: linear-gradient(180deg, #3a0a0a 0%, #1a0505 100%);
}

.capitulo-content[data-chapter="3"] .capitulo-badge {
  color: #d94a4a;
}

.capitulo-content[data-chapter="3"] .capitulo-title {
  color: #f2b8b8;
}

.capitulo-content[data-chapter="3"] .capitulo-title::after {
  background: #d94a4a;
}

.capitulo-content[data-chapter="3"] .capitulo-text strong {
  color: #f2b8b8;
}

.capitulo-content[data-chapter="3"] .highlight {
  color: #d94a4a;
  border-bottom-color: #d94a4a;
  font-weight: 500;
}

.capitulo-content[data-chapter="4"] {
  background: linear-gradient(180deg, #0a3a2e 0%, #051f18 100%);
}

.capitulo-content[data-chapter="4"] .capitulo-badge {
  color: #4db896;
}

.capitulo-content[data-chapter="4"] .capitulo-title {
  color: #b8e6d4;
}

.capitulo-content[data-chapter="4"] .capitulo-title::after {
  background: #4db896;
}

.capitulo-content[data-chapter="4"] .capitulo-text strong {
  color: #b8e6d4;
}

.capitulo-content[data-chapter="4"] .highlight {
  color: #4db896;
  border-bottom-color: #4db896;
  font-weight: 500;
}

.capitulo-content[data-chapter="5"] {
  background: linear-gradient(180deg, #4a2a0a 0%, #2a1505 100%);
}

.capitulo-content[data-chapter="5"] .capitulo-badge {
  color: #d4a04a;
}

.capitulo-content[data-chapter="5"] .capitulo-title {
  color: #f0d6a0;
}

.capitulo-content[data-chapter="5"] .capitulo-title::after {
  background: #d4a04a;
}

.capitulo-content[data-chapter="5"] .capitulo-text strong {
  color: #f0d6a0;
}

.capitulo-content[data-chapter="5"] .highlight {
  color: #d4a04a;
  border-bottom-color: #d4a04a;
  font-weight: 500;
}

.capitulo-content[data-chapter="6"] {
  background: linear-gradient(180deg, #111 0%, #000 100%);
}

.capitulo-content[data-chapter="6"] .capitulo-badge {
  color: #888;
}

.capitulo-content[data-chapter="6"] .capitulo-title {
  color: #ccc;
}

.capitulo-content[data-chapter="6"] .capitulo-title::after {
  background: #666;
}

.capitulo-content[data-chapter="6"] .capitulo-text strong {
  color: #ddd;
}

.capitulo-content[data-chapter="6"] .highlight {
  color: #999;
  border-bottom-color: #999;
  font-weight: 500;
}

.capitulo-content[data-chapter="7"] {
  background: linear-gradient(180deg, #120a2e 0%, #2a1808 100%);
}

.capitulo-content[data-chapter="7"] .capitulo-badge {
  color: #b894d4;
}

.capitulo-content[data-chapter="7"] .capitulo-title {
  color: #e0c8a0;
}

.capitulo-content[data-chapter="7"] .capitulo-title::after {
  background: #c9a84c;
}

.capitulo-content[data-chapter="7"] .capitulo-text strong {
  color: #e0c8a0;
}

.capitulo-content[data-chapter="7"] .highlight {
  color: #c9a84c;
  border-bottom-color: #c9a84c;
  font-weight: 500;
}

.capitulo-inner {
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

.capitulo-badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.capitulo-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.capitulo-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  border-radius: 2px;
}

.capitulo-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  line-height: 2;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}

.capitulo-text p {
  margin-bottom: 1.2rem;
}

.capitulo-text strong {
  font-weight: 700;
}

.capitulo-subsection {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chapter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 0 0;
  margin-top: 2.5rem;
}

.chapter-btn {
  padding: 0.65rem 1.8rem;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s, box-shadow 0.3s;
  letter-spacing: 0.03em;
}

.chapter-arrow {
  display: inline-block;
  font-size: 1.3em;
  font-weight: 700;
  transition: transform 0.3s ease;
  line-height: 1;
}

.chapter-prev .chapter-arrow {
  margin-right: 0.1em;
}

.chapter-next .chapter-arrow {
  margin-left: 0.1em;
}

.chapter-btn:hover:not(:disabled) .chapter-arrow {
  transform: translateY(-2px);
}

.chapter-btn:active:not(:disabled) {
  transform: translateY(0);
}

.chapter-btn:hover:not(:disabled) .chapter-arrow {
  transform: translateX(0);
}

.chapter-prev:hover:not(:disabled) .chapter-arrow {
  transform: translateX(-3px);
}

.chapter-next:hover:not(:disabled) .chapter-arrow {
  transform: translateX(3px);
}

.chapter-btn:disabled {
  opacity: 0.18;
  cursor: default;
}

.capitulo-content[data-chapter="1"] .chapter-btn:hover:not(:disabled) {
  background: rgba(232, 149, 76, 0.12);
  border-color: #e8954c;
  color: #e8954c;
  box-shadow: 0 4px 20px rgba(232, 149, 76, 0.15);
}

.capitulo-content[data-chapter="2"] .chapter-btn:hover:not(:disabled) {
  background: rgba(91, 163, 217, 0.12);
  border-color: #5ba3d9;
  color: #5ba3d9;
  box-shadow: 0 4px 20px rgba(91, 163, 217, 0.15);
}

.capitulo-content[data-chapter="3"] .chapter-btn:hover:not(:disabled) {
  background: rgba(217, 74, 74, 0.12);
  border-color: #d94a4a;
  color: #d94a4a;
  box-shadow: 0 4px 20px rgba(217, 74, 74, 0.15);
}

.capitulo-content[data-chapter="4"] .chapter-btn:hover:not(:disabled) {
  background: rgba(77, 184, 150, 0.12);
  border-color: #4db896;
  color: #4db896;
  box-shadow: 0 4px 20px rgba(77, 184, 150, 0.15);
}

.capitulo-content[data-chapter="5"] .chapter-btn:hover:not(:disabled) {
  background: rgba(212, 160, 74, 0.12);
  border-color: #d4a04a;
  color: #d4a04a;
  box-shadow: 0 4px 20px rgba(212, 160, 74, 0.15);
}

.capitulo-content[data-chapter="6"] .chapter-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

.capitulo-content[data-chapter="7"] .chapter-btn:hover:not(:disabled) {
  background: rgba(201, 168, 76, 0.12);
  border-color: #c9a84c;
  color: #c9a84c;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.15);
}

.chapter-dots {
  display: flex;
  gap: 0.5rem;
}

.chapter-dot {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
}

.chapter-dot:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.capitulo-content[data-chapter="1"] .chapter-dot.active {
  background: #e8954c;
  border-color: #e8954c;
  color: #fff;
  box-shadow: 0 2px 12px rgba(232, 149, 76, 0.3);
}

.capitulo-content[data-chapter="2"] .chapter-dot.active {
  background: #5ba3d9;
  border-color: #5ba3d9;
  color: #fff;
  box-shadow: 0 2px 12px rgba(91, 163, 217, 0.3);
}

.capitulo-content[data-chapter="3"] .chapter-dot.active {
  background: #d94a4a;
  border-color: #d94a4a;
  color: #fff;
  box-shadow: 0 2px 12px rgba(217, 74, 74, 0.3);
}

.capitulo-content[data-chapter="4"] .chapter-dot.active {
  background: #4db896;
  border-color: #4db896;
  color: #fff;
  box-shadow: 0 2px 12px rgba(77, 184, 150, 0.3);
}

.capitulo-content[data-chapter="5"] .chapter-dot.active {
  background: #d4a04a;
  border-color: #d4a04a;
  color: #fff;
  box-shadow: 0 2px 12px rgba(212, 160, 74, 0.3);
}

.capitulo-content[data-chapter="6"] .chapter-dot.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.capitulo-content[data-chapter="7"] .chapter-dot.active {
  background: #c9a84c;
  border-color: #c9a84c;
  color: #fff;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
}

@keyframes chapterFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.capitulo-content.active .capitulo-badge,
.capitulo-content.active .capitulo-title,
.capitulo-content.active .capitulo-text p {
  opacity: 0;
  animation: chapterItemIn 0.5s ease forwards;
}

.capitulo-content.active .capitulo-badge {
  animation-delay: 0.05s;
}

.capitulo-content.active .capitulo-title {
  animation-delay: 0.1s;
}

.capitulo-content.active .capitulo-text p:nth-child(1) { animation-delay: 0.2s; }
.capitulo-content.active .capitulo-text p:nth-child(2) { animation-delay: 0.3s; }
.capitulo-content.active .capitulo-text p:nth-child(3) { animation-delay: 0.4s; }
.capitulo-content.active .capitulo-text p:nth-child(4) { animation-delay: 0.5s; }
.capitulo-content.active .capitulo-text p:nth-child(5) { animation-delay: 0.6s; }
.capitulo-content.active .capitulo-text p:nth-child(6) { animation-delay: 0.7s; }
.capitulo-content.active .capitulo-text p:nth-child(7) { animation-delay: 0.8s; }
.capitulo-content.active .capitulo-text p:nth-child(8) { animation-delay: 0.9s; }
.capitulo-content.active .capitulo-text p:nth-child(9) { animation-delay: 1s; }

@keyframes chapterItemIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fontes-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.sobre-fontes {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sobre-fontes-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #b87333;
}

.section-anchor {
  display: block;
  scroll-margin-top: 100px;
}

.fonte-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.55);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.fonte-link:hover {
  background: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
}

@keyframes gradShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.main-content {
  display: flex;
  flex-direction: column;
}


/* ═══════════════════════════════════════════════════════════════
   CUSTOM PROPERTIES — Temas de Cor
   ═══════════════════════════════════════════════════════════════ */
:root {
  --accent-1: #5a7a5a;
  --accent-2: #8aaa7a;
  --accent-3: #6a8a5a;
}

.hero {
    height: calc(100vh - 64px);
  }

  .hero-content {
    gap: 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
  }

  .hero-title {
    max-width: 90%;
  }

  .hero-desc {
    font-size: 0.95rem;
    max-width: 340px;
  }

  .section {
    min-height: 50vh;
    padding: 3rem 1.2rem;
  }

  .section-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }

  .section-text {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .capitulo-content {
    padding: 3rem 1.2rem;
    min-height: 50vh;
  }

  .capitulo-title {
    font-size: 1.6rem;
  }

  .capitulo-text {
    font-size: 1.15rem;
    line-height: 1.85;
  }

  .chapter-nav {
    padding: 1.5rem 0 0;
    margin-top: 1.25rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .chapter-btn {
    padding: 0.45rem 1rem;
    font-size: 0.78rem;
  }

  .chapter-dot {
    width: 30px;
    height: 30px;
    font-size: 0.72rem;
  }


/* ── Progress Bar ── */
.reading-progress {
  position: fixed;
  top: 79px;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 999;
  pointer-events: none;
}

.reading-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #d4875e, #e8954c);
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
}

@media (max-width: 768px) {
  .reading-progress {
    top: 64px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SOBRE PAGE — REDESIGN
═══════════════════════════════════════════════════════════════ */

/* ── Shared Utilities ── */


.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(184, 115, 51, 0.12);
  color: #b87333;
  border: 1px solid rgba(184, 115, 51, 0.25);
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.tag-pill--light {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.15);
}

.mk {
  background: none;
  color: #b87333;
  font-weight: 600;
  border-bottom: 1.5px solid rgba(184, 115, 51, 0.4);
  padding-bottom: 1px;
}

/* ── AOS ── */
[data-aos] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-aos].aos-in {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-22px);
}
[data-aos="fade-right"].aos-in {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(22px);
}
[data-aos="fade-left"].aos-in {
  transform: translateX(0);
}

/* ───────────────────────── HERO ── */
.sobre-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.sobre-hero__bg-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sobre-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.5);
  animation: munHeroPan 20s ease-in-out infinite alternate;
}

.sobre-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.35);
}

.sobre-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sobre-hero__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease 0.1s forwards;
}

.sobre-hero__label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.sobre-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.sobre-hero__title em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #d4875e;
}

.sobre-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
  max-width: 480px;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease 0.45s forwards;
}

@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.sobre-hero__stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease 0.6s forwards;
}

.sobre-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.sobre-stat__num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: #d4875e;
  line-height: 1;
}

.sobre-stat__label {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.sobre-stat__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

.sobre-hero__scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
  opacity: 0;
  animation: scrollBounce 2.5s ease-in-out 1.5s infinite, fadeSlideUp 0.6s ease 0.8s both;
}

.sobre-hero__scroll svg {
  width: 18px;
  height: 18px;
}

.sobre-hero__scroll:hover {
  border-color: #d4875e;
  color: #d4875e;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ───────────────────────── DESCRIÇÃO ── */
.sobre-desc {
  background: linear-gradient(170deg, #f8f3ee 0%, #ede5d8 50%, #f0ebe2 100%);
  color: #1a1208;
  padding: 7rem 1.5rem;
}

.sobre-desc__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sobre-desc__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: #0e0a04;
  margin-bottom: 2rem;
}

.sobre-desc__body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(26, 18, 8, 0.78);
  margin-bottom: 1.2rem;
}

/* ── Card Stack ── */
.sobre-desc__visual-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sobre-desc__card-stack {
  position: relative;
  width: 280px;
  height: 360px;
}

.sobre-card {
  position: absolute;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sobre-card--back {
  width: 240px;
  height: 300px;
  background: linear-gradient(135deg, #1b3255 0%, #0a1628 100%);
  top: 0;
  left: 20px;
  transform: rotate(-6deg) translateY(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.sobre-card--mid {
  width: 250px;
  height: 310px;
  background: linear-gradient(135deg, #b87333 0%, #7a4d20 100%);
  top: 25px;
  left: 10px;
  transform: rotate(-2deg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.sobre-card--front {
  width: 260px;
  height: 320px;
  background: linear-gradient(135deg, #f5ebe0 0%, #ede0cb 100%);
  top: 40px;
  left: 0;
  transform: rotate(2deg);
  box-shadow: 0 24px 70px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.sobre-desc__card-stack:hover .sobre-card--back {
  transform: rotate(-8deg) translateY(14px) translateX(-6px);
}
.sobre-desc__card-stack:hover .sobre-card--mid {
  transform: rotate(-3.5deg) translateY(4px);
}
.sobre-desc__card-stack:hover .sobre-card--front {
  transform: rotate(3deg) translateY(-6px);
}

.sobre-card__year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: rgba(255,255,255,0.9);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.sobre-card__caption {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

.sobre-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(184,115,51,0.1);
  border: 1.5px solid rgba(184,115,51,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b87333;
  margin-bottom: 1.2rem;
}

.sobre-card__icon svg {
  width: 26px;
  height: 26px;
}

.sobre-card__text {
  font-size: 0.92rem;
  color: #3a2210;
  line-height: 1.5;
  text-align: center;
}

.sobre-card__text em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: #b87333;
  display: block;
  margin-top: 0.2rem;
  font-size: 0.88rem;
}

/* ───────────────────────── MISSÃO ── */
.sobre-missao {
  background: linear-gradient(160deg, #080f1e 0%, #0a1628 50%, #060d1c 100%);
  color: rgba(255,255,255,0.88);
  padding: 7rem 1.5rem;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.sobre-missao::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184,115,51,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.sobre-missao__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sobre-missao__header {
  text-align: center;
  margin-bottom: 4rem;
}

.sobre-missao__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: #fff;
  margin-top: 0;
}

.sobre-missao__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.pilar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.pilar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #b87333, #d4875e);
  opacity: 0;
  transition: opacity 0.3s;
}

.pilar:hover {
  background: rgba(255,255,255,0.055);
  border-color: rgba(184,115,51,0.25);
  transform: translateY(-4px);
}

.pilar:hover::before {
  opacity: 1;
}

.pilar__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(184,115,51,0.1);
  border: 1px solid rgba(184,115,51,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4875e;
  margin-bottom: 1.2rem;
}

.pilar__icon svg {
  width: 22px;
  height: 22px;
}

.pilar__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pilar__body {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

/* ── Quote ── */
.sobre-quote {
  border-left: 3px solid #b87333;
  padding: 1.5rem 2.5rem;
  margin: 0 auto;
  max-width: 720px;
  background: rgba(184,115,51,0.05);
  border-radius: 0 12px 12px 0;
}

.sobre-quote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin-bottom: 0.75rem;
}

.sobre-quote cite {
  font-size: 0.78rem;
  font-style: normal;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ───────────────────────── FONTES ── */
.sobre-fontes-sec {
  background: linear-gradient(180deg, #f5f0e8 0%, #ede4d4 100%);
  color: #1a1208;
  padding: 7rem 1.5rem;
  scroll-margin-top: 80px;
}

.sobre-fontes-sec__inner {
  max-width: 820px;
  margin: 0 auto;
}

.sobre-fontes-sec__header {
  margin-bottom: 3.5rem;
}

.sobre-fontes-sec__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: #0e0a04;
  margin-bottom: 0.8rem;
}

.sobre-fontes-sec__sub {
  font-size: 1rem;
  color: rgba(26,18,8,0.58);
  line-height: 1.7;
  max-width: 520px;
}

.fontes-lista {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
}

.fonte-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(26,18,8,0.08);
}

.fonte-item:first-child {
  border-top: 1px solid rgba(26,18,8,0.08);
}

.fonte-item__dot {
  flex-shrink: 0;
  margin-top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b87333;
}

.fonte-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.fonte-item__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1208;
}

.fonte-item__desc {
  font-size: 0.82rem;
  color: rgba(26,18,8,0.5);
}

.fonte-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: #b87333;
  text-decoration: none;
  transition: background 0.2s ease;
  width: fit-content;
}

.fonte-item__btn:hover {
  background: #a0642a;
}

html.dark-mode .fonte-item__btn {
  background: #c97d3a;
}

html.dark-mode .fonte-item__btn:hover {
  background: #d88d4a;
}

.fontes-links-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.fontes-links-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(26,18,8,0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 0.25rem;
}

.fonte-link-ext {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: #fff;
  color: #3a2210;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid rgba(26,18,8,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s, color 0.25s;
}

.fonte-link-ext:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
  border-color: #b87333;
  color: #b87333;
}

/* ───────────────────────── RESPONSIVE ── */
@media (max-width: 900px) {
  .sobre-missao__pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sobre-hero__title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .sobre-hero__stats {
    gap: 1.5rem;
  }

  .sobre-stat__num {
    font-size: 1.6rem;
  }

  .sobre-desc__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sobre-desc__visual-col {
    order: -1;
  }

  .sobre-desc__card-stack {
    width: 240px;
    height: 300px;
  }

  .sobre-card--back  { width: 200px; height: 250px; }
  .sobre-card--mid   { width: 210px; height: 260px; }
  .sobre-card--front { width: 220px; height: 270px; }

  .sobre-missao__pillars {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sobre-quote {
    padding: 1.25rem 1.5rem;
  }

  .sobre-quote p {
    font-size: 1rem;
  }

  .fontes-links-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .sobre-desc,
  .sobre-missao,
  .sobre-fontes-sec {
    padding: 4.5rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .sobre-hero__stats {
    gap: 1rem;
  }

  .sobre-stat__divider {
    height: 30px;
  }

  .sobre-stat__num {
    font-size: 1.35rem;
  }

  .sobre-stat__label {
    font-size: 0.64rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HOME PAGE — DESTAQUES + CTA STRIP
═══════════════════════════════════════════════════════════════ */

/* ── Destaques ── */
.home-destaques {
  background: #000;
  padding: 5rem 1.5rem 5.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.home-destaques__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home-destaques__header {
  margin-bottom: 2.5rem;
}

.home-destaques__kicker {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4875e;
  margin-bottom: 0.5rem;
}

.home-destaques__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  letter-spacing: -0.01em;
}

/* ── Cards ── */
.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.home-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.8rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.home-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #b87333, #d4875e);
  opacity: 0;
  transition: opacity 0.3s;
}

.home-card:hover {
  background: rgba(255,255,255,0.055);
  border-color: rgba(184,115,51,0.3);
  transform: translateY(-4px);
}

.home-card:hover::after {
  opacity: 1;
}

.home-card:hover .home-card__arrow {
  transform: translateX(4px);
  color: #d4875e;
}

.home-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(184,115,51,0.1);
  border: 1px solid rgba(184,115,51,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4875e;
  flex-shrink: 0;
}

.home-card__icon svg {
  width: 20px;
  height: 20px;
}

.home-card__body {
  flex: 1;
}

.home-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.home-card__desc {
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
}

.home-card__arrow {
  align-self: flex-end;
  color: rgba(255,255,255,0.25);
  transition: transform 0.3s, color 0.3s;
  display: flex;
}

.home-card__arrow svg {
  width: 18px;
  height: 18px;
}

/* ── CTA Strip ── */
.home-cta-strip {
  background: linear-gradient(135deg, #0a1628 0%, #0e1f38 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 1.5rem;
}

.home-cta-strip__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.home-cta-strip__text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.home-cta-strip__quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}

.home-cta-strip__label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.06em;
}

.home-cta-strip__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}

.home-cta-strip__btn:hover {
  background: rgba(212,135,94,0.12);
  border-color: #d4875e;
  color: #d4875e;
  transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .home-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .home-card {
    flex-direction: row;
    align-items: flex-start;
  }

  .home-card__body {
    flex: 1;
  }

  .home-card__arrow {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .home-destaques {
    padding: 3.5rem 1.2rem 4rem;
  }

  .home-cta-strip {
    padding: 2.5rem 1.2rem;
  }

  .home-cta-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero-btn {
    padding: 0.65rem 1.3rem;
    font-size: 0.85rem;
  }

  .hero-scroll-hint {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    max-width: 260px;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MUNICÍPIO PAGE — TEMA CLARO
   Sobrescreve o fundo preto global apenas nesta página
═══════════════════════════════════════════════════════════════ */

/* ── Tema claro: sobrescreve body/html para esta página ── */
[data-page="municipio"],
[data-page="municipio"] body {
  background: #f5f4f0;
  color: #1a1a1a;
}

@keyframes mun-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Animações de scroll ── */
[data-mun-anim] {
  opacity: 0;
  transform: translateY(28px);
}

[data-mun-anim][data-mun-slide="left"] {
  transform: translateX(-32px);
}

[data-mun-anim][data-mun-slide="right"] {
  transform: translateX(32px);
}

[data-mun-anim].mun-visible {
  animation: mun-fade-up 0.6s ease-out forwards;
}

[data-mun-anim][data-mun-delay="1"].mun-visible { animation-delay: 0.1s; }
[data-mun-anim][data-mun-delay="2"].mun-visible { animation-delay: 0.2s; }
[data-mun-anim][data-mun-delay="3"].mun-visible { animation-delay: 0.3s; }

/* ── Tag de seção ── */
.mun-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #7a6a50;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.75rem 0.3rem 0.6rem;
  background: rgba(176, 168, 141, 0.12);
  border-radius: 999px;
  border: 1px solid rgba(176, 168, 141, 0.28);
}

.mun-section-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b0a88d;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.mun-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50vh;
}

.mun-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mun-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.5);
  animation: munHeroPan 20s ease-in-out infinite alternate;
}

@keyframes munHeroPan {
  0%   { transform: scale(1) translateX(0); }
  100% { transform: scale(1.08) translateX(-3%); }
}

.mun-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 5, 0.45) 0%,
    rgba(10, 8, 5, 0.25) 50%,
    rgba(10, 8, 5, 0.55) 100%
  );
}

.mun-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mun-hero__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.mun-hero__eyebrow::before,
.mun-hero__eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.mun-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 32px rgba(0,0,0,0.35);
}

.mun-hero__subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 16px rgba(0,0,0,0.25);
  max-width: 520px;
}

/* ─────────────────────────────────────────────
   BANDEIRA
───────────────────────────────────────────── */
.mun-flag-section {
  background: linear-gradient(160deg, #f8f7f3 0%, #f0ede5 100%);
  padding: 5.5rem 1.5rem;
  border-bottom: 1px solid #e4e0d8;
  position: relative;
  overflow: hidden;
}

.mun-flag-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(176,168,141,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.mun-flag-section__inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: center;
}

.mun-flag-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.mun-flag-card__img-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13), 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  border: 3px solid rgba(255,255,255,0.9);
  outline: 1px solid rgba(0,0,0,0.07);
}

.mun-flag-card__img-wrapper:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.mun-flag-card__img {
  display: block;
  width: 260px;
  height: auto;
  border-radius: 7px;
  transition: transform 0.5s ease;
}

.mun-flag-card__img-wrapper:hover .mun-flag-card__img {
  transform: scale(1.03);
}

.mun-flag-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7a6a50;
  background: rgba(176, 168, 141, 0.15);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(176, 168, 141, 0.25);
}

.mun-flag-info {
  display: flex;
  flex-direction: column;
}

.mun-flag-info__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #0d0d0d;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}

.mun-flag-info__desc {
  font-size: 0.92rem;
  line-height: 1.85;
  color: #333;
  margin-bottom: 1.8rem;
  max-width: 460px;
}

.mun-flag-info__items {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mun-flag-info__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: #3a3a3a;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.05);
}

.mun-flag-info__item-icon {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* ─────────────────────────────────────────────
   HINO
───────────────────────────────────────────── */
.mun-hino-section {
  background: #fff;
  padding: 5rem 1.5rem 6rem;
}

.mun-hino-section__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mun-hino-header {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
}

.mun-hino-header__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  color: #0d0d0d;
  margin-bottom: 1.8rem;
  letter-spacing: -0.01em;
}

.mun-hino-header__credits {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.mun-hino-credit {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}

.mun-hino-credit__role {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #666;
}

.mun-hino-credit__name {
  font-size: 0.83rem;
  color: #333;
  line-height: 1.6;
}

.mun-hino-credit-sep {
  width: 1px;
  height: 34px;
  background: #e0e0e0;
  align-self: center;
}

/* ── Player ── */
.mun-player {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: linear-gradient(135deg, #f7f5f0 0%, #eeeae0 100%);
  border: 1px solid #ddd8cc;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin: 1.8rem 0 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.mun-player__play-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #2a2a2a, #111);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding-left: 2px;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.mun-player__play-btn:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #3a3a3a, #222);
  box-shadow: 0 5px 16px rgba(0,0,0,0.28);
}

.mun-player__play-btn:active {
  transform: scale(0.94);
}

.mun-player__play-btn.is-playing {
  padding-left: 0;
  animation: munRingPulse 2s ease-in-out infinite;
}

@keyframes munRingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.15); }
  50%       { box-shadow: 0 0 0 7px rgba(0, 0, 0, 0); }
}

.mun-player__timeline {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mun-player__time {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  color: #555;
  min-width: 26px;
}

.mun-player__progress-wrap {
  flex: 1;
  padding: 8px 0;
  cursor: pointer;
}

.mun-player__progress-bg {
  position: relative;
  height: 3px;
  background: #d5d0c4;
  border-radius: 3px;
  overflow: visible;
  transition: height 0.15s ease;
}

.mun-player__progress-wrap:hover .mun-player__progress-bg {
  height: 4px;
}

.mun-player__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-radius: 3px;
  transition: width 0.1s linear;
}

.mun-player__progress-dot {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%) scale(0);
  width: 11px;
  height: 11px;
  background: var(--accent-1);
  border-radius: 50%;
  transition: transform 0.18s ease, left 0.1s linear;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.mun-player__progress-wrap:hover .mun-player__progress-dot {
  transform: translate(-50%, -50%) scale(1);
}

.mun-player__volume {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.mun-player__vol-btn {
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.mun-player__vol-btn:hover {
  color: #333;
}

.mun-player__vol-wrap {
  width: 60px;
  padding: 8px 0;
  cursor: pointer;
}

.mun-player__vol-bg {
  height: 3px;
  background: #d5d0c4;
  border-radius: 3px;
  position: relative;
}

.mun-player__vol-fill {
  height: 100%;
  background: linear-gradient(90deg, #8a7a5a, #b0a080);
  border-radius: 3px;
  transition: width 0.05s linear;
}

/* ── Estrofes ── */
.mun-hino-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mun-hino-stanza {
  padding: 1.8rem 0.25rem;
  border-top: 1px solid #ebebeb;
}

.mun-hino-stanza:last-child {
  border-bottom: 1px solid #ebebeb;
}

.mun-hino-stanza p {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 2;
  color: #1a1a1a;
  font-weight: 400;
  margin: 0;
}

.mun-hino-refrao {
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  background: linear-gradient(135deg, #f0ede6, #ebe7dc);
  border-radius: 10px;
  border-left: 3px solid #b0a88d;
  margin: 0.6rem 0;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.mun-hino-refrao__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #7a6a50;
  margin-bottom: 0.8rem;
  background: rgba(176,168,141,0.18);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

.mun-hino-refrao__badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b0a88d;
}

.mun-hino-refrao p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 2.1;
  color: #2a2218;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 820px) {
  .mun-flag-section__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .mun-flag-card {
    align-items: center;
  }

  .mun-flag-info {
    align-items: center;
  }

  .mun-flag-info__desc {
    max-width: 100%;
  }

  .mun-flag-info__items {
    align-items: flex-start;
    max-width: 260px;
    margin: 0 auto;
  }

  .mun-hino-credit {
    text-align: center;
  }

  .mun-hino-credit-sep {
    display: none;
  }
}

@media (max-width: 520px) {
  .mun-hero {
    padding: 3.5rem 1.2rem 3rem;
    min-height: 40vh;
  }

  .mun-flag-card__img {
    width: 200px;
  }

  .mun-hino-section {
    padding: 3.5rem 1.1rem 5rem;
  }

  .mun-hino-stanza p {
    font-size: 1rem;
    line-height: 2;
  }

  .mun-player__vol-wrap {
    width: 44px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MUNICÍPIO — ASPECTOS GEOGRÁFICOS E CLIMA
═══════════════════════════════════════════════════════════════ */

.mun-geo-section {
  padding: 5.5rem 1.5rem 6rem;
  background: linear-gradient(180deg, #f8f7f3 0%, #f2f0ea 100%);
  border-top: 1px solid #e8e4dc;
}

.mun-geo-section__inner {
  max-width: 960px;
  margin: 0 auto;
}

.mun-geo-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mun-geo-header__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  margin-top: 0.5rem;
}

.mun-geo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mun-geo-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 6px 24px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.mun-geo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #b0a88d, #d4c9ae);
}

.mun-geo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07), 0 16px 48px rgba(0,0,0,0.1);
  transition-delay: 0s !important;
}

.mun-geo-card--location::before {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}

.mun-geo-card--terrain::before {
  background: linear-gradient(90deg, #8a7a5a, #b0a080);
}

.mun-geo-card--hydro::before {
  background: linear-gradient(90deg, #4a7a9a, #6a9aba);
}

.mun-geo-card--coords::before {
  background: linear-gradient(90deg, #6a5a7a, #9a8aaa);
}

.mun-geo-card--climate::before {
  background: linear-gradient(90deg, #b07a4a, #daa060);
}

.mun-geo-card--rain::before {
  background: linear-gradient(90deg, #4a6a7a, #6a9aaa);
}

.mun-geo-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  background: rgba(90, 122, 90, 0.09);
  flex-shrink: 0;
  border: 1px solid rgba(90, 122, 90, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mun-geo-card:hover .mun-geo-card__icon {
  background-color: rgba(90, 122, 90, 0.15);
}

.mun-geo-card--terrain .mun-geo-card__icon {
  color: #7a6040;
  background: rgba(122, 96, 64, 0.09);
  border-color: rgba(122, 96, 64, 0.12);
}

.mun-geo-card--hydro .mun-geo-card__icon {
  color: #3a6a8a;
  background: rgba(58, 106, 138, 0.09);
  border-color: rgba(58, 106, 138, 0.12);
}

.mun-geo-card--coords .mun-geo-card__icon {
  color: #6a4a7a;
  background: rgba(106, 74, 122, 0.09);
  border-color: rgba(106, 74, 122, 0.12);
}

.mun-geo-card--climate .mun-geo-card__icon {
  color: #9a5a20;
  background: rgba(154, 90, 32, 0.09);
  border-color: rgba(154, 90, 32, 0.12);
}

.mun-geo-card--rain .mun-geo-card__icon {
  color: #2a5a6a;
  background: rgba(42, 90, 106, 0.09);
  border-color: rgba(42, 90, 106, 0.12);
}

.mun-geo-card__icon svg {
  width: 18px;
  height: 18px;
}

.mun-geo-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.mun-geo-card__tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  color: #666;
}

/* Accent tag styles */
.mun-geo-card--location .mun-geo-card__tag {
  color: var(--accent-1);
  background: rgba(90, 122, 90, 0.08);
}
.mun-geo-card--terrain .mun-geo-card__tag {
  color: #7a6040;
  background: rgba(122, 96, 64, 0.08);
}
.mun-geo-card--hydro .mun-geo-card__tag {
  color: #3a6a8a;
  background: rgba(58, 106, 138, 0.08);
}
.mun-geo-card--coords .mun-geo-card__tag {
  color: #6a4a7a;
  background: rgba(106, 74, 122, 0.08);
}
.mun-geo-card--climate .mun-geo-card__tag {
  color: #9a5a20;
  background: rgba(154, 90, 32, 0.08);
}
.mun-geo-card--rain .mun-geo-card__tag {
  color: #2a5a6a;
  background: rgba(42, 90, 106, 0.08);
}

html.dark-mode .mun-geo-card__tag {
  background: rgba(255, 255, 255, 0.05);
}

html.dark-mode .mun-geo-card--location .mun-geo-card__tag {
  color: var(--accent-2);
  background: rgba(90, 122, 90, 0.15);
}
html.dark-mode .mun-geo-card--terrain .mun-geo-card__tag {
  color: #b0a080;
  background: rgba(122, 96, 64, 0.15);
}
html.dark-mode .mun-geo-card--hydro .mun-geo-card__tag {
  color: #6a9aba;
  background: rgba(58, 106, 138, 0.15);
}
html.dark-mode .mun-geo-card--coords .mun-geo-card__tag {
  color: #9a8aaa;
  background: rgba(106, 74, 122, 0.15);
}
html.dark-mode .mun-geo-card--climate .mun-geo-card__tag {
  color: #daa060;
  background: rgba(154, 90, 32, 0.15);
}
html.dark-mode .mun-geo-card--rain .mun-geo-card__tag {
  color: #6a9aaa;
  background: rgba(42, 90, 106, 0.15);
}

.mun-geo-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.01em;
}

.mun-geo-card__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #444;
  margin: 0;
}

.mun-geo-card__text strong {
  color: #1a1a1a;
  font-weight: 600;
}

.mun-geo-card__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

.mun-geo-card__stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.mun-geo-card__stat-label {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.mun-geo-card__temps {
  display: flex;
  gap: 1.25rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

.mun-geo-temp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.mun-geo-temp__value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #1a1a1a;
}

.mun-geo-temp__label {
  font-size: 0.65rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.mun-geo-card__rain-months {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

.mun-geo-month {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mun-geo-month--wet {
  background: #4a7a9a;
  color: #fff;
}

.mun-geo-month--mid {
  background: var(--accent-2);
  color: #fff;
}

.mun-geo-month--dry {
  background: #e0d8c8;
  color: #666;
}

@media (max-width: 820px) {
  .mun-geo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 580px) {
  .mun-geo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .mun-geo-section {
    padding: 3.5rem 1.1rem 5rem;
  }

  .mun-geo-header__title {
    font-size: 1.5rem;
  }

  .mun-geo-card {
    padding: 1.25rem;
  }

  .mun-demo-section {
    padding: 3.5rem 1.1rem 5rem;
  }

  .mun-demo-grid {
    gap: 1rem;
  }

  .mun-demo-card {
    padding: 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MUNICÍPIO — DEMOGRAFIA E CENÁRIO SOCIAL
═══════════════════════════════════════════════════════════════ */

.mun-demo-section {
  padding: 5.5rem 1.5rem 6rem;
  background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.mun-demo-section__inner {
  max-width: 960px;
  margin: 0 auto;
}

.mun-demo-section .mun-geo-header__title {
  color: #fff;
}

.mun-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mun-demo-card {
  background: #242424;
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.mun-demo-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(90,122,90,0.6), rgba(138,170,122,0.4), transparent);
}

.mun-demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.1);
}

.mun-demo-card--pop { grid-column: 1 / -1; }

.mun-demo-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mun-demo-card:hover .mun-demo-card__icon {
  transform: scale(1.08);
}

.mun-demo-card__icon svg {
  width: 18px;
  height: 18px;
}

.mun-demo-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.mun-demo-card__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.mun-demo-card__text strong {
  color: #fff;
  font-weight: 600;
}

/* ── Barras comparativas ── */
.mun-demo-card__bars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mun-demo-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mun-demo-bar__label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  min-width: 100px;
  flex-shrink: 0;
}

.mun-demo-bar__track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.mun-demo-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-radius: 4px;
  transition: width 0.6s ease;
}

.mun-demo-bar__value {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  min-width: 44px;
  text-align: right;
}

/* ── Gênero ── */
.mun-demo-pie {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mun-demo-pie__row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mun-demo-pie__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  min-width: 65px;
}

.mun-demo-pie__track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.mun-demo-pie__fill {
  height: 100%;
  background: linear-gradient(90deg, #4a7a9a, #6a9aba);
  border-radius: 4px;
}

.mun-demo-pie__fill--alt {
  background: linear-gradient(90deg, #b07a4a, #daa060);
}

.mun-demo-pie__value {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  min-width: 32px;
  text-align: right;
}

.mun-demo-age {
  display: flex;
  gap: 1rem;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 0.75rem;
}

.mun-demo-age__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.mun-demo-age__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
}

.mun-demo-age__lbl {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ── Educação ── */
.mun-demo-edu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mun-demo-edu__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mun-demo-edu__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
}

.mun-demo-edu__lbl {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mun-demo-edu__track {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.mun-demo-edu__fill {
  height: 100%;
  background: linear-gradient(90deg, #8a5a4a, #b07a5a);
  border-radius: 4px;
}

.mun-demo-edu__fill--alt {
  background: linear-gradient(90deg, #8a4a4a, #b05a5a);
}

@media (max-width: 820px) {
  .mun-demo-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .mun-demo-card--pop {
    grid-column: 1;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MUNICÍPIO — ECONOMIA, INFRAESTRUTURA E TRANSPORTES
═══════════════════════════════════════════════════════════════ */

.mun-econ-section {
  padding: 5.5rem 1.5rem 6rem;
  background: linear-gradient(180deg, #f2f0ea 0%, #f8f7f3 100%);
  border-top: 1px solid #e4e0d8;
}

.mun-econ-section__inner {
  max-width: 960px;
  margin: 0 auto;
}

.mun-econ-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mun-econ-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 6px 24px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.mun-econ-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #8a7a5a, #b0a080, transparent);
}

.mun-econ-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07), 0 16px 48px rgba(0,0,0,0.1);
}

.mun-econ-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a6040;
  background: rgba(122, 96, 64, 0.09);
  border: 1px solid rgba(122, 96, 64, 0.12);
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mun-econ-card:hover .mun-econ-card__icon {
  transform: scale(1.08);
}

.mun-econ-card__icon svg {
  width: 18px;
  height: 18px;
}

.mun-econ-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
}

.mun-econ-card__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #444;
  margin: 0;
}

.mun-econ-card__text strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* ── Stat ── */
.mun-econ-card__stat {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

.mun-econ-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.mun-econ-stat__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #1a1a1a;
}

.mun-econ-stat__lbl {
  font-size: 0.68rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ── Routes ── */
.mun-econ-card__routes {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

.mun-econ-route {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.mun-econ-route__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b0a88d;
  flex-shrink: 0;
  margin-top: 6px;
}

.mun-econ-route__info,
.mun-econ-route__content {
  display: flex;
  flex-direction: column;
}

.mun-econ-route__info strong,
.mun-econ-route__content strong {
  font-size: 0.82rem;
  color: #1a1a1a;
}

.mun-econ-route__info span,
.mun-econ-route__content span {
  font-size: 0.78rem;
  color: #777;
}

/* ── Streets ── */
.mun-econ-streets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

.mun-econ-street {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mun-econ-street__name {
  font-size: 0.75rem;
  color: #555;
  min-width: 140px;
  flex-shrink: 0;
}

.mun-econ-street__bar-wrap {
  flex: 1;
  height: 7px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.mun-econ-street__bar {
  height: 100%;
  background: linear-gradient(90deg, #8a7a5a, #b0a080);
  border-radius: 4px;
}

.mun-econ-street__dist {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #555;
  min-width: 40px;
  text-align: right;
}

@media (max-width: 820px) {
  .mun-econ-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 520px) {
  .mun-econ-section {
    padding: 3.5rem 1.1rem 5rem;
  }

  .mun-econ-card {
    padding: 1.25rem;
  }

  .mun-econ-street__name {
    min-width: 100px;
    font-size: 0.7rem;
  }

  .mun-econ-card__stat {
    gap: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MUNICÍPIO — PRÉDIOS PÚBLICOS E RECURSOS NATURAIS
═══════════════════════════════════════════════════════════════ */

.mun-assets-section {
  padding: 5.5rem 1.5rem 6.5rem;
  background: linear-gradient(180deg, #141414 0%, #1c1c1c 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.mun-assets-section__inner {
  max-width: 960px;
  margin: 0 auto;
}

.mun-assets-section .mun-geo-header__title {
  color: #fff;
}

.mun-assets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mun-assets-card {
  background: #222222;
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.mun-assets-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(176,168,141,0.5), rgba(176,168,141,0.2), transparent);
}

.mun-assets-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.1);
}

.mun-assets-card--buildings {
  grid-column: 1 / -1;
}

.mun-assets-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0a88d;
  background: rgba(176,168,141,0.1);
  flex-shrink: 0;
  border: 1px solid rgba(176,168,141,0.15);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mun-assets-card:hover .mun-assets-card__icon {
  transform: scale(1.08);
}

.mun-assets-card__icon svg {
  width: 18px;
  height: 18px;
}

.mun-assets-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.mun-assets-card__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.mun-assets-card__text strong {
  color: #fff;
  font-weight: 600;
}

/* ── Tags ── */
.mun-assets-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.mun-assets-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.mun-assets-tag:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
}

/* ── Flora ── */
.mun-assets-flora {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mun-assets-flora__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mun-assets-flora__name {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  min-width: 100px;
  flex-shrink: 0;
}

.mun-assets-flora__bar-wrap {
  flex: 1;
  height: 7px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.mun-assets-flora__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-3), var(--accent-2));
  border-radius: 4px;
}

/* ── Fauna ── */
.mun-assets-fauna {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mun-assets-fauna__item {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.mun-assets-fauna__item:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
}

/* ── Minerals ── */
.mun-assets-minerals {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mun-assets-mineral {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mun-assets-mineral__icon {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}

.mun-assets-mineral__info {
  display: flex;
  flex-direction: column;
}

.mun-assets-mineral__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.mun-assets-mineral__loc {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 820px) {
  .mun-assets-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .mun-assets-card--buildings {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .mun-assets-section {
    padding: 3.5rem 1.1rem 5rem;
  }

  .mun-assets-card {
    padding: 1.25rem;
  }

  .mun-assets-flora__name {
    min-width: 80px;
    font-size: 0.72rem;
  }
}

html.dark-mode .mun-assets-card {
  background: #181818;
  border-color: rgba(255, 255, 255, 0.07);
}

html.dark-mode .mun-assets-card:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ═══════════════════════════════════════════════════════════════
   APARÊNCIA — Modal de Configurações
   ═══════════════════════════════════════════════════════════════ */

.aparencia-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.aparencia-overlay.open {
  opacity: 1;
  visibility: visible;
}

.aparencia-modal {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.5rem;
  width: 90%;
  max-width: 380px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aparencia-overlay.open .aparencia-modal {
  transform: scale(1) translateY(0);
}

.aparencia-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.aparencia-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #222;
}

.aparencia-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.25rem;
  text-align: center;
}

.aparencia-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aparencia-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.aparencia-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.aparencia-row {
  display: flex;
  gap: 0.35rem;
}

.aparencia-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.4rem 0.4rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #f9f9f9;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.aparencia-option:hover {
  border-color: #bbb;
  background: #f0f0f0;
}

.aparencia-option.active {
  border-color: #0d2b4e;
  background: #e8eef5;
  color: #0d2b4e;
  font-weight: 600;
}

/* Dark mode override for modal */
html.dark-mode .aparencia-modal {
  background: #1e1e1e;
}

html.dark-mode .aparencia-title {
  color: #eee;
}

html.dark-mode .aparencia-close {
  background: rgba(255, 255, 255, 0.08);
  color: #aaa;
}

html.dark-mode .aparencia-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

html.dark-mode .aparencia-option {
  border-color: #444;
  background: #2a2a2a;
  color: #aaa;
}

html.dark-mode .aparencia-option:hover {
  border-color: #666;
  background: #333;
}

html.dark-mode .aparencia-option.active {
  border-color: #4a7fb5;
  background: #1a2535;
  color: #8ab8e8;
}

/* ═══════════════════════════════════════════════════════════════
   LO-FI MODE
   ═══════════════════════════════════════════════════════════════ */

html.lofi-mode,
html.lofi-mode *,
html.lofi-mode *::before,
html.lofi-mode *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

html.lofi-mode {
  scroll-behavior: auto !important;
}

html.lofi-mode .hero-video {
  display: none !important;
}

html.lofi-mode .hero {
  background: radial-gradient(ellipse at 60% 40%, #0e1f38 0%, #050c1a 60%, #000 100%);
}

html.lofi-mode [data-anim],
html.lofi-mode [data-reveal],
html.lofi-mode [data-mun-anim] {
  opacity: 1 !important;
  transform: none !important;
}

html.lofi-mode .mun-demo-card,
html.lofi-mode .mun-demo-card::after,
html.lofi-mode .mun-tab-btn::after {
  transition: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   FONT SIZE
   ═══════════════════════════════════════════════════════════════ */

html.font-size-small {
  font-size: 14px;
}

html.font-size-medium {
  font-size: 16px;
}

html.font-size-large {
  font-size: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   MODAL: Color Swatches, Toggle Switches, Dividers
   ═══════════════════════════════════════════════════════════════ */

.aparencia-row--colors {
  gap: 0.3rem;
}

.aparencia-swatch {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 50%;
  background: var(--swatch) !important;
  border: 2px solid transparent;
}

.aparencia-swatch.active {
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

html.dark-mode .aparencia-swatch.active {
  border-color: #ccc;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.12);
}

.aparencia-option--sm {
  padding: 0.35rem 0.3rem;
  font-size: 0.72rem;
}

.aparencia-option--xs {
  padding: 0.3rem 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.aparencia-option--mode {
  padding: 0.45rem 0.4rem;
  gap: 0.15rem;
  flex-direction: column;
}

.aparencia-option-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.aparencia-option-desc {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  color: #999;
  line-height: 1.2;
  text-align: center;
}

.aparencia-option.active .aparencia-option-desc {
  color: #4a7fb5;
}

html.dark-mode .aparencia-option-desc {
  color: #777;
}

html.dark-mode .aparencia-option.active .aparencia-option-desc {
  color: #8ab8e8;
}

.aparencia-section--toggles {
  justify-content: flex-end;
}

.aparencia-row--toggles {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.aparencia-toggle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
}

.aparencia-toggle-switch {
  display: block;
  width: 32px;
  height: 18px;
  border-radius: 9px;
  background: #ccc;
  position: relative;
  transition: background 0.25s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.aparencia-toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.aparencia-toggle-switch.active {
  background: #0d2b4e;
}

.aparencia-toggle-switch.active::after {
  transform: translateX(14px);
}

html.dark-mode .aparencia-toggle-switch {
  background: #555;
}

html.dark-mode .aparencia-toggle-switch.active {
  background: #4a7fb5;
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
html.reduced-motion *,
html.reduced-motion *::before,
html.reduced-motion *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

html.reduced-motion [data-anim],
html.reduced-motion [data-reveal],
html.reduced-motion [data-mun-anim] {
  opacity: 1 !important;
  transform: none !important;
}

html.reduced-motion .mun-demo-card,
html.reduced-motion .mun-demo-card::after,
html.reduced-motion .mun-tab-btn::after {
  transition: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   HERO VIDEO TOGGLE (independente do Lo-Fi)
   ═══════════════════════════════════════════════════════════════ */
html.hero-video-hidden .hero-video {
  display: none !important;
}

html.hero-video-hidden .hero {
  background: radial-gradient(ellipse at 60% 40%, #0e1f38 0%, #050c1a 60%, #000 100%);
}


