/* ============================================
   VISITE DOIS VIZINHOS - Estilos Globais
   ============================================ */

:root {
  --azul: #1e3a8a;
  --azul-claro: #3b82f6;
  --azul-escuro: #1e293b;
  --verde: #16a34a;
  --verde-claro: #22c55e;
  --amarelo: #facc15;
  --vermelho: #dc2626;
  --bg: #fafafa;
  --bg-card: #ffffff;
  --texto: #1f2937;
  --texto-suave: #6b7280;
  --borda: #e5e7eb;
  --sombra: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --sombra-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--texto);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--azul); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--verde); }

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--azul-escuro);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============= HEADER ============= */
.header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--azul-escuro);
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.15);
}

.logo span { line-height: 1.1; }
.logo .tagline { display: block; font-size: 0.68rem; color: var(--verde); font-weight: 600; letter-spacing: 0.5px; margin-top: 2px; }

/* === NAV === */
.nav {
  display: flex;
  gap: 0.15rem;
  align-items: center;
}

.nav > a,
.nav-link {
  color: var(--texto);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav > a:hover,
.nav-link:hover {
  background: rgba(30, 58, 138, 0.06);
  color: var(--azul);
}

.nav > a.active,
.nav-link.active {
  color: var(--azul);
  background: rgba(30, 58, 138, 0.08);
  font-weight: 600;
}

.chev {
  transition: transform 0.2s;
}

.has-submenu.aberto .chev {
  transform: rotate(180deg);
}

/* Item destaque (Caminho de Santiago) — CTA isolado à direita */
.destaque-nav {
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-claro) 100%) !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
  transition: all 0.2s !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  font-size: 0.92rem;
  text-decoration: none;
}

.destaque-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
  background: linear-gradient(135deg, var(--verde-claro) 0%, var(--verde) 100%) !important;
  color: white !important;
}

.destaque-nav.active {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-claro) 100%) !important;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Desktop: mostra só o CTA à direita, esconde o do menu */
.destaque-nav-mobile { display: none !important; }
.destaque-nav-desktop { display: inline-flex; flex-shrink: 0; margin-left: auto; }

/* Permite que o nav ocupe o espaço central */
.header-inner > .nav { flex: 1; justify-content: flex-end; }

/* === DROPDOWN === */
.nav-item {
  position: relative;
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: white;
  border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 8px 16px -8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(229, 231, 235, 0.6);
  padding: 0.5rem;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
}

.submenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: white;
  border-left: 1px solid rgba(229, 231, 235, 0.6);
  border-top: 1px solid rgba(229, 231, 235, 0.6);
}

.has-submenu.aberto .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  color: var(--texto);
  transition: all 0.15s;
}

.submenu a:hover {
  background: rgba(30, 58, 138, 0.06);
  color: var(--azul);
}

.submenu a > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.submenu a strong {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--azul-escuro);
}

.submenu a:hover strong {
  color: var(--azul);
}

.submenu a small {
  font-size: 0.78rem;
  color: var(--texto-suave);
}

.submenu-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(22, 163, 74, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* === HAMBURGER === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--azul-escuro);
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.ativo span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.ativo span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.ativo span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============= HERO ============= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  background-image: url('../img/doisvizinhos-cidade.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(30, 58, 138, 0.55) 0%, rgba(22, 163, 74, 0.45) 100%),
    radial-gradient(ellipse at 50% 35%, transparent 30%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero { background-attachment: scroll; }
}

.hero-content {
  position: relative;
  max-width: 900px;
  padding: 2rem;
  z-index: 2;
}

.hero h1 {
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 .destaque { color: var(--amarelo); }

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--amarelo);
  color: var(--azul-escuro);
}
.btn-primary:hover { background: white; transform: translateY(-2px); color: var(--azul-escuro); }

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.btn-outline:hover { background: white; color: var(--azul); transform: translateY(-2px); }

.btn-verde {
  background: var(--verde);
  color: white;
}
.btn-verde:hover { background: var(--verde-claro); color: white; transform: translateY(-2px); }

/* ============= SECTIONS ============= */
.section {
  padding: 5rem 0;
}

.section-titulo {
  text-align: center;
  margin-bottom: 3rem;
}

.section-titulo .pretitulo {
  display: inline-block;
  color: var(--verde);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.section-titulo h2 { margin-bottom: 0.5rem; }
.section-titulo p { color: var(--texto-suave); max-width: 700px; margin: 0 auto; }

.bg-alt { background: white; }
.bg-azul { background: var(--azul-escuro); color: white; }
.bg-azul h2, .bg-azul h3 { color: white; }

/* ============= CARDS ============= */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); }

.card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--azul) 0%, var(--verde) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(250, 204, 21, 0.3), transparent 60%);
}

