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

:root {
  --brand-green: #00A94F;
  --brand-green-dark: #008a42;
  --brand-red: #E30016;
  --text-color: #000;
  --bg-color: #f5f5f5;
  --border-gray: #e0e0e0;
}

body { 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; 
  background: var(--bg-color); 
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografia minimalista */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  letter-spacing: -0.01em;
}

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

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

/* Header */
header { 
  background: var(--brand-green); 
  padding: 12px 0; 
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  width: 100%;
}

.container {
  width: 90%; 
  max-width: 1000px; 
  margin: 0 auto;
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 0 15px;
}

.logo { 
  height: 80px; 
  width: auto;
  max-width: 100%;
}

/* Navegação */
nav ul { 
  list-style: none; 
  display: flex; 
  gap: 20px; 
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff; 
  font-weight: 500; 
  padding: 8px 0; 
  transition: opacity 0.2s;
  white-space: nowrap;
  display: block;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

nav a:hover { 
  opacity: 0.8;
  border-bottom-color: rgba(255,255,255,0.5);
}

.menu-toggle { 
  display: none; 
  background: none; 
  border: none; 
  font-size: 1.8em; 
  color: #fff; 
  cursor: pointer; 
  padding: 5px 10px;
  line-height: 1;
}

.menu-toggle:focus {
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 2px;
}

/* Main */
main { 
  padding: 30px 20px; 
  flex: 1;
  margin-top: 100px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Card padrão */
.card {
  background: #fff; 
  border: 1px solid var(--border-gray); 
  border-radius: 8px;
  padding: 25px 20px; 
  margin: 0 auto 20px; 
  max-width: 1000px;
  width: 100%;
  text-align: center; 
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.3s;
  box-sizing: border-box;
}

.card h2 { 
  margin-bottom: 12px; 
  font-size: 1.75em; 
  font-weight: 500;
  color: var(--brand-green);
  word-wrap: break-word;
  hyphens: auto;
  letter-spacing: -0.02em;
}

.card p { 
  line-height: 1.5; 
  margin: 0 auto 12px; 
  max-width: 800px;
  word-wrap: break-word;
}

.card:hover { 
  transform: none; 
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); 
}

/* Destaques lado a lado */
.destaques-home {
  display: flex; 
  flex-wrap: wrap; 
  gap: 14px; 
  justify-content: center;
  max-width: 1000px; 
  margin: 0 auto 15px;
  width: 100%;
}

.destaques-home .card { 
  flex: 1 1 350px; 
  max-width: 490px; 
  padding: 20px 18px; 
  margin-bottom: 0;
}

.destaques-home .card:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
}

/* Benefícios */
.beneficios-list { 
  list-style: none; 
  max-width: 600px; 
  margin: 12px auto; 
  text-align: left;
  padding: 0;
}

.beneficios-list li { 
  margin-bottom: 8px; 
  line-height: 1.4;
  padding-left: 20px;
  position: relative;
}

.beneficios-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-green);
  font-weight: 500;
}

/* Pontos de Venda */
.pontos-venda-container {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--brand-green);
}

.pontos-venda-container h4 {
  color: var(--brand-green);
  font-size: 1.2em;
  font-weight: 500;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.pontos-venda-list {
  list-style: none;
  max-width: 700px;
  margin: 12px auto 0;
  text-align: left;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.pontos-venda-list li {
  margin-bottom: 0;
  line-height: 1.4;
  padding: 10px 12px;
  padding-left: 35px;
  position: relative;
  background: #f8f9fa;
  border-left: 3px solid var(--brand-green);
  border-radius: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
  word-wrap: break-word;
  font-size: 0.95em;
}

.pontos-venda-list li:before {
  content: "📍";
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 1em;
}

.pontos-venda-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0,169,79,0.15);
  background: #f0f7f3;
}

/* Botões */
.btn-inscreva {
  display: inline-block; 
  margin-top: 12px; 
  padding: 12px 24px;
  font-size: 1.05em; 
  font-weight: 500;
  background: var(--brand-green); 
  color: #fff;
  border-radius: 8px; 
  transition: transform 0.2s, box-shadow 0.3s, background 0.2s;
  box-shadow: 0 4px 8px rgba(0,169,79,0.25);
  border: none;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-inscreva:hover {
  background: var(--brand-green-dark); 
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,169,79,0.35);
}

