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

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  /* Fundo fixo */
  background: url("fundo.png") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
}

/* ===== CABEÇALHO ===== */
.overlay-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease;
  background: transparent !important;
}

.overlay-image {
  max-width: 100%;
}

/* Apenas a primeira imagem aparece por padrão */
.overlay-small {
  display: none;
}

/* Quando a tela passar de 1080px, troca a imagem */
@media (min-width: 1080px) {
  .overlay-large {
    display: none;
  }

  .overlay-small {
    display: block;
  }
}

/* ===== RESTO DO CSS ORIGINAL ===== */

/* Container centralizado */
.container {
  max-width: 1080px;
  width: 100%;
  text-align: center;
  border-radius: 12px;
  margin-top: 20px;
  /* Espaço para o cabeçalho */
}

h1 {
  font-size: 2.5rem;
  color: #003399;
  margin: 0;
}

img {
  width: 100%;
  max-width: 1080px;
  height: auto;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }

  .menu-img {
    max-width: 30%;
  }

}

.video-background {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* Mantém a altura correta automaticamente */
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* cobre sem distorcer */
}

.video-box {
  width: 100%;
  max-width: 1080px;
  position: relative;
  padding-bottom: 25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
}

@media (min-width: 1081px) {

  .video-box,
  .video-background {
    max-width: 100%;
    /* deixa passar do limite */
    width: 100vw;
    /* ocupa a largura inteira da tela */
    height: auto;
  }

  .video-box video,
  .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* cobre tudo sem distorcer */
    margin: 0 0 0 0;
  }

  .container {

    margin-left: 12%;
  }
}

.video-box video,
.video-background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* cobre sem distorcer */
}

#curto img.imagem,
#longo img.imagem {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: block;
  max-width: 100%;
  height: auto;
}

#curto p,
#longo p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.4;
}

.oculto {
  display: none;
}
#curto button{
  top: -70px;             /* E esta linha para subir 20px */
 }
#longo button{
  top: 0px;             /* E esta linha para subir 20px */
 }

#curto button,
#longo button {
  margin-top: 10px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: #2980b9;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  position: relative;    /* Adicione esta linha */
}

#curto button:hover,
#longo button:hover {
  background: #3498db;
}

.conteudo {
  text-align: center;
  max-width: 400px;
  margin: auto;
}

.imagem {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button {
  margin-top: 10px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: #2980b9;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

button:hover {
  background: #3498db;
}

.responsive-img {
  width: 100%;
  height: auto;
  max-width: 1080px;
  display: block;
  margin: auto;
}

.video-background video {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* Preenche o container sem distorcer */
}

/*menu de navegação*/
.menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 1080px;
  margin: 0;
}

.menu-img {
  max-width: 120px;
  /* Ajuste o tamanho conforme desejar */
  width: 100%;
  height: auto;
  transition: transform 0.2s;
  cursor: pointer;
}

.menu-img:hover {
  transform: scale(1.08);
}

#seguir {
  max-width: 30%;
}

.btn-flutuante {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #cfb41a;
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  z-index: 999;
  transition: background 0.2s;
}

.btn-flutuante:hover {
  background: #3498db;
}
#texto{
  font-family: Arial, Helvetica;
  color: white;
  margin: 10px;
  text-align: justify;
}
#texto h3,
#texto h4{
  font-weight: bold;
  padding: 15px;
}
#texto p {
  text-indent: 30px;
}
.video-galeria video{

  width: 100%;
  height: auto;
  object-fit: cover;
  /* Preenche o container sem distorcer */

}
.video-galeria{
  width: 100vw;
  
  height: auto;
}

/* Limita o tamanho do vídeo DonRoble no desktop */
@media (min-width: 1024px) {
  #donrobleVideo {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}



.card {
  background: rgba(0, 0, 0, 0.8);  /* fundo escuro transparente */
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  margin: 15px auto;
}
.card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}
.card p {
  margin: 4px 0;
}
.btn {
  display: inline-block;
  background: #d4a017;
  color: #000;
  padding: 8px 16px;
  border-radius: 8px;
  margin-top: 12px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}
.btn:hover {
  background: #b88d12;
}
@media (max-width: 768px) {
  .card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box; /* garante que o padding não quebre o layout */
    margin: 10px;
  }
}
.cards-container {
  display: flex;
  flex-wrap: wrap; /* permite que as caixas quebrem linha */
  gap: 15px; /* distância entre os cards */
  justify-content: flex-start; /* ou center, se quiser centralizar */
}