/* Quando o card tem foto real, o ::after fica transparente */
.card-img-foto::after { display: none; }
.card-img-foto { padding: 0; }
.card-img-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img-foto img { transform: scale(1.05); }

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-categoria {
  display: inline-block;
  background: rgba(22, 163, 74, 0.1);
  color: var(--verde);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--azul-escuro);
}

.card-body p {
  color: var(--texto-suave);
  font-size: 0.95rem;
  flex: 1;
}

.card-endereco {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  font-size: 0.82rem !important;
  color: var(--texto-suave) !important;
  flex: 0 0 auto !important;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--borda);
  line-height: 1.35;
}

.card-link {
  margin-top: 1rem;
  color: var(--azul);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-link-site {
  background: var(--verde);
  color: white !important;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin: 0;
  transition: all 0.2s;
}

.card-link-site:hover {
  background: var(--verde-claro);
  color: white !important;
  transform: translateY(-1px);
}

/* Imagens temáticas (gradientes por categoria) */
.img-natural { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); }
.img-religioso { background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%); }
.img-cultural { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); }
.img-gastronomia { background: linear-gradient(135deg, #ea580c 0%, #9a3412 100%); }
.img-restaurante { background: linear-gradient(135deg, #be123c 0%, #881337 100%); }
.img-rural { background: linear-gradient(135deg, #65a30d 0%, #3f6212 100%); }
.img-parque { background: linear-gradient(135deg, #0891b2 0%, #155e75 100%); }
.img-evento { background: linear-gradient(135deg, #db2777 0%, #831843 100%); }
.img-esportes { background: linear-gradient(135deg, #0ea5e9 0%, #075985 100%); }
.img-hotel { background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%); }
.img-museu { background: linear-gradient(135deg, #92400e 0%, #451a03 100%); }
.img-praca { background: linear-gradient(135deg, #0d9488 0%, #134e4a 100%); }

/* ============= DESTAQUES INICIAL ============= */
.destaques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.destaque-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--sombra);
  transition: all 0.3s;
}

.destaque-item:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); }

.destaque-item .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul) 0%, var(--verde) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}

.destaque-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.destaque-item p { color: var(--texto-suave); font-size: 0.9rem; }

/* ============= STATS ============= */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-numero {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--amarelo);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* ============= EVENTOS LIST ============= */
.evento-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: white;
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  margin-bottom: 1rem;
  transition: all 0.2s;
}

.evento-item:hover { transform: translateX(4px); border-left: 4px solid var(--verde); }

.evento-item.evento-hoje {
  border: 2px solid var(--amarelo);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.08), white);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.2);
}

.evento-item.evento-hoje .evento-data {
  background: linear-gradient(135deg, var(--amarelo) 0%, #f59e0b 100%);
  color: var(--azul-escuro);
}

.badge-hoje {
  display: inline-block;
  background: var(--amarelo);
  color: var(--azul-escuro);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.evento-data {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-claro) 100%);
  color: white;
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
}

.evento-data .dia { font-size: 1.75rem; font-weight: 800; line-height: 1; }
.evento-data .mes { font-size: 0.8rem; text-transform: uppercase; margin-top: 0.25rem; letter-spacing: 1px; }

.evento-info h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.evento-info .local { color: var(--texto-suave); font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }

/* ============= FILTROS ============= */
.filtros {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filtro-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: white;
  border: 2px solid var(--borda);
  color: var(--texto);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.filtro-btn:hover { border-color: var(--azul); color: var(--azul); }
.filtro-btn.active { background: var(--azul); border-color: var(--azul); color: white; }

/* ============= FOOTER ============= */
.footer {
  background: var(--azul-escuro);
  color: #cbd5e1;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer ul li a { color: #cbd5e1; }
.footer ul li a:hover { color: var(--amarelo); }

.footer-brand p { font-size: 0.9rem; margin-bottom: 1rem; }

.social {
  display: flex;
  gap: 0.75rem;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.social a:hover { background: var(--verde); }

.footer-parceria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 2rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1rem;
}

.footer-parceria-label {
  flex-basis: 100%;
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--amarelo);
  font-weight: 700;
}

.footer-parceria img {
  height: 70px;
  width: auto;
  background: white;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}

.footer-parceria img:hover {
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .footer-parceria img { height: 60px; padding: 0.7rem 1rem; }
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ============= MAPA ============= */
.mapa-body { overflow: hidden; }
.mapa-wrapper { position: relative; }

/* Header mais compacto na página do mapa */
.mapa-body .header { padding: 0; }
.mapa-body .header-inner { padding: 0.4rem 1rem; }
.mapa-body .logo img { height: 42px; width: 42px; }
.mapa-body .logo span:not(.tagline) { font-size: 0.95rem; }
.mapa-body .logo .tagline { font-size: 0.62rem; }

@media (max-width: 600px) {
  .mapa-body .logo .tagline { display: none; }
  .mapa-body .logo img { height: 38px; width: 38px; }
}

#mapa {
  height: calc(100vh - 68px);
  width: 100%;
}

@media (max-width: 600px) {
  #mapa { height: calc(100vh - 60px); }
}

/* Painel de filtros — DESKTOP */
.mapa-controles {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 500;
  background: white;
  padding: 1.25rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 8px 16px -8px rgba(0, 0, 0, 0.1);
  width: 280px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sheet-handle { display: none; }

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.sheet-header h3 {
  font-size: 1.05rem;
  color: var(--azul-escuro);
  margin: 0;
}

.sheet-close {
  display: none;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--texto);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.sheet-actions {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.btn-mini {
  flex: 1;
  padding: 0.4rem 0.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--borda);
  background: white;
  color: var(--texto);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-mini.active,
.btn-mini:hover {
  border-color: var(--azul);
  background: var(--azul);
  color: white;
}

.mapa-filtro {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mapa-filtro label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.92rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.mapa-filtro label:hover { background: rgba(30, 58, 138, 0.05); }
.mapa-filtro label:has(input:checked) { background: rgba(30, 58, 138, 0.06); }

.mapa-filtro input[type="checkbox"] {
  accent-color: var(--azul);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}

.sheet-legenda {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--borda);
  font-size: 0.75rem;
  color: var(--texto-suave);
  line-height: 1.5;
}

/* Backdrop (só mobile) */
.mapa-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 499;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mapa-backdrop.ativo {
  display: block;
  opacity: 1;
}

/* FABs (Floating Action Buttons) */
.mapa-fab {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 500;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-claro) 100%);
  color: white;
  border: none;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.35), 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.mapa-fab:hover, .mapa-fab:active { transform: scale(0.96); box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4); }

.fab-badge {
  background: var(--amarelo);
  color: var(--azul-escuro);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  min-width: 24px;
  text-align: center;
}

.mapa-fab-secundario {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 500;
  background: white;
  color: var(--azul-escuro);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.mapa-fab-secundario:hover, .mapa-fab-secundario:active { transform: scale(0.94); }

.mapa-fab-secundario.carregando {
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Grupo de FABs secundários */
.fab-group {
  position: absolute;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (min-width: 768px) {
  .fab-group { bottom: 1.5rem; right: 1.5rem; }
  .mapa-fab-secundario { position: relative; bottom: auto; right: auto; }
}

@media (max-width: 767px) {
  .fab-group { bottom: 1rem; left: 1rem; }
  .mapa-fab-secundario { position: relative; bottom: auto; left: auto; }
}

/* === Busca dentro do sheet === */
.sheet-busca {
  position: relative;
  margin-bottom: 0.5rem;
}

.sheet-busca input {
  width: 100%;
  padding: 0.7rem 2.5rem 0.7rem 2.4rem;
  border-radius: 12px;
  border: 1.5px solid var(--borda);
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 0.8rem center;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--texto);
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.sheet-busca input:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.sheet-busca input::-webkit-search-cancel-button { display: none; }

.busca-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.08);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--texto-suave);
  align-items: center;
  justify-content: center;
}

.busca-resultados {
  margin-bottom: 0.85rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 280px;
  overflow-y: auto;
}

.busca-resultados.ativo { display: flex; }

.busca-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem;
  border: 1px solid var(--borda);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  transition: all 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.busca-item:hover, .busca-item:active {
  background: rgba(30, 58, 138, 0.05);
  border-color: var(--azul);
}

.busca-icone {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: white;
}

.busca-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.busca-info strong {
  font-size: 0.9rem;
  color: var(--azul-escuro);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.busca-info small {
  font-size: 0.75rem;
  color: var(--texto-suave);
}

.busca-vazia {
  padding: 1rem;
  text-align: center;
  color: var(--texto-suave);
  font-size: 0.9rem;
}

/* Desktop: re-centralizar acima dos filtros, sem botão de filtros */
@media (min-width: 768px) {
  .mapa-fab-secundario {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* MOBILE — Bottom Sheet */
@media (max-width: 767px) {
  #mapa { height: calc(100vh - 70px); }

  /* Painel vira bottom sheet */
  .mapa-controles {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: 75vh;
    border-radius: 24px 24px 0 0;
    padding: 0.5rem 1.25rem 2rem;
    transform: translateY(100%);
    z-index: 1100;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mapa-controles.aberto {
    transform: translateY(0);
  }

  .sheet-handle {
    display: block;
    width: 40px;
    height: 4px;
    background: var(--borda);
    border-radius: 999px;
    margin: 0.5rem auto 1rem;
  }

  .sheet-close {
    display: flex;
  }

  .sheet-header h3 { font-size: 1.15rem; }

  /* Checkboxes em 2 colunas no mobile */
  .mapa-filtro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
  }

  .mapa-filtro label {
    padding: 0.7rem 0.6rem;
    font-size: 0.88rem;
    min-height: 44px;
  }

  .mapa-filtro input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }

  /* FAB de filtros visível só no mobile */
  .mapa-fab {
    display: inline-flex;
    bottom: 1rem;
    right: 1rem;
    padding: 0.85rem 1.2rem;
  }

  .mapa-fab-secundario {
    bottom: 1rem;
    right: auto;
    left: 1rem;
  }

  .mapa-backdrop {
    z-index: 1099;
  }
}

/* Esconder backdrop em desktop */
@media (min-width: 768px) {
  .mapa-backdrop { display: none !important; }
}

/* ============= VIDEO YOUTUBE LITE EMBED ============= */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sombra-hover);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: filter 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.video-play::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
  transition: background 0.3s;
}

.video-play:hover::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 100%);
}

.video-play-icon {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  transition: transform 0.2s ease;
}

.video-play:hover .video-play-icon {
  transform: scale(1.1);
}

.video-play:hover .video-play-icon svg path:first-child {
  fill: #ef4444 !important;
}

/* ============= EMBED MAPA GOOGLE MY MAPS ============= */
.mapa-embed {
  position: relative;
  width: 100%;
  padding-bottom: 60%; /* aspect-ratio ~5:3 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sombra-hover);
  background: linear-gradient(135deg, rgba(30,58,138,0.05), rgba(22,163,74,0.05));
}

.mapa-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .mapa-embed { padding-bottom: 0; height: 560px; }
}

@media (max-width: 600px) {
  .mapa-embed { padding-bottom: 100%; } /* mais quadrado no mobile pra ficar legível */
}

/* Leaflet popup responsivo */
.leaflet-popup-content-wrapper {
  border-radius: 12px;
}

@media (max-width: 480px) {
  .leaflet-popup-content { margin: 0.75rem; }
  .leaflet-popup-content-wrapper { max-width: 85vw; }
}

/* Controle de zoom Leaflet melhor no mobile */
@media (max-width: 767px) {
  .leaflet-control-zoom {
    margin-top: 0.75rem !important;
    margin-right: 0.75rem !important;
  }
  .leaflet-control-zoom a {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 1.3rem !important;
  }
}

/* ============= PÁGINA INTERIOR ============= */
.page-hero {
  background: linear-gradient(135deg, var(--azul) 0%, var(--verde) 100%);
  color: white;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(250, 204, 21, 0.2), transparent 50%);
}

.page-hero h1 { color: white; position: relative; }
.page-hero p { opacity: 0.9; max-width: 700px; margin: 1rem auto 0; position: relative; font-size: 1.1rem; }

.page-hero-logo {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto 1.25rem;
  position: relative;
  background: white;
  padding: 0.75rem;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .page-hero-logo { width: 110px; padding: 0.5rem; margin-bottom: 1rem; }
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  position: relative;
}

.breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.breadcrumb a:hover { color: white; }

/* ============= CONTEÚDO TEXTUAL ============= */
.conteudo {
  max-width: 800px;
  margin: 0 auto;
}

.conteudo p { margin-bottom: 1.25rem; font-size: 1.05rem; }
.conteudo h2 { margin: 2.5rem 0 1rem; }
.conteudo h3 { margin: 2rem 0 0.75rem; }
.conteudo ul, .conteudo ol { margin: 0 0 1.5rem 1.5rem; }
.conteudo ul li, .conteudo ol li { margin-bottom: 0.5rem; }

.info-box {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(22, 163, 74, 0.05));
  border-left: 4px solid var(--verde);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.info-box h3 { margin-bottom: 0.75rem; color: var(--verde); }

/* ============= APOIADORES ============= */
.apoiadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.apoiador {
  background: white;
  padding: 2rem 1rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--sombra);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.apoiador:hover { transform: translateY(-4px); }

.apoiador-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul) 0%, var(--verde) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.apoiador-nome {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--azul-escuro);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
  /* Esconde o CTA de desktop, mostra o do menu mobile */
  .destaque-nav-desktop { display: none !important; }
  .destaque-nav-mobile { display: inline-flex !important; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 0.75rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
    align-items: stretch;
    gap: 0.25rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    border-top: 1px solid var(--borda);
  }

  .nav.aberto { display: flex; }
  .menu-toggle { display: flex; }
  .header-inner > .nav { flex: none; justify-content: flex-start; }

  .nav > a,
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .destaque-nav {
    margin: 0.25rem 0;
    justify-content: center !important;
  }

  /* Submenu em acordeão no mobile */
  .nav-item { position: static; }

  .submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(30, 58, 138, 0.03);
    border-radius: 10px;
    padding: 0.25rem;
    min-width: 0;
    width: 100%;
    margin-top: 0.25rem;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    padding: 0;
    transition: max-height 0.3s ease, padding 0.2s ease;
  }

  .submenu::before { display: none; }

  .has-submenu.aberto .submenu {
    transform: none;
    max-height: 500px;
    padding: 0.4rem;
  }

  .submenu a {
    padding: 0.6rem 0.75rem;
  }

  .submenu a small { font-size: 0.75rem; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .logo span:not(.tagline) { font-size: 0.95rem; }
  .logo .tagline { display: none; }
  .logo img { height: 44px; width: 44px; }
}