.btn-inscreva:active {
  transform: translateY(-1px);
}

/* Planos */
.plans-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; 
  max-width: 1000px; 
  margin: 10px auto 20px;
  width: 100%;
}

.plan-card {
  background: #fff; 
  border: 1px solid var(--border-gray); 
  border-radius: 8px;
  padding: 20px; 
  text-align: center; 
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.3s;
  position: relative;
}

.plan-card:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
  border-color: var(--brand-green); 
}

.plan-card h3 { 
  color: var(--brand-green);
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.plan-card .price { 
  font-size: 1.4em; 
  margin-bottom: 10px; 
}

.plan-card .per-month { 
  font-size: 0.9em; 
  color: #555; 
}

.plan-card .per-year { 
  font-size: 0.9em; 
  color: #555; 
}

.plan-card .vantagens-list { 
  list-style: none; 
  margin: 10px auto; 
  text-align: left; 
  max-width: 320px;
  padding: 0;
}

.plan-card .vantagens-list li { 
  margin-bottom: 8px; 
  padding-left: 20px;
  position: relative;
}

.plan-card .vantagens-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-green);
}

.plan-card .note { 
  margin-top: 8px; 
  font-size: 0.95em; 
  color: #444; 
}

.plan-card.recommended { 
  border-color: var(--brand-green); 
  position: relative; 
  box-shadow: 0 4px 12px rgba(0,169,79,0.15); 
}

.plan-card .badge {
  position: absolute; 
  top: -10px; 
  right: -10px; 
  background: var(--brand-green);
  color: #fff; 
  padding: 6px 10px; 
  border-radius: 6px; 
  font-size: 0.85em; 
  font-weight: 500;
  white-space: nowrap;
}

/* Redes sociais */
.bloco.redes {
  background: #fff; 
  border: 1px solid var(--border-gray); 
  border-radius: 8px;
  padding: 25px 20px; 
  margin: 0 auto 20px; 
  max-width: 1000px; 
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

.bloco.redes h2 { 
  color: var(--brand-green); 
  margin-bottom: 8px; 
}

.bloco.redes p { 
  margin-bottom: 15px; 
}

/* Botões sociais */
.social-buttons { 
  text-align: center; 
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn-social {
  display: inline-block; 
  margin: 0; 
  padding: 12px 24px;
  color: #fff; 
  font-weight: 500; 
  border-radius: 6px;
  transition: transform 0.2s, opacity 0.3s;
  white-space: nowrap;
}

.btn-social.instagram { 
  background: #E4405F; 
}

.btn-social.facebook { 
  background: #1877F2; 
}

.btn-social:hover { 
  opacity: 0.9; 
  transform: translateY(-2px); 
}

/* Galeria */
.gallery-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; 
  max-width: 1000px; 
  margin: 10px auto 0;
  width: 100%;
}

.gallery-card {
  background: #fff; 
  border: 1px solid var(--border-gray); 
  border-radius: 8px;
  padding: 20px; 
  text-align: center; 
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.3s;
}

.gallery-card:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
  border-color: var(--brand-green); 
}

