@import url('https://fonts.googleapis.com/css2?family=TASA+Orbiter:wght@400;500;600;700;800&display=swap');
@import url('https://unpkg.com/lucide-static@latest/font/lucide.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=JetBrains+Mono:wght@400&family=Inter:wght@400;500;600;700&display=swap');

/* --- Reset e base --- */
:root {
  /* Anthropic Tokens */
  --color-slate-dark: #141413;
  --color-ivory-light: #faf9f5;
  --color-ivory-medium: #f0eee6;
  --color-ivory-dark: #e8e6dc;
  --color-oat: #e3dacc;
  --color-cloud-medium: #b0aea5;
  --color-cloud-light: #d1cfc5;
  --color-cloud-dark: #87867f;
  --color-clay: #d97757;

  --font-anthropic-sans: 'Inter', 'TASA Orbiter', sans-serif;
  --font-anthropic-serif: 'Playfair Display', serif;
  --font-anthropic-mono: 'JetBrains Mono', monospace;

  /* Legacy Mapped Variables */
  --primary-color: var(--color-ivory-light);
  --secondary-blue: var(--color-slate-dark);
  --accent-color: #D98E32;
  /* Restaurado o amarelo alaranjado original */
  --text-dark: var(--color-slate-dark);
  --text-muted: var(--color-cloud-dark);
  --bg-light: var(--color-ivory-medium);
  --cor-borda: var(--color-cloud-light);

  --header-height: 80px;
  --top-bar-height: 40px;
  --header-bg: var(--color-ivory-light);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --section-padding: clamp(4rem, 8vw, 8rem);
  --cor-mapa-bg: var(--color-ivory-light);
}

/* --- Anthropic Utility Classes --- */
.anthropic-bg-ivory {
  background-color: var(--color-ivory-light);
  color: var(--color-slate-dark);
}

.anthropic-bg-dark {
  background-color: var(--color-slate-dark);
  color: var(--color-ivory-light);
  border-radius: 24px;
}

.anthropic-bg-light {
  background-color: var(--color-ivory-medium);
  color: var(--color-slate-dark);
  border-radius: 8px;
}

.anthropic-headline {
  font-family: var(--font-anthropic-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-slate-dark);
}

.anthropic-serif {
  font-family: var(--font-anthropic-serif);
  font-weight: 400;
}