@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .hero { min-height: 70vh; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .evento-item { grid-template-columns: 80px 1fr; gap: 1rem; padding: 1rem; }
  .stat-numero { font-size: 2.5rem; }
  .mapa-controles { max-width: calc(100% - 2rem); }
}

/* ============= UTILS ============= */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.hide-mobile { }
@media (max-width: 600px) { .hide-mobile { display: none; } }

/* Animações */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease-out;
}

/* ============= SKELETON LOADERS ============= */
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.skeleton-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  overflow: hidden;
}

.skeleton-img {
  height: 200px;
}

.skeleton-body { padding: 1.5rem; }

.skeleton-line {
  height: 12px;
  margin-bottom: 0.6rem;
}

.skeleton-line.short { width: 30%; height: 10px; margin-bottom: 0.85rem; }
.skeleton-line.title { height: 18px; width: 70%; margin-bottom: 0.85rem; }
.skeleton-line.full { width: 100%; }
.skeleton-line.medium { width: 80%; }

/* Skeleton de evento (linha) */
.skeleton-evento {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: white;
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  margin-bottom: 1rem;
}

.skeleton-data {
  height: 70px;
  border-radius: 10px;
}

/* ============= BOTÃO VOLTAR AO TOPO ============= */
.btn-topo {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-claro) 100%);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-topo.visivel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-topo:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(30, 58, 138, 0.45); }

