/* Rolagem suave para toda a página */
html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Evita rolagem horizontal */
  scroll-padding-top: 80px; /* Espaço para o cabeçalho fixo */
  scroll-snap-type: y mandatory; /* Habilita o efeito de snap na rolagem vertical */
  scroll-snap-points-y: repeat(
    100vh
  ); /* Define o ponto de snap a cada altura de viewport */
}

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

/* Fonte aplicada globalmente */
body {
  font-family: "Oberon", sans-serif;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

/* Container padrão */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================== CABEÇALHO ======================== */
header {
  background: #fff;
  box-shadow: 0 4px 18px rgba(6, 29, 60, 0.08);
  background: linear-gradient(90deg, #fff 80%, #f5f7fa 100%);
  transition: box-shadow 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 10px 0;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: padding 0.3s ease;
}
.logo h1 {
  color: #061d3c;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
}
.nav-menu li {
  margin-left: 20px;
  transition: transform 0.3s ease;
  padding: 10px 15px;
}
.nav-menu li:hover {
  transform: translateY(-3px);
  background: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}
.nav-menu li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
  font-size: 1.2rem;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}
.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #061d3c;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 2, 0.6, 1);
}
.nav-menu li a:hover::after {
  transform: scaleX(1);
}
.nav-menu li a:hover {
  color: #061d3c;
}

/* ======================== SEÇÃO HERO ======================== */
#hero {
  position: relative;
  background: url("/imagens/banner.png") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 0;
  min-height: 400px;
  transition: background-position 0.3s ease-in-out;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(6, 29, 60, 0.8),
    rgba(6, 29, 60, 0.4)
  );
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeIn 1.2s 0.2s forwards;
}
@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-container h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease;
}
.hero-container p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}
.btn-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(45deg, #061d3c, #1e3c72);
  border: none;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  z-index: 1;
}
.btn-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #1e3c72, #061d3c);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}
.btn-cta:hover::before {
  opacity: 1;
}

/* ======================== SEÇÃO SOBRE ======================== */
#sobre {
  padding: 80px 0; /* Aumentar o espaçamento vertical */
  background: linear-gradient(
    145deg,
    #f9f9f9,
    #eaeaea
  ); /* Adicionar um gradiente suave */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adicionar sombra para destacar a seção */
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
  color: #061d3c;
  font-size: 1.2rem;
  line-height: 1.6;
  width: 100vw; /* Ocupa toda a largura da viewport */
  margin-left: calc(-50vw + 50%); /* Centraliza o conteúdo esticado */
}

#sobre .container {
  width: 65%; /* Ajusta o container para ocupar toda a largura */
  max-width: none; /* Remove o limite de largura */
  padding: 0 20px; /* Adiciona espaçamento interno para evitar que o conteúdo encoste nas bordas */
}

#sobre h2 {
  color: #061d3c;
  margin-bottom: 30px; /* Aumentar o espaçamento inferior */
  text-align: center;
  transition: opacity 0.3s ease;
  opacity: 0.2;
  transform: translateY(20px);
  font-size: 3rem; /* Aumentar o tamanho da fonte */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Adicionar sombra ao texto */
  font-family: "Oberon", sans-serif; /* Aplicar a mesma fonte global */
}
#sobre h2.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#sobre h3 {
  color: #061d3c;
  margin-bottom: 25px; /* Aumentar o espaçamento inferior */
  font-size: 2rem; /* Aumentar o tamanho da fonte */
  transition: transform 0.3s ease;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Adicionar sombra ao texto */
}

/* Ajuste para os títulos dos textos na seção Sobre */
#sobre h3 {
  font-family: "Oberon", sans-serif; /* Aplicar a mesma fonte global */
}

.sobre-text p {
  font-size: 1.2rem; /* Aumentar o tamanho da fonte */
  line-height: 1.8; /* Melhorar o espaçamento entre linhas */
  margin-bottom: 20px; /* Aumentar o espaçamento inferior */
  text-align: justify;
  transition: transform 0.3s ease;
}
.sobre-text p:hover {
  transform: translateX(5px);
}
ul {
  list-style-type: none;
}
strong {
  color: #000000;
  font-weight: bold;
  transition: color 0.3s ease;
}