.anthropic-mono {
  font-family: var(--font-anthropic-mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.anthropic-underline {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.anthropic-btn {
  background-color: var(--color-slate-dark);
  color: var(--color-ivory-light);
  border: 1px solid var(--color-slate-dark);
  border-radius: 0px;
  padding: 12px 31px;
  font-family: var(--font-anthropic-sans);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

.anthropic-btn:hover {
  background-color: var(--color-clay);
  border-color: var(--color-clay);
}


/* ====== ESTILOS PARA CELULAR (MOBILE) ====== */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.2;
    word-break: break-word;
  }

  p,
  li,
  span,
  a {
    line-height: 1.5;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.lucide {
  width: 1em;
  height: 1em;
  stroke-width: 2;
  vertical-align: -0.125em;
}

/* Estilos para os Marcadores Personalizados do Mapa */
.custom-pin {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pin-marker {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  border: 2px solid white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pin-marker:hover {
  transform: rotate(-45deg) scale(1.15);
  z-index: 1000;
}

.pin-inner {
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

body {
  font-family: 'TASA Orbiter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.6s ease;
  transform-origin: center top;
}

/* Efeito Air - Fundo recuado quando modal abre */
body.modal-active {
  overflow: hidden;
  background-color: #000;
}

body.modal-active #header-main,
body.modal-active section,
body.modal-active #mapa {
  transform: scale(0.94) translateY(10px);
  border-radius: 30px;
  opacity: 0.5;
  pointer-events: none;
}

/* ====== ESTILOS PARA CELULAR (MOBILE) ====== */
@media (max-width: 768px) {

  body.modal-active #header-main,
  body.modal-active section {
    transform: scale(0.98) translateY(5px);
    border-radius: 20px;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Cabeçalho Flutuante (Estilo Gladia) --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  pointer-events: auto;
  /* Permite clique no conteúdo por baixo fora do pill */
  padding: 16px 24px;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Comportamento de esconder o header ao rolar para baixo */
header.header-hidden {
  transform: translateY(-150%);
}

.header-inner {
  pointer-events: all;
  /* Reativa cliques no pill */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 62px;
  width: 100%;
  max-width: 1100px;

  /* Pill flutuante — glassmorphism escuro estilo Gladia */
  background: rgba(15, 10, 5, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);

  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo {
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Navegação Centralizada */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  /* Centraliza os links de navegação no espaço disponível */
}

.nav-icons {
  flex: 0 0 300px;
  display: flex;
  justify-content: flex-end;
  /* Alinha os ícones à direita */
  gap: 1.5rem;
  align-items: center;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  position: relative;
  transition: color 0.2s;
}

.icon-btn:hover {
  color: var(--accent-color);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent-color);
  color: white;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 10px;
  font-weight: bold;
}

.logo-icone {
  width: 40px;
  height: 40px;
  background-image: url('../img/cucabranco.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

header.expandido .logo-icone {
  background-image: url('../img/cucabranco.png');
  width: 45px;
  height: 45px;
  border-radius: 0;
}

.logo-texto h1 {
  font-family: 'TASA Orbiter', sans-serif;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo-texto {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-standard,
.text-hero {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

/* Estado único — texto no pill sempre em branco e compacto */
.text-standard {
  font-size: 13px;
  font-weight: 700;
  opacity: 1;
  transform: none;
  color: white;
}

.text-hero {
  display: none;
  /* Removido no pill header */
}

header.expandido .text-standard {
  opacity: 1;
  visibility: visible;
  transform: none;
  position: relative;
}

header.expandido .text-hero {
  display: none;
}

.logo-texto span {
  display: none;
  /* Oculta o tagline no pill para manter compacto */
}


/* --- Navegação no Pill Header --- */
nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
}

nav ul li a {
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
  text-transform: none;
  letter-spacing: 0.2px;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

nav ul li a.ativo {
  background-color: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 600;
}

/* --- Dropdown de Serviços (adaptado para pill escuro) --- */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(18, 12, 5, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  min-width: 200px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 3000;
  border-radius: 14px;
  /* Sem gap — encostado no link para o mouse não perder o hover */
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  animation: dropdownFadeIn 0.2s ease;
  /* Padding-top compensa visualmente o espaço */
  padding-top: 8px;
  padding: 8px 0;
}

/* Bridge invisível para cobrir o gap entre o link e o menu */
.dropdown-content::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-content a {
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 11px 18px !important;
  display: block !important;
  font-size: 13.5px;
  transition: background 0.15s, color 0.15s;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: white !important;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Menu mobile */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* --- Hero (banner principal) --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  height: 70vh;
  /* Diminuído um pouco mais conforme solicitado */
  background: #000;
}

.hero-slider {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  height: 100%;
  width: 100%;
}

.hero-slide {
  min-width: 100%;
  height: 70vh;
  padding: 0 clamp(1.5rem, 6vw, 8rem) clamp(2.5rem, 8vh, 6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1);
  transition: transform 6.5s ease-out;
  /* Zoom suave ao ativar */
  will-change: transform;
}

.hero-slide.active .hero-bg {
  transform: scale(1.15);
  /* Zoom sutil e elegante */
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.4) 40%,
      rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: left;
  color: white;
  /* Espaçamento interno para não colar nos botões */
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Badge de categoria */
.hero-slug {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent-color);
  background: rgba(217, 142, 50, 0.15);
  border: 1px solid rgba(217, 142, 50, 0.35);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 1rem;
  width: fit-content;
}

/* Título da notícia — hierarquia máxima */
.hero-headline {
  font-family: 'TASA Orbiter', sans-serif;
  font-size: clamp(1.4rem, 7vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 0.75rem;
  letter-spacing: -1.5px;
  text-transform: none;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  will-change: transform, opacity;
  /* Limita a 2 linhas */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Resumo — menor peso, mais contido */
.hero-excerpt {
  font-size: clamp(0.88rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: 0.6rem;
  max-width: 580px;
  opacity: 0.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  will-change: transform, opacity;
  text-align: left;
}

.hero-headline.exit,
.hero-excerpt.exit {
  transform: translateX(-200px) !important;
  opacity: 0 !important;
}

/* Metadados — autor e data, discretos */
.hero-meta {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.5;
  margin-bottom: 1.25rem;
  display: block;
}

.hero .container,
.hero-noticias .container {
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.oculto .container,
.hero-noticias.oculto .container {
  opacity: 0;
  transform: translateY(-50px);
}

.hero h2 {
  font-family: 'TASA Orbiter', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  /* Extra Bold */
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  font-weight: 300;
  /* Light */
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-botoes {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.btn-primario {
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(216, 141, 49, 0.3);
}

.btn-secundario {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secundario:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* --- Seções gerais --- */
section {
  padding: var(--section-padding) 2rem;
}

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

.secao-titulo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.secao-titulo h2 {
  font-family: 'TASA Orbiter', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  /* Bold */
  color: var(--secondary-blue);
  margin-bottom: 0.5rem;
}

.secao-titulo p {
  color: #666;
  font-size: 1rem;
  font-weight: 400;
  /* Regular */
}

.linha-decorativa {
  width: 50px;
  height: 4px;
  background-color: #8C2626;
  /* Moda 5 */
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* --- Layout Estilo Portal (Home e Notícias) --- */
.portal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.portal-manchete {
  grid-column: 1 / -1;
  position: relative;
  display: block;
  border-bottom: 1px solid #ddd;
  height: 550px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  /* Adiciona uma sombra sutil */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-manchete:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.portal-manchete .card-imagem {
  height: 100%;
  width: 100%;
  font-size: 120px;
  object-fit: cover;
  /* Garante que a imagem preencha o espaço */
  position: absolute;
  /* Para que o overlay possa ficar por cima */
  top: 0;
  left: 0;
}

.portal-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 3rem 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 1;
  /* Garante que o texto esteja acima da imagem */
}

.portal-manchete h2 {
  font-family: 'TASA Orbiter', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 900;
  /* Black */
  line-height: 1.05;
  margin: 0.5rem 0;
  color: white;
}

.portal-destaques-secundarios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  grid-column: 1 / 2;
  border-right: 1px solid #ddd;
  padding-right: 2rem;
}

.card-secundario {
  border: none;
  background: transparent;
  transition: transform 0.2s;
}

.card-secundario:hover {
  transform: translateY(-3px);
}

.card-secundario .card-imagem {
  height: 200px;
  border-radius: 6px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.card-secundario h3 {
  font-family: 'TASA Orbiter', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  /* Bold */
  line-height: 1.25;
}

.portal-lista-lateral {
  grid-column: 2 / 3;
}

.portal-lista-lateral h3 {
  /* Estilo para o título "Últimas notícias" */
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
  width: fit-content;
}

.item-lista-portal {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  transition: opacity 0.2s;
}

.item-lista-portal:hover {
  opacity: 0.7;
}

.item-lista-portal .card-categoria {
  margin-bottom: 4px;
  font-size: 10px;
  /* Ajuste para o tamanho da categoria na lista */
}

.item-lista-portal h4 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #333;
}

.portal-manchete-resumo {
  font-size: 1.2rem;
  font-weight: 200;
  /* Extra Light */
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
}

.portal-meta-overlay {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

/* --- Cards de notícias --- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-imagem {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background-color: #d0d8e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
  /* Para emojis ficarem centralizados */
}

.card-corpo {
  padding: 1.25rem;
}

.card-categoria {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.card-corpo h3 {
  font-size: 1.4rem;
  font-weight: 700;
  /* Bold */
  color: var(--secondary-blue);
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-corpo p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.card-link {
  font-weight: 700;
  color: var(--secondary-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link:hover {
  color: var(--accent-color);
}

/* --- Estilos para a página de Notícias (noticias.html) --- */
.hero-noticias {
  background: linear-gradient(135deg, var(--secondary-blue) 0%, #A6431F 100%);
  /* Moda 3 */
  color: white;
  padding: 10rem 2rem 6rem;
  text-align: center;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.1);
}

.hero-noticias h2 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

/* Extra Bold */
.hero-noticias p {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 200;
}

/* Extra Light */

/* --- Hero Museu: Peça do Dia --- */
.hero-museu-destaque {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary-blue) 0%, #A6431F 100%);
}

.hero-museu-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transition: transform 8s ease, opacity 1.2s ease;
  transform: scale(1.05);
  opacity: 0;
}

.hero-museu-bg[style*="background-image"] {
  opacity: 1;
  transform: scale(1);
}

.hero-museu-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.55) 40%,
      rgba(0, 0, 0, 0.15) 70%,
      rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

.hero-museu-conteudo {
  position: relative;
  z-index: 2;
  padding: 6rem 2rem 1.5rem;
  color: white;
  max-width: 800px;
}

.hero-museu-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 142, 50, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 142, 50, 0.4);
  color: var(--accent-color, #D98E32);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-museu-destaque h2 {
  font-family: 'TASA Orbiter', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  max-width: 700px;
}

.hero-museu-destaque p {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 1rem;
  max-width: 550px;
}

.hero-museu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--accent-color, #D98E32);
  color: #1a1a1a;
  border: none;
  border-radius: 50px;
  font-family: 'TASA Orbiter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: 0 4px 20px rgba(217, 142, 50, 0.35);
}

.hero-museu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(217, 142, 50, 0.5);
  background: #e9a33e;
}

.hero-museu-btn:active {
  transform: translateY(0);
}

/* ====== ESTILOS PARA CELULAR (MOBILE) ====== */
@media (max-width: 768px) {
  .hero-museu-destaque {
    min-height: 200px;
  }

  .hero-museu-conteudo {
    padding: 5.5rem 1.5rem 1.25rem;
  }

  .hero-museu-destaque h2 {
    font-size: 1.8rem;
  }

  .hero-museu-destaque p {
    font-size: 1rem;
  }

  .hero-museu-btn {
    padding: 12px 24px;
    font-size: 13px;
  }
}

.filtros-noticias {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: -30px auto 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.filtro-btn {
  padding: 12px 28px;
  border: none;
  background: white;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--secondary-blue);
  font-size: 0.95rem;
}

.filtro-btn:hover,
.filtro-btn.ativo {
  background: var(--accent-color);
  color: var(--secondary-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(216, 141, 49, 0.3);
}

.noticia-destaque {
  position: relative;
  min-height: 550px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-end;
}

.noticia-destaque-imagem {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 0.6s ease;
}

.noticia-destaque:hover .noticia-destaque-imagem {
  transform: scale(1.02);
}

.noticia-destaque .portal-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 4rem 4rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
  color: white;
}

.noticia-destaque .portal-overlay h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  font-weight: 900;
}

.destaque-meta {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.noticias-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 35px;
  margin-bottom: 5rem;
}

.noticia-data {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* --- Barra de Compartilhamento --- */
.compartilhar-barra {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0 0;
  margin-top: 2rem;
  border-top: 2px solid #f0f0f0;
  flex-wrap: wrap;
}

.compartilhar-barra span {
  font-weight: 700;
  color: #260801;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 120px;
}

.compartilhar-barra button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #260801;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.compartilhar-barra button:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 141, 49, 0.25);
}

.compartilhar-barra button:active {
  transform: translateY(0);
}

.compartilhar-barra button[data-social="whatsapp"]:hover {
  background: #25D366;
  border-color: #25D366;
  color: white;
}

.compartilhar-barra button[data-social="facebook"]:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: white;
}

.compartilhar-barra button[data-social="twitter"]:hover {
  background: #1DA1F2;
  border-color: #1DA1F2;
  color: white;
}

.compartilhar-barra button[data-social="copy"]:hover {
  background: #666;
  border-color: #666;
  color: white;
}

/* ====== ESTILOS PARA CELULAR (MOBILE) ====== */
@media (max-width: 768px) {
  .compartilhar-barra {
    gap: 0.75rem;
    padding-top: 1.5rem;
  }

  .compartilhar-barra span {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .compartilhar-barra button {
    flex: 1;
    min-width: 100px;
    font-size: 12px;
    padding: 10px 12px;
  }
}

/* Modais */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  /* Elevado para ficar acima do header (2000) e dropdowns (3000) */
  padding: 20px;
  backdrop-filter: blur(8px);
}

.overlay.aberto {
  display: flex;
}

.modal {
  background: white;
  width: 100%;
  max-width: 850px;
  max-height: 92vh;
  border-radius: 25px;
  padding: 60px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  scroll-behavior: smooth;
  /* Removida animação CSS padrão para usar GSAP */
  transform: translateY(100vh);
}

.modal-fechar {
  position: absolute;
  top: 30px;
  right: 30px;
  background: #eee;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-conteudo {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.modal-categoria {
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.modal-meta {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

/* Paginação */
.paginacao {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.pag-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  transition: var(--transition);
}

.pag-btn.ativo,
.pag-btn:hover {
  background: var(--secondary-blue);
  color: white;
  border-color: var(--secondary-blue);
}

/* --- Portfólio --- */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin: 2rem 0;
}

.galeria-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.galeria-item:hover {
  transform: translateY(-5px);
}

.galeria-imagem {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.galeria-info {
  padding: 20px;
}

.categoria-info-box {
  background: white;
  padding: 2rem;
  border-radius: 18px;
  margin-bottom: 2rem;
  border-left: 5px solid var(--accent-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.5s ease;
}

/* --- Ícones Sociais no Footer --- */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: block;
  margin-bottom: 10px;
  transition: var(--transition);
  opacity: 0.8;
}

.social-icon:hover {
  transform: translateY(-5px);
  opacity: 1;
  filter: drop-shadow(0 4px 8px rgba(191, 137, 89, 0.4));
}

/* --- Animações de Revelação (Reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

/* ============================================
   ESTILO GLADIA - Animações e Efeitos
   ============================================ */

/* Efeito Gladia nos Cards - Hover suave */
.card,
.portal-manchete,
.card-secundario,
.galeria-item,
.noticia-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.card:hover,
.portal-manchete:hover,
.card-secundario:hover,
.galeria-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Gladia-style reveal animation for grid items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up.active {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

.delay-6 {
  animation-delay: 0.6s;
}

/* Gladia-style Buttons */
.btn-gladia {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  gap: 8px;
}

.btn-gladia-primary {
  background-color: var(--accent-color);
  color: white;
}

.btn-gladia-primary:hover {
  background-color: #c47a2a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 141, 49, 0.35);
}

.btn-gladia-secondary {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-gladia-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Gladia-style Filters (Pills) */
.filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-pill {
  padding: 10px 20px;
  border-radius: 50px;
  background: white;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-pill:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #374151;
}

.filter-pill.active {
  background: var(--secondary-blue);
  border-color: var(--secondary-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(38, 8, 1, 0.2);
}

/* Gladia-style Resource Cards */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.resource-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: #e5e7eb;
}

.resource-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f9fafb;
}

.resource-card-content {
  padding: 20px;
}

.resource-card-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.resource-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-blue);
  margin-bottom: 8px;
  line-height: 1.4;
}

.resource-card-excerpt {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Gladia-style Newsletter Section */
.newsletter-gladia {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 80px 20px;
  text-align: left;
  border-radius: 0px;
  margin: 40px 0;
}

.newsletter-gladia h3 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.newsletter-gladia p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.rotator-text {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 800;
  min-width: 140px;
  /* Evita que o texto ao redor "pule" muito */
}

.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 15px;
  transition: all 0.25s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.15);
}

/* Gladia-style Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: 'TASA Orbiter', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--secondary-blue);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Gladia-style Image Hover Effect */
.image-hover-zoom {
  overflow: hidden;
}

.image-hover-zoom img {
  transition: transform 0.5s ease;
}

.image-hover-zoom:hover img {
  transform: scale(1.05);
}

/* Gladia-style Border Radius */
.radius-lg {
  border-radius: 16px;
}

.radius-md {
  border-radius: 12px;
}

.radius-sm {
  border-radius: 8px;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Selection Color */
::selection {
  background: var(--accent-color);
  color: white;
}

/* Pill header ao rolar — leve aumento de opacidade */
header.scrolled .header-inner {
  background: rgba(10, 6, 2, 0.85);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* --- Seção de cursos --- */
.bg-claro {
  background-color: #fdf8f3;
}

.lista-cursos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.curso-item {
  background: white;
  border-radius: 10px;
  padding: 1.25rem;
  border: 1px solid #e8e8e0;
  border-left: 4px solid var(--accent-color);
}

.curso-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-blue);
  margin-bottom: 6px;
}

.curso-item p {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.curso-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
}

/* --- Rodapé --- */
footer {
  background-color: #260801;
  /* Moda 4 */
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-base {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ====== ESTILOS PARA CELULAR (MOBILE) ====== */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* --- Responsivo mobile --- */
/* ====== ESTILOS PARA CELULAR (MOBILE) ====== */
@media (max-width: 768px) {

  /* Mobile nav — pill header adaptado */
  header {
    padding: 10px;
  }

  .header-inner {
    height: auto;
    padding: 6px 12px;
    border-radius: 30px;
    max-width: 95%;
    justify-content: space-between;
  }

  .logo {
    flex: 1;
    gap: 10px;
  }

  .logo-icone {
    width: 32px;
    height: 32px;
  }

  nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(15, 10, 5, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  }

  nav.aberto {
    display: flex;
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 14px 20px;
    border-radius: 12px;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
  }

  .menu-toggle {
    display: flex;
  }

  .hero,
  .hero-slide {
    height: 65vh;
  }

  section {
    padding: 3rem 1.2rem;
  }

  .hero-slide-content {
    padding-bottom: 2rem;
  }

  .hero-headline {
    font-size: 1.8rem;
  }

  .portal-manchete {
    height: 400px;
    border-radius: 15px;
  }

  .portal-manchete h2 {
    font-size: 1.6rem;
  }

  .portal-grid,
  .portal-destaques-secundarios {
    grid-template-columns: 1fr;
    border: none;
    padding: 0;
  }

  .portal-destaques-secundarios {
    border-right: none;
    /* Remove a borda direita em mobile */
    padding-right: 0;
    margin-top: 2rem;
    /* Espaçamento entre a manchete e os destaques */
  }

  .hero-noticias h2 {
    font-size: 2rem;
  }

  .noticia-destaque {
    min-height: 450px;
  }

  .noticia-destaque .portal-overlay {
    padding: 2rem;
  }

  .noticia-destaque .portal-overlay h2 {
    font-size: 1.8rem;
  }

  .modal {
    padding: 25px 15px 20px;
    width: 95%;
    max-height: 90vh;
    border-radius: 15px;
  }

  .modal-fechar {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

  .modal-conteudo {
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    -webkit-hyphens: none;
    text-align: left;
  }

  .modal-slider-conteudo {
    padding: 1.5rem;
  }

  .modal-slider-conteudo p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .modal-slider-conteudo h2 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }

  .modal-meta {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .filtros-noticias {
    margin: 1rem auto 2rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide-content .hero-slug,
.hero-slide-content .hero-headline,
.hero-slide-content .hero-excerpt,
.hero-slide-content .hero-meta,
.hero-slide-content .hero-botoes {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide-content .hero-headline {
  animation-delay: 0.1s;
}

.hero-slide-content .hero-excerpt {
  animation-delay: 0.2s;
}

.hero-slide-content .hero-meta {
  animation-delay: 0.3s;
}

.hero-slide-content .hero-botoes {
  animation-delay: 0.4s;
}

/* --- Comunicados na Home --- */
.comunicado-home {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #e8e8e0;
  background: white;
  margin-bottom: 1rem;
  transition: transform 0.2s;
}

.comunicado-home:hover {
  transform: translateY(-2px);
}

.comunicado-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.comunicado-badge.urgente {
  background: #FCEBEB;
  color: #A32D2D;
}

.comunicado-badge.normal {
  background: #E6F1FB;
  color: #185FA5;
}

.comunicado-home h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary-blue);
  margin-bottom: 4px;
}

.comunicado-home p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.comunicado-home .comunicado-data {
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
}

/* --- Scrollbar Customizada --- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
  border: 2px solid #f8fafc;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Scrollbars internas */
.modal-slider-conteudo::-webkit-scrollbar,
#lista-estabelecimentos-corpo::-webkit-scrollbar,
.modal-conteudo::-webkit-scrollbar {
  width: 4px;
}

.ac-btn {
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: background 0.2s;
  color: #333;
}

.ac-btn:hover {
  background: #eee;
}

body.alto-contraste {
  background: #000 !important;
  color: #fff !important;
}

body.alto-contraste a {
  color: #FFD700 !important;
}

body.alto-contraste header {
  background: #111 !important;
}

body.alto-contraste .card,
body.alto-contraste .modal {
  background: #111 !important;
  color: #fff !important;
}

/* ============================================================ */
/* ================== ACERVO BUSCA ============================= */
/* ============================================================ */

.acervo-busca-wrapper {
  max-width: 600px;
  margin: 0 auto 0.5rem;
  padding-top: 1rem;
}

.acervo-busca-inner {
  display: flex;
  align-items: center;
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 0 20px;
  height: 56px;
  gap: 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.acervo-busca-inner:focus-within {
  border-color: var(--accent-color, #D98E32);
  box-shadow: 0 4px 20px rgba(217, 142, 50, 0.15);
}

.acervo-busca-icon {
  width: 20px;
  height: 20px;
  color: #94a3b8;
  flex-shrink: 0;
  transition: color 0.3s;
}

.acervo-busca-inner:focus-within .acervo-busca-icon {
  color: var(--accent-color, #D98E32);
}

.acervo-busca-inner input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-family: 'TASA Orbiter', 'Inter', sans-serif;
  color: #1a1a1a;
  height: 100%;
}

.acervo-busca-inner input::placeholder {
  color: #b0b8c4;
  font-weight: 400;
}

.acervo-busca-limpar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.acervo-busca-limpar:hover {
  background: #e2e8f0;
  transform: scale(1.1);
}

.acervo-busca-limpar i,
.acervo-busca-limpar svg {
  width: 14px;
  height: 14px;
  color: #64748b;
}

.acervo-busca-info {
  display: flex;
  justify-content: center;
  padding: 10px 0 0;
}

.acervo-busca-info span {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Estado vazio */
.acervo-vazio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.acervo-vazio h3 {
  font-family: 'TASA Orbiter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.5rem;
}

.acervo-vazio p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

/* ====== ESTILOS PARA CELULAR (MOBILE) ====== */
@media (max-width: 768px) {
  .acervo-busca-wrapper {
    margin: 0 auto 0.5rem;
    padding-top: 0.5rem;
  }

  .acervo-busca-inner {
    height: 48px;
    padding: 0 16px;
    border-radius: 14px;
  }

  .acervo-busca-inner input {
    font-size: 14px;
  }
}

/* ============================================================ */
/* ==================== MUSEU XADREZ GRID ===================== */
/* ============================================================ */

.museu-xadrez-grid {
  display: grid;
  /* Grade com 4 itens por linha (itens maiores) e pouco espaço (xadrez) */
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 0;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .museu-xadrez-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ====== ESTILOS PARA CELULAR (MOBILE) ====== */
@media (max-width: 768px) {
  .museu-xadrez-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    padding: 20px 10px;
  }
}

.museu-xadrez-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-color, #1a1a1a);
  cursor: pointer;
  border-radius: 10px;
}

.museu-xadrez-imagem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.museu-xadrez-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  /* Reduzido padding para caber na grade de 5 */
  text-align: center;
  color: white;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.museu-xadrez-item:hover .museu-xadrez-imagem {
  transform: scale(1.08);
  filter: grayscale(100%);
}

.museu-xadrez-item:hover .museu-xadrez-overlay {
  opacity: 1;
}

.museu-xadrez-overlay h3 {
  font-family: 'TASA Orbiter', sans-serif;
  font-size: 1.1rem;
  /* Fonte menor para caber na grade de 5 */
  font-weight: 800;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
}

.museu-xadrez-overlay p {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #ddd;
  margin-bottom: 1rem;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.museu-xadrez-overlay .codigo {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color, #D98E32);
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  font-weight: 700;
}

.museu-xadrez-overlay .btn-preview {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid white;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  text-decoration: none;
  background: transparent;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, background 0.3s, color 0.3s;
}

.museu-xadrez-overlay .btn-preview:hover {
  background: white;
  color: black;
}

.museu-xadrez-item:hover .museu-xadrez-overlay h3,
.museu-xadrez-item:hover .museu-xadrez-overlay p,
.museu-xadrez-item:hover .museu-xadrez-overlay .codigo,
.museu-xadrez-item:hover .museu-xadrez-overlay .btn-preview {
  transform: translateY(0);
}

/* Modal Slider Animado do Museu */
.modal-slider-container {
  display: flex;
  width: 100%;
  max-width: 1000px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay.aberto .modal-slider-container {
  opacity: 1;
  transform: scale(1);
}

.modal-slider-container {
  opacity: 1;
  transform: scale(1);
}

.modal-slider-imagem {
  flex: none;
  height: 350px;
  min-height: auto;
}

.modal-slider-conteudo {
  flex: none;
  padding: 2.5rem;
  transform: translateY(30px);
}

.overlay.aberto .modal-slider-conteudo {
  transform: translateY(0);
}


/* --- Page: Sobre --- */

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.sobre-grid.invertido {
  direction: rtl;
}

.sobre-grid.invertido>* {
  direction: ltr;
}

.sobre-texto h2 {
  font-size: 1.7rem;
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.sobre-texto p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.sobre-imagem {
  background: #c8d8e8;
  border-radius: 16px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sobre-imagem i {
  width: 80px;
  height: 80px;
  color: #1a3a5c;
}

/* Valores / missão */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.valor-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e8e8e0;
  text-align: center;
}

.valor-icone {
  margin-bottom: 0.75rem;
  color: #e8a020;
}

.valor-icone i {
  width: 36px;
  height: 36px;
}

.valor-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 0.5rem;
}

.valor-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* Equipe */
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.membro {
  background: white;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid #e8e8e0;
  transition: transform 0.2s;
}

.membro:hover {
  transform: translateY(-3px);
}

.membro-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #1a3a5c;
  color: white;
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.membro h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 3px;
}

.membro p {
  font-size: 12px;
  color: #888;
}

/* Números de impacto */
.numeros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.numero-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border-radius: 12px;
  border: 1px solid #e8e8e0;
}

.numero-item .num {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a3a5c;
  line-height: 1;
  margin-bottom: 6px;
}

.numero-item .num span {
  color: #e8a020;
}

.numero-item p {
  font-size: 13px;
  color: #777;
}

/* Contato / Mapa */
.contato-bloco {
  background: white;
  border-radius: 14px;
  border: 1px solid #e8e8e0;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contato-bloco h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 1rem;
}

.contato-linha {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.85rem;
  font-size: 14px;
  color: #444;
}

.contato-linha a {
  color: #1a3a5c;
  font-weight: 500;
}

.contato-linha a:hover {
  color: #e8a020;
}

@media (max-width: 680px) {
  .sobre-grid {
    grid-template-columns: 1fr;
  }

  .sobre-grid.invertido {
    direction: ltr;
  }

  .contato-bloco {
    grid-template-columns: 1fr;
  }
}


/* --- Page: Mapa --- */

/* Reset & Variáveis */
body.pagina-mapa,
html.pagina-mapa {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* Ocultar barra de rolagem da página inteira */
  background: #e2e8f0;
  font-family: 'TASA Orbiter', sans-serif;
}

/* Ocultar elementos padrão da template que não combinam com tela cheia */
.pagina-mapa footer {
  display: none !important;
}

/*#header-main {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 2000;
      /*background: rgba(255, 255, 255, 0.85) !important;*/
/* backdrop-filter: blur(15px); */
/* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); */
/*
    } */

/* Mapa Full Screen */
#mapa {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

/* Painel Lateral Flutuante (interface limpa e uniforme) */
.painel-flutuante {
  position: absolute;
  top: 90px;
  left: 20px;
  width: min(380px, calc(100vw - 40px));
  height: calc(100vh - 120px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(0);
}

/* --- Controles de Zoom Customizados --- */
.map-controls-zoom {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.map-controls-zoom button {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-controls-zoom button:hover {
  background: #0f172a;
  color: white;
  transform: scale(1.1);
}

.map-controls-zoom button i {
  width: 20px;
  height: 20px;
}

/* Legenda do Mapa - Camada de Pavimentação */
.info-legend {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  font-size: 12px;
  line-height: 1.6;
}

.info-legend h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #1a3a5c;
}

.info-legend div {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.info-legend span:first-child {
  flex-shrink: 0;
}

/* ====== ESTILOS PARA CELULAR (MOBILE) ====== */
@media (max-width: 768px) {
  .map-controls-zoom {
    right: 15px;
    top: 25%;
    /* Sobe um pouco no mobile para não bater no painel */
  }

  .info-legend {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 11px;
  }

  .info-legend h4 {
    font-size: 12px;
    margin-bottom: 8px;
  }
}

.painel-header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.painel-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.painel-header .titulo-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-sidebar-toggle {
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.25);
  cursor: pointer;
  color: #0f172a;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: all 0.25s ease;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.btn-sidebar-toggle:hover {
  background: #0f172a;
  color: white;
  transform: translateY(-1px);
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.btn-sidebar-toggle:hover i {
  transform: none;
}

/* Botão de expandir (fora do painel) */
#btn-expand-panel.btn-expand-panel {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-left: none;
  border-radius: 0 16px 16px 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  box-shadow: 8px 0 30px rgba(15, 23, 42, 0.12);
  z-index: 1001;
}

#btn-expand-panel.btn-expand-panel i {
  color: #0f172a;
}

/* Aba (toggle) - grudada na borda direita do painel */
#btn-toggle-panel.btn-toggle-panel {
  position: absolute;
  top: 50%;
  right: -26px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-right: none;
  border-radius: 0 22px 22px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 92px;
  box-shadow: -10px 0 28px rgba(15, 23, 42, 0.14);
  z-index: 1001;
}

#btn-toggle-panel.btn-toggle-panel i {
  color: #0f172a;
  transform: rotate(0deg);
}

/* Mobile: não exibir a aba lateral (painel vira bottom-sheet) */
/* ====== ESTILOS PARA CELULAR (MOBILE) ====== */
@media (max-width: 768px) {
  #btn-toggle-panel.btn-toggle-panel {
    display: none !important;
  }
}

/* Desktop: layout dividido no estilo Airbnb, painel fixo + mapa fixo */
@media (min-width: 769px) {
  body.pagina-mapa {
    background: #f8fafc;
  }

  .pagina-mapa #mapa {
    position: fixed;
    top: 0;
    right: 0;
    left: 50%;
    width: 50vw;
    height: 100vh;
    z-index: 1;
  }

  .pagina-mapa .painel-flutuante {
    position: fixed;
    top: 0;
    left: 0;
    width: 50vw;
    max-width: none;
    height: 100vh;
    padding-top: 96px;
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-right: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0;
    box-shadow: none;
    transform: none !important;
    z-index: 900;
  }

  .pagina-mapa .painel-header {
    padding: 20px 32px 18px;
    background: rgba(255, 255, 255, 0.96);
  }

  .pagina-mapa #filtros-superiores {
    padding: 14px 32px;
  }

  .pagina-mapa #lista-estabelecimentos-corpo {
    padding: 18px 32px 32px;
  }

  .pagina-mapa .local-card {
    border-radius: 18px;
  }

  .pagina-mapa .map-controls-zoom {
    right: 24px;
  }

  .pagina-mapa #btn-toggle-panel.btn-toggle-panel,
  .pagina-mapa #btn-expand-panel.btn-expand-panel {
    display: none !important;
  }
}

/* Painel do mapa: home de estabelecimentos inspirada no Airbnb */
.mapa-home {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
}

.pagina-mapa .painel-header .titulo-wrapper {
  /* Removido display: none; para tornar o título visível novamente */
}

.mapa-home-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mapa-category-box {
  appearance: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 18px;
  padding: 18px 16px;
  min-height: 132px;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mapa-category-box:hover,
.mapa-category-box.ativo {
  border-color: #0f172a;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.mapa-category-box.ativo {
  background: #0f172a;
  color: white;
}

.mapa-category-box.ativo .mapa-category-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.mapa-category-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f1f5f9;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mapa-category-icon i {
  width: 20px;
  height: 20px;
}

.mapa-category-box strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.mapa-category-box small {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.mapa-sugestoes {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mapa-sugestoes-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mapa-sugestoes-topo h3 {
  color: #0f172a;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
}

.mapa-ver-todos {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.mapa-ver-todos:hover {
  border-color: #0f172a;
}

/* Removido duplicata */
.mapa-place-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  padding: 0;
}

.mapa-place-card:hover {
  transform: none;
  box-shadow: none;
}

.mapa-place-thumb {
  aspect-ratio: 1.55 / 1;
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.54), transparent 24%),
    linear-gradient(135deg, color-mix(in srgb, var(--place-color) 24%, #ffffff), color-mix(in srgb, var(--place-color) 70%, #111827));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  overflow: hidden;
  position: relative;
}

.mapa-place-thumb::before {
  content: "Destaque";
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
}

.mapa-place-thumb i {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.18));
}

.mapa-place-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 4px;
}

.mapa-place-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.mapa-place-info h4 {
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
}

.mapa-place-info p {
  color: #64748b;
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.mapa-place-info small {
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 3px;
}

.mapa-place-info small i {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

@media (min-width: 769px) {
  .pagina-mapa .painel-header .titulo-wrapper {
    display: none;
  }

  .pagina-mapa .busca-wrapper {
    margin-bottom: 0;
  }

  .pagina-mapa .busca-container {
    height: 56px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }
}

@media (max-width: 980px) and (min-width: 769px) {

  .mapa-home-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mapa-home {
    gap: 22px;
  }

  .mapa-home-options {
    grid-template-columns: 1fr;
  }

  .mapa-category-box {
    min-height: 104px;
  }

  .mapa-place-thumb {
    min-height: 160px;
  }
}

/* --- Busca Dinâmica --- */
.busca-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  height: 48px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
}

.resultados-busca-live {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  backdrop-filter: blur(10px);
  border-radius: 16px;
  margin-top: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  max-height: 200px;
  overflow-y: auto;
  display: none;
  z-index: 1002;
}

.busca-live-item {
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.busca-live-item:hover {
  background: rgba(0, 0, 0, 0.03);
  padding-left: 22px;
}

.busca-live-item strong {
  font-size: 14px;
  color: #1e293b;
}

.busca-live-item span {
  font-size: 10px;
  color: #64748b;
}

.busca-container {
  position: relative;
  width: 100% !important;
  /* Sempre cheia agora */
  height: 48px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  z-index: 10;
}

.busca-container i {
  position: absolute;
  left: 15px;
  color: var(--accent-color);
  pointer-events: none;
  z-index: 2;
}

.busca-container:focus-within {
  background: white;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(217, 142, 50, 0.1);
}

.busca-container i {
  position: absolute;
  left: 15px;
  color: var(--accent-color);
  pointer-events: none;
  z-index: 2;
}

.busca-container i {
  position: absolute;
  left: 15px;
  color: var(--accent-color);
  pointer-events: none;
  z-index: 2;
}

.busca-input {
  width: 100%;
  height: 100%;
  padding: 0 15px 0 48px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #1e293b;
}

/* --- Estado Inicial (Pergunta) --- */
.selecao-inicial {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  flex: 1;
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.5s ease;
}

.filtros-inicial {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  margin-top: 10px;
}

.filtro-btn-lg {
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: white;
  color: #1e293b;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.filtro-btn-lg:hover {
  background: #0f172a;
  color: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.filtro-btn-lg i {
  width: 18px;
  height: 18px;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.selecao-inicial h3 {
  font-size: 1.4rem;
  color: #1e293b;
  margin-bottom: 25px;
  font-weight: 700;
}

.filtros {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  align-items: center;
  overflow-x: auto;
}

.filtro-btn {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 30px;
  border: 1px solid #cbd5e1;
  background: white;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.filtro-btn.ativo,
.filtro-btn:hover {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

/* Checkbox Filtro */
.checkbox-filtro {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  position: relative;
  padding: 4px 8px;
  border-radius: 30px;
  border: 1px solid #cbd5e1;
  background: white;
  transition: all 0.2s;
}

.checkbox-filtro:hover {
  border-color: #0f172a;
}

.checkbox-filtro input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  height: 14px;
  width: 14px;
  background-color: #fff;
  border: 2px solid #cbd5e1;
  border-radius: 3px;
  transition: all 0.2s;
}

.checkbox-filtro input:checked~.checkmark {
  background-color: #0f172a;
  border-color: #0f172a;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 4px;
  top: 1px;
  width: 3px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-filtro input:checked~.checkmark:after {
  display: block;
}

.checkbox-filtro.checked {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
}



/* Scrollbar personalizada */
#lista-estabelecimentos-corpo::-webkit-scrollbar {
  width: 6px;
}

#lista-estabelecimentos-corpo::-webkit-scrollbar-track {
  background: transparent;
}

#lista-estabelecimentos-corpo::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.local-card {
  background: white;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.local-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.local-card.ativo {
  border-left: 3px solid var(--accent-color);
  background: #fefdfb;
}

.card-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.card-cat {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.local-card h3 {
  font-size: 14px;
  color: #0f172a;
  margin: 0 0 4px;
  font-weight: 700;
  line-height: 1.3;
}

.local-info-extra {
  height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  border-top: 1px solid transparent;
  transition: padding 0.3s ease;
}

.tag-atendimento {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-presencial {
  background: #ecfdf5;
  color: #059669;
}

.tag-delivery {
  background: #fffbeb;
  color: #d97706;
}

.sem-resultados {
  padding: 40px 20px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

/* ====== ESTILOS PARA CELULAR (MOBILE) ====== */
@media (max-width: 768px) {
  .painel-flutuante {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    border-radius: 32px 32px 0 0;
    transform: translateY(calc(100% - 70px));
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    touch-action: none;
    will-change: transform;
    overflow: hidden;
  }

  /* Quando recolhido, mostra apenas o header e handle */
  .painel-flutuante.colapsado {
    transform: translateY(calc(100% - 70px));
  }

  /* Quando expandido */
  .painel-flutuante:not(.colapsado) {
    transform: translateY(0);
  }

  /* Handle (alça) visual para mobile */
  .painel-flutuante::before {
    content: '';
    display: block;
    width: 50px;
    height: 5px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin: 8px auto 2px;
    flex-shrink: 0;
    cursor: grab;
    transition: background 0.2s ease;
  }

  .painel-flutuante::before:active {
    background: rgba(0, 0, 0, 0.3);
    cursor: grabbing;
  }

  #mapa {
    height: 100vh;
    top: 0;
  }

  .painel-header {
    padding: 8px 20px 12px;
    cursor: grab;
    user-select: none;
    touch-action: none;
    /* Impede o scroll da página ao arrastar o painel */
    flex-shrink: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .painel-header:active {
    cursor: grabbing;
  }

  .painel-header h2 {
    font-size: 1.1rem;
    text-align: center;
    margin: 0;
    font-weight: 700;
  }

  /* Conteúdo do painel - oculta quando recolhido */
  .painel-flutuante.colapsado>div:not(.painel-header):not(::before),
  .painel-flutuante.colapsado #lista-estabelecimentos-corpo,
  .painel-flutuante.colapsado #filtros-superiores {
    display: none;
  }

  .busca-input {
    padding: 8px 16px;
    margin-top: 5px;
  }

  .filtros {
    padding: 8px 20px;
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .filtro-btn {
    padding: 4px 10px;
    font-size: 10px;
  }

  .checkbox-filtro {
    padding: 4px 10px;
    font-size: 10px;
  }

  .checkbox-filtro .checkmark {
    height: 12px;
    width: 12px;
  }

  .checkbox-filtro .checkmark:after {
    left: 3px;
    top: 0;
    width: 2px;
    height: 6px;
  }


}

/* Desktop map split final overrides */
@media (min-width: 769px) {
  .pagina-mapa #mapa {
    position: fixed;
    top: 0;
    right: 0;
    left: 50%;
    width: 50vw;
    height: 100vh;
  }

  .pagina-mapa .painel-flutuante {
    position: fixed;
    top: 0;
    left: 0;
    width: 50vw;
    max-width: none;
    height: 100vh;
    padding-top: 96px;
    border: none;
    border-right: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0;
    box-shadow: none;
    transform: none !important;
  }

  .pagina-mapa .painel-header {
    padding: 20px 32px 18px;
  }

  .pagina-mapa #filtros-superiores {
    padding: 14px 32px;
  }

  .pagina-mapa #lista-estabelecimentos-corpo {
    padding: 18px 32px 32px;
  }

  .pagina-mapa .local-card {
    border-radius: 18px;
  }

  .pagina-mapa #btn-toggle-panel.btn-toggle-panel,
  .pagina-mapa #btn-expand-panel.btn-expand-panel {
    display: none !important;
  }
}

/* Novos estilos para o painel do mapa (Busca, Filtros e Infinite Scroll) */
.busca-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.btn-filtro-main {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: white;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.btn-filtro-main:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.1);
}

.painel-scroll-conteudo {
  flex: 1;
  overflow-y: auto;
  padding: 0 32px 32px;
}

.mapa-secao {
  margin-top: 24px;
}

.mapa-secao.sugestoes-secao {
  margin-top: 40px;
  border-top: 1px solid #f1f5f9;
  padding-top: 32px;
}

.popup-secao-titulo {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.filtros-atendimento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.checkbox-filtro-card {
  cursor: pointer;
}

.checkbox-filtro-card input {
  display: none;
}

.checkbox-card-content {
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.checkbox-filtro-card input:checked+.checkbox-card-content {
  border-color: #0f172a;
  background: #0f172a;
  color: white;
}

.checkbox-card-content i {
  width: 24px;
  height: 24px;
}

.checkbox-card-content span {
  font-size: 13px;
  font-weight: 700;
}

/* Infinite Loader */
.infinite-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 10px;
  color: #64748b;
  font-size: 13px;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #e2e8f0;
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin_loader 0.8s linear infinite;
}

@keyframes spin_loader {
  to {
    transform: rotate(360deg);
  }
}


/* Popup Filtros Overlay */
.overlay-filtros {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.05);
  /* Fundo bem sutil */
  backdrop-filter: blur(2px);
  z-index: 2100;
  display: none;
  pointer-events: none;
}

.overlay-filtros.aberto {
  display: block;
  pointer-events: auto;
}

.popup-filtros {
  position: absolute;
  background: white;
  width: 280px;
  /* Bem mais compacto */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid #e2e8f0;
  transform-origin: top right;
  z-index: 9999;
}

.popup-filtros-header {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.popup-filtros-header h3 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.popup-filtros-body {
  padding: 16px;
}

.popup-secao-titulo {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 12px;
}

.filtros-atendimento-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-card-content {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: row;
  /* Horizontal para economizar espaço */
  align-items: center;
  gap: 10px;
  background: white;
}

.checkbox-card-content i {
  width: 18px;
  height: 18px;
}

.checkbox-card-content span {
  font-size: 13px;
}

.popup-filtros-footer {
  padding: 12px 16px;
  background: #f8fafc;
}

.btn-aplicar-filtros {
  width: 100%;
  padding: 10px;
  font-size: 13px;
  border-radius: 10px;
}


#lista-estabelecimentos-corpo {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  padding: 16px 32px 32px !important;
  width: 100% !important;
  flex: 1;
  overflow-y: auto;
}

/* Card Estilo Airbnb */
.local-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  text-align: left;
  position: relative;
}

.local-card-img-wrapper {
  position: relative;
  width: 300px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  margin-bottom: 12px;
}

.local-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.local-card:hover .local-card-img {
  transform: scale(1.05);
}

/* Pills e Coração Estilo Airbnb */
.card-badge-airbnb {
  position: absolute;
  top: 10px;
  left: 10px;
  background: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.card-heart-airbnb {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
  z-index: 2;
  transition: color 0.2s;
}

.card-heart-airbnb:hover {
  color: #ff385c;
  /* Cor de destaque Airbnb */
}

.local-card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.local-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.local-card-nome-cat {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.local-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
}

.local-card-rating i {
  color: #ff385c;
  fill: #ff385c;
  width: 12px;
  height: 12px;
}

.local-card-end {
  font-size: 13px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.local-card-atendimento-text {
  font-size: 13px;
  color: #64748b;
}

/* Área de Expansão */
.local-card-expand-area {
  overflow: hidden;
  height: 0;
  opacity: 0;
  margin-top: 0;
}

.local-card.ativo .local-card-expand-area {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.local-card-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 12px;
}

.local-card-galeria {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.local-card-galeria::-webkit-scrollbar {
  display: none;
}

.galeria-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.local-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.btn-card-action {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-card-action.primary {
  background: #0f172a;
  color: white;
}

.btn-card-action.secondary {
  background: #f1f5f9;
  color: #1e293b;
}

@media (max-width: 1024px) {
  #lista-estabelecimentos-corpo {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .local-card-img-wrapper {
    aspect-ratio: 16 / 9;
  }

  .popup-filtros {
    max-width: none;
    border-radius: 32px 32px 0 0;
    position: absolute;
    bottom: 0;
    transform-origin: bottom center !important;
  }

  .overlay-filtros {
    align-items: flex-end;
    padding: 0;
  }
}