@media (max-width: 600px) {
  .btn-topo { bottom: 1rem; right: 1rem; width: 44px; height: 44px; }
}

/* Esconder na página do mapa (já tem outros FABs) */
.mapa-body .btn-topo { display: none !important; }

/* ============= STICKY FILTERS ============= */
.filtros-sticky {
  position: sticky;
  top: 64px;
  z-index: 100;
  background: var(--bg);
  padding: 1rem 0;
  margin: -1rem 0 1.5rem;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.filtros-sticky.fixou {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--borda);
}

@media (max-width: 900px) {
  .filtros-sticky { top: 62px; }
}

/* ============= BREADCRUMB BAR ============= */
.breadcrumb-bar {
  background: white;
  border-bottom: 1px solid var(--borda);
  padding: 0.75rem 0;
  font-size: 0.88rem;
  position: sticky;
  top: 64px;
  z-index: 99;
  display: none;
}

.breadcrumb-bar.ativa { display: block; }

.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--texto-suave);
  flex-wrap: wrap;
}

.breadcrumb-bar a {
  color: var(--azul);
  font-weight: 500;
  text-decoration: none;
}

.breadcrumb-bar a:hover { text-decoration: underline; }

.breadcrumb-bar .sep { color: var(--texto-suave); opacity: 0.5; }