/* Ajuste para a seção sobre com vídeos em zigue-zague */
#sobre .text-video,
#sobre .video-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px; /* Ajusta o espaçamento entre os elementos para manter a harmonia */
  margin: 0 auto;
  margin-bottom: 40px;
  padding: 30px; /* Aumentar o padding interno */
  background: rgba(255, 255, 255, 0.9); /* Fundo semi-transparente */
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Adicionar sombra mais pronunciada */
  border: 1px solid #ddd; /* Adicionar borda sutil */
}

#sobre .text-video .text,
#sobre .video-text .text {
  flex: 1;
  padding: 25px; /* Aumentar o padding interno */
  background: rgba(255, 255, 255, 0.95); /* Fundo semi-transparente */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adicionar sombra */
  transition: transform 0.3s ease;
  transform: translateY(0);
  border: 1px solid #ccc; /* Adicionar borda sutil */
}

/* Remover bordas e sombras dos textos na seção Sobre */
#sobre .text-video .text,
#sobre .video-text .text {
  border: none; /* Remover borda */
  box-shadow: none; /* Remover sombra */
  padding: 25px; /* Manter o padding interno */
  background: none; /* Remover fundo semi-transparente */
}

#sobre .text-video .video,
#sobre .video-text .video {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adicionar sombra ao vídeo */
  transition: transform 0.3s ease;
  transform: translateY(0);
  border: 2px solid #ddd; /* Adicionar borda ao vídeo */
}

#sobre .text-video .video video,
#sobre .video-text .video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  transform: scale(1);
}

/* Inverter ordem para zigue-zague */
#sobre .video-text {
  flex-direction: row-reverse;
}

/* Efeito de hover para destacar os blocos */
#sobre .text-video:hover,
#sobre .video-text:hover {
  transform: scale(1.02); /* Leve aumento no tamanho */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Sombra mais intensa no hover */
}

/* Ajuste responsivo para telas menores */
@media (max-width: 768px) {
  #sobre {
    margin-left: 0; /* Remove o ajuste de margem para telas menores */
    width: 100%; /* Garante que a largura seja 100% */
  }

  #sobre .container {
    padding: 0 10px; /* Reduz o espaçamento interno em telas menores */
  }

  #sobre .text-video,
  #sobre .video-text {
    flex-direction: column;
  }

  #sobre .text-video .video,
  #sobre .video-text .video {
    max-width: 100%;
  }
}

/* Ajuste responsivo para a seção sobre com vídeos em zigue-zague */
@media (max-width: 1024px) {
  #sobre .text-video,
  #sobre .video-text {
    flex-direction: column; /* Alinha os elementos verticalmente */
    gap: 20px; /* Reduz o espaçamento entre os elementos */
  }

  #sobre .text-video .video,
  #sobre .video-text .video {
    max-width: 100%; /* Garante que o vídeo ocupe toda a largura disponível */
  }

  #sobre .text-video .text,
  #sobre .video-text .text {
    padding: 15px; /* Reduz o padding interno para telas menores */
  }
}

@media (max-width: 768px) {
  #sobre .text-video,
  #sobre .video-text {
    gap: 15px; /* Ajusta ainda mais o espaçamento para telas menores */
  }

  #sobre .text-video .video,
  #sobre .video-text .video {
    border: none; /* Remove bordas para simplificar o design em telas pequenas */
    box-shadow: none; /* Remove sombras para um visual mais limpo */
  }

  #sobre .text-video .text,
  #sobre .video-text .text {
    font-size: 1rem; /* Reduz o tamanho da fonte para melhor legibilidade */
  }
}

/* Ajuste para manter o formato horizontal em telas divididas */
@media (max-width: 1024px) {
  #sobre .text-video,
  #sobre .video-text {
    flex-direction: row; /* Garante que os elementos fiquem lado a lado */
    align-items: center; /* Centraliza os elementos verticalmente */
    gap: 10px; /* Reduz o espaçamento entre os elementos */
  }

  #sobre .text-video .video,
  #sobre .video-text .video {
    flex: 1;
    max-width: 50%; /* Garante que o vídeo ocupe metade da largura */
  }

  #sobre .text-video .text,
  #sobre .video-text .text {
    flex: 1;
    max-width: 50%; /* Garante que o texto ocupe metade da largura */
    text-align: left; /* Alinha o texto à esquerda */
  }
}