.gallery-card h3 { 
  margin-bottom: 10px; 
  color: var(--brand-green);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.gallery-card a {
  display: inline-block; 
  padding: 10px 18px; 
  background: var(--brand-green); 
  color: #fff;
  border-radius: 6px; 
  font-weight: 500;
  transition: background 0.3s;
}

.gallery-card a:hover { 
  background: var(--brand-green-dark); 
}

.gallery-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Tabela Soberanas */
.table-responsive { 
  overflow-x: auto; 
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin: 15px 0;
  position: relative;
}

.table-responsive::after {
  content: '← Role para ver mais →';
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 0.75em;
  color: var(--brand-green);
  opacity: 0.6;
  pointer-events: none;
  display: none;
}

@media (max-width: 768px) {
  .table-responsive::after {
    display: block;
  }
}

.table-responsive::-webkit-scrollbar {
  height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: var(--brand-green);
  border-radius: 4px;
}

.soberanas-table { 
  width: 100%; 
  max-width: 1000px; 
  margin: 0 auto; 
  border-collapse: collapse;
  font-size: 0.95em;
  min-width: 600px;
}

.soberanas-table th, 
.soberanas-table td { 
  border: 1px solid var(--border-gray); 
  padding: 12px 8px; 
  text-align: left;
  word-wrap: break-word;
  hyphens: auto;
}

.soberanas-table thead { 
  background: #f7f7f7; 
}

.soberanas-table th { 
  color: var(--brand-green);
  font-weight: 500;
  position: sticky;
  top: 0;
  background: #f7f7f7;
  z-index: 10;
}

/* Destaque para a edição 16ª */
.soberanas-table .edicao-destaque {
  background: linear-gradient(135deg, #00A94F, #008a42);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,169,79,0.3);
}

.soberanas-table .edicao-destaque td {
  border-color: #008a42;
  position: relative;
}

.soberanas-table .edicao-destaque td:first-child {
  background: rgba(255,255,255,0.1);
  font-size: 1.1em;
}

/* Footer */
footer { 
  background: #f0f0f0; 
  padding: 40px 20px 20px; 
  font-size: 0.95em; 
  color: #333;
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}

footer .container { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px 40px; 
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.footer-section { 
  min-width: 0;
}

.footer-section h3 { 
  margin-bottom: 12px; 
  color: #00A94F;
  font-size: 1.1em;
  font-weight: 500;
}

.footer-section p {
  margin-bottom: 8px;
  line-height: 1.6;
  word-wrap: break-word;
  color: #555;
}

.footer-section a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #00A94F;
  text-decoration: underline;
}

.footer-copy { 
  grid-column: 1 / -1;
  text-align: center; 
  margin-top: 30px; 
  padding-top: 25px;
  border-top: 2px solid #ddd;
  font-size: 0.85em; 
  color: #666;
  width: 100%;
}

.footer-copy p {
  margin: 0;
}

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed; 
  left: 20px; 
  bottom: 20px;
  background: #25D366; 
  color: #fff; 
  font-size: 0.85em;
  font-weight: 500;
  width: 50px; 
  height: 50px; 
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3); 
  z-index: 1000;
  transition: transform 0.2s, box-shadow 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover { 
  opacity: 0.9; 
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Estilos para Programação */
.evento-destaque {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  padding: 20px;
  margin: 15px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

.evento-destaque h3 {
  color: var(--brand-green);
  font-size: 1.5em;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: center;
  word-wrap: break-word;
  letter-spacing: -0.02em;
}

.data-evento {
  font-size: 1.2em;
  font-weight: 500;
  color: var(--brand-red);
  text-align: center;
  margin-bottom: 15px;
  word-wrap: break-word;
}

.programacao-detalhada {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.programacao-detalhada h4 {
  color: var(--brand-green);
  font-size: 1.3em;
  font-weight: 500;
  text-align: center;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--brand-green);
  padding-bottom: 8px;
  letter-spacing: -0.01em;
}

.dia-evento {
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

.dia-evento h5 {
  color: var(--brand-green);
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom: 10px;
  border-left: 4px solid var(--brand-green);
  padding-left: 12px;
  word-wrap: break-word;
  letter-spacing: -0.01em;
}

.dia-evento ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.dia-evento li {
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
  word-wrap: break-word;
  line-height: 1.4;
}

.dia-evento li:before {
  content: "•";
  color: var(--brand-green);
  font-weight: 500;
  position: absolute;
  left: 0;
}

/* Eventos Passados */
.eventos-passados {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
}

.eventos-passados h2 {
  color: #6c757d;
  font-size: 1.5em;
}

.evento-passado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 15px 20px;
  margin: 10px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

.evento-passado p {
  margin: 0;
  color: #6c757d;
  flex: 1;
  word-wrap: break-word;
  padding-right: 10px;
}

.status-passado {
  background: #6c757d;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 500;
  margin-left: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mapas */
.mapas-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 20px auto 0;
  width: 100%;
}

.mapa-item {
  background: #f8f9fa;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

.mapa-item h3 {
  color: var(--brand-green);
  margin-bottom: 10px;
  font-size: 1.2em;
  font-weight: 500;
  word-wrap: break-word;
  letter-spacing: -0.01em;
}

.mapa-item p {
  margin-bottom: 8px;
  line-height: 1.5;
  word-wrap: break-word;
}

.horario-localizacao {
  color: #666;
  font-size: 0.95em;
  margin-bottom: 15px !important;
}

.mapa-wrapper {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
}

.mapa-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

.btn-mapa {
  display: inline-block;
  padding: 10px 20px;
  background: var(--brand-green);
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
}

.btn-mapa:hover {
  background: var(--brand-green-dark);
  transform: translateY(-2px);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
  header { 
    padding: 10px 0;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .logo { 
    height: 60px; 
    max-height: 60px;
  }

  header .container { 
    justify-content: center; 
    position: relative; 
  }
  
  .menu-toggle { 
    display: block; 
    position: absolute; 
    left: 10px; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 1002;
    cursor: pointer;
    padding: 8px 12px;
    min-width: 44px;
    min-height: 44px;
  }
  
  nav { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background: #00A94F; 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1001;
  }
  
  nav.open { 
    max-height: 500px; 
    overflow-y: auto;
  }
  
  nav ul { 
    flex-direction: column; 
    gap: 0;
    padding: 10px 0;
  }
  
  nav a { 
    display: block; 
    padding: 12px 20px;
    margin: 0;
    border-bottom: none;
  }

  nav a:hover {
    opacity: 0.9;
    background: rgba(255,255,255,0.1);
  }

  main {
    padding: 15px 12px;
    margin-top: 80px;
  }

  .card {
    padding: 18px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
  }

  .card h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .card p {
    margin-bottom: 10px;
    font-size: 0.95em;
    line-height: 1.5;
  }

  .destaques-home {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 100%;
  }

  .destaques-home .card {
    padding: 18px 15px;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .evento-destaque {
    padding: 15px 12px;
    margin: 12px 0;
    border-radius: 8px;
    border-width: 1px;
  }

  .evento-destaque h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .data-evento {
    font-size: 1.05em;
    margin-bottom: 12px;
  }

  .programacao-detalhada {
    margin-top: 8px;
  }

  .programacao-detalhada h4 {
    font-size: 1.15em;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom-width: 2px;
  }

  .pontos-venda-container {
    margin-top: 15px;
    padding-top: 15px;
  }

  .pontos-venda-container h4 {
    font-size: 1.1em;
    margin-bottom: 10px;
  }

  .dia-evento {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
  }

  .dia-evento h5 {
    font-size: 1.05em;
    margin-bottom: 8px;
    padding-left: 10px;
    border-left-width: 3px;
  }

  .dia-evento li {
    margin-bottom: 5px;
    padding-left: 16px;
    font-size: 0.9em;
    line-height: 1.4;
  }

  .beneficios-list {
    margin: 12px auto;
    max-width: 100%;
  }

  .beneficios-list li {
    margin-bottom: 8px;
    font-size: 0.95em;
    line-height: 1.5;
  }

  .pontos-venda-list {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 10px auto 0;
  }

  .pontos-venda-list li {
    padding: 8px 10px;
    padding-left: 30px;
    font-size: 0.9em;
    border-left-width: 3px;
  }

  .pontos-venda-list li:before {
    left: 8px;
    top: 8px;
    font-size: 0.95em;
  }

  .btn-inscreva {
    margin-top: 12px;
    padding: 12px 20px;
    font-size: 0.95em;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    display: block;
  }

  .btn-social {
    width: calc(50% - 5px);
    max-width: none;
    margin: 0;
    padding: 12px 16px;
    font-size: 0.9em;
  }

  .bloco.redes {
    padding: 20px 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
  }

  .bloco.redes h2 {
    margin-bottom: 10px;
    font-size: 1.4em;
  }

  .bloco.redes p {
    margin-bottom: 15px;
    font-size: 0.95em;
  }

  footer {
    padding: 30px 15px 15px;
    font-size: 0.9em;
  }

  footer .container {
    grid-template-columns: 1fr;
    gap: 25px;
    width: 100%;
    padding: 0;
  }

  .footer-section {
    width: 100%;
    min-width: auto;
    padding-bottom: 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
  }

  .footer-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-section h3 {
    margin-bottom: 10px;
    font-size: 1.05em;
    font-weight: 500;
  }

  .footer-section p {
    margin-bottom: 6px;
    font-size: 0.9em;
    line-height: 1.6;
  }

  .footer-copy {
    margin-top: 15px;
    padding-top: 20px;
    font-size: 0.8em;
    text-align: center;
    border-top: 2px solid #ddd;
    grid-column: 1;
  }
  
  .evento-passado {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
  }
  
  .evento-passado p {
    padding-right: 0;
    width: 100%;
  }
  
  .status-passado {
    margin-left: 0;
    align-self: flex-start;
    padding: 6px 12px;
    font-size: 0.85em;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    left: 15px;
    bottom: 15px;
    font-size: 1.2em;
  }

  .mapas-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .mapa-item {
    padding: 18px 15px;
  }

  .mapa-item h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
  }

  .mapa-wrapper {
    padding-bottom: 75%; /* Mais alto no mobile */
  }

  .btn-mapa {
    padding: 12px 20px;
    font-size: 0.95em;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .plan-card {
    padding: 20px 15px;
  }

  .plan-card .badge {
    top: -8px;
    right: -8px;
    padding: 5px 8px;
    font-size: 0.8em;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-card {
    padding: 18px 15px;
  }

  .soberanas-table {
    font-size: 0.85em;
    min-width: 500px;
  }

  .soberanas-table th,
  .soberanas-table td {
    padding: 8px 6px;
    font-size: 0.9em;
  }

  /* Melhorar legibilidade da tabela no mobile */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .soberanas-table th {
    font-size: 0.85em;
    padding: 10px 6px;
  }

  .soberanas-table td {
    font-size: 0.8em;
    line-height: 1.4;
  }
}

/* Responsividade para telas muito pequenas */
@media (max-width: 480px) {
  footer {
    padding: 25px 12px 12px;
  }

  footer .container {
    gap: 20px;
  }

  .footer-section {
    padding-bottom: 18px;
  }

  .footer-section h3 {
    font-size: 1em;
    margin-bottom: 8px;
  }

  .footer-section p {
    font-size: 0.85em;
    margin-bottom: 5px;
  }

  .footer-copy {
    margin-top: 12px;
    padding-top: 18px;
    font-size: 0.75em;
  }

  .pontos-venda-list li {
    padding: 8px 10px;
    padding-left: 32px;
    font-size: 0.9em;
  }

  .pontos-venda-list li:before {
    left: 8px;
    top: 8px;
    font-size: 0.95em;
  }

  main {
    padding: 15px 10px;
    margin-top: 70px;
  }

  .card {
    padding: 18px 12px;
    margin-bottom: 15px;
  }

  .card h2 {
    font-size: 1.25em;
  }

  .card p {
    font-size: 0.9em;
  }

  .destaques-home .card {
    padding: 18px 12px;
  }

  .evento-destaque {
    padding: 15px 12px;
  }

  .evento-destaque h3 {
    font-size: 1.1em;
  }

  .data-evento {
    font-size: 1em;
  }

  .programacao-detalhada h4 {
    font-size: 1.05em;
  }

  .dia-evento {
    padding: 12px;
  }

  .dia-evento h5 {
    font-size: 1em;
  }

  .dia-evento li {
    font-size: 0.85em;
  }

  .btn-inscreva {
    padding: 12px 18px;
    font-size: 0.9em;
  }

  .btn-social {
    width: 100%;
    margin-bottom: 8px;
  }

  .soberanas-table {
    font-size: 0.75em;
    min-width: 450px;
  }

  .soberanas-table th,
  .soberanas-table td {
    padding: 6px 4px;
    font-size: 0.85em;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    left: 12px;
    bottom: 12px;
    font-size: 1.1em;
  }
}

/* Melhorias de acessibilidade e usabilidade */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Garantir que imagens sejam responsivas */
img {
  max-width: 100%;
  height: auto;
}

/* Prevenir overflow horizontal */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Garantir que elementos específicos respeitem o container */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Ajustes finais para garantir legibilidade */
h1, h2, h3, h4, h5, h6 {
  word-wrap: break-word;
  hyphens: auto;
}

p, li, td, th {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Melhorar toque em elementos interativos no mobile */
@media (max-width: 768px) {
  a, button, .btn-inscreva, .btn-social, .btn-mapa {
    min-height: 44px; /* Tamanho mínimo recomendado para toque */
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