.breadcrumb-bar .atual {
  color: var(--azul-escuro);
  font-weight: 600;
}

@media (max-width: 900px) {
  .breadcrumb-bar { top: 62px; padding: 0.6rem 0; font-size: 0.82rem; }
}

/* Quando tem breadcrumb-bar, sticky filter desce */
.breadcrumb-bar.ativa ~ .section .filtros-sticky,
.breadcrumb-bar.ativa + .section .filtros-sticky {
  top: 110px;
}

/* ============= LIGHTBOX ============= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s;
  padding: 2rem;
}

.lightbox.ativo {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
  animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  max-width: 80%;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

/* Cursor zoom-in nas fotos clicáveis */
.card-img-foto img, .lightbox-trigger {
  cursor: zoom-in;
}

/* ============= SCROLL-TRIGGERED ANIMATIONS ============= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

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

/* Stagger nos filhos */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.3s; }

/* Respeitar preferência do usuário */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .skeleton { animation: none; }
}

/* ============= HERO SLIDESHOW ============= */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
  will-change: opacity, transform;
}

/* Ken Burns: zoom lento enquanto o slide está ativo */
.hero-slide.ativo {
  opacity: 1;
  animation: kenBurns 9s ease-out forwards;
}

@keyframes kenBurns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.18); }
}

/* O hero com slideshow não usa o background do .hero */
.hero.com-slideshow {
  background-image: none;
}

/* ===== Bolinhas indicadoras ===== */
.hero-dots {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s, background 0.3s;
}

.hero-dot:hover { background: rgba(255, 255, 255, 0.75); }

.hero-dot.ativo {
  width: 28px;
  background: var(--amarelo);
  border-color: var(--amarelo);
}

/* ===== Mini-stats no hero ===== */
.hero-mini-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-mini-stat strong {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--amarelo);
}