@media (max-width: 768px) {
  #sobre .text-video,
  #sobre .video-text {
    flex-direction: row; /* Mantém o formato horizontal */
    gap: 5px; /* Ajusta o espaçamento para telas menores */
  }

  #sobre .text-video .video,
  #sobre .video-text .video {
    max-width: 50%; /* Mantém o vídeo com metade da largura */
  }

  #sobre .text-video .text,
  #sobre .video-text .text {
    max-width: 50%; /* Mantém o texto com metade da largura */
    font-size: 0.9rem; /* Ajusta o tamanho da fonte para telas menores */
  }
}

/* Ajuste para formato horizontal comprimido, sem espaços em branco */
@media (max-width: 1024px) {
  #sobre .text-video,
  #sobre .video-text {
    flex-direction: row; /* Mantém os elementos lado a lado */
    align-items: center; /* Centraliza os elementos verticalmente */
    gap: 0; /* Remove o espaçamento entre os elementos */
    padding: 0; /* Remove o padding interno */
  }

  #sobre .text-video .video,
  #sobre .video-text .video {
    flex: 1;
    max-width: 50%; /* Garante que o vídeo ocupe metade da largura */
    margin: 0; /* Remove margens ao redor do vídeo */
  }

  #sobre .text-video .text,
  #sobre .video-text .text {
    flex: 1;
    max-width: 50%; /* Garante que o texto ocupe metade da largura */
    margin: 0; /* Remove margens ao redor do texto */
    padding: 0; /* Remove o padding interno */
    text-align: left; /* Alinha o texto à esquerda */
  }
}

@media (max-width: 768px) {
  #sobre .text-video,
  #sobre .video-text {
    flex-direction: row; /* Mantém o formato horizontal */
    gap: 0; /* Remove o espaçamento entre os elementos */
    padding: 0; /* Remove o padding interno */
  }

  #sobre .text-video .video,
  #sobre .video-text .video {
    max-width: 50%; /* Mantém o vídeo com metade da largura */
    margin: 0; /* Remove margens ao redor do vídeo */
  }

  #sobre .text-video .text,
  #sobre .video-text .text {
    max-width: 50%; /* Mantém o texto com metade da largura */
    margin: 0; /* Remove margens ao redor do texto */
    padding: 0; /* Remove o padding interno */
    font-size: 0.9rem; /* Ajusta o tamanho da fonte para telas menores */
  }
}

/* === MELHORIAS DINÂMICAS E PROFISSIONAIS PARA A SEÇÃO SOBRE === */
#sobre .text-video,
#sobre .video-text {
  flex-direction: row !important;
  gap: 50px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13) !important;
  border-radius: 18px !important;
  border: none !important;
  transition: box-shadow 0.4s cubic-bezier(0.4, 2, 0.6, 1),
    transform 0.4s cubic-bezier(0.4, 2, 0.6, 1);
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: sobreFadeIn 1s forwards;
}

#sobre .text-video.visible,
#sobre .video-text.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes sobreFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#sobre .text-video .text,
#sobre .video-text .text {
  flex: 1 1 50% !important;
  max-width: 50% !important;
  padding: 32px 36px !important;
  background: linear-gradient(120deg, #f8fafc 80%, #e3e8ee 100%) !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07) !important;
  color: #1a2330 !important;
  font-size: 1.18rem !important;
  text-align: left !important;
  transition: box-shadow 0.3s, transform 0.3s;
}
#sobre .text-video .text:hover,
#sobre .video-text .text:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18) !important;
  transform: translateY(-4px) scale(1.02);
}

#sobre .text-video .video,
#sobre .video-text .video {
  flex: 1 1 50% !important;
  max-width: 50% !important;
  width: auto !important;
  height: auto !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13) !important;
  overflow: hidden !important;
  transition: box-shadow 0.3s, transform 0.3s;
}
#sobre .text-video .video:hover,
#sobre .video-text .video:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22) !important;
  transform: scale(1.03);
}