.hero-mini-stat span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.92;
  margin-top: 0.25rem;
}

/* ===== Seta de scroll ===== */
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  z-index: 3;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.hero-scroll:hover {
  color: var(--amarelo);
  opacity: 1;
}

.hero-scroll-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-scroll-arrow {
  width: 22px;
  height: 22px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(-4px, -4px); opacity: 0.6; }
  50%      { transform: rotate(45deg) translate(2px, 2px);  opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.ativo { animation: none; transform: scale(1); }
  .hero-scroll-arrow { animation: none; }
}

@media (max-width: 600px) {
  .hero-mini-stats { gap: 1.5rem; margin-top: 1.75rem; }
  .hero-mini-stat span { font-size: 0.7rem; letter-spacing: 0.5px; }
  .hero-dots { bottom: 4.5rem; }
  .hero-scroll { bottom: 1rem; }
  .hero-scroll-label { display: none; }
}

/* ============= PATTERN VISUAL PARA CARDS SEM FOTO ============= */
.card-img:not(.card-img-foto)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 1px, transparent 2px),
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 2px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08) 1px, transparent 2px);
  background-size: 40px 40px, 60px 60px, 80px 80px;
  opacity: 0.6;
}

.card-img:not(.card-img-foto) .card-icone-decorativo {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  opacity: 0.25;
  z-index: 1;
}

.card-img:not(.card-img-foto) > * {
  position: relative;
  z-index: 2;
}

/* ============================================
   ROTEIRO TURÍSTICO — FAB + Sheet + botões "+"
   ============================================ */

/* ---- FAB flutuante (canto inferior esquerdo) ---- */
.roteiro-fab {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-claro) 100%);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.roteiro-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.45);
}
.roteiro-fab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: white;
  color: var(--verde);
  font-size: 0.78rem;
  font-weight: 800;
}
.roteiro-fab:not(.com-itens) .roteiro-fab-badge {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

@media (max-width: 600px) {
  .roteiro-fab { bottom: 1rem; left: 1rem; padding: 0.6rem 0.9rem; }
  .roteiro-fab-label { display: none; }
}

/* ---- Backdrop ---- */
.roteiro-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 1000;
}
.roteiro-backdrop.ativo {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Sheet lateral ---- */
.roteiro-sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg-card);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
}
.roteiro-sheet.aberto { transform: translateX(0); }

.roteiro-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--borda);
}
.roteiro-sheet-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--azul-escuro);
}
.roteiro-sheet-header small {
  display: block;
  color: var(--texto-suave);
  margin-top: 0.2rem;
  font-size: 0.82rem;
}
.roteiro-sheet-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--texto-suave);
  cursor: pointer;
  padding: 0 0.3rem;
}
.roteiro-sheet-close:hover { color: var(--vermelho); }

/* ---- Lista de itens ---- */
.roteiro-itens {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1rem;
}
.roteiro-vazio {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--texto-suave);
}
.roteiro-vazio h4 {
  margin: 0.75rem 0 0.5rem;
  color: var(--azul-escuro);
}
.roteiro-vazio p { font-size: 0.92rem; line-height: 1.5; }

.roteiro-item {
  display: grid;
  grid-template-columns: auto 56px 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  background: white;
  transition: box-shadow 0.15s;
}
.roteiro-item:hover { box-shadow: var(--sombra); }

.roteiro-item-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--azul);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
}
.roteiro-item-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.roteiro-item-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.roteiro-item-emoji { font-size: 1.8rem; }
.roteiro-item-info {
  min-width: 0; /* permite truncar */
}
.roteiro-item-info strong {
  display: block;
  color: var(--azul-escuro);
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.roteiro-item-info small {
  color: var(--texto-suave);
  font-size: 0.78rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.roteiro-item-acoes {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.roteiro-acao {
  width: 28px;
  height: 24px;
  border: 1px solid var(--borda);
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--texto-suave);
  transition: all 0.15s;
  padding: 0;
}
.roteiro-acao:hover:not(:disabled) {
  background: var(--azul);
  color: white;
  border-color: var(--azul);
}
.roteiro-acao:disabled { opacity: 0.3; cursor: not-allowed; }
.roteiro-acao-remover:hover { background: var(--vermelho) !important; border-color: var(--vermelho) !important; }

/* ---- Ações no rodapé ---- */
.roteiro-sheet-actions {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--borda);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.roteiro-sheet-actions .btn {
  justify-content: center;
  font-size: 0.88rem;
  padding: 0.7rem 1rem;
}
.roteiro-btn-clear {
  background: transparent;
  border: none;
  color: var(--vermelho);
  cursor: pointer;
  font-size: 0.82rem;
  text-decoration: underline;
  margin-top: 0.3rem;
}
.roteiro-btn-clear:hover { color: #991b1b; }

/* ---- Botão "+ Adicionar ao roteiro" (cards e popups) ---- */
.btn-roteiro-add {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: white;
  color: var(--verde);
  border: 1.5px solid var(--verde);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-roteiro-add:hover {
  background: var(--verde);
  color: white;
}
.btn-roteiro-add.no-roteiro {
  background: var(--verde);
  color: white;
  border-color: var(--verde);
}
.btn-roteiro-add.no-roteiro:hover {
  background: var(--vermelho);
  border-color: var(--vermelho);
}

/* No card: posicionar acima do "Ver no mapa" */
.card-roteiro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1rem;
}
.card-roteiro-row .card-link {
  margin-top: 0;
}

/* Polilinha do roteiro no mapa Leaflet */
.roteiro-marker-numero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--azul);
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  border: 3px solid white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* ---- Modal de compartilhar roteiro (link + QR) ---- */
.roteiro-share-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.roteiro-share-modal.ativo {
  opacity: 1;
  pointer-events: auto;
}
.roteiro-share-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  max-width: 360px;
  width: calc(100% - 2rem);
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.roteiro-share-content h3 {
  margin: 0 0 0.5rem;
  color: var(--azul-escuro);
}
.roteiro-share-content p {
  color: var(--texto-suave);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.roteiro-share-content img {
  display: block;
  margin: 0 auto 1.25rem;
  background: white;
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--borda);
}
.roteiro-share-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--texto-suave);
  cursor: pointer;
}
.roteiro-share-close:hover { color: var(--vermelho); }
.roteiro-share-url {
  display: flex;
  gap: 0.5rem;
}
.roteiro-share-url input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--borda);
  border-radius: 8px;
  font-size: 0.82rem;
  background: var(--bg);
  color: var(--texto);
  font-family: monospace;
}
.roteiro-share-url .btn {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

/* ---- Bloco de contato/horário em cards de atrativo ---- */
.card-contato {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--borda);
  font-size: 0.82rem;
  color: var(--texto-suave);
}
.card-contato-linha {
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.card-contato-linha a {
  color: var(--azul);
  font-weight: 500;
}
.card-contato-linha a:hover { color: var(--verde); }

/* ============================================
   BUSCA GLOBAL (header + overlay)
   ============================================ */
.header-busca-btn {
  background: transparent;
  border: 1px solid var(--borda);
  color: var(--texto);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  margin-right: 0.5rem;
}
.header-busca-btn:hover {
  background: var(--bg);
  color: var(--azul);
  border-color: var(--azul);
}

.busca-global {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
}
.busca-global.ativo { display: block; }
.busca-global-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}
.busca-global-painel {
  position: relative;
  max-width: 640px;
  margin: 8vh auto 0;
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.busca-global-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--borda);
}
.busca-global-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  background: transparent;
  color: var(--texto);
  font-family: inherit;
}
.busca-global-input-wrap input::-webkit-search-cancel-button { display: none; }
.busca-global-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--texto-suave);
  cursor: pointer;
}
.busca-global-close:hover { color: var(--vermelho); }
.busca-global-resultados {
  overflow-y: auto;
  padding: 0.5rem;
}
.busca-global-vazio {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--texto-suave);
  font-size: 0.95rem;
}
.busca-global-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--texto);
  transition: background 0.15s;
}
.busca-global-item:hover { background: var(--bg); color: var(--texto); }
.busca-global-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.busca-global-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.busca-global-info strong {
  color: var(--azul-escuro);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.busca-global-info small {
  color: var(--texto-suave);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .header-busca-btn { width: 36px; height: 36px; margin-right: 0.25rem; }
  .busca-global-painel { margin: 2vh 1rem 0; max-height: 95vh; }
}

/* ---- Toggle Cards / Mapa em atrativos ---- */
.view-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--borda);
  border-radius: 999px;
  padding: 0.25rem;
  margin: 0 0 1.5rem;
  box-shadow: var(--sombra);
}
.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--texto-suave);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
}
.view-toggle-btn:hover { color: var(--azul); }
.view-toggle-btn.active {
  background: var(--azul);
  color: white;
}
.view-toggle-btn svg { flex-shrink: 0; }

.atrativos-mapa {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sombra);
}
.atrativos-mapa[hidden] { display: none; }

/* ============================================
   PATCH MOBILE — melhorias consolidadas
   ============================================ */

/* Tabelas que estouram em telas pequenas — wrapper com scroll horizontal */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}
.table-responsive::-webkit-scrollbar { height: 6px; }
.table-responsive::-webkit-scrollbar-thumb { background: var(--borda); border-radius: 999px; }

/* Filtros (categorias) viram carrossel horizontal em mobile, sem quebrar */
@media (max-width: 700px) {
  .filtros {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .filtros::-webkit-scrollbar { display: none; }
  .filtros { scrollbar-width: none; }
  .filtro-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    font-size: 0.82rem;
    padding: 0.5rem 0.85rem;
  }
}