#sobre .text-video .video video,
#sobre .video-text .video video {
  width: 100% !important;
  height: auto !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  display: block;
}

#sobre .video-text {
  flex-direction: row-reverse !important;
}

@media (max-width: 900px) {
  #sobre .text-video,
  #sobre .video-text {
    flex-direction: column !important;
    gap: 24px !important;
    padding: 18px 8px !important;
  }
  #sobre .text-video .text,
  #sobre .video-text .text,
  #sobre .text-video .video,
  #sobre .video-text .video {
    max-width: 100% !important;
    padding: 18px 8px !important;
  }
}

/* Remove media queries duplicados e conflitantes para #sobre */
/* Fim das melhorias dinâmicas */

/* ======================== SEÇÃO RESULTADOS ======================== */
#resultados {
  padding: 60px 0;
  background: #fff;
  text-align: center;
  transition: background-color 0.3s ease;
}
#resultados h2 {
  color: #061d3c;
  margin-bottom: 40px;
  transition: transform 0.3s ease;
  transform: translateY(20px);
  opacity: 20;
}
#resultados h2.visible {
  transform: translateY(0);
  opacity: 1;
}

.gallery {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 20px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow: -moz-scrollbars-none;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin: 0 auto;
  max-width: 100%;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery a {
  flex: 0 0 auto;
  width: 350px; /* Aumentar a largura */
  height: 250px; /* Aumentar a altura */
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  margin-right: 15px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.06) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(6, 29, 60, 0.18);
  z-index: 2;
}

.gallery-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: scale(1);
  margin: 0 5px;
}

.gallery-control.active {
  background: #061d3c;
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Ajuste responsivo */
@media (max-width: 768px) {
  .gallery a {
    width: 300px; /* Ajustar largura para telas menores */
    height: 200px; /* Ajustar altura para telas menores */
  }
}

/* Remova o media query fixo de 1440px */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .gallery img {
    height: 150px;
  }
}

/* Estilo para os controles da galeria (bolinhas) */
.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.gallery-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.gallery-control.active {
  background: #061d3c;
  transform: scale(1.2);
}

/* ======================== LIGHTBOX ======================== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: lightboxFadeIn 0.5s;
}
@keyframes lightboxFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  transform: scale(1);
  margin: 0 auto;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}
.close-btn:hover {
  color: #f44336;
}

/* ======================== SEÇÃO CTA ======================== */
#cta {
  padding: 60px 0;
  background: #061d3c;
  text-align: center;
  transition: background-color 0.3s ease;
}
.cta-container {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}
.neu-button {
  display: inline-block;
  background-color: #061d3c;
  background-image: linear-gradient(145deg, #061d3c, #061d3c);
  border-radius: 50px;
  box-shadow: inset 4px 4px 10px #061d3c, inset -4px -4px 10px #061d3c;
  color: rgba(249, 249, 249, 1);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 15px 60px;
  transition: all 0.3s ease;
  border: 2px solid #4d4d4d;
  text-decoration: none;
  transform: scale(1);
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(6, 29, 60, 0.08);
  border: none;
  outline: none;
  letter-spacing: 0.5px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}
.neu-button::after {
  content: "";
  position: absolute;
  left: -75%;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  transform: skewX(-20deg);
  transition: left 0.5s cubic-bezier(0.4, 2, 0.6, 1);
  pointer-events: none;
}
.neu-button:hover {
  transform: scale(1.1);
  box-shadow: inset 2px 2px 5px #bcbcbc, inset -2px -2px 5px #ffffff,
    2px 2px 5px #bcbcbc, -2px -2px 5px #ffffff;
  outline: none;
  background: linear-gradient(90deg, #061d3c 60%, #1a2330 100%);
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(6, 29, 60, 0.18);
}
.neu-button:hover::after {
  left: 120%;
}
.neu-button:active {
  box-shadow: inset 2px 2px 5px #bcbcbc, inset -2px -2px 5px #ffffff,
    2px 2px 5px #bcbcbc, -2px -2px 5px #ffffff;
  transform: scale(0.95);
}
/* Modal Styles */
.modal {
  display: none; /* Escondido por padrão */
  position: fixed;
  z-index: 10000; /* Fica sobre todos os elementos */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Fundo semi-transparente */
}

.modal-content {
  position: relative;
  margin: 5% auto;
  width: 80%;
  height: 80%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.close-modal {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* ======================== MODAL DE PAGAMENTO ======================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background-color: #fff;
  width: 90%;
  max-width: 800px;
  height: 90vh;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#paymentIframe {
  width: 100%;
  height: calc(100% - 30px);
  border: none;
}

.close-modal {
  position: absolute;
  right: 10px;
  top: 5px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.close-modal:hover {
  color: #000;
}

/* ======================== RODAPÉ ======================== */
footer {
  background: linear-gradient(90deg, #061d3c 80%, #1a2330 100%);
  box-shadow: 0 -2px 12px rgba(6, 29, 60, 0.08);
  opacity: 0.98;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  transition: background-color 0.3s ease;
}
footer:hover {
  background: #061d3c;
}
footer p {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s;
}
footer p:hover {
  opacity: 1;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #ffffff;
}

/* ======================== CONTATO NO RODAPÉ ======================== */
.contato {
  margin-bottom: 20px;
  text-align: center;
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
}
.contato:hover {
  opacity: 1;
  color: #fff;
}
.contato-buttons {
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-contato {
  display: inline-block;
  background: #fff;
  color: #061d3c;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 12px rgba(6, 29, 60, 0.08);
  border: none;
  outline: none;
  letter-spacing: 0.5px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}
.btn-contato::after {
  content: "";
  position: absolute;
  left: -75%;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  transform: skewX(-20deg);
  transition: left 0.5s cubic-bezier(0.4, 2, 0.6, 1);
  pointer-events: none;
}
.btn-contato:hover {
  background: linear-gradient(90deg, #061d3c 60%, #1a2330 100%);
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(6, 29, 60, 0.18);
}
.btn-contato:hover::after {
  left: 120%;
}

/* ===== MELHORIAS GERAIS DE DINAMISMO E PROFISSIONALISMO ===== */

/* Transições suaves para todos os elementos interativos */
a,
button,
.btn-cta,
.neu-button,
.gallery-control,
.btn-contato {
  transition: all 0.3s cubic-bezier(0.4, 2, 0.6, 1) !important;
}

/* Botões e links com efeito de destaque */
.btn-cta,
.neu-button,
.btn-contato {
  box-shadow: 0 2px 12px rgba(6, 29, 60, 0.08);
  border: none;
  outline: none;
  letter-spacing: 0.5px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}
.btn-cta:hover,
.neu-button:hover,
.btn-contato:hover {
  background: linear-gradient(90deg, #061d3c 60%, #1a2330 100%);
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(6, 29, 60, 0.18);
}

/* Efeito de brilho sutil ao passar o mouse */
.btn-cta::after,
.neu-button::after,
.btn-contato::after {
  content: "";
  position: absolute;
  left: -75%;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  transform: skewX(-20deg);
  transition: left 0.5s cubic-bezier(0.4, 2, 0.6, 1);
  pointer-events: none;
}
.btn-cta:hover::after,
.neu-button:hover::after,
.btn-contato:hover::after {
  left: 120%;
}

/* Responsividade aprimorada para botões e textos */
@media (max-width: 600px) {
  .btn-cta,
  .neu-button,
  .btn-contato {
    font-size: 1rem;
    padding: 10px 18px;
  }
  .gallery a {
    width: 90vw;
    height: 160px;
  }
}

/* Fim das melhorias gerais */

/* Regras responsivas globais */
@media (max-width: 1200px) {
  .container {
    width: 95%;
    padding: 0 15px;
  }
}

/* Menu Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #061d3c;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle.active i::before {
  content: "\f00d";
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }

  #hero {
    padding: 80px 0;
  }

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

  .hero-container p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 0;
  }

  .header-container {
    padding: 10px 0;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  #hero {
    padding: 60px 0;
  }

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

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

  .btn-cta {
    padding: 12px 24px;
    font-size: 1rem;
  }

  #sobre {
    padding: 60px 0;
  }

  #sobre h2 {
    font-size: 1.8rem;
  }

  #sobre h3 {
    font-size: 1.4rem;
  }

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

  .modal-content {
    width: 95%;
    height: 95vh;
    margin: 2.5vh auto;
  }

  #paymentIframe {
    height: calc(100% - 40px);
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 0 10px;
  }

  header {
    padding: 10px 0;
  }

  .logo h1 {
    font-size: 1.3rem;
  }

  #hero {
    padding: 40px 0;
  }

  .hero-container h2 {
    font-size: 1.5rem;
  }

  .hero-container p {
    font-size: 0.9rem;
  }

  .btn-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  #sobre {
    padding: 40px 0;
  }

  #sobre h2 {
    font-size: 1.5rem;
  }

  #sobre h3 {
    font-size: 1.2rem;
  }

  .sobre-text p {
    font-size: 0.9rem;
  }

  .gallery a {
    width: 280px;
    height: 180px;
  }

  .gallery-controls {
    margin-top: 10px;
  }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 360px) {
  .logo h1 {
    font-size: 1.1rem;
  }

  .hero-container h2 {
    font-size: 1.3rem;
  }

  .hero-container p {
    font-size: 0.8rem;
  }

  .btn-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* Ajustes para orientação paisagem em dispositivos móveis */
@media (max-height: 500px) and (orientation: landscape) {
  #hero {
    min-height: 300px;
    padding: 30px 0;
  }

  .nav-menu {
    max-height: 80vh;
    overflow-y: auto;
  }

  .modal-content {
    height: 90vh;
    margin: 5vh auto;
  }

  #sobre .text-video,
  #sobre .video-text {
    flex-direction: row;
    gap: 15px;
  }

  #sobre .text-video .text,
  #sobre .video-text .text {
    max-width: 50%;
  }
}

/* Efeitos modernos e interativos */
.hero-container {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeIn 1.2s 0.2s forwards;
}

/* Efeito de parallax no hero */
#hero {
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(6, 29, 60, 0.8),
    rgba(6, 29, 60, 0.4)
  );
  z-index: 1;
}

/* Efeito de glassmorphism para cards */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Efeito de scroll suave com fade */
.scroll-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Efeito de hover para cards de conteúdo */
.content-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.content-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(6, 29, 60, 0.2), rgba(6, 29, 60, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.content-card:hover {
  transform: translateY(-5px);
}

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

/* Efeito de loading moderno */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #061d3c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Efeito de hover para links do menu */
.nav-menu li a {
  position: relative;
  padding: 5px 0;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #061d3c;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-menu li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Efeito de hover para imagens */
.hover-zoom {
  overflow: hidden;
  border-radius: 10px;
}

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

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

/* Efeito de texto gradiente */
.gradient-text {
  background: linear-gradient(45deg, #061d3c, #1e3c72);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
}

/* Efeito de sombra dinâmica */
.dynamic-shadow {
  transition: box-shadow 0.3s ease;
}

.dynamic-shadow:hover {
  box-shadow: 0 10px 30px rgba(6, 29, 60, 0.2);
}

/* --- CORREÇÃO DE RESPONSIVIDADE MOBILE --- */
@media (max-width: 768px) {
  #sobre .text-video,
  #sobre .video-text {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
    padding: 10px !important;
  }
  #sobre .text-video .text,
  #sobre .video-text .text {
    max-width: 100% !important;
    padding: 10px !important;
    font-size: 1rem !important;
    text-align: left !important;
  }
  #sobre .text-video .video,
  #sobre .video-text .video {
    max-width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
  }
  #sobre h2 {
    font-size: 1.3rem !important;
    margin-bottom: 18px !important;
  }
  #sobre h3 {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
  }
  .sobre-text {
    margin-bottom: 18px !important;
  }
}

@media (max-width: 600px) {
  .nav-menu {
    font-size: 1.1rem !important;
  }
  .nav-menu li {
    margin: 8px 0 !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
  }
  .nav-menu a {
    display: block !important;
    width: 100% !important;
    padding: 10px 0 !important;
  }
}

/* Ajuste extra para títulos grandes quebrando */
@media (max-width: 480px) {
  #hero h2,
  #sobre h2,
  #sobre h3 {
    font-size: 1rem !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
  }
}

/* Ajuste para vídeo ocupar largura total no mobile */
@media (max-width: 768px) {
  #sobre .video video {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }
}