/* Page hero: padding menor em telas pequenas */
@media (max-width: 600px) {
  .page-hero { padding: 2.5rem 0 2rem; }
  .page-hero p { font-size: 1rem; }
}
@media (max-width: 400px) {
  .page-hero { padding: 2rem 0 1.5rem; }
}

/* Hero (home) — alinhar em telas baixas */
@media (max-height: 600px) {
  .hero { min-height: 100vh; }
}

/* Linha de ações nos cards (Ver no mapa + Roteiro) — empilha melhor em mobile */
@media (max-width: 480px) {
  .card-roteiro-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .card-roteiro-row .card-link {
    text-align: center;
  }
  .btn-roteiro-add {
    justify-content: center;
    width: 100%;
  }
}

/* Toggle Cards / Mapa centralizado em mobile */
@media (max-width: 600px) {
  .view-toggle {
    display: flex;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem;
  }
  .view-toggle-btn { flex: 1; justify-content: center; }
}

/* Header mobile compacto */
@media (max-width: 600px) {
  .header-inner { padding: 0.5rem 1rem; gap: 0.5rem; }
  .container { padding: 0 1rem; }
}

/* Tap targets — botões e links devem ter ≥44x44px em mobile */
@media (max-width: 600px) {
  .btn { padding: 0.75rem 1.25rem; min-height: 44px; }
  .menu-toggle { min-width: 44px; min-height: 44px; }
}

/* iOS: inputs com font-size < 16px disparam zoom — força mínimo */
@media (max-width: 600px) {
  input[type="search"],
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 16px;
  }
}

/* FABs respeitam safe-area do iPhone (notch / home indicator) */
.btn-topo,
.roteiro-fab {
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 600px) {
  .btn-topo,
  .roteiro-fab {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Sheet do roteiro: largura cheia em telas estreitas, header mais compacto */
@media (max-width: 480px) {
  .roteiro-sheet { width: 100vw; }
  .roteiro-sheet-header { padding: 1rem 1rem 0.75rem; }
  .roteiro-sheet-actions { padding: 0.85rem 1rem 1.25rem; }
  .roteiro-sheet-actions .btn { font-size: 0.85rem; padding: 0.7rem 0.85rem; }
  .roteiro-item { grid-template-columns: auto 44px 1fr auto; gap: 0.5rem; padding: 0.55rem; }
  .roteiro-item-thumb { width: 44px; height: 44px; }
  .roteiro-item-info strong { font-size: 0.88rem; }
  .roteiro-item-info small { font-size: 0.72rem; }
}

/* Hotel cards: linha de ações empilha melhor em mobile */
@media (max-width: 480px) {
  .card .card-body > div[style*="flex-wrap:wrap"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .card .card-body > div[style*="flex-wrap:wrap"] > a,
  .card .card-body > div[style*="flex-wrap:wrap"] > button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Caminho de Santiago bloco — empilha em telas médias */
@media (max-width: 800px) {
  .caminho-bloco { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}

/* Modal de compartilhar: respeitar telas pequenas com bom padding */
@media (max-width: 480px) {
  .roteiro-share-content { padding: 1.5rem 1.25rem 1.25rem; max-width: calc(100% - 1.5rem); }
  .roteiro-share-content img { width: 180px; height: 180px; }
  .roteiro-share-url { flex-direction: column; }
  .roteiro-share-url input { width: 100%; }
}

/* Busca global: padding reduzido + tap targets maiores em mobile */
@media (max-width: 600px) {
  .busca-global-painel { margin: 0; max-height: 100vh; height: 100vh; border-radius: 0; }
  .busca-global-item { padding: 0.85rem; min-height: 56px; }
  .busca-global-input-wrap input { font-size: 16px; }
}

/* Tabela de incentivos / qualquer card row — texto não corta */
.card h3 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Breadcrumb em mobile com quebra elegante */
@media (max-width: 480px) {
  .breadcrumb {
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Stats da home: 2 colunas em mobile (em vez de 4 empilhadas) */
@media (max-width: 600px) {
  .stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}

/* Listas em destaques: garantir mínimo legível */
@media (max-width: 480px) {
  .destaques-grid { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; }
  .destaque-item { padding: 1rem 0.75rem; }
  .destaque-item h3 { font-size: 0.95rem; }
  .destaque-item p { font-size: 0.82rem; }
}

/* Apoiadores grid mais denso em mobile */
@media (max-width: 600px) {
  .apoiadores-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Submenu do menu mobile: ícones alinhados melhor */
@media (max-width: 1024px) {
  .submenu a {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
  }
  .submenu a .submenu-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  .submenu a div { flex: 1; min-width: 0; }
  .submenu a strong { display: block; font-size: 0.9rem; }
  .submenu a small { display: block; color: var(--texto-suave); }
}